/* ============================================================
   RED LEAF CONSULTANCY — Light Theme + Blue 3D Globe
   ============================================================ */

:root {
  /* Cream backgrounds (replaces navy hierarchy) */
  --bg-soft:      #faf6ed;
  --bg:           #f5f1e8;
  --bg-elevated:  #ebe5d6;
  --bg-deepest:   #e0d8c8;

  /* Brand red — unchanged on purpose */
  --maple:        #c8102e;
  --maple-glow:   #e63946;
  --maple-soft:   rgba(230, 57, 70, 0.16);
  --maple-mist:   rgba(230, 57, 70, 0.06);

  /* Blue accent — used in radial washes to complement the globe */
  --blue-soft:    rgba(60, 110, 180, 0.10);
  --blue-mist:    rgba(60, 110, 180, 0.05);

  /* Inks (dark text on cream) */
  --ink:          #1a1614;
  --ink-soft:     #5c5248;
  --ink-dimmer:   #6f655b;

  /* Bronze-gold (deeper than light gold for legibility on cream) */
  --gold:         #7b4f22;

  /* Lines */
  --line:         rgba(26, 22, 20, 0.10);
  --line-strong:  rgba(26, 22, 20, 0.18);

  --container:    1440px;
  --pad-x:        clamp(1.25rem, 4vw, 4rem);
  --nav-item-gap: 2.5rem;

  /* Custom easing curves — stronger than CSS built-ins */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--maple); color: #fff; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============ TYPOGRAPHY UTILITIES ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.section-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--maple);
  letter-spacing: 0.05em;
}
.italic-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--maple);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.skip-link {
  position: absolute;
  left: var(--pad-x);
  top: 0.75rem;
  z-index: 300;
  padding: 0.55rem 1rem;
  background: var(--maple);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
/* ============================================================
   FOCUS-VISIBLE — keyboard nav polish
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 4px;
}


/* Opening index.html via file:// breaks scripts/CORS — show a dev hint only then */
.file-protocol-banner {
  display: none;
  margin: 0;
  padding: 0.85rem var(--pad-x);
  background: rgba(200, 16, 46, 0.09);
  border-bottom: 1px solid rgba(200, 16, 46, 0.35);
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}
.file-protocol-banner code {
  font-size: 0.82em;
  padding: 0.15rem 0.4rem;
  background: var(--bg-soft);
  border-radius: 4px;
  white-space: nowrap;
}
html.is-file-protocol .file-protocol-banner { display: block; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
  padding-bottom: 1.25rem;
  padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.15rem, 2.8vw, 2.5rem);
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease, background 0.3s ease;
}
.nav.nav-scrolled {
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.85rem;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark-img {
  height: 32px;
  width: auto;
  max-width: min(44vw, 168px);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
  image-rendering: auto;
  filter: drop-shadow(0 1px 2px rgba(26, 22, 20, 0.1));
}
.brand-mark em,
.brand-consultancy {
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: var(--nav-item-gap);
  list-style: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--maple);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  background: var(--maple);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}
.nav-cta:hover {
  background: var(--maple-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}
.nav-cta:active { transform: scale(0.97); }

.menu-toggle {
  display: none;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  padding: 13px 8px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  display: block;
  position: absolute;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  left: 0;
  transition: 0.25s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: var(--nav-item-gap);
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}
@media (max-width: 1080px) {
  .nav-panel {
    display: none !important;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-left: auto;
    z-index: 101;
    position: relative;
  }
  .nav {
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
    top: 22px;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
    top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span {
    transition: none !important;
  }
}

/* In-page anchors clear fixed nav (native hash jumps + programmatic scroll) */
section[id] {
  scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px));
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: calc(70px + env(safe-area-inset-top, 0px));
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, var(--maple-soft) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 100%, var(--blue-soft) 0%, transparent 50%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 2rem;
  min-height: 0;
}

.hero-lead {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(168, 115, 64, 0.4);
  border-radius: 100px;
  background: rgba(168, 115, 64, 0.06);
  opacity: 1;
  animation: heroEaseIn 0.42s ease-out both;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--maple-glow);
  box-shadow: 0 0 12px var(--maple-glow);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--ink);
  opacity: 1;
  animation: heroEaseIn 0.45s ease-out 0.02s both;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--maple);
  position: relative;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--maple) 30%, var(--maple) 70%, transparent);
  opacity: 0.5;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 1rem;
  font-weight: 400;
  opacity: 1;
  animation: heroEaseIn 0.45s ease-out 0.04s both;
}
.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--maple);
  letter-spacing: 0.02em;
  margin-bottom: 2.25rem;
  opacity: 1;
  animation: heroEaseIn 0.45s ease-out 0.06s both;
}
.hero-tagline em {
  font-style: italic;
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 1;
  animation: heroEaseIn 0.45s ease-out 0.08s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease-out), box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 4px;
}
.btn-primary {
  background: var(--maple);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.28);
}
.btn-primary:hover {
  background: var(--maple-glow);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(230, 57, 70, 0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(26, 22, 20, 0.04);
}
.arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-meta {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 0 0.25rem;
  row-gap: 0.35rem;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
  padding-top: 1.75rem;
  padding-bottom: 0.5rem;
  opacity: 1;
  animation: heroEaseIn 0.45s ease-out 0.1s both;
  min-width: 0;
}
.hero-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  width: 100%;
  margin-bottom: 0.85rem;
}
.dest-item {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.4rem 1rem 0.4rem 0;
  color: var(--ink);
  position: relative;
}
.dest-item::after {
  content: '·';
  margin-left: 1rem;
  color: var(--maple);
  opacity: 0.6;
}
.dest-item:last-child::after { display: none; }

