:root {
  --navy: #173a63;
  --navy-2: #0f2846;
  --teal: #1c7fa0;
  --red: #e1372b;
  --paper: #ffffff;
  --paper-2: #f6f8f9;
  --ink: #1b2430;
  --muted: #5b6672;
  --line: #e7ebee;

  --font-display: "Lora", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "Inter", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.li {
  list-style: none;
}

/* transition delays for reveals */
.delay-0 {
  transition-delay: 0ms;
}
.delay-60 {
  transition-delay: 60ms;
}
.delay-90 {
  transition-delay: 90ms;
}
.delay-120 {
  transition-delay: 120ms;
}
.delay-150 {
  transition-delay: 150ms;
}
.delay-180 {
  transition-delay: 180ms;
}
.delay-240 {
  transition-delay: 240ms;
}
.delay-270 {
  transition-delay: 270ms;
}
.delay-300 {
  transition-delay: 300ms;
}

/* header */

header {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}


.topnav{
  background: var(--navy)
}

.topnav .nav-right{
  gap: 32px;
}

.wraptop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 32px;
  width: 100%;
}

.topnav p{
  font-size: 14px;
  color: var(--paper);
}

.top-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  width: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.logo b {
  color: var(--teal);
  font-weight: 700;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.is-current {
  color: var(--navy);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  position: relative;
  z-index: 400;
  width: 56px;
  height: 56px;
  padding: 8px; /* Added internal padding so the 3x3 grid fits nicely within 38px */
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* Hover effect */
.nav-toggle:hover span {
  opacity: 0.75;
}

/* Optional active state scale effect when clicked */
.nav-toggle.is-open span {
  transform: scale(1.2);
}

/* dark scrim behind the slide-in panel */
.nav-scrim {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 40, 70, 0.45);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}
.nav-scrim.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

/* mobile slide-in panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(78vw, 320px);
  height: 100dvh;
  max-height: 100dvh;
  background: var(--paper);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.3s ease,
    visibility 0s linear 0.3s;
  z-index: 200;
  padding: 90px 28px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.3s ease,
    visibility 0s linear 0s;
}
.mobile-nav-links {
  list-style: none;
  padding-top: 32px;
}
.mobile-nav-links li {
  border-bottom: 1px solid var(--line);
}
.mobile-nav-links li:last-child {
  border-bottom: none;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav-links a:hover {
  color: var(--navy);
}
.mobile-nav-cta {
  display: block;
  width: 100%;
  margin-top: 24px;
  text-align: center;
  justify-content: center;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.btn:hover {
  opacity: 0.88;
}
.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--paper);
}

/* Components */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* hero */
.hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("/images/Canada.webp");

  background-size: cover;
  background-position: center;
  /* Center contents inside the hero */
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: left;
  padding: 0 20px;
  height: 80dvh;
}

.hero-content {
  max-width: 60%;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 72px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 20px 0 20px;
  color: var(--paper-2);
}

.hero h1 span {
  color: var(--red);
}

.hero p.lead {
  font-size: 16px;
  color: var(--paper-2);
  max-width: 500px;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 0;
}

/* page hero */
.page-hero {
  padding: 128px 0 64px; /* Compensates for fixed header */
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 18px 0 18px;
  color: var(--navy-2);
  max-width: 520px;
}
.page-hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 480px;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lead,
.page-hero-media {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero .eyebrow {
  animation-delay: 0.05s;
}
.page-hero h1 {
  animation-delay: 0.15s;
}
.page-hero p.lead {
  animation-delay: 0.25s;
}
.page-hero-media {
  animation-delay: 0.2s;
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p.lead,
  .page-hero-media {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* shared section */
section {
  padding: 80px 0;
}
.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-top: 14px;
  letter-spacing: -0.01em;
  color: var(--navy-2);
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}

/* results section */
.results {
  background: var(--navy);
}
.results .section-head h2 {
  color: var(--paper);
}
.results .section-head p {
  color: rgba(244, 245, 242, 0.66);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.result-card {
  background: var(--navy-2);
  /* border: 1px solid var(--line); */
  border-radius: 4px;
  padding: 36px 24px;
}
.result-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper);
  border: 1px solid var(--paper-2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.result-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  color: var(--paper);
  margin-bottom: 12px;
}
.result-card p {
  font-size: 14px;
  color: var(--paper-2);
  margin-bottom: 12px;
}
.result-card span.who {
  font-size: 12px;
  color: var(--paper);
  font-family: var(--font-mono);
}
.results-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(244, 245, 242, 0.66);
  padding-top: 32px;
}
.results-stats div b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--paper);
  display: block;
  margin-bottom: 6px;
}
.results-stats div span {
  font-size: 14px;
  color: rgba(244, 245, 242, 0.66);
}

/* ============================================================
   SERVICES SECTION — full-bleed photo tiles, sharp corners
   ============================================================ */
.services {
  /* CHANGED: Removed max-width boundaries and set padding to 0 on sides */
  width: 100%;
  padding: 96px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2 per row — desktop + tablet */
  gap: 8px;
  width: 100%;
}

.service-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  background: var(--ink);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service-card:hover img,
.service-card:focus-visible img {
  transform: scale(1.06);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 27, 51, 0.05) 0%,
    rgba(16, 27, 51, 0.15) 45%,
    rgba(16, 27, 51, 0.92) 100%
  );
}

.service-card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  text-align: center;
  z-index: 2;
}

.service-card__content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--paper-2);
  margin: 0;
}

/* Tablet: still 2 per row, just taller cards */
@media (max-width: 980px) {
  .service-card {
    aspect-ratio: 3 / 3.4;
  }
}

/* Mobile: 1 per row */
@media (max-width: 640px) {
  .services {
    padding: 56px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .section-head p {
    font-size: 15.5px;
  }

  .services-grid {
    grid-template-columns: 1fr;   /* 1 per row — mobile */
    gap: 12px;
  }
  .service-card {
    aspect-ratio: 4 / 3.2;
  }
  .service-card__content {
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 16px;
    transform: none;
    width: auto;
    text-align: left;
  }
  .service-card__content h3 {
    font-size: 22px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .service-card {
    aspect-ratio: 4 / 3.6;
  }
}




/* ============================================================
   PROCESS SECTION — dashed route line + ink-stamp badges
   ============================================================ */
.process {
  padding: 96px 0;
  background: var(--paper-2);
  color: var(--muted);
  position: relative;
  overflow: hidden;
}

.process .section-head {
  margin-bottom: 60px;
}

.process::before {
  /* faint dot-grid, evokes a map */
  content: "";
  position: absolute;
  inset: 0;
  /* background-image: radial-gradient(var(--teal) 1px, transparent 1px); */
  background-size: 22px 22px;
  pointer-events: none;
}
.process .wrap {
  position: relative;
}

.process .eyebrow {
  color: var(--paper);
}
.process .eyebrow::before {
  background: var(--paper);
}
.process .section-head h2 {
  color: var(--navy-2);
}
.process .section-head p {
  color: var(--muted)
}

.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding-top: 0px;
}

/* dashed route line */
.route__line {
  position: absolute;
  top: 28px;
  left: calc(10% - 2px);
  right: calc(10% - 2px);
  height: 0;
  border-top: 2px dashed var(--teal);
  z-index: 0;
}

.stop {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 12px;
}

.stop__badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px dashed var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--paper);
  background: var(--teal);
  margin-bottom: 22px;
  flex-shrink: 0;
}
/* organic hand-stamped tilt, alternating */
.stop:nth-child(1) .stop__badge {
  transform: rotate(-6deg);
}
.stop:nth-child(2) .stop__badge {
  transform: rotate(4deg);
}
.stop:nth-child(3) .stop__badge {
  transform: rotate(-3deg);
}
.stop:nth-child(4) .stop__badge {
  transform: rotate(5deg);
}
.stop:nth-child(5) .stop__badge {
  transform: rotate(-4deg);
}

.stop__eyebrow {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(217, 164, 65, 0.85);
  margin-bottom: 8px;
}

.stop h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--navy-2);
}

.stop p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 210px;
}

/* Partner Marquee Section */
.partners-marquee {
  padding: 84px 0 90px;
  background: var(--paper);
  overflow: hidden;
}

.partners-marquee .section-head {
  margin-bottom: 48px;
}

.partner-marquee-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.partner-marquee-row {
  overflow: hidden;
  margin-bottom: 20px;
}

.partner-marquee-row:last-child {
  margin-bottom: 0;
}