/* Globe area */
.globe-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: stretch;
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  max-height: min(90vh, 90dvh);
  margin-right: -3vw;
  touch-action: pan-y pinch-zoom;
}
#globeViz {
  width: 100%;
  height: 100%;
}
/* Soft red halo behind the globe — bridges blue earth to red brand */
.globe-wrap::before {
  content: '';
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, var(--maple-soft) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
/* Outer warm ring — matches cream/gold theme */
.globe-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 50%, rgba(200, 140, 60, 0.08) 75%, transparent 100%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
/* Loading state — visible until globe textures finish */
.globe-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.globe-wrap.loaded .globe-fallback { opacity: 0; }

.coord-tag {
  position: absolute;
  top: 8%;
  right: 0;
  max-width: min(100%, calc(100% - 0.5rem));
  padding-left: 0.5rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(0.72rem, 3.5vw, 0.85rem);
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.25;
  z-index: 5;
  opacity: 1;
  animation: heroEaseIn 0.45s ease-out 0.08s both;
  pointer-events: none;
}
.coord-tag::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--maple);
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* Hero stat strip — document flow below grid (avoids overlap with .hero-meta) */
.hero-stats {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  margin-top: auto;
  padding: 1.5rem var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 2rem;
  pointer-events: none;
  opacity: 1;
  animation: heroEaseIn 0.5s ease-out 0.14s both;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-stat strong {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--maple);
  letter-spacing: -0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .hero-lead,
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-tagline,
  .cta-row,
  .hero-meta,
  .coord-tag,
  .hero-stats {
    animation: none !important;
    transform: none !important;
  }
  .hero-eyebrow .dot {
    animation: none !important;
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3rem;
}
.trust-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-badge {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 1.25rem;
}
.trust-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--maple);
  border-radius: 50%;
}
.trust-badge em {
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.4rem;
}

/* ============================================================
   DESTINATION FLAGS STRIP (below hero)
   ============================================================ */
.flags-strip {
  --flag-slot: clamp(4.25rem, 5.8vw, 6rem);
  --flag-gap: 1.35rem;
  --flags-visible: 8;
  --flags-loop-duration: 52s;

  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0 2.25rem;
}
.flags-strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem 2.5rem;
  min-width: 0;
}
.flags-strip-label {
  font-family: 'Fraunces', serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 12rem;
  line-height: 1.45;
  margin: 0;
}
.flags-strip-mid {
  letter-spacing: 0.22em;
}
.flags-marquee {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  /* Exactly eight flag columns visible while scrolling */
  width: min(100%, calc(var(--flags-visible) * var(--flag-slot) + (var(--flags-visible) - 1) * var(--flag-gap)));
  max-width: 100%;
  margin-left: auto;
  border-radius: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.flags-marquee-track {
  display: flex;
  width: max-content;
  align-items: flex-end;
  gap: 0;
  will-change: transform;
  backface-visibility: hidden;
  animation: flagsScroll var(--flags-loop-duration) linear infinite;
}
.flags-marquee:hover .flags-marquee-track { animation-play-state: paused; }
@keyframes flagsScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.flags-marquee-set {
  display: flex;
  align-items: flex-end;
  gap: var(--flag-gap);
  flex-shrink: 0;
}
.flag-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
  width: var(--flag-slot);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.flag-chip:hover {
  transform: translateY(-3px);
  opacity: 1;
}
.flag-chip .flag-emoji {
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(26, 22, 20, 0.08));
}
.flag-chip .flag-name {
  font-family: 'Fraunces', serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  max-width: 100%;
  hyphens: auto;
}
@media (prefers-reduced-motion: reduce) {
  .flags-marquee-track { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1024px) {
  .flags-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .flags-marquee::-webkit-scrollbar { display: none; height: 0; }
  .flags-marquee-track {
    animation: none !important;
    transform: none !important;
  }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  padding: 7rem 0;
  position: relative;
}
.section-head {
  margin-bottom: 4rem;
  max-width: 800px;
}
.section-head .section-num { display: block; margin-bottom: 1rem; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 400;
  max-width: 640px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--bg);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, var(--blue-mist) 0%, transparent 50%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}
.about-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-deepest);
  border: 1px solid var(--line);
  max-width: 100%;
}
.about-portrait img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 880px);
  height: auto;
  z-index: 0;
}
.about-portrait-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  width: 80px;
  height: 80px;
  border: 1px solid var(--maple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--maple);
  background: rgba(230, 57, 70, 0.06);
  text-align: center;
  line-height: 1.1;
}
.about-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.about-content p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.about-content p strong {
  color: var(--ink);
  font-weight: 600;
}
.about-quote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid var(--maple);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
}
.about-signature {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.about-signature em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 400;
}
.about-team-note {
  font-size: 0.95rem !important;
  padding: 1rem 1.25rem;
  background: rgba(168, 115, 64, 0.06);
  border: 1px solid rgba(168, 115, 64, 0.22);
  border-radius: 8px;
  margin-bottom: 1.25rem !important;
}

/* ============================================================
   COACHING SERVICES
   ============================================================ */
.services {
  background: var(--bg-soft);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg-soft);
  padding: 3rem 2.5rem;
  position: relative;
  transition: background 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
  cursor: pointer;
}
.service-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-2px);
}
.service-card .service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  display: block;
}
.service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1;
  color: var(--ink);
}
.service-card .service-fullname {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.service-card p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-size: 0.95rem;
}
.service-features {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.service-features li {
  font-size: 0.88rem;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--maple);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maple);
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}
.service-card:hover .service-link { gap: 0.9rem; }

.coaching-details {
  margin-top: 3rem;
  padding: 2rem 2rem 2.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.coaching-details h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.coaching-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 2rem;
}
.coaching-details li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.coaching-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--maple);
  font-size: 0.75rem;
  font-weight: 700;
}
.coaching-details .fee-note {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.coaching-details .fee-note strong { color: var(--ink); }

@media (max-width: 720px) {
  .coaching-details ul { grid-template-columns: 1fr; }
}

/* ============================================================
   DESTINATIONS
   ============================================================ */
.destinations-section {
  background: var(--bg);
  position: relative;
}
.destinations-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--maple-mist) 0%, transparent 50%);
  pointer-events: none;
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.dest-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.18s ease, transform 0.2s var(--ease-out), border-color 0.18s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.dest-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--maple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.dest-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, 0.4);
  background: var(--bg-elevated);
  box-shadow: 0 10px 30px rgba(26, 22, 20, 0.06);
}
.dest-card:hover::before { transform: scaleX(1); }
.dest-flag {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}
.dest-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.dest-card .dest-region {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.dest-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
}
button.dest-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;
  text-align: left;
  font-family: inherit;
  color: inherit;
  display: block;
}
.dest-card-hint {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--maple);
  opacity: 0.92;
}