.partner-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet / small laptop */
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    aspect-ratio: 3 / 3.4;
  }

  .route {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .route__line {
    left: 29px;
    top: 8px;
    bottom: 8px;
    right: auto;
    border-top: none;
    border-left: 2px dashed rgba(217, 164, 65, 0.45);
    width: 0;
    height: auto;
  }
  .stop {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 18px;
    padding-inline: 0;
  }
  .stop__badge {
    margin-bottom: 0;
  }
  .stop p {
    max-width: 420px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .wrap {
    padding-inline: 20px;
  }

  .services {
    padding: 56px 0;
  }
  .process {
    padding: 56px 0 64px;
  }

  .section-head {
    margin-bottom: 36px;
  }
  .section-head p {
    font-size: 15.5px;
  }

  /* single-column photo tiles, shorter so they don't dominate the screen */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    aspect-ratio: 4 / 3.2;
  }
  .service-card__tag {
    top: 14px;
    left: 14px;
    font-size: 10.5px;
    padding: 6px 10px;
  }
  .service-card__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .service-card__content h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .service-card__content p {
    font-size: 13.5px;
    max-width: none;
  }

  /* route stacks tighter, badges shrink slightly */
  .route {
    gap: 24px;
  }
  .route__line {
    left: 24px;
  }
  .stop {
    gap: 14px;
  }
  .stop__badge {
    width: 48px;
    height: 48px;
    font-size: 13px;
  }
  .stop h3 {
    font-size: 16px;
  }
  .stop p {
    font-size: 14px;
    max-width: none;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .wrap {
    padding-inline: 16px;
  }
  .service-card {
    aspect-ratio: 4 / 3.6;
  }

  .stop__badge {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }
   .stop__content {
    flex: 1;
    min-width: 0;   /* lets text wrap properly instead of overflowing */
  }
  .route__line {
    left: 20px;
  }
  .stop {
    gap: 12px;
  }
  .stop h3 {
    font-size: 15px;
  }
  .stop p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card img {
    transition: none !important;
    transform: none !important;
  }
}

/* Individual Partner Logo Card */
.partner-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 24px;
  flex: 0 0 220px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.partner-card:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .partner-card {
    flex: 0 0 160px;
    height: 85px;
    padding: 14px 16px;
  }
}

/* ==========================================================================
   TESTIMONIAL MARQUEE SECTION
   ========================================================================== */

.testimonial-marquee {
  padding: 0px;
  background: var(--navy);
  overflow: hidden;
}

/* --- SIDE-BY-SIDE SPLIT LAYOUT WRAPPER --- */
.marquee-split-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 60px; /* Space between left text column and right card column */
  align-items: center; /* Centers heading vertically against scrolling tracks */
}

/* --- LEFT COLUMN: HEADING CONTENT --- */
.marquee-split-wrapper .wrap {
  flex: 0 0 30%; /* Allocates clean layout width for your text */
  padding: 0;
  margin: 0;
}

.testimonial-marquee .section-head {
  margin-bottom: 0; /* Reset original margin since text is side-by-side */
}

.testimonial-marquee .section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  margin-top: 12px;
  color: var(--paper);
}

.testimonial-marquee .section-head p {
  color: rgba(244, 245, 242, 0.66);
  font-size: 16px;
  margin-top: 10px; /* Forces clean text wrapping columns */
}

/* --- RIGHT COLUMN: MOVING VERTICAL CONTAINER --- */
.marquee-split-wrapper .marquee-container {
  flex: 1; /* Stretches to fill remaining layout width */
  display: flex;
  gap: 20px;
  height: 850px; /* Visible structural viewport mask for vertical tracks */
  overflow: hidden;
  padding: 0;
}

.marquee-row {
  overflow: hidden;
  flex: 1;
  width: 100%;
  height: 100%;
  margin-bottom: 0; /* Reset old layout configurations */
}

.marquee-row:last-child {
  margin-bottom: 0;
}

.marquee-track {
  display: flex;
  flex-direction: column; /* Directs item layers into vertical columns */
  gap: 28px; /* Vertical gap spacing between card edges */
  height: max-content; /* Crucial for measuring absolute loop tracking boundaries */
  width: 100%;
  will-change: transform;
}

/* --- COMPACT TESTIMONIAL CARD ELEMENTS --- */
.t-card {
  background: var(--navy-2);
  /* border: 1px solid var(--line); */
  border-radius: 4px;
  padding: 32px 28px; /* Tighter interior card layout */
  flex: 0 0 auto; /* Prevents compression under flexible engines */
  width: 100%;
  box-sizing: border-box;
}

.t-image {
  background: var(--navy-2);
  /* border: 1px solid var(--line); */
  border-radius: 4px;
  padding: 0px; /* Tighter interior card layout */
  flex: 0 0 auto; /* Prevents compression under flexible engines */
  width: 100%;
  box-sizing: border-box;
}


.t-card p.quote {
  font-family: var(--font-display);
  font-size: 16px; /* Reduced size for compact quote balance */
  line-height: 1.8;
  color: var(--paper-2);
  margin-bottom: 24px;
}

/* --- CLIENT DETAILS FOOTER BLOCK --- */
.t-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.t-avatar {
  width: 60px; /* Compact profile circle sizing */
  height: 60px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--navy);
}

.t-person b {
  font-size: 14px;
  color: var(--paper);
  display: block;
  line-height: 1.2;
}

.t-person span {
  font-size: 12px;
  color: rgba(244, 245, 242, 0.66);
  font-family: var(--font-mono);
}

/* --- MOBILE RESPONSIVE ADAPTATIONS --- */
@media (max-width: 768px) {
  .marquee-split-wrapper {
    flex-direction: column; /* Stacks elements gracefully on narrow panels */
    gap: 32px;
    align-items: flex-start;
    padding: 56px 20px;
  }

  .marquee-split-wrapper .wrap {
    flex: 0 0 100%;
    width: 100%;
  }

  .testimonial-marquee .section-head h2 {
    font-size: 32px; /* Shrinks font safely for clean reading on viewports */
  }

  .marquee-split-wrapper .marquee-container {
    width: 100%;
    height: 450px; /* Tighter visible area for standard mobile rows */
  }
}

/* Scope this selector to the marquee context so it can never be
   silently overridden by an unrelated .t-card rule elsewhere */
.marquee-track .t-card {
  background: var(--navy-2);
  border-radius: 4px;
  padding: 32px 28px;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* existing 768px block stays as-is, then add: */
@media (max-width: 560px) {
  .marquee-split-wrapper {
    padding: 48px 20px;
    gap: 24px;
  }

  .marquee-row {
  overflow: hidden;
  flex: 1;
  width: 100%;
  height: 20%;
  margin-bottom: 0; /* Reset old layout configurations */
}

  .marquee-split-wrapper .marquee-container {
    height: 420px;
  }

  /* Show a single full-width column instead of two cramped ones */
  .marquee-row:last-child {
    display: none;
  }

  .marquee-track .t-card {
    padding: 24px 20px;
  }

  .t-card p.quote {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .t-avatar {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }

  .t-person b {
    font-size: 13px;
  }

  .t-person span {
    font-size: 11px;
  }
}

/* faq */
#faq {
  background: var(--paper-2);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border-radius: 8px;
  padding: 20px 28px;
  transition: background 0.2s ease;
}
.faq-item:hover {
  background: #ebeff1;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--navy-2);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  color: var(--teal);
}
.faq-item summary:hover {
  color: var(--teal);
}
.faq-item p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 640px;
}

/* crs disclaimers */
.crs-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.crs-result .btn {
  width: 100%;
  justify-content: center;
}

/* story */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
}
.story-copy p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 540px;
}
.story-copy p:last-child {
  margin-bottom: 0;
}
.story-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-fact {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.story-fact:last-child {
  border-bottom: 1px solid var(--line);
}
.story-fact b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy-2);
  margin-bottom: 4px;
}
.story-fact span {
  font-size: 14px;
  color: var(--muted);
}