/* Destination partner modal */
.dest-modal {
  padding: 0;
  border: none;
  border-radius: 12px;
  box-sizing: border-box;
  width: min(52rem, 94vw);
  max-width: min(52rem, 94vw);
  max-height: min(85vh, 900px);
  margin: 0;
  position: fixed;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  height: fit-content;
  box-shadow: 0 24px 80px rgba(26, 22, 20, 0.18);
  background: var(--bg-elevated);
}
.dest-modal::backdrop {
  background: rgba(26, 22, 20, 0.45);
  backdrop-filter: blur(3px);
}
.dest-modal-inner {
  position: relative;
  padding: 2rem 2.25rem 1.75rem;
}
.dest-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dest-modal-close:hover {
  background: var(--line);
  color: var(--ink);
}
.dest-modal-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 2.5rem 0.35rem 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dest-modal-country {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--maple);
  letter-spacing: 0.02em;
}
.dest-modal-scroll {
  max-height: min(52vh, 520px);
  overflow-y: auto;
  padding: 1rem 1.1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}
.dest-modal-scroll .partner-list-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  word-break: break-word;
}
.dest-modal-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.dest-modal-foot {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
}
.dest-modal-foot a {
  color: var(--maple);
  font-weight: 600;
}
.dest-modal-toolbar {
  margin: 0 0 0.75rem;
}
.dest-modal-filter {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
}
.dest-modal-filter::placeholder {
  color: var(--ink-soft);
  opacity: 0.8;
}
.dest-modal-filter:focus {
  outline: 2px solid var(--maple);
  outline-offset: 1px;
}
.partner-modal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
@media (min-width: 720px) {
  .partner-modal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.partner-modal-list > li {
  margin: 0;
  padding: 0.65rem 0.8rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-left: 3px solid color-mix(in srgb, var(--maple) 72%, transparent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 2.75rem;
  break-inside: avoid;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.partner-modal-list > li:hover {
  border-color: color-mix(in srgb, var(--maple) 35%, var(--line));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.partner-modal-list > li[hidden] {
  display: none;
}
.partner-modal-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.partner-modal-name--solo {
  font-weight: 600;
  color: var(--ink);
}
.partner-modal-loc {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--maple);
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.partner-modal-prose {
  margin: 0;
  column-count: 2;
  column-gap: 1.35rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-soft);
  word-break: break-word;
}
@media (max-width: 520px) {
  .partner-modal-prose { column-count: 1; }
}
.dest-modal-micro {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  opacity: 0.92;
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.partner-data-store-removed {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Faculty grid & cards */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.6rem;
  align-items: stretch;
}
@media (max-width: 1280px) {
  .faculty-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .faculty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .faculty-grid { grid-template-columns: 1fr; }
}
.faculty-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.faculty-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 42px rgba(26, 22, 20, 0.10);
}
.faculty-photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: var(--bg-elevated);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* full image visible — no crop; equal photo band across cards */
.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.faculty-photo--placeholder {
  aspect-ratio: 1024 / 819;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dimmer);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.faculty-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.15rem 1.15rem;
}
.faculty-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--ink);
}
.faculty-role {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--maple);
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 2.4em;
}
.faculty-card .faculty-note {
  margin: 0.65rem 0 0;
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Reviews — richer cards */
.testimonials-section {
  background: var(--bg);
  position: relative;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 40% at 80% 20%, var(--maple-mist) 0%, transparent 55%);
  pointer-events: none;
}
.testimonials-section .container {
  position: relative;
}
.testimonials-carousel-wrap {
  margin-top: 2.25rem;
}
#testimonials .results-track--testimonials {
  --reviews-gap: clamp(1rem, 2vw, 1.35rem);
  gap: var(--reviews-gap);
  scroll-padding-left: 0;
  scroll-padding-right: 0;
  padding-bottom: 1.25rem;
}
#testimonials .results-track--testimonials .testimonial-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  width: min(92vw, 400px);
  max-width: min(92vw, 400px);
  box-sizing: border-box;
  margin: 0;
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
#testimonials .results-track--testimonials .testimonial-card blockquote {
  flex: 1 1 auto;
}
@media (min-width: 769px) and (max-width: 1023px) {
  #testimonials .results-track--testimonials .testimonial-card {
    flex: 0 0 calc((100% - var(--reviews-gap)) / 2);
    width: calc((100% - var(--reviews-gap)) / 2);
    max-width: calc((100% - var(--reviews-gap)) / 2);
    scroll-snap-align: start;
  }
}
@media (min-width: 1024px) {
  #testimonials .results-track--testimonials .testimonial-card {
    flex: 0 0 calc((100% - 2 * var(--reviews-gap)) / 3);
    width: calc((100% - 2 * var(--reviews-gap)) / 3);
    max-width: calc((100% - 2 * var(--reviews-gap)) / 3);
    scroll-snap-align: start;
  }
}
.testimonial-card {
  margin: 0;
  padding: 1.75rem 1.65rem 1.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(26, 22, 20, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--maple), rgba(200, 16, 46, 0.35));
  opacity: 0.85;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 22, 20, 0.08);
  border-color: rgba(200, 16, 46, 0.25);
}
.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.testimonial-stars {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #c49a3c;
  line-height: 1;
}
.testimonial-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maple);
  background: var(--maple-mist);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}