/* values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--paper);
  padding: 30px 26px;
}
.value-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.05em;
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--navy-2);
}
.value-card p {
  font-size: 14px;
  color: var(--muted);
}

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.team-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy-2);
  margin-bottom: 2px;
}
.team-card span.role {
  font-size: 14px;
  color: var(--teal);
  font-family: var(--font-mono);
}
.team-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

/* about stats */
.about-stats {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stats-row div b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.about-stats-row div span {
  font-size: 14px;
  color: var(--muted);
}

/* scroll reveal system */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* hero load-in */
.hero-content .eyebrow,
.hero-content h1,
.hero-content p.lead,
.hero-content .hero-ctas,
.hero-media {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content .eyebrow {
  animation-delay: 0.05s;
}
.hero-content h1 {
  animation-delay: 0.15s;
}
.hero-content p.lead {
  animation-delay: 0.25s;
}
.hero-content .hero-ctas {
  animation-delay: 0.35s;
}
.hero-media {
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p.lead,
  .hero-content .hero-ctas,
  .hero-media {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* cta banner */
.cta-banner {
  background: var(--navy);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 26px;
  color: var(--paper);
  max-width: 520px;
}
.cta-inner .btn {
  background: var(--paper);
  color: var(--navy);
}

/* footer */
footer {
  background: var(--navy-2) !important;
  color: rgba(246, 248, 249, 0.8) !important;
  padding: 56px 0 28px;
}
footer a {
  color: rgba(246, 248, 249, 0.8);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
footer a:hover {
  opacity: 0.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}
.social-links a {
  display: flex;
  color: #ffffff;
  opacity: 0.85;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.social-links a svg {
  width: 28px;
  height: 28px;
}
.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Contact Specific - Removes Hover & Matches Icon Color to Text */
.footer-grid ul.contact-list a,
.footer-grid div:last-child ul a {
  cursor: default;
}
.footer-grid ul.contact-list a:hover,
.footer-grid div:last-child ul a:hover {
  opacity: 1;
}

.footer-grid .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(246, 248, 249, 0.8); /* Matches footer text color */
}
.footer-grid .icon svg {
  width: 100%;
  height: 100%;
}

.footer-grid p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 248, 249, 0.6);
}
.office {
  margin-bottom: 16px;
}
.office b {
  display: block;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 2px;
}
.office span {
  font-size: 14px;
  color: rgba(246, 248, 249, 0.55);
}
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 14px;
  color: rgba(246, 248, 249, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* Booking Overlay */
.book-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 40, 70, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.book-overlay.open {
  display: flex;
}
.book-overlay.visible {
  opacity: 1;
}

.book-frame-wrap {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  height: min(640px, 90vh);
  box-shadow: 0 30px 70px -20px rgba(15, 40, 70, 0.4);
}
.book-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}
.book-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e7ebee;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.ktm {
  padding: 60px 32px;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta-desktop {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }

  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero h1 {
    font-size: 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content {
    max-width: none;
  }
  .hero-media {
    order: -1;
  }
  .hero-media img {
    aspect-ratio: 16/10;
  }

  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero h1 {
    font-size: 32px;
    max-width: 100%;
  }
  .page-hero p.lead {
    max-width: 100%;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
  .results-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .showcase-media {
    position: static;
  }

  .process-track {
    grid-template-columns: 1fr;
    row-gap: 14px;
    margin-top: 36px;
  }
  .process-track::before {
    display: none;
  }
  .proc-node {
    display: none;
  }
  .proc-img {
    grid-column: 1 !important;
  }
  .proc-text {
    grid-column: 1 !important;
    margin-bottom: 34px;
  }
  .proc-img:nth-of-type(1) {
    grid-row: 1;
  }
  .proc-text:nth-of-type(1) {
    grid-row: 2;
  }
  .proc-img:nth-of-type(2) {
    grid-row: 3;
  }
  .proc-text:nth-of-type(2) {
    grid-row: 4;
  }
  .proc-img:nth-of-type(3) {
    grid-row: 5;
  }
  .proc-text:nth-of-type(3) {
    grid-row: 6;
  }
  .proc-img:nth-of-type(4) {
    grid-row: 7;
  }
  .proc-text:nth-of-type(4) {
    grid-row: 8;
  }
  .proc-img:nth-of-type(5) {
    grid-row: 9;
  }
  .proc-text:nth-of-type(5) {
    grid-row: 10;
  }

  .t-card {
    flex-basis: 280px;
  }

  section {
    padding: 56px 0;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-copy p {
    max-width: 100%;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cta-inner h2 {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 540px) {

  .topnav {
    display: none;
  }


  .mobile-nav {
    width: min(84vw, 320px);
    padding: 12px 20px;
  }

  .mobile-nav-links {
  padding-top: 24px;
}

  .values-grid,
  .about-stats-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ktm {
    padding: 60px 20px;
  }
}

@media (min-width: 901px) {
  .mobile-nav-cta {
    display: none;
  }
  .mobile-nav {
    width: 45%;
    max-width: none;
    padding: 52px 56px 40px;
  }
  .mobile-nav-links a {
    font-size: 20px;
  }
}

/* ============================================================
   SERVICES PAGE (moved from inline <style> in services.html)
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* page hero */
.page-hero {
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 18px 0 18px;
  color: var(--navy-2);
  max-width: 620px;
}
.page-hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 560px;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lead {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero .eyebrow {
  animation-delay: 0.05s;
}
.page-hero h1 {
  animation-delay: 0.15s;
}
.page-hero p.lead {
  animation-delay: 0.25s;
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p.lead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* shared section */
section {
  padding: 80px 0;
}
.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  margin-top: 14px;
  letter-spacing: -0.01em;
  color: var(--navy-2);
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

/* jump nav */
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  z-index: 40;
}
.jump-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.jump-nav a:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}
.service-block:first-of-type {
  padding-top: 0;
}
.service-block:last-of-type {
  border-bottom: none;
}
.service-side {
  position: sticky;
  top: 150px;
  align-self: start;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.service-side h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  color: var(--navy-2);
  line-height: 1.2;
}
.service-body p.desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 24px;
}
.service-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 24px;
}
.service-included div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.service-included svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.service-timeline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-mono);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.service-timeline b {
  color: var(--navy-2);
  font-family: var(--font-body);
  font-weight: 600;
}

/* pricing note */
.pricing-note {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pricing-grid h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--navy-2);
  margin-bottom: 14px;
}
.pricing-grid p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
}
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.pricing-item:last-child {
  border-bottom: 1px solid var(--line);
}
.pricing-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .jump-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 16px 16px;
    top: 60px;
  }
  .service-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .service-side {
    position: static;
  }
  .service-included {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   RESOURCES PAGE (moved from inline <style> in resources.html)
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* page hero */
.page-hero {
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 18px 0 18px;
  color: var(--navy-2);
  max-width: 620px;
}
.page-hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 560px;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lead,
.cat-chips {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero .eyebrow {
  animation-delay: 0.05s;
}
.page-hero h1 {
  animation-delay: 0.15s;
}
.page-hero p.lead {
  animation-delay: 0.25s;
}
.cat-chips {
  animation-delay: 0.35s;
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p.lead,
  .cat-chips {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* category chips */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cat-chips span {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
}

/* shared section */
section {
  padding: 72px 0;
}
.section-head {
  max-width: 620px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  margin-top: 12px;
  letter-spacing: -0.01em;
  color: var(--navy-2);
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
}
.resource-group {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.resource-group:first-of-type {
  padding-top: 0;
}
.resource-group:last-of-type {
  border-bottom: none;
}

/* resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.resource-card {
  background: var(--paper);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.resource-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 20px;
  padding: 4px 11px;
  margin-bottom: 16px;
}
.resource-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy-2);
  margin-bottom: 10px;
  line-height: 1.3;
}
.resource-card p {
  font-size: 14px;
  color: var(--muted);
  flex-grow: 1;
}
.resource-meta {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* whatsapp strip */
.wa-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wa-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 44px 0;
}
.wa-inner h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy-2);
  max-width: 440px;
}
.wa-inner p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 440px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  section {
    padding: 50px 0;
  }
  .resource-group {
    padding: 36px 0;
  }
}

@media (max-width: 600px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-card {
    padding: 22px 20px;
  }
}

/* ============================================================
   SUCCESS STORIES PAGE (moved from inline <style> in success-stories.html)
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* page hero */
.page-hero {
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 18px 0 18px;
  color: var(--navy-2);
  max-width: 620px;
}
.page-hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 560px;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lead {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero .eyebrow {
  animation-delay: 0.05s;
}
.page-hero h1 {
  animation-delay: 0.15s;
}
.page-hero p.lead {
  animation-delay: 0.25s;
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p.lead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* stat band */
.stat-band {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 32px;
}
.stat-row div b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--navy-2);
  display: block;
  margin-bottom: 4px;
}
.stat-row div span {
  font-size: 14px;
  color: var(--muted);
}

section {
  padding: 80px 0;
}
.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  margin-top: 14px;
  letter-spacing: -0.01em;
  color: var(--navy-2);
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}

/* story blocks */
.story-list {
  display: flex;
  flex-direction: column;
}
.story-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.story-block:first-child {
  padding-top: 0;
}
.story-block:last-child {
  border-bottom: none;
}
.story-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}
.story-side h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy-2);
}
.story-side span.loc {
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.story-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 20px;
  padding: 4px 10px;
  margin-top: 4px;
}