.testimonial-quote-icon {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  line-height: 0.5;
  color: rgba(200, 16, 46, 0.12);
  margin-bottom: 0.15rem;
  user-select: none;
}
.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
}
.testimonial-card blockquote p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--ink);
  font-style: normal;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--maple-mist), var(--bg-soft));
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--maple);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.testimonial-meta strong {
  font-size: 0.88rem;
  color: var(--ink);
}
.testimonial-meta span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.upload-section--early {
  background: var(--bg-soft);
  position: relative;
}
.upload-section--early::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--maple-mist) 100%);
  opacity: 0.35;
  pointer-events: none;
}
.upload-section--early .container {
  position: relative;
}
.immigration-section {
  background: var(--bg);
  position: relative;
}
.immigration-intro {
  max-width: 52rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.immigration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}
.immigration-col h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}
.immigration-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.immigration-col li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.immigration-col li:last-child { border-bottom: none; }
.immigration-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--maple);
  opacity: 0.85;
}
.immigration-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--maple-mist);
  border: 1px solid rgba(200, 16, 46, 0.18);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   WHY RED LEAF
   ============================================================ */
.why {
  background: var(--bg-soft);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s ease;
}
.why-grid:hover .why-item { opacity: 0.6; }
.why-grid:hover .why-item:hover { opacity: 1; }
.why-item:nth-last-child(1) { border-bottom: none; }
.why-item .why-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--maple);
  letter-spacing: -0.03em;
  min-width: 70px;
}
.why-item h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.why-item p {
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 400;
  font-size: 0.95rem;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, var(--maple-mist) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 50%, var(--blue-mist) 0%, transparent 40%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.stat-block {
  text-align: left;
  padding: 0 1rem;
  border-left: 1px solid var(--line);
}
.stat-block:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 1rem;
}
.stat-num .accent {
  font-style: italic;
  color: var(--maple);
  font-weight: 400;
}
.stat-block p {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   PRIVACY & LEGAL (compact)
   ============================================================ */
.privacy-section {
  padding: 5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.privacy-inner {
  max-width: 44rem;
  margin: 0 auto;
}
.privacy-inner .section-head { margin-bottom: 2rem; }
.privacy-body {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--ink-soft);
}
.privacy-body p {
  margin-bottom: 1.1rem;
}
.privacy-body p:last-child { margin-bottom: 0; }
.privacy-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
}
.privacy-body h3:first-child { margin-top: 0; }
.privacy-body strong {
  color: var(--ink);
  font-weight: 600;
}
.privacy-body ul {
  margin: 0.35rem 0 1rem 1.25rem;
}
.privacy-body li { margin-bottom: 0.35rem; }
.privacy-body a {
  color: var(--maple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-disclaimer {
  margin-top: 2.5rem;
  padding: 1.75rem 1.75rem 1.75rem 1.65rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 16, 46, 0.32);
  border-left: 6px solid var(--maple);
  background: linear-gradient(98deg, rgba(200, 16, 46, 0.11) 0%, var(--bg-soft) 42%, var(--bg-soft) 100%);
  box-shadow: 0 10px 36px rgba(26, 22, 20, 0.08);
}
.privacy-disclaimer-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maple);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.privacy-disclaimer-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  padding: 8rem 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--maple-mist) 0%, transparent 55%);
  pointer-events: none;
}
.cta-final-inner {
  text-align: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.cta-final h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.cta-final h2 .accent {
  font-style: italic;
  color: var(--maple);
  font-weight: 400;
}
.cta-final p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.cta-final .cta-row {
  justify-content: center;
  margin-bottom: 0;
  animation: none;
  opacity: 1;
}
.cta-map-strip {
  margin-top: 1.75rem;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-map-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(26, 22, 20, 0.06);
}
.cta-map-link:hover {
  border-color: rgba(200, 16, 46, 0.5);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.14);
}
.cta-map-link svg {
  width: 36px;
  height: 36px;
  color: var(--maple);
  flex-shrink: 0;
}
.cta-map-link strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cta-map-sub {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.map-preview-wrap {
  margin-top: 2rem;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.map-preview-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 28px rgba(26, 22, 20, 0.08);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.map-preview-link:hover {
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 12px 36px rgba(200, 16, 46, 0.12);
}
.map-preview-link iframe {
  display: block;
  width: 100%;
  height: min(320px, 50vw);
  min-height: 220px;
  border: 0;
  pointer-events: none;
}
.map-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.1rem;
  background: linear-gradient(transparent 55%, rgba(26, 22, 20, 0.5));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.cta-contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 340px;
  text-align: left;
}
.cta-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--maple);
  flex-shrink: 0;
  margin-top: 3px;
}
.cta-contact-item a {
  color: var(--maple);
  font-weight: 600;
}

/* ============================================================
   STUDENT RESULTS — full‑resolution files; layout caps display width only
   ============================================================ */
.results-section {
  padding: 7rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.results-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 30%, var(--maple-mist) 0%, transparent 50%),
    radial-gradient(ellipse 45% 40% at 90% 70%, var(--blue-mist) 0%, transparent 45%);
  pointer-events: none;
}
.results-section .container { position: relative; }
.results-carousel-wrap { margin-top: 3rem; }
.results-track {
  display: flex;
  gap: clamp(1rem, 2.8vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem max(0px, env(safe-area-inset-right, 0px)) 1.5rem max(0px, env(safe-area-inset-left, 0px));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
  scrollbar-color: var(--maple-soft) transparent;
}
.results-track:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 4px;
  border-radius: 8px;
}
.results-slide {
  flex: 0 0 auto;
  width: max-content;
  /* Caps display size only — image files unchanged; intrinsic ratio preserved (no crop). */
  max-width: min(92vw, 1180px);
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow:
    0 16px 40px rgba(26, 22, 20, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.results-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(70vh, 960px);
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}
.results-slide.visible:hover {
  transform: translateY(-8px);
  box-shadow:
    0 26px 56px rgba(200, 16, 46, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}
.results-hint {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-dimmer);
  text-align: center;
  letter-spacing: 0.04em;
}
.results-official-line {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-dimmer);
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.results-official-line strong {
  color: var(--ink-soft);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .results-slide.visible:hover { transform: none; }
  .results-track { scroll-behavior: auto; }
}


/* Immigration (04) — study & visitor win carousel (inside .container; pair width = half track) */
.immigration-wins-intro {
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.immigration-wins-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2.9vw, 1.45rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.65rem;
}
.immigration-wins-intro > p:last-child {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.62;
  max-width: 44rem;
}
.results-carousel-wrap--immigration {
  margin-top: 1.5rem;
}
#immigration .results-track--immigration {
  --imm-win-gap: clamp(0.65rem, 2vw, 1.35rem);
  gap: var(--imm-win-gap);
  scroll-padding-left: 0;
  scroll-padding-right: 0;
}
@media (min-width: 769px) {
  #immigration .results-track--immigration .results-slide {
    box-sizing: border-box;
    flex: 0 0 calc((100% - var(--imm-win-gap)) / 2);
    max-width: calc((100% - var(--imm-win-gap)) / 2);
    width: calc((100% - var(--imm-win-gap)) / 2);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  #immigration .results-track--immigration .results-slide img {
    max-height: min(48vh, 480px);
    object-fit: contain;
    margin-inline: auto;
    display: block;
  }
}
@media (max-width: 768px) {
  #immigration .results-track--immigration .results-slide {
    flex: 0 0 auto;
    width: max-content;
    max-width: min(92vw, 1180px);
    scroll-snap-align: center;
  }
  #immigration .results-track--immigration .results-slide img {
    max-height: min(58vh, min(64dvh, 720px));
    object-fit: contain;
    margin-inline: auto;
    display: block;
  }
}

/* Student results (#results): 1 / 2 / 3 visible by breakpoint; horizontal snap + scroll */
#results .results-track--scores {
  --scores-gap: clamp(0.5rem, 1.8vw, 1.1rem);
  gap: var(--scores-gap);
  scroll-padding-left: 0;
  scroll-padding-right: 0;
}
@media (max-width: 768px) {
  #results .results-track--scores .results-slide {
    flex: 0 0 auto;
    width: max-content;
    max-width: min(92vw, 1180px);
    scroll-snap-align: center;
  }
  #results .results-track--scores .results-slide img {
    max-height: min(62vh, min(68dvh, 760px));
    object-fit: contain;
    margin-inline: auto;
    display: block;
  }
}
@media (min-width: 769px) and (max-width: 1023px) {
  #results .results-track--scores .results-slide {
    box-sizing: border-box;
    flex: 0 0 calc((100% - var(--scores-gap)) / 2);
    max-width: calc((100% - var(--scores-gap)) / 2);
    width: calc((100% - var(--scores-gap)) / 2);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  #results .results-track--scores .results-slide img {
    max-height: min(50vh, 500px);
    object-fit: contain;
    margin-inline: auto;
    display: block;
  }
}
@media (min-width: 1024px) {
  #results .results-track--scores .results-slide {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 2 * var(--scores-gap)) / 3);
    max-width: calc((100% - 2 * var(--scores-gap)) / 3);
    width: calc((100% - 2 * var(--scores-gap)) / 3);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  #results .results-track--scores .results-slide img {
    max-height: min(48vh, 460px);
    object-fit: contain;
    margin-inline: auto;
    display: block;
  }
}

/* ============================================================
   UPLOAD DOCUMENTS
   ============================================================ */

.upload-section {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.upload-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.25rem 2.25rem 2.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(26, 22, 20, 0.06);
}
.upload-how {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.upload-field {
  margin-bottom: 1.35rem;
}
.upload-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maple);
  margin-bottom: 0.45rem;
}
.upload-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maple);
  margin-bottom: 0.65rem;
  text-align: left;
}
.upload-field input,
.upload-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.upload-field input:focus,
.upload-field textarea:focus {
  outline: none;
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 3px var(--maple-mist);
}
.upload-field textarea {
  min-height: 96px;
  resize: vertical;
}
.upload-dropzone {
  display: block;
  padding: 1.75rem 1.25rem;
  border: 2px dashed rgba(200, 16, 46, 0.35);
  border-radius: 8px;
  background: rgba(230, 57, 70, 0.03);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.upload-dropzone:hover,
.upload-dropzone:focus-within {
  border-color: rgba(200, 16, 46, 0.55);
  background: rgba(230, 57, 70, 0.06);
}
.upload-dropzone input[type="file"] {
  margin-top: 0.85rem;
  width: 100%;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.upload-file-hint {
  font-size: 0.85rem;
  color: var(--ink-dimmer);
  margin-bottom: 0.35rem;
}
.upload-file-list {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: left;
  line-height: 1.45;
}
.upload-submit-wrap {
  margin-top: 1.75rem;
}
.upload-submit-wrap .btn-primary {
  width: 100%;
  justify-content: center;
}
.upload-privacy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-dimmer);
  text-align: center;
  line-height: 1.5;
}


/* ============================================================
   WHATSAPP UPLOAD OVERLAY
   ============================================================ */