.story-body h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy-2);
  margin-bottom: 14px;
}
.story-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.story-steps div h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.story-steps div p {
  font-size: 16px;
  color: var(--ink);
}
.story-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy-2);
  font-weight: 600;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .story-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }
  .story-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .stat-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* ============================================================
   CONTACT PAGE (moved from inline <style> in contact.html)
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* page hero */
.page-hero {
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 16px 0 16px;
  color: var(--navy-2);
  max-width: 600px;
}
.page-hero p.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lead {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero .eyebrow {
  animation-delay: 0.05s;
}
.page-hero h1 {
  animation-delay: 0.15s;
}
.page-hero p.lead {
  animation-delay: 0.25s;
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p.lead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

section {
  padding: 0 0 80px;
}

/* contact grid: cards + form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 56px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(15, 40, 70, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(15, 40, 70, 0.16);
}
.contact-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .icon svg {
  width: 20px;
  height: 20px;
}
.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-2);
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-card a.link {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.hours-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 24px;
  margin-top: 4px;
}
.hours-card h3 {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.hours-row:first-of-type {
  border-top: none;
}
.hours-row span:first-child {
  color: var(--ink);
}
.hours-row span:last-child {
  color: var(--muted);
  font-family: var(--font-mono);
}

/* form */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 30px;
  box-shadow: 0 2px 8px rgba(15, 40, 70, 0.04);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
}
.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6672' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.form-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 20px;
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* map */
.map-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.map-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--navy-2);
}
.map-head p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 440px;
}
.map-frame {
  width: 100%;
  aspect-ratio: 16/7;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(15, 40, 70, 0.2);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  section {
    padding: 56px 50px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .map-section {
    padding: 48px 0;
  }
  .map-frame {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 24px 20px;
  }
  .contact-card,
  .hours-card {
    padding: 20px;
  }
  .map-frame {
    aspect-ratio: 1/1;
  }
}

/* ============================================================
   ELIGIBILITY PAGE (moved from inline <style> in eligibility.html)
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

/* page hero */
.page-hero {
  padding: 128px 0 64px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 18px 0 16px;
  color: var(--navy-2);
  max-width: 620px;
}
.page-hero p.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p.lead {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-hero .eyebrow {
  animation-delay: 0.05s;
}
.page-hero h1 {
  animation-delay: 0.15s;
}
.page-hero p.lead {
  animation-delay: 0.25s;
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p.lead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

section {
  padding: 80px 0;
}

/* CRS estimator */
.crs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.crs-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.crs-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.crs-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6672' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
.crs-field select:focus {
  outline: none;
  border-color: var(--teal);
}

.crs-result {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 30px;
  position: sticky;
  top: 100px;
}
.crs-score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.crs-score-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  color: var(--navy-2);
  transition: color 0.3s ease;
}
.crs-score-max {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.crs-score-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.crs-bar-track {
  position: relative;
  height: 10px;
  background: var(--line);
  border-radius: 6px;
  overflow: visible;
  margin-bottom: 10px;
}
.crs-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--teal);
  border-radius: 6px;
  transition:
    width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease;
}
.crs-bar-marker {
  position: absolute;
  top: -5px;
  width: 2px;
  height: 20px;
  background: var(--navy-2);
  left: 85%;
}
.crs-bar-marker span {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-2);
  white-space: nowrap;
}
.crs-bar-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
}

.crs-message {
  font-size: 14px;
  color: var(--ink);
  padding: 16px 18px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.crs-disclaimer {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 20px;
}
.crs-result .btn {
  width: 100%;
  justify-content: center;
}

/* other pathways */
.other-paths {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.section-head {
  max-width: 620px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  margin-top: 12px;
  color: var(--navy-2);
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.path-card {
  background: var(--paper);
  padding: 26px 24px;
}
.path-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-2);
  margin-bottom: 8px;
}
.path-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.path-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .page-hero {
    padding: 100px 0 40px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  section {
    padding: 56px 0px;
  }
  .crs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .crs-result {
    position: static;
  }
  .other-paths {
    padding: 48px 0;
  }
  .path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .crs-result {
    padding: 24px 20px;
  }
  .crs-score-num {
    font-size: 44px;
  }
  .path-card {
    padding: 20px;
  }
}

/* ============================================================
   BOOKING MODAL (moved from inline <style> in booking-modal.html)
   Loaded standalone inside an <iframe>, so everything is scoped
   under .booking-modal to avoid leaking into the rest of the site.
   Colors reuse the shared :root tokens (identical values already
   defined above); font-family is hardcoded to Work Sans / IBM Plex
   Mono here since the shared --font-body / --font-mono vars now
   point to Inter and must NOT be reassigned globally.
   ============================================================ */
.booking-modal {
  font-family: "Work Sans", sans-serif;
  background: var(--paper);
  padding: 30px;
}
.booking-modal .eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}
.booking-modal h2 {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--navy-2);
  margin: 10px 0 6px;
}
.booking-modal p.lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.booking-modal .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.booking-modal .field {
  margin-bottom: 14px;
}
.booking-modal .field label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.booking-modal .field input,
.booking-modal .field select,
.booking-modal .field textarea {
  width: 100%;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  color: var(--navy-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
}
.booking-modal .field textarea {
  resize: vertical;
  min-height: 70px;
}
.booking-modal .field input:focus,
.booking-modal .field select:focus,
.booking-modal .field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.booking-modal button {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 13px;
  cursor: pointer;
}
.booking-modal .note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
.booking-modal .success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.booking-modal .success.active {
  display: block;
}
.booking-modal .success h3 {
  font-size: 18px;
  color: var(--navy-2);
  margin-bottom: 8px;
}
.booking-modal .success p {
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 480px) {
  .booking-modal .row {
    grid-template-columns: 1fr;
  }
}


/* .....TOP GOING BUTTON..... */

.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 40, 70, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background 0.15s ease;
  z-index: 120;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s, background 0.15s ease;
}
.back-to-top:hover {
  background: var(--teal);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}