.wa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(26, 22, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.wa-overlay[open] {
  display: flex;
}
.wa-overlay-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(26, 22, 20, 0.22);
  position: relative;
}
.wa-overlay-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-dimmer);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}
.wa-overlay-close:hover { color: var(--ink); }
.wa-overlay-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.2;
  padding-right: 2rem;
}
.wa-overlay-sub {
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.wa-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.wa-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.wa-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--maple);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.wa-step-body {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-top: 4px;
}
.wa-step-body strong { color: var(--ink); font-weight: 600; }
.wa-files-list {
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-elevated);
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-height: 90px;
  overflow-y: auto;
}
.wa-overlay-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.65rem;
}
.wa-overlay-cancel {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-dimmer);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.35rem;
  width: 100%;
  transition: color 0.2s ease;
}
.wa-overlay-cancel:hover { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deepest);
  padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 0.85fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-mark {
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.footer-brand .brand-mark-img {
  height: 38px;
  width: auto;
  max-width: min(54vw, 200px);
  object-fit: contain;
  object-position: left center;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 400;
  max-width: 360px;
}
.footer-brand .footer-registered-name {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.65rem;
  max-width: 24rem;
}
.footer-brand .footer-nap-line {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 22rem;
}
.footer-brand .footer-nap-line a {
  color: var(--maple);
  font-weight: 600;
  text-decoration: none;
}
.footer-brand .footer-nap-line a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.footer-col a, .footer-col li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  transition: color 0.2s ease;
  font-weight: 400;
}
.footer-col a:hover { color: var(--ink); }
.footer-col li.contact-line {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}
.footer-social-cell {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.footer-social-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.footer-social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
  color: var(--maple);
  transform: translateY(-2px);
}
.footer-social-svg {
  width: 26px;
  height: 26px;
}
.footer-legal-banner {
  margin-bottom: 2.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 16, 46, 0.38);
  background: linear-gradient(118deg, rgba(200, 16, 46, 0.13) 0%, rgba(235, 229, 214, 0.98) 48%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 26px rgba(26, 22, 20, 0.07);
}
.footer-legal-banner-main {
  margin: 0 0 0.55rem;
  font-size: clamp(0.92rem, 2.6vw, 1.02rem);
  line-height: 1.58;
  font-weight: 600;
  color: var(--ink);
}
.footer-legal-banner-main strong:first-of-type {
  color: var(--maple);
  font-weight: 800;
}
.footer-legal-banner-foot {
  margin: 0;
  font-size: 0.81rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.footer-legal-banner-foot a {
  color: var(--maple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--ink-dimmer);
  font-weight: 400;
}
.footer-credit {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.82rem;
}
.footer-credit em { color: var(--maple); font-style: normal; font-weight: 600; }
.footer-credit-link { text-decoration: none; color: inherit; display: inline; }
.footer-credit-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit-assist {
  color: var(--ink-soft);
  font-weight: 400;
}
.footer-credit-assist a strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroEaseIn {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}
.results-slide.scroll-reveal {
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    box-shadow 0.3s ease;
}

/* ============================================================
   ENHANCED ANIMATIONS
   ============================================================ */

/* — Stagger delay helpers (applied via JS) — */
.sd-1 { transition-delay: 0.07s !important; }
.sd-2 { transition-delay: 0.14s !important; }
.sd-3 { transition-delay: 0.21s !important; }
.sd-4 { transition-delay: 0.28s !important; }
.sd-5 { transition-delay: 0.35s !important; }
.sd-6 { transition-delay: 0.42s !important; }
.sd-7 { transition-delay: 0.49s !important; }
.sd-8 { transition-delay: 0.56s !important; }

/* — Slide-in from sides (about section) — */
.reveal-left  { transform: translateX(-48px) !important; opacity: 0; }
.reveal-right { transform: translateX( 48px) !important; opacity: 0; }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0) !important; opacity: 1; }

/* — Draw-in underline for section heading accents — */
.section-head h2 .italic-accent {
  background: linear-gradient(var(--maple), var(--maple)) no-repeat left bottom;
  background-size: 0% 1.5px;
  padding-bottom: 2px;
  transition: background-size 1s ease 0.5s;
}
.section-head.visible h2 .italic-accent { background-size: 100% 1.5px; }

/* — Shimmer sweep on service card hover — */
@keyframes shimmer {
  from { transform: translateX(-100%) skewX(-15deg); }
  to   { transform: translateX( 220%) skewX(-15deg); }
}
.service-card { overflow: hidden; }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, transparent 0%,
    rgba(255,255,255,0.28) 50%,
    transparent 100%
  );
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after { animation: shimmer 0.7s ease forwards; }

/* — Destination card glow on hover — */
.dest-card {
  transition: background 0.18s ease, transform 0.2s var(--ease-out), border-color 0.18s ease, box-shadow 0.2s ease;
}
.dest-card:hover {
  box-shadow: 0 12px 32px rgba(26,22,20,0.07),
              0 0  18px rgba(200,16,46,0.12);
}

/* — Why-item number scale on hover — */
.why-item .why-num {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), color 0.3s ease;
}
.why-item:hover .why-num {
  transform: scale(1.18) translateX(4px);
  color: var(--maple-glow);
}

/* — Business details &amp; scope: smooth marquee, exactly 4 badges visible — */
#registered-recognized .trust-badges {
  --trust-visible: 4;
  --trust-gap: 2.5rem;
  --trust-loop-duration: 44s;
  container-type: inline-size;
  container-name: trust-marquee;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
#registered-recognized .trust-badges-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  will-change: transform;
  backface-visibility: hidden;
  animation: trustScroll var(--trust-loop-duration) linear infinite;
}
#registered-recognized .trust-badges:hover .trust-badges-track { animation-play-state: paused; }
@keyframes trustScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
#registered-recognized .trust-badges-set {
  display: flex;
  align-items: center;
  gap: var(--trust-gap);
  flex-shrink: 0;
}
#registered-recognized .trust-badges-set .trust-badge {
  flex: 0 0 calc((100cqi - (var(--trust-visible) - 1) * var(--trust-gap)) / var(--trust-visible));
  min-width: 0;
  box-sizing: border-box;
}

/* Scroll-in stagger (class toggled via IntersectionObserver) */
#registered-recognized:not(.registered-visible) .trust-label {
  opacity: 0;
  transform: translateY(14px);
}
#registered-recognized:not(.registered-visible) .trust-badge {
  opacity: 0;
  transform: translateY(18px);
}
#registered-recognized.registered-visible .trust-label {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.22, 1, .36, 1);
}
#registered-recognized.registered-visible .trust-badge {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.48s cubic-bezier(.22, 1, .36, 1), transform 0.48s cubic-bezier(.22, 1, .36, 1);
}
#registered-recognized.registered-visible .trust-badges-set .trust-badge:nth-child(1) { transition-delay: 0.06s; }
#registered-recognized.registered-visible .trust-badges-set .trust-badge:nth-child(2) { transition-delay: 0.11s; }
#registered-recognized.registered-visible .trust-badges-set .trust-badge:nth-child(3) { transition-delay: 0.16s; }
#registered-recognized.registered-visible .trust-badges-set .trust-badge:nth-child(4) { transition-delay: 0.21s; }
#registered-recognized.registered-visible .trust-badges-set .trust-badge:nth-child(5) { transition-delay: 0.26s; }
#registered-recognized.registered-visible .trust-badges-set .trust-badge:nth-child(6) { transition-delay: 0.31s; }