/* .....Privacy Policy..... */

.policy-section {
        padding: 44px 0;
        border-bottom: 1px solid var(--line);
      }
      .policy-section:first-of-type {
        padding-top: 0;
      }
      .policy-section:last-of-type {
        border-bottom: none;
      }
      .policy-section h2 {
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 32px;
        color: var(--navy-2);
        margin-bottom: 14px;
      }
      .policy-section p {
        font-size: 16px;
        color: var(--muted);
        max-width: 680px;
        margin-bottom: 12px;
      }
      .policy-section p:last-child {
        margin-bottom: 0;
      }
      .policy-list {
        margin: 4px 0 12px;
        padding-left: 20px;
      }
      .policy-list li {
        font-size: 16px;
        color: var(--muted);
        margin-bottom: 8px;
        max-width: 660px;
      }
      .policy-highlight {
        background: var(--paper-2);
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 20px 22px;
        font-size: 14.5px;
        color: var(--navy-2);
        font-weight: 500;
        margin-bottom: 12px;
      }
      .policy-updated {
        font-family: var(--font-mono);
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 8px;
      }



      /* The main button container */
.dot-x-btn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto; /* Makes it easier to click */
}

/* Base style for all 5 dots */
.dot {
  width: 6px;
  height: 6px;
  background-color: var(--navy-2); /* Dot color */
  border-radius: 50%;              /* Makes them perfect circles */
}

/* Explicitly positioning each dot to form the X */
.dot:nth-child(1) { grid-column: 1; grid-row: 1; } /* Top-Left */
.dot:nth-child(2) { grid-column: 3; grid-row: 1; } /* Top-Right */
.dot:nth-child(3) { grid-column: 2; grid-row: 2; } /* Center */
.dot:nth-child(4) { grid-column: 1; grid-row: 3; } /* Bottom-Left */
.dot:nth-child(5) { grid-column: 3; grid-row: 3; } /* Bottom-Right */

/* Subtle hover effect */
.dot-x-btn:hover .dot {
  background-color: var(--navy);
}