@media (prefers-reduced-motion: reduce) {
  #registered-recognized .trust-badges-track { animation: none; }
  #registered-recognized:not(.registered-visible) .trust-label,
  #registered-recognized:not(.registered-visible) .trust-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* — CTA button pulse ring — */
.btn-primary { position: relative; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1.5px solid var(--maple);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.btn-primary:hover::before { opacity: 0.35; transform: scale(1.07); }

/* — Stat block accent pop — */
.stat-num .accent {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.stat-block:hover .stat-num .accent { transform: translateY(-5px); }

/* — About portrait floating badge — */
.about-portrait-badge {
  animation: floatBadge 5s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-9px); }
}

/* — Cursor follower — */
.c-dot {
  position: fixed; width: 7px; height: 7px;
  background: var(--maple); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  left: 0; top: 0;
  mix-blend-mode: multiply;
  will-change: transform;
}
.c-ring {
  position: fixed; width: 34px; height: 34px;
  border: 1.5px solid var(--maple);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  left: 0; top: 0;
  opacity: 0.45;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}
.c-ring.hovered {
  width: 52px; height: 52px;
  opacity: 0.25;
  border-color: var(--gold);
}
@media (hover: none) { .c-dot, .c-ring { display: none; } }

/* ============================================================
   BRAND WELCOME — fullscreen dialog opened from nav logo tap
   ============================================================ */
.brand-welcome-dialog {
  border: none;
  padding: 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}
.brand-welcome-dialog::backdrop {
  background: rgba(26, 22, 20, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand-welcome-inner {
  position: relative;
  min-height: 100dvh;
  padding: calc(3rem + env(safe-area-inset-top, 0px)) var(--pad-x) calc(2.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.35rem;
  max-width: 26rem;
  margin: 0 auto;
  box-sizing: border-box;
}
.brand-welcome-close {
  position: absolute;
  top: calc(0.85rem + env(safe-area-inset-top, 0px));
  right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.brand-welcome-close:hover {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--ink-soft);
}
.brand-welcome-logo {
  width: min(260px, 78vw);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(26, 22, 20, 0.12));
}
.brand-welcome-dialog h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.brand-welcome-tagline {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--maple);
  margin: -0.35rem 0 0;
}
.brand-welcome-tagline em {
  font-style: italic;
  font-weight: 400;
}
.brand-welcome-lede {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 22rem;
}
.brand-welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}
.brand-welcome-actions .btn {
  justify-content: center;
  width: 100%;
  min-height: 48px;
  touch-action: manipulation;
}

/* ============ MOBILE NAV — separate fullscreen dialog (hamburger) ============ */
.mobile-nav-menu {
  margin: 0;
  padding: 0;
  border: none;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: #fdfcfa;
  color: var(--ink);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}
.mobile-nav-menu::backdrop {
  background: rgba(26, 22, 20, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobile-nav-menu-inner {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(3.25rem + env(safe-area-inset-top, 0px)) max(var(--pad-x), env(safe-area-inset-left, 0px)) calc(2.25rem + env(safe-area-inset-bottom, 0px)) max(var(--pad-x), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
.mobile-nav-menu-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mobile-nav-menu-close {
  position: fixed;
  top: calc(0.45rem + env(safe-area-inset-top, 0px));
  right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-menu-close:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 3px;
}
.mobile-nav-menu-close:active {
  background: rgba(26, 22, 20, 0.06);
}
.mobile-nav-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mobile-nav-menu-links a {
  display: block;
  padding: 1rem 1.35rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 14px;
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-menu-links a:hover {
  color: var(--maple);
  background: rgba(200, 16, 46, 0.06);
}
.mobile-nav-menu-links a:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 2px;
}
.mobile-nav-menu-cta {
  margin-top: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.98rem 2.35rem;
  background: transparent;
  color: var(--maple);
  border: 2px solid var(--maple);
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-menu-cta:hover {
  color: var(--maple-glow);
  border-color: var(--maple-glow);
  background: rgba(200, 16, 46, 0.06);
}
.mobile-nav-menu-cta:focus-visible {
  outline: 2px solid var(--maple);
  outline-offset: 4px;
}

/* — Float keyframe (reusable) — */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  :root { --nav-item-gap: 0.85rem; }
  .nav-links { font-size: 0.82rem; }
}
@media (max-width: 1024px) {
  :root { --nav-item-gap: 1.5rem; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.25rem 2rem;
    align-items: stretch;
  }
  .hero-lead {
    grid-column: 1;
    grid-row: 1;
  }
  .globe-wrap {
    grid-column: 1;
    grid-row: 2;
    max-height: min(58vh, 58dvh);
    margin-right: 0;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: min(100%, 400px);
  }
  .hero-meta {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
    text-align: center;
    row-gap: 0.45rem;
  }
  .hero-meta-label {
    width: 100%;
    text-align: center;
    letter-spacing: 0.18em;
  }

  .flags-strip {
    padding: 0.85rem 0 0.95rem;
    --flag-slot: clamp(2.5rem, 7.8vw, 3.35rem);
    --flag-gap: 0.48rem;
    --flags-loop-duration: 34s;
  }
  .flags-strip-inner {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    text-align: center;
  }
  .flags-strip-label {
    max-width: none;
    margin: 0 auto;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    line-height: 1.28;
  }
  .flags-marquee {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    border-radius: 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
            mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  }
  .flags-marquee-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0;
    animation: flagsScroll var(--flags-loop-duration) linear infinite;
    will-change: transform;
  }
  .flags-marquee-set {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: var(--flag-gap);
    flex-shrink: 0;
  }
  .flags-marquee-set:last-child {
    display: flex;
  }
  .flags-strip .flag-chip .flag-emoji {
    font-size: clamp(1.28rem, 4.5vw, 1.75rem);
  }
  .flags-strip .flag-chip .flag-name {
    font-size: 0.59rem;
    letter-spacing: 0.02em;
  }

  #registered-recognized .trust-badges {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
  #registered-recognized .trust-badges-track {
    animation: none !important;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    transform: none !important;
  }
  #registered-recognized .trust-badges-set {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0.65rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  #registered-recognized .trust-badges-set:last-child {
    display: none;
  }
  #registered-recognized .trust-badges-set .trust-badge {
    flex: 1 1 calc(50% - 0.65rem);
    min-width: min(100%, 11rem);
    max-width: 100%;
    box-sizing: border-box;
  }
  #registered-recognized .trust-badge { font-size: 0.92rem; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait { max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .immigration-grid { grid-template-columns: 1fr; gap: 2rem; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .stat-block:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 720px) {
  .nav {
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    padding-bottom: 1rem;
    padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  }
  .nav.nav-scrolled {
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.75rem;
  }

  .hero { padding-top: calc(60px + env(safe-area-inset-top, 0px)); }
  .hero-grid { padding: 2rem var(--pad-x) 3rem; }
  .globe-wrap { max-height: min(52vh, 52dvh); }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding: 1.35rem var(--pad-x) 1.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-stat {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 22rem;
    width: 100%;
    text-align: center;
  }

  .trust-inner { grid-template-columns: 1fr; gap: 1.25rem; }

  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }

  .service-card { padding: 2rem 1.5rem; }
  .service-card h3 { font-size: 2rem; }

  .dest-grid { grid-template-columns: 1fr; gap: 1rem; }

  .facility-grid { grid-template-columns: 1fr; }

  .why-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
  .why-item .why-num { font-size: 2.25rem; }

  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-block { border-left: none !important; padding-left: 0 !important; }

  .cta-final { padding: 5rem 0; }

.map-preview-wrap {
  margin-top: 2rem;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.map-preview-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 28px rgba(26, 22, 20, 0.08);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.map-preview-link:hover {
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 12px 36px rgba(200, 16, 46, 0.12);
}
.map-preview-link iframe {
  display: block;
  width: 100%;
  height: min(320px, 50vw);
  min-height: 220px;
  border: 0;
  pointer-events: none;
}
.map-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.1rem;
  background: linear-gradient(transparent 55%, rgba(26, 22, 20, 0.5));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.cta-contact { gap: 1.5rem; flex-direction: column; align-items: center; }

  .upload-card { padding: 1.5rem 1.25rem 1.75rem; }
  .upload-field input,
  .upload-field textarea,
  .upload-dropzone input[type="file"] {
    font-size: 1rem;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-banner {
    padding: 1.15rem 1.2rem;
    margin-bottom: 1.85rem;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    font-size: 1rem;
    gap: 0.45rem;
    letter-spacing: -0.02em;
  }
  .brand-mark-img {
    height: 28px;
    max-width: min(52vw, 148px);
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    letter-spacing: -0.032em;
    line-height: 1.02;
    margin-bottom: 1.15rem;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.58;
  }
  .hero-eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.65rem;
    padding: 0.42rem 0.75rem;
    margin-bottom: 1.35rem;
    max-width: 100%;
  }
  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }
  .cta-row .btn {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.95rem 1.25rem;
    touch-action: manipulation;
  }

  .dest-item {
    font-size: 0.92rem;
    padding: 0.35rem 0.65rem 0.35rem 0;
  }
  .dest-item::after {
    margin-left: 0.55rem;
  }

  .hero-stats {
    padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px));
  }

  .file-protocol-banner {
    font-size: 0.8rem;
    text-align: left;
    hyphens: auto;
  }
  .file-protocol-banner code {
    white-space: normal;
    word-break: break-word;
  }

  .flags-strip {
    padding: 0.55rem 0 0.72rem;
    --flag-slot: clamp(2.35rem, calc(18vw / 2.15), 2.85rem);
    --flag-gap: 0.38rem;
    --flags-loop-duration: 30s;
  }
  .flags-strip-inner {
    gap: 0.45rem;
  }

  #registered-recognized .trust-badges-set .trust-badge {
    flex: 1 1 100%;
    text-align: center;
    padding-left: 0;
    padding-top: 0.65rem;
  }
  #registered-recognized .trust-badge::before {
    left: 50%;
    top: 0.25rem;
    transform: translateX(-50%);
  }
}

@media (max-height: 460px) and (orientation: landscape) and (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-bottom: 0.5rem;
  }
  .hero-grid {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
  }
  .globe-wrap {
    max-height: min(42vh, 320px);
  }
  .hero-eyebrow {
    margin-bottom: 0.85rem;
  }
  .cta-row {
    margin-bottom: 1.75rem;
  }
}

/* Production hardening additions */
html, body { max-width: 100%; overflow-x: clip; }
.hero-grid, .hero-lead, .hero-meta, .globe-wrap { min-width: 0; }
.coord-tag { max-width: calc(100vw - 2rem); white-space: normal; text-align: center; }
.faq-list { display: grid; gap: 0.75rem; max-width: 900px; }
.faq-list details { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.faq-list details p { margin-top: 0.75rem; color: var(--ink-soft); line-height: 1.65; }
.wa-overlay { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; background: transparent; padding: 1.5rem; }
.wa-overlay[open] { display: flex; align-items: center; justify-content: center; }
.wa-overlay::backdrop { background: rgba(26, 22, 20, 0.55); backdrop-filter: blur(4px); }
@media (max-width: 520px) { .coord-tag { font-size: 0.62rem; } }
