/* ==========================================================================
   Green Card Guide homepage
   Plain CSS, no build step. Mobile-first where it matters; breakpoints at
   1180 / 960 / 900 / 760 / 600 / 480px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #FFFFFF;
  --ink: #0C1310;
  --ink-2: #39433E;
  --muted: #6A746F;
  --line: #E6ECE8;
  --soft: #F1F5F2;
  --soft-2: #E8F0EB;
  --accent: #16815A;
  --accent-hover: #10694A;
  --accent-soft: #E2F1E9;
  --dark: #08150F;
  --dark-card: #10221A;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .66);
  --dark-line: rgba(255, 255, 255, .12);
  --radius: 16px;
  --radius-sm: 12px;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Wide layout like the reference: content runs edge to edge with a 48px gutter. */
  --max: 1840px;
  --pad: 48px;
  --section: 128px;
  --nav-h: 68px;

  /* Left/right inset that lines bleed rows up with the container content edge. */
  --gut: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
}

@media (max-width: 900px) {
  :root { --pad: 24px; --section: 88px; }
}

@media (max-width: 480px) {
  :root { --pad: 16px; --section: 64px; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; }

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* On dark and photo backgrounds the green ring disappears: use white there. */
.fx-dark :focus-visible,
.who :focus-visible,
.finale :focus-visible { outline-color: #fff; }
/* Sections focused programmatically after an anchor jump get no ring. */
[tabindex="-1"]:focus { outline: none; }

::selection { background: var(--accent-soft); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section); }

.divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* Lenis (optional smooth scroll) housekeeping */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */
.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow + .h2 { margin-top: 18px; }
.eyebrow--light { color: rgba(255, 255, 255, .8); }

.lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo { height: 26px; width: auto; flex: none; }

/* --------------------------------------------------------------------------
   4. Buttons and chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition:
    background-color .3s var(--ease),
    color .3s var(--ease),
    box-shadow .3s var(--ease),
    transform .3s var(--ease);
}
.btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform .45s var(--ease);
}
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.985); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: var(--soft-2); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.chip--accent { background: var(--accent-soft); color: var(--accent-hover); }

.arrows { display: flex; gap: 8px; flex: none; }

.arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background-color .25s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}
.arrow:hover { background: var(--soft-2); }
.arrow:active { transform: scale(.94); }
.arrow:disabled,
.arrow[aria-disabled="true"] { opacity: .38; cursor: default; transform: none; }
.arrow[aria-disabled="true"]:hover { background: var(--soft); }
.arrow .icon { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   5. Announcement bar and navigation
   -------------------------------------------------------------------------- */
.announce {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px var(--pad);
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.4;
  text-align: center;
}
.announce a {
  margin-left: 4px;
  color: var(--accent-hover); /* #16815A on --soft is 4.42:1; the darker green passes AA */
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}
.announce a:hover { color: var(--ink); }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }

/* Over dark or photo sections the nav turns dark, like the reference template. */
.nav.is-dark {
  background: rgba(8, 21, 15, .58);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav.is-dark .brand,
.nav.is-dark .brand__word { color: #fff; }
.nav.is-dark .nav__links a,
.nav.is-dark .nav__login { color: #fff; }
.nav.is-dark .nav__cta { background: #fff; color: var(--ink); }
.nav.is-dark .nav__cta:hover { background: rgba(255, 255, 255, .88); }
.nav.is-dark .nav__toggle { background: rgba(255, 255, 255, .14); color: #fff; }
.nav .brand,
.nav .brand__word,
.nav__links a,
.nav__login,
.nav__cta { transition: color .35s var(--ease), background-color .35s var(--ease); }
/* The open mobile sheet is white, so keep the bar light while it is open. */
.menu-open .nav.is-dark { background: rgba(255, 255, 255, .96); }
.menu-open .nav.is-dark .brand { color: var(--accent); }
.menu-open .nav.is-dark .brand__word { color: var(--ink); }
.menu-open .nav.is-dark .nav__toggle { background: var(--soft); color: var(--ink); }

/* Keep visa route names (O-1, EB-1A, H-1B...) from breaking at the hyphen. */
.nw { white-space: nowrap; }

.nav__inner {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  flex: none;
}
.brand .logo { height: 26px; }
.brand__word {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand--light,
.brand--light .brand__word { color: #fff; }

/* Links sit on the left, right after the logo, like the reference:
   14px, medium weight, full ink, 24px apart. */
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: clamp(28px, 5vw, 80px);
}
.nav__links a,
.nav__login {
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.nav__links a:hover,
.nav__login:hover { opacity: .6; }

.nav__actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
/* Reference button: 40px tall pill, 16px side padding, 14px medium text. */
.nav__cta.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 32px; font-size: 14px; font-weight: 500; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  align-items: center;
  justify-content: center;
  transition: background-color .25s var(--ease);
}
.nav__toggle:hover { background: var(--soft-2); }
.nav__toggle .icon { width: 20px; height: 20px; }
.nav__toggle-close,
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }

/* Mobile sheet */
.menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--menu-h, calc(100vh - var(--nav-h)));
  padding: 20px var(--pad) 28px;
  background: #fff;
  border-top: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.menu__links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.menu__actions {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 10px;
}

html.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Mega menus (desktop): full-width white panel under the nav, link groups on
   the left and an image card on the right, page dimmed behind (reference).
   -------------------------------------------------------------------------- */
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.nav__trigger:hover { opacity: .6; }
.nav__chev {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform .3s var(--ease);
}
/* Open: label goes quiet and the chevron flips, like the reference. */
.nav__trigger[aria-expanded="true"] { color: var(--muted); opacity: 1; }
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav.is-dark .nav__trigger { color: #fff; }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px -28px rgba(12, 19, 16, .28);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .28s var(--ease), transform .4s var(--ease);
}
.mega[hidden] { display: block; visibility: hidden; pointer-events: none; }
.mega.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 475px);
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.mega__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  align-content: start;
}
.mega__h {
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(12, 19, 16, .64);
}
.mega__group ul { display: grid; gap: 8px; }
.mega__group a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.mega__group a:hover { color: var(--accent); }

/* Link groups rise in with a short stagger when the panel opens. */
.mega .mega__group,
.mega .mega__card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.mega.is-open .mega__group,
.mega.is-open .mega__card { opacity: 1; transform: none; }
.mega.is-open .mega__group:nth-child(2) { transition-delay: .04s; }
.mega.is-open .mega__group:nth-child(3) { transition-delay: .08s; }
.mega.is-open .mega__group:nth-child(4) { transition-delay: .12s; }
.mega.is-open .mega__card { transition-delay: .06s; }

.mega__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 347px;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--dark);
}
.mega__card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.2);
  transition: transform .8s var(--ease);
}
.mega__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 21, 15, .1) 0%, rgba(8, 21, 15, .15) 40%, rgba(8, 21, 15, .62) 100%);
}
.mega__card:hover .mega__card-bg { transform: scale(1.26); }
/* Business card: same blurred treatment, darker study-room photo with its lamp glow. */
.mega__card--biz .mega__card-bg { filter: blur(14px) saturate(1.05) brightness(1.15); object-position: 60% 40%; }
.mega__card--biz::before {
  background: linear-gradient(180deg, rgba(8, 21, 15, 0) 0%, rgba(8, 21, 15, .1) 45%, rgba(8, 21, 15, .55) 100%);
}
/* The announcement bar stays bright above the dimmed page, like the reference. */
.mega-open .announce { position: relative; z-index: 41; }
.mega__card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}
.mega__card-top .logo { height: 24px; color: #fff; }
.mega__card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mega__card-title { font-size: 20px; font-weight: 500; line-height: 30px; }
.mega__card-text { max-width: 400px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.mega__card-btn {
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color .2s var(--ease);
}
.mega__card:hover .mega__card-btn { background: rgba(255, 255, 255, .88); }

/* Page dims behind an open panel. */
.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(12, 19, 16, .28);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mega-open .mega-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
/* While a panel is open the bar is solid white, even over dark sections. */
.mega-open .nav,
.mega-open .nav.is-dark { background: #fff; border-bottom-color: var(--line); }
.mega-open .nav.is-dark .brand { color: var(--accent); }
.mega-open .nav.is-dark .brand__word { color: var(--ink); }
.mega-open .nav.is-dark .nav__links a,
.mega-open .nav.is-dark .nav__login,
.mega-open .nav.is-dark .nav__trigger { color: var(--ink); }
.mega-open .nav.is-dark .nav__trigger[aria-expanded="true"] { color: var(--muted); }
.mega-open .nav.is-dark .nav__cta { background: var(--accent); color: #fff; }

@media (max-width: 1240px) {
  .nav__links { gap: 24px; }
  .mega__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 36px; }
}

/* Guides card: the light 3D render, darkened at the bottom for the text. */
.mega__card--guide .mega__card-bg { filter: saturate(1.05); transform: scale(1.04); object-position: 50% 35%; }
.mega__card--guide:hover .mega__card-bg { transform: scale(1.08); }
.mega__card--guide::before {
  background: linear-gradient(180deg, rgba(8, 21, 15, .4) 0%, rgba(8, 21, 15, .08) 28%, rgba(8, 21, 15, .45) 55%, rgba(8, 21, 15, .86) 100%);
}

/* Below 1040px the links no longer fit next to the logo: switch to the menu sheet. */
@media (max-width: 1040px) {
  .nav__links,
  .nav__login { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { gap: 10px; }
  .menu { display: flex; }
  .mega, .mega-backdrop { display: none !important; }
}

/* Mobile sheet: the two groups open in place. */
.menu__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary .icon { width: 22px; height: 22px; stroke-width: 1.75; transition: transform .3s var(--ease); }
.menu__group[open] summary .icon { transform: rotate(180deg); }
.menu__group[open] { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.menu__group[open] summary { border-bottom: 0; }
.menu__h {
  margin: 14px 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(12, 19, 16, .64);
}
.menu__sub { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.menu__links .menu__sub a {
  display: inline-block;
  padding: 6px 0;
  border: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(56px, 8vw, 110px);
  text-align: center;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Small photo strip + line above the headline (like the reference template). */
/* Same construction as the reference: 40px square photos, 12px corners,
   each overlapping the previous one by 16px, with a faint white 1px edge. */
.trust {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}
.trust__faces {
  display: flex;
  flex: none;
}
.trust__face {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.trust__face + .trust__face { margin-left: -16px; }
.trust__face img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.trust__face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .32);
  pointer-events: none;
}

.hero__title {
  margin-top: 24px;
  max-width: 14.6em;
}
.hero__sub {
  margin-top: 24px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Word rise on load (JS wraps each word in .w > span) */
.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .14em;
  margin: 0 -.06em -.14em;
}
.hero__title .w > span { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title:not(.is-split) { opacity: 0; }
  .js:not(.js-ready) .hero__title { animation: failsafe 0s 2.5s forwards; }
  .hero__title .w > span {
    transform: translate3d(0, 110%, 0);
    transition: transform .9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 42ms + 40ms);
  }
  .hero__title.is-in .w > span { transform: none; }
}

/* Keep the trust pill on one line on common phones (360-420px). */
@media (max-width: 420px) {
  .trust { gap: 12px; font-size: 13.5px; }
  .trust__text { max-width: 220px; }
  .trust__face { width: 32px; height: 32px; }
  .trust__face + .trust__face { margin-left: -13px; }
}

@media (max-width: 480px) {
  .hero__sub { font-size: 17px; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; white-space: normal; text-align: center; }
}

/* Full-bleed ticker of cards */
.ticker {
  --h: 560px;
  margin-top: clamp(56px, 7vw, 88px);
  overflow: hidden;
  text-align: left;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}
@keyframes ticker {
  to { transform: translate3d(-50%, 0, 0); }
}

/* Pause control for all looping motion (WCAG 2.2.2). Shown only once JS is
   wired and only when motion is allowed. */
.ticker__foot {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
.motion-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.motion-toggle:hover { background: var(--soft); color: var(--ink); }
.motion-toggle .icon { width: 14px; height: 14px; stroke-width: 2; }
.js-ready .motion-toggle { display: inline-flex; }
.motion-toggle .i-play,
.motion-paused .motion-toggle .i-pause { display: none; }
.motion-paused .motion-toggle .i-play { display: block; }

/* Everything that loops on its own stops while motion is paused. */
.motion-paused .ticker__track,
.motion-paused .marquee__track,
.motion-paused .feed__track,
.motion-paused .chat__typing i { animation-play-state: paused; }

.hcard {
  position: relative;
  flex: none;
  height: var(--h);
  border-radius: var(--radius);
  overflow: hidden;
}
.hcard > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hcard--chat { width: 760px; }
.hcard--chat .chat { height: 100%; }

.hcard--portrait,
.hcard--photo { width: 340px; background: var(--soft-2); }
.hcard--portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Firmer scrim where the small label sits (about 75% down), so it stays
     readable over white lab coats and bright benches. */
  background: linear-gradient(180deg, rgba(8, 21, 15, 0) 34%, rgba(8, 21, 15, .52) 64%, rgba(8, 21, 15, .82) 100%);
  pointer-events: none;
}
.hcard__caption {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  gap: 10px;
  color: #fff;
}
.hcard__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 10px rgba(8, 21, 15, .4);
}
.hcard__line {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-wrap: balance;
}

/* Scorecard */
.hcard--score {
  width: 420px;
  padding: 32px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.score__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2); /* --muted on --soft is 4.40:1 at 13px */
}
.score__list { display: grid; gap: 20px; }
.score__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38% 26px;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
}
.score__bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(12, 19, 16, .07);
  overflow: hidden;
}
.score__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(var(--v));
}
.score__row.is-thin .score__bar > span { background: #8CC2A8; }
.score__num {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.score__foot {
  padding-top: 18px;
  border-top: 1px solid rgba(12, 19, 16, .08);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: no-preference) {
  .js .hcard--score .score__bar > span {
    transform: scaleX(0);
    transition: transform 1.4s var(--ease-out) calc(var(--n) * 90ms + 500ms);
  }
  .js .hcard--score.is-in .score__bar > span { transform: scaleX(var(--v)); }
}

/* Opportunity card */
.hcard--opp {
  width: 400px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.opp__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.opp__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.opp__icon .icon { width: 22px; height: 22px; }
.opp__note { font-size: 13px; color: var(--muted); }
.opp__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.opp__chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opp__btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.opp__btn .icon { width: 15px; height: 15px; stroke-width: 2; }

@media (max-width: 600px) {
  .ticker { --h: 440px; }
  /* Slower on phones: the chat card fills the screen, so give the conversation time. */
  .ticker__track { animation-duration: 120s; }
  .hcard--chat { width: 88vw; }
  .hcard--portrait,
  .hcard--photo { width: 300px; }
  .hcard--score { width: 330px; padding: 24px; }
  .score__list { gap: 13px; }
  .score__row { grid-template-columns: minmax(0, 1fr) 30% 24px; gap: 10px; font-size: 13px; }
  .hcard--opp { width: 320px; padding: 24px; }
  .opp__title { font-size: 27px; }
  .hcard__caption { left: 22px; right: 22px; bottom: 22px; }
  .hcard__line { font-size: 23px; }
}

/* --------------------------------------------------------------------------
   7. Chat component (hero card and "How it works" card)
   -------------------------------------------------------------------------- */
.chat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: #33443B;
  color: #fff;
}
.chat__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Dim the photo itself: the message column sits over its sunlit middle. */
  filter: blur(22px) saturate(1.15) brightness(.86);
  transform: scale(1.15);
}
.chat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Even scrim under the text, a touch deeper in the middle where the sun is
     (modelled: reader bubbles >= 4.4:1 worst pixel, YOU labels >= 5.8:1). */
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(8, 21, 15, .18) 0%, rgba(8, 21, 15, 0) 100%),
    linear-gradient(180deg, rgba(8, 21, 15, .12), rgba(8, 21, 15, .34));
}
.chat__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}
.chat__col {
  position: relative;
  width: min(460px, 86%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat__thread {
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  overflow: hidden;
  transition: opacity .55s var(--ease);
}
/* The loop clears only the conversation; the composer stays put. */
.chat__col.is-fading .chat__thread { opacity: 0; }
.chat.is-clipped .chat__thread {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px);
  mask-image: linear-gradient(180deg, transparent 0, #000 36px);
}
.chat__item {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
/* Frank (white bubbles + typing dots) on the left, the reader on the right. */
.chat__item--you { align-items: flex-end; }
.chat__item--you .chat__who { padding: 0 4px 0 0; }
.chat__item--typing:not(.is-shown) { display: none; }
.chat.is-live .chat__item:not(.is-shown) { display: none; }

.chat__who {
  padding-left: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(8, 21, 15, .7), 0 0 2px rgba(8, 21, 15, .4);
}
.chat__bubble {
  max-width: 90%;
  padding: 16px 22px;
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.45;
  text-wrap: pretty;
}
.chat__bubble.is-single { border-radius: 999px; }
.chat__item--you .chat__bubble {
  /* Dark frosted glass: keeps white text readable while the photo stays bright. */
  background: rgba(10, 26, 18, .42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  text-shadow: 0 1px 10px rgba(8, 21, 15, .25);
}
.chat__item--frank .chat__bubble {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(8, 21, 15, .35), 0 1px 2px rgba(8, 21, 15, .08);
}
.chat__typing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 64px;
  height: 40px;
  border-radius: 999px;
  background: rgba(12, 19, 16, .85);
}
.chat__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: typing 1.2s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat__composer {
  flex: none;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: 0 12px 32px -14px rgba(8, 21, 15, .4);
}
.chat__composer .logo { height: 22px; color: var(--accent); }
.chat__placeholder {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat__send {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}
.chat__send .icon { width: 18px; height: 18px; stroke-width: 2; }
.chat__send { transition: transform .18s var(--ease), background-color .18s var(--ease); }
.chat__send.is-pressed { transform: scale(.86); background: var(--accent-hover); }

/* The reader's message types out in the composer before it is sent. */
.chat__draft {
  display: none;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.chat__draft::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -.2em;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.chat__draft.is-overflow {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px);
}
.chat__composer.is-typing .chat__placeholder { display: none; }
.chat__composer.is-typing .chat__draft { display: block; }
.motion-paused .chat__draft::after { animation-play-state: paused; }

/* Hide the conversation until JS has set up the loop (with a failsafe if JS never runs). */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.js-ready) .chat__col { opacity: 0; animation: failsafe 0s 2.5s forwards; }
}

.chat--tall { min-height: 640px; }

@media (max-width: 600px) {
  .chat__inner { padding: 22px 0; }
  .chat__col { width: 88%; gap: 12px; }
  .chat__thread { gap: 12px; }
  .chat__bubble { padding: 13px 18px; font-size: 15px; max-width: 94%; }
  .chat__composer { height: 56px; padding: 0 8px 0 18px; gap: 12px; }
  .chat__composer .logo { height: 18px; }
  .chat__placeholder,
  .chat__draft { font-size: 15px; }
  .chat__send { width: 40px; height: 40px; }
  .chat--tall { min-height: 620px; }
}

/* --------------------------------------------------------------------------
   8. Category strip (marquee)
   -------------------------------------------------------------------------- */
.strip {
  padding: 72px 0;
  text-align: center;
}
.strip__label {
  margin-bottom: 30px;
  padding-inline: var(--pad);
  font-size: 13.5px;
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  padding: 0 40px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #858F8A; /* 3.34:1 on white, passes for 22-28px semibold */
  white-space: nowrap;
}
.marquee__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

@media (max-width: 600px) {
  .strip { padding: 56px 0; }
  .marquee__item { padding: 0 26px; font-size: 22px; }
}

/* --------------------------------------------------------------------------
   9. Section heads and horizontal carousels
   -------------------------------------------------------------------------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -2px; }
.carousel__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline: var(--gut);
}
.carousel.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  .carousel { cursor: grab; }
}

/* --------------------------------------------------------------------------
   10. Audiences
   -------------------------------------------------------------------------- */
.audiences { padding-top: calc(var(--section) * .55); }
.audiences__title { max-width: 22ch; }

.acard {
  flex: none;
  width: clamp(300px, 27vw, 440px);
  scroll-snap-align: start;
}
.acard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft-2);
  isolation: isolate;
}
.acard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .6s var(--ease), transform 1.2s var(--ease);
}
/* Hover: the photo softens into a blur, like the reference template. */
.acard:hover .acard__media img,
.acard:focus-within .acard__media img { filter: blur(14px); transform: scale(1.08); }
/* A soft shadow band (not a box) behind the centred label so white text reads
   over bright lab coats and windows. */
.acard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 22% at 50% 50%, rgba(8, 21, 15, .34), rgba(8, 21, 15, 0) 72%),
    rgba(8, 21, 15, .06);
  pointer-events: none;
}
/* Label: plain white uppercase text in the middle of the photo. */
.acard__label {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(8, 21, 15, .45), 0 0 2px rgba(8, 21, 15, .25);
}
.acard__text {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 600px) {
  .sec-head { margin-bottom: 36px; }
  .acard { width: 78vw; }
  .carousel__track { gap: 12px; }
}

@media (max-width: 480px) {
  .audiences .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* --------------------------------------------------------------------------
   11. How it works (chat section)
   -------------------------------------------------------------------------- */
.how__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.how__cta,
.record__cta { margin-top: 32px; }

.points { margin-top: 44px; }
.point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.point:last-child { padding-bottom: 0; }
.point__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.point__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.point__text {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 960px) {
  .how__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* --------------------------------------------------------------------------
   12. Record section (vertical feed)
   -------------------------------------------------------------------------- */
.record__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.record__copy { order: 2; }
.feed-card { order: 1; }
.record__rule { margin: 44px 0 36px; }

.note__text {
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.note__by {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.note__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.note__mark .logo { width: 26px; height: auto; }
.note__label { font-size: 14px; font-weight: 500; line-height: 1.35; }
.note__sub { font-size: 13px; line-height: 1.35; color: var(--muted); }

.feed-card {
  position: relative;
  min-height: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--soft-2);
}
.feed-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(1.05);
  transform: scale(1.08);
}
.feed-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 21, 15, .08), rgba(8, 21, 15, .16));
}
.feed {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.feed__track {
  display: flex;
  flex-direction: column;
  animation: feed 38s linear infinite;
}
.feed-card:hover .feed__track { animation-play-state: paused; }
@keyframes feed {
  to { transform: translate3d(0, -50%, 0); }
}
.feed__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
}
.pill {
  width: 72%;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  transition:
    background-color .6s var(--ease),
    transform .6s var(--ease),
    box-shadow .6s var(--ease);
}
.pill.is-focus {
  background: #fff;
  transform: scale(1.03);
  box-shadow: 0 20px 44px -18px rgba(8, 21, 15, .4), 0 1px 2px rgba(8, 21, 15, .06);
}
.pill__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color .6s var(--ease);
}
.pill.is-focus .pill__icon { background: var(--accent-soft); }
.pill__crit { color: var(--ink-2); }

@media (max-width: 1180px) {
  .pill { width: 84%; }
}

@media (max-width: 900px) {
  .record__grid { grid-template-columns: 1fr; gap: 48px; }
  .record__copy,
  .feed-card { order: 0; }
  .feed-card { min-height: 560px; }
}

@media (max-width: 480px) {
  .feed-card { min-height: 480px; }
  .pill { width: 90%; font-size: 14px; gap: 12px; padding: 10px 14px 10px 12px; }
  .note__text { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   13. Who section (a rolodex of professions over a photo)
   -------------------------------------------------------------------------- */
.who {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: var(--section);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--dark);
}
.who__bg {
  position: absolute;
  inset: -48px 0;
  z-index: -2;
  will-change: transform;
}
.who__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.who::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(8, 21, 15, .55), rgba(8, 21, 15, .72));
}
.who__inner { text-align: center; }
/* Rolodex of professions: a drum of words that flips one card at a time.
   Cards sit on a cylinder (rotateX + translateZ); main.js turns the drum. */
.rolodex {
  --step: 30deg;          /* 360 / 12 cards */
  --h: 1.12em;            /* card height */
  --r: 2.09em;            /* radius = (h / 2) / tan(step / 2) */
  position: relative;
  height: 4.7em;
  margin: 28px auto 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 1;
  letter-spacing: -.035em;
  perspective: 12em;
  -webkit-mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
          mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
}
.rolodex__drum {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateX(calc(var(--turn, 0) * var(--step)));
  transition: transform 1.1s cubic-bezier(.66, 0, .22, 1);
}
.rolodex__card {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--h);
  margin-top: calc(var(--h) / -2);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateX(calc(var(--i) * var(--step) * -1)) translateZ(var(--r));
  opacity: .14;
  /* same curve as the drum, so a word brightens as it reaches the centre */
  transition: opacity 1.1s cubic-bezier(.66, 0, .22, 1);
}
.rolodex__card.is-near { opacity: .42; }
.rolodex__card.is-front { opacity: 1; }
.who__after {
  margin-top: 28px;
  font-size: 18px;
  color: rgba(255, 255, 255, .8);
}

@media (max-width: 600px) {
  .rolodex { margin-top: 20px; }
  .who__after { margin-top: 20px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   14. Journey: five stages on a ladder (centre rail, alternating tilted cards)
   -------------------------------------------------------------------------- */
.journey__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.journey__title { max-width: 17ch; margin-top: 12px; }

.ladder {
  --p: 1;                 /* rail fill, 0 to 1; main.js ties it to scroll */
  position: relative;
  max-width: 940px;
  margin: 72px auto 0;
}
.ladder__rail {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 20px;
  width: 6px;
  margin-left: -3px;
  border-radius: 99px;
  background: var(--soft-2);
  overflow: hidden;
}
.ladder__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(var(--ink) 0 88%, var(--accent) 88% 100%);
  transform-origin: top;
  transform: scaleY(var(--p));
}
.ladder__start,
.ladder__end {
  position: relative;
  width: max-content;
  margin-inline: auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ladder__start {
  margin-bottom: 30px;
  padding: 0 14px 6px;
  background: var(--bg);
  color: var(--ink);
}
.ladder__end {
  margin-top: 40px;
  padding: 11px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
}
.ladder__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Stage cards keep the earlier dark photo-card look; the ladder only places
   them. Each card sits 40px off the rail, and a short rung joins it to its
   numbered node on the rail. Left and right cards overlap in height so the
   stages zig-zag down the rail. */
.rung {
  position: relative;
  align-self: flex-end;
  width: min(420px, calc(50% - 40px));
  min-height: 440px;
  margin-right: calc(50% + 40px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .06);
  background: var(--dark-card);
  color: #fff;
  isolation: isolate;
}
.rung:nth-child(even) {
  align-self: flex-start;
  margin-right: 0;
  margin-left: calc(50% + 40px);
}
.rung + .rung { margin-top: -196px; }

.rung__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
  background: var(--dark-card);
}
.rung__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  transition: transform 1.4s var(--ease), opacity .6s var(--ease);
}
.rung:hover .rung__media img { transform: scale(1.05); opacity: .45; }
/* One square photo, five cards: mirror it so each stage reads as a new card.
   Uses the individual `scale` property so it composes with the hover zoom. */
.rung:nth-child(2) .rung__media img,
.rung:nth-child(4) .rung__media img { scale: -1 1; }
.rung:nth-child(3) .rung__media img { scale: 1 -1; }
.rung:nth-child(5) .rung__media img { scale: -1 -1; }
.rung__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 34, 26, 0) 45%, rgba(8, 21, 15, .7) 100%);
}

/* Node on the rail + the rung that joins it to the card */
.rung__num {
  position: absolute;
  top: 50%;
  right: -56px;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.rung:nth-child(even) .rung__num { right: auto; left: -56px; }
.rung--frank .rung__num { background: var(--accent); color: #fff; }
.rung::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 1.5px;
  margin-top: -.75px;
  background: var(--ink);
}
.rung:nth-child(even)::before { right: auto; left: -24px; }

.rung__tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.rung__title {
  margin: auto 0;
  max-width: 11ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
}
.rung__foot {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}
.rung__text {
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
}
.rung .chip { flex: none; height: 28px; font-size: 12px; }
.chip--frank { background: var(--accent); color: #fff; }
.chip--att { background: rgba(255, 255, 255, .12); color: #fff; }

.journey__note {
  max-width: 620px;
  margin-top: 80px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Cards slide in from their own side of the rail. */
@media (prefers-reduced-motion: no-preference) {
  .js .rung[data-reveal]:not(.is-in) { transform: translate3d(-40px, 24px, 0); }
  .js .rung[data-reveal]:nth-child(even):not(.is-in) { transform: translate3d(40px, 24px, 0); }
}

@media (max-width: 900px) {
  .rung__title { font-size: 31px; }
  .rung__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 760px) {
  .journey__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ladder { margin-top: 56px; padding-left: 40px; }
  .ladder__rail { left: 13px; top: 34px; }
  .ladder__start { margin-inline: -40px 0; padding-left: 0; background: none; }
  .ladder__end { margin-inline: -40px 0; }
  .ladder__list { gap: 20px; }
  .rung,
  .rung:nth-child(even) { align-self: stretch; width: auto; min-height: 340px; margin: 0; padding: 24px; }
  .rung + .rung { margin-top: 0; }
  /* Rail centre is 24px left of the card edge on phones */
  .rung__num,
  .rung:nth-child(even) .rung__num { top: 28px; right: auto; left: -40px; margin-top: 0; }
  .rung::before,
  .rung:nth-child(even)::before { top: 44px; right: auto; left: -8px; width: 8px; }
  .journey__note { margin-top: 56px; }
  .js .rung[data-reveal]:nth-child(n):not(.is-in) { transform: translate3d(0, 24px, 0); }
}

/* --------------------------------------------------------------------------
   15. Changes slider
   -------------------------------------------------------------------------- */
.slider {
  --per: 2;
  --gap: 56px;
  margin-top: 40px;
}
.slider__viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.slider__track {
  display: flex;
  width: calc(100% + var(--gap));
  margin-left: calc(var(--gap) * -1);
  transform: translate3d(calc(-100% / var(--per) * var(--i, 0)), 0, 0);
  transition: transform .9s var(--ease-out);
}
.slide {
  position: relative;
  flex: 0 0 calc(100% / var(--per));
  display: flex;
  flex-direction: column;
  padding-inline: var(--gap);
  transition: opacity .7s var(--ease);
}
.slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.slide.is-out { opacity: 0; }
.slide__statement {
  max-width: 26em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: pretty;
}
.slide__label {
  margin-top: auto; /* label rows share one baseline across slides */
  padding-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.slide__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.slide__check .icon { width: 14px; height: 14px; stroke-width: 2.25; }
.slider__controls {
  margin-top: 48px;
  display: flex;
  gap: 8px;
}
/* Pause/play for auto-advance: needs JS, hidden when motion is reduced. */
.arrow.slider__pause { display: none; margin-left: 8px; }
.js-ready .arrow.slider__pause { display: grid; }
.slider__pause .icon { width: 16px; height: 16px; stroke-width: 2; }
.slider__pause .i-play,
.slider__pause.is-paused .i-pause { display: none; }
.slider__pause.is-paused .i-play { display: block; }

@media (max-width: 760px) {
  .slider { --per: 1; --gap: 32px; }
  .slider__controls { margin-top: 36px; }
}

/* --------------------------------------------------------------------------
   16. Pricing
   -------------------------------------------------------------------------- */
.pricing__head { max-width: 560px; margin-bottom: 56px; }
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease);
}
/* `translate` (not transform) so the lift is not overridden by the reveal. */
.plan:hover {
  translate: 0 -3px;
  box-shadow: 0 28px 50px -30px rgba(8, 21, 15, .28);
}
.plan--featured {
  padding: 27px;
  border: 2px solid var(--accent);
}
.plan__head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan__name { font-size: 16px; font-weight: 500; line-height: 1.3; }
.badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.plan__for {
  margin-top: 8px;
  min-height: 3.1em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.plan__price {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.plan__amount {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.plan__per { font-size: 14px; color: var(--muted); }
.plan__points {
  margin: 26px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.plan__points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan__points .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke-width: 2;
  color: var(--accent);
}
.plan .btn { margin-top: auto; }
.pricing__foot {
  margin-top: 28px;
  max-width: 80ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plan__for { min-height: 0; }
}

/* --------------------------------------------------------------------------
   17. Guides
   -------------------------------------------------------------------------- */
.guides__title { max-width: 20ch; }
.guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.guide__link { display: block; }
.guide__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.guide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.guide__link:hover .guide__media img { transform: scale(1.04); }
.guide .chip { margin-top: 20px; height: 28px; font-size: 12px; }
.guide__title {
  margin-top: 12px;
  max-width: 30ch;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
  transition: color .25s var(--ease);
}
.guide__link:hover .guide__title { color: var(--accent-hover); }

@media (max-width: 900px) {
  .guides__grid { gap: 16px; }
  .guide__title { font-size: 16.5px; }
}

@media (max-width: 760px) {
  .guides .sec-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .guides__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   18. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { padding-bottom: calc(var(--section) * .6); }
.faq__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.faq__head {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.acc-item {
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--soft);
  transition: background-color .3s var(--ease);
}
.acc-item:last-child { margin-bottom: 0; }
.acc-item:hover { background: var(--soft-2); }
.acc-item__btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 14px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.acc-item__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.acc-item__icon .icon { width: 14px; height: 14px; stroke-width: 2; }
.acc-item__btn[aria-expanded="true"] .acc-item__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.acc-item__panel {
  overflow: hidden;
  transition: height .5s var(--ease);
}
.acc-item__inner {
  padding: 0 24px 22px;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  transition: opacity .45s var(--ease);
}
.acc-item__panel.is-closing .acc-item__inner { opacity: 0; }

@media (max-width: 960px) {
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__head { position: static; }
}

@media (max-width: 480px) {
  .acc-item__btn { padding: 18px 18px; font-size: 16px; gap: 14px; }
  .acc-item__inner { padding: 0 18px 20px; font-size: 15px; }
}

/* --------------------------------------------------------------------------
   19. Final CTA and footer (one shared photo background)
   -------------------------------------------------------------------------- */
.finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}
.finale__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.finale::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* The CTA sits on the pale sky: a soft scrim behind it plus a firmer top
     stop (modelled: eyebrow >= 5:1, upload text >= 4.7:1, note >= 6:1). */
  background:
    radial-gradient(70% 38% at 50% 22%, rgba(8, 21, 15, .3), rgba(8, 21, 15, 0) 72%),
    linear-gradient(180deg, rgba(8, 21, 15, .58), rgba(8, 21, 15, .82));
}

.final {
  padding: 140px 0 120px;
  text-align: center;
}
.final__title {
  max-width: 22ch;
  margin: 18px auto 0;
  color: #fff;
}
.upload {
  margin: 40px auto 0;
  max-width: 520px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: left;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.upload:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .18);
}
.upload__left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
}
.upload__left .icon { color: #fff; }
.upload__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload__btn {
  flex: none;
  height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.upload__btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform .45s var(--ease);
}
.upload:hover .upload__btn .icon { transform: translateX(3px); }
.final__note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 540px) {
  .final { padding: 104px 0 88px; }
  .upload {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 6px;
    border-radius: 26px;
  }
  .upload__left { justify-content: center; padding: 12px 8px 10px; }
  .upload__btn { justify-content: center; height: 48px; }
}

.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 48px;
}
.footer__tagline {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer__h {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.footer__col a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__bottom { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   20. Reveal on scroll
   -------------------------------------------------------------------------- */
@keyframes failsafe {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity .8s var(--ease) var(--d, 0ms),
      transform .8s var(--ease) var(--d, 0ms);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  /* Plans reveal like everything else but keep their own hover easing. */
  .js .plan[data-reveal] {
    transition:
      opacity .8s var(--ease) var(--d, 0ms),
      transform .8s var(--ease) var(--d, 0ms),
      translate .45s var(--ease),
      box-shadow .45s var(--ease),
      border-color .3s var(--ease);
  }
  /* If main.js never runs, show everything after a moment. */
  .js:not(.js-ready) [data-reveal] { animation: failsafe 0s 3s forwards; }
}

/* Set for one frame when main.js arrives after the failsafe already showed
   the page, so content snaps to its final state instead of re-animating. */
.no-anim *,
.no-anim *::before,
.no-anim *::after { transition: none !important; }

/* --------------------------------------------------------------------------
   21. Reduced motion: stop loops, keep everything readable and reachable
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .ticker { overflow-x: auto; scrollbar-width: none; }
  .ticker::-webkit-scrollbar { display: none; }
  .ticker__track,
  .marquee__track,
  .feed__track { animation: none; }
  .ticker__track { padding-inline: var(--gut); }
  .ticker__group[aria-hidden="true"] { display: none; }
  .feed__list[aria-hidden="true"] { display: none; }
  /* Static list sizes the card, so every pill is fully visible. */
  .feed-card { min-height: 0; }
  .feed { position: static; padding: 24px 0; }
  .feed__track { width: 100%; }
  .chat__typing i { animation: none; }
  /* Nothing loops, so no pause controls are needed. */
  .motion-toggle,
  .arrow.slider__pause { display: none !important; }
  .ticker__foot { display: none; }
}

/* ==========================================================================
   Inner pages (visas, business, resources, pricing), rendered by
   scripts/build-pages.mjs. Same language as the home page: big serif
   headings, quiet sans text, thin lines, generous white space.
   ========================================================================== */
.page { display: block; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--ink); }

/* Hero: left-aligned, optional photo on the right, quick facts under a line. */
.phero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: end; }
.phero--media .phero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.phero__title {
  margin-top: 16px;
  max-width: 15em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.phero__lead { margin-top: 24px; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.phero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.phero__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; background: var(--soft-2); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__facts {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
}
.phero__facts > div { padding: 22px 24px 0 0; }
.phero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.phero__facts dt { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(12, 19, 16, .6); }
.phero__facts dd { margin-top: 10px; font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }

/* Sections: separated by a thin line inside the container, like the home page. */
.psection { padding-block: clamp(64px, 8vw, 112px); }
.psection + .psection > .container { position: relative; }
.psection + .psection > .container::before {
  content: "";
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: calc(-1 * clamp(64px, 8vw, 112px));
  height: 1px;
  background: var(--line);
}
.psection--callout > .container::before,
.psection--callout + .psection > .container::before { display: none; }

.pblock--split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.pblock--split .pblock__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.pblock--stack .pblock__head { max-width: 760px; margin-bottom: 40px; }
.pblock__title { margin-top: 12px; }
.pblock__lead { margin-top: 18px; max-width: 58ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* Long-form text */
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h2 + p { margin-top: 16px; }
.prose ul { margin-top: 16px; display: grid; gap: 10px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose ul + p { margin-top: 18px; }
.ilink { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ilink:hover { color: var(--accent-hover); }
.particle { max-width: 760px; }
.psection--article { padding-top: 0; }
.psection--article > .container::before { display: none; }

/* Criteria / checklist rows */
.plist { display: grid; list-style: none; padding: 0; margin: 0; }
.plist__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.plist__item:last-child { border-bottom: 1px solid var(--line); }
.plist__mark { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--accent); }
.plist--check .plist__mark { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.plist--check .plist__mark .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.plist__title { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.plist__text { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pnote { margin-top: 20px; max-width: 70ch; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Process steps with a thin connecting line */
.psteps { list-style: none; padding: 0; margin: 0; display: grid; }
.psteps__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-bottom: 36px; }
.psteps__item:last-child { padding-bottom: 0; }
.psteps__item:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 1px; background: var(--line); }
.psteps__num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--soft); color: var(--accent);
  font-family: var(--serif); font-size: 19px;
}
.psteps__body { padding-top: 9px; }
.psteps__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.psteps__title { font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.psteps__text { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Tables (fees, comparisons, visa bulletin) */
.ptable { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ptable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ptable table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ptable thead th {
  padding: 16px 20px; text-align: left; vertical-align: bottom;
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(12, 19, 16, .6);
  background: var(--soft); border-bottom: 1px solid var(--line);
}
.ptable tbody th, .ptable tbody td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody th { font-weight: 500; color: var(--ink); }
.ptable tbody td { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Cards */
.pcards { display: grid; gap: 16px; }
.pcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 28px; border-radius: var(--radius); background: var(--soft);
  transition: background-color .25s var(--ease), transform .35s var(--ease);
}
.pcard__title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.pcard__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.pcard__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); }
.pcard__go .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pcard--link:hover { background: var(--soft-2); transform: translateY(-2px); }
.pcard--link:hover .pcard__go .icon { transform: translateX(3px); }
.pcard .chip { background: #fff; }

/* Dark callout band */
.pcallout {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 4vw, 56px); border-radius: var(--radius);
  background: var(--dark); color: #fff;
}
.pcallout__title { max-width: 22ch; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.pcallout__text { margin-top: 12px; max-width: 60ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.psection--callout { padding-block: 24px; }

/* Related links + sources */
.psection--related { padding-block: 56px; }
.prelated { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.prelated__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: var(--soft);
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color .2s var(--ease);
}
.prelated__item .icon { width: 16px; height: 16px; }
.prelated__item:hover { background: var(--soft-2); }
.psources { padding-bottom: 72px; }
.psources details { border-top: 1px solid var(--line); padding-top: 20px; }
.psources summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); list-style: none; }
.psources summary::-webkit-details-marker { display: none; }
.psources summary::after { content: " +"; }
.psources details[open] summary::after { content: " \2212"; }
.psources ol { margin-top: 16px; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.psources a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.psources p { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Final CTA button on inner pages */
.final__btn { margin-top: 8px; }

@media (max-width: 1100px) {
  .pblock--split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pblock--split .pblock__head { position: static; max-width: 760px; }
  .pcards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .phero--media .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .phero__media { max-height: 420px; aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  .pcards--2, .pcards--3 { grid-template-columns: minmax(0, 1fr); }
  .phero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero__facts > div { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); }
  .phero__facts > div + div { padding-left: 0; border-left: 0; }
  .phero__facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .phero__facts dd { font-size: 20px; }
  .plist__item { grid-template-columns: 40px minmax(0, 1fr); }
  .pcallout { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Frank page (layout "frank"): modelled on the reference template's
   service detail page: split hero, centred impact statement with stats,
   black photo split, tall stat cards, quote band, contact-style panel.
   ========================================================================== */
.fx-center { text-align: center; margin-inline: auto; }
.fx-light { color: #fff; }

/* Hero: text left, live Frank chat card right */
.fx-hero { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 96px); }
.fx-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fx-hero__text { max-width: 620px; }
.fx-hero__title {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.fx-hero__lead { margin-top: 22px; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.fx-hero__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.fx-hero__visual .chat { min-height: clamp(560px, 50vw, 700px); }

/* Impact: centred serif statement + three stats split by thin lines */
.fx-impact { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.fx-impact__statement {
  margin: 24px auto 0;
  max-width: 30ch;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.fx-stats { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-stat { display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; padding: 24px 16px; text-align: center; }
.fx-stat + .fx-stat { border-left: 1px solid var(--line); }
.fx-stat__value { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.fx-stat__label { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 24ch; line-height: 1.5; }

/* Dark split: photo + what Frank does */
.fx-dark { background: var(--dark); color: #fff; padding-block: clamp(72px, 9vw, 120px); }
.fx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fx-split__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 760px; }
.fx-split__media img { width: 100%; height: 100%; object-fit: cover; }
.fx-split__text { max-width: 560px; }
.fx-split__text .h2 { margin-top: 14px; }
.fx-split__lead { margin-top: 18px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.fx-points { margin: 28px 0 32px; padding: 0; list-style: none; display: grid; }
.fx-points li { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.fx-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fx-points h3 { font-size: 17px; font-weight: 500; color: #fff; }
.fx-points p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

/* Section heads */
.fx-section { padding-block: clamp(72px, 9vw, 120px); }
.fx-section--soft { background: var(--soft); }
.fx-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.fx-head.fx-center { text-align: center; }
.fx-head .h2 { margin-top: 12px; }
.fx-head__lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.fx-head.fx-center .fx-head__lead { margin-inline: auto; max-width: 56ch; }

/* Three tall cards (first one on a blurred photo) */
.fx-cards { margin: 0 auto; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fx-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 420px; padding: 28px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--soft);
}
.fx-card__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(1.05); transform: scale(1.2); }
.fx-card--photo { color: #fff; }
.fx-card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 21, 15, .15), rgba(8, 21, 15, .62)); }
.fx-card__num { font-family: var(--serif); font-size: clamp(44px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.fx-card--photo .fx-card__num { color: #fff; }
.fx-card__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.fx-card--photo .fx-card__label { color: #fff; }
.fx-card__text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.fx-card--photo .fx-card__text { color: rgba(255, 255, 255, .85); }

/* Quote band over a blurred photo (in place of a testimonial) */
.fx-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 12vw, 176px); color: #fff; text-align: center; }
.fx-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(20px) saturate(1.1); transform: scale(1.15); }
.fx-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 21, 15, .45); }
.fx-band__inner { display: flex; flex-direction: column; align-items: center; }
.fx-band__quote { margin-top: 20px; max-width: 24ch; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.fx-band__text { margin-top: 20px; max-width: 60ch; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.fx-band__text .ilink { color: #fff; }

/* Five stages */
.fx-stages { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fx-stage { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 28px 0; }
.fx-stage + .fx-stage { padding-left: 24px; border-left: 1px solid var(--line); }
.fx-stage__tag { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(12, 19, 16, .55); }
.fx-stage__title { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.fx-stage__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.fx-stage__who { margin-top: auto; padding-top: 8px; align-self: flex-start; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.fx-stage--frank .fx-stage__who { background: var(--accent); color: #fff; }

/* Who it's for: reuse the home photo cards in a grid */
.fx-who { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fx-who .acard { width: auto; }

/* Plans + collapsible comparison */
.fx-compare { margin-top: 32px; }
.fx-compare summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  padding: 12px 20px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; color: var(--ink);
}
.fx-compare summary::-webkit-details-marker { display: none; }
.fx-compare summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--accent); }
.fx-compare[open] summary::after { content: "\2212"; }
.fx-compare .pblock { margin-top: 20px; }

/* What we don't sell */
.fx-impact--quiet .h2 { margin-top: 12px; max-width: 22ch; }
.fx-sell { margin: 28px auto 0; max-width: 64ch; text-align: center; }
.fx-sell p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.fx-sell p + p { margin-top: 14px; }

/* Evaluation panel (the reference's contact split, without a fake form) */
.fx-eval { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fx-eval__left {
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
  min-height: 560px; padding: clamp(28px, 3.5vw, 48px); border-radius: var(--radius); background: var(--soft);
}
.fx-eval__logo { height: 28px; color: var(--accent); }
.fx-eval__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; max-width: 14ch; }
.fx-eval__text { margin-top: 16px; max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.fx-eval__right { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); }
.fx-eval__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: blur(10px) saturate(1.05); transform: scale(1.1); }
.fx-eval__card { width: 100%; max-width: 440px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: 0 24px 60px -30px rgba(8, 21, 15, .5); }
.fx-eval__card-title { font-size: 18px; font-weight: 500; color: var(--ink); }
.fx-eval__list { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.fx-eval__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fx-eval__list .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); stroke-width: 2.2; }
.fx-eval__upload { max-width: none; width: 100%; background: var(--soft); border-color: var(--line); }
.fx-eval__upload .upload__left { color: var(--ink-2); }
.fx-eval__upload .upload__btn { background: var(--accent); color: #fff; }
.fx-eval__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.page--frank .strip { padding-block: 56px 72px; }

@media (max-width: 1200px) {
  .fx-who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .fx-stage:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  .fx-hero__grid, .fx-split, .fx-eval { grid-template-columns: minmax(0, 1fr); }
  .fx-split__media { max-height: 460px; aspect-ratio: 16 / 12; }
  .fx-cards { grid-template-columns: minmax(0, 1fr); }
  .fx-card { min-height: 260px; }
  .fx-eval__left { min-height: 0; }
}
@media (max-width: 700px) {
  .fx-stats { grid-template-columns: minmax(0, 1fr); }
  .fx-stat + .fx-stat { border-left: 0; border-top: 1px solid var(--line); }
  .fx-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-stages { grid-template-columns: minmax(0, 1fr); }
  .fx-stage, .fx-stage + .fx-stage { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fx-stage:first-child { border-top: 0; }
  .fx-hero__visual .chat { min-height: 520px; }
}
@media (max-width: 480px) {
  .fx-who { grid-template-columns: minmax(0, 1fr); }
}

/* Frank page refinements: roomier "who it's for" grid, wrapping labels, simple eval button */
.fx-who { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
.fx-who .acard__media { aspect-ratio: 16 / 11; }
.fx-who .acard__label { white-space: normal; width: 88%; font-size: 12.5px; line-height: 1.45; }
.fx-who .acard__text { max-width: none; font-size: 15px; }
.fx-eval__btn { gap: 10px; }
.fx-eval__btn .icon { width: 18px; height: 18px; }
@media (max-width: 1200px) { .fx-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fx-who { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Home v2 (shorter copy): clickable coverage cards, employer band, price strip
   ========================================================================== */
.acard__link { display: block; color: inherit; }
.acard__link:hover .acard__text { color: var(--ink-2); }

/* Employer band: heading left, one line + button right */
.employers__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
}
.employers .h2 { margin-top: 12px; max-width: 16em; }
.employers__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.employers__text { font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* Price strip: one quiet line between two thin rules */
.pstrip { padding-block: 8px; }
.pstrip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pstrip__list { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
.pstrip__item { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.pstrip__item:nth-child(3) { color: var(--accent); }
.pstrip__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--accent); }
.pstrip__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pstrip__link:hover .icon { transform: translateX(3px); }

@media (max-width: 900px) {
  .employers__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .pstrip__list { flex-direction: column; gap: 10px; }
}

/* Button under a content block (e.g. "Learn more"), and the two buttons in the Frank "what it does" band */
.pblock__cta { margin-top: 28px; }
.fx-split__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Blog article: centred header, wide cover, then "On this page" | article |
   call-to-action card across the full content width
   -------------------------------------------------------------------------- */
.art-head { padding-top: clamp(40px, 6vw, 80px); }
.art-head__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.art-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--accent); }
.art-back .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.art-back:hover { color: var(--accent-hover); }
.art-back:hover .icon { transform: translateX(-3px); }
.art-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.art-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.art-tag--accent { border-color: #CFE8DA; background: var(--accent-soft); color: var(--accent-hover); }
.art-title { max-width: 20ch; margin-top: 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.04; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.art-dek { max-width: 60ch; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.art-byline { display: flex; align-items: center; gap: 12px; margin-top: 32px; text-align: left; }
.art-byline__avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); border: 1px solid #CFE8DA; }
.art-byline__avatar .logo { width: 28px; height: auto; color: var(--accent); }
.art-byline__text { display: flex; flex-direction: column; line-height: 1.35; }
.art-byline__text strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.art-byline__text span { font-size: 13.5px; color: var(--muted); }
.art-cover { margin-top: clamp(36px, 5vw, 64px); aspect-ratio: 5 / 2; border-radius: 20px; overflow: hidden; background: var(--soft);
  box-shadow: 0 30px 60px -40px rgba(12, 19, 16, .35); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }

.art-grid {
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(0, 720px) minmax(280px, 340px);
  justify-content: space-between;
  column-gap: 56px;
  align-items: start;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: var(--section);
}
.art-toc, .art-side { position: sticky; top: calc(var(--nav-h) + 28px); }
.art-toc--side, .art-toc-m { display: none; }
.art-toc { padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.art-toc__h, .art-toc-m summary { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.art-toc__list { margin: 14px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.art-toc__list a { display: block; margin-left: -1px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4;
  color: var(--ink-2); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.art-toc__list a:hover { color: var(--ink); }
.art-toc__list a.is-active { color: var(--accent-hover); font-weight: 500; border-left-color: var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), rgba(226, 241, 233, 0)); }

.art-body { min-width: 0; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.art-body p { margin: 0 0 20px; text-wrap: pretty; }
.art-body .ilink { color: var(--accent-hover); text-decoration-thickness: 1.5px; }
.art-sec { scroll-margin-top: calc(var(--nav-h) + 24px); }
.art-sec h2 { margin: 56px 0 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15;
  letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.art-keys + .art-sec h2 { margin-top: 48px; }
.art-keys { padding: 24px 28px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; background: var(--bg);
  box-shadow: 0 18px 40px -32px rgba(12, 19, 16, .3); }
.art-body .art-keys__h { margin: 0 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.art-keys ul, .art-list { margin: 0 0 20px; padding: 0; list-style: none; }
.art-keys ul { margin: 0; }
.art-keys li, .art-list li { position: relative; padding-left: 20px; margin-top: 10px; }
.art-keys li::before, .art-list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.art-keys strong, .art-list strong { color: var(--ink); font-weight: 600; }
.art-quote { margin: 8px 0 24px; padding: 20px 24px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--soft); }
.art-body .art-quote p { margin: 0; font-size: 18px; color: var(--ink); }
.art-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.art-body .art-muted { color: var(--muted); font-size: 15.5px; }
.art-sources { margin: 0; padding-left: 22px; font-size: 15.5px; line-height: 1.6; }
.art-sources li { margin-top: 10px; padding-left: 4px; }
.art-sources li::marker { color: var(--accent); font-weight: 600; }
.art-faq .accordion { margin-top: 8px; }
.art-body .art-disclaimer { margin: 56px 0 0; padding: 18px 20px; border-radius: 12px; background: var(--soft); font-size: 14px; line-height: 1.6; color: var(--muted); }
.art-more { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.art-body .art-more__h { margin: 0 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.art-more ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.art-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; line-height: 1.3; color: var(--ink); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.art-more a:hover { background: var(--soft); border-color: #D5DFD9; }
.art-more .icon { width: 15px; height: 15px; }

.art-cta { padding: 26px 24px 24px; border: 1px solid #CFE8DA; border-radius: 16px; background: linear-gradient(180deg, #E8F5EE, #F5FAF7);
  box-shadow: 0 24px 50px -40px rgba(22, 129, 90, .55); }
.art-cta__title { font-family: var(--serif); font-size: 23px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.art-cta__text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.art-cta .btn { margin-top: 20px; }

@media (max-width: 1199px) {
  .art-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); column-gap: 48px; }
  .art-toc--left { display: none; }
  .art-toc--side { display: block; margin-bottom: 20px; position: static; }
}
@media (max-width: 899px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; margin-top: 32px; }
  .art-toc--side { display: none; }
  .art-toc-m { display: block; margin-bottom: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
  .art-toc-m summary { cursor: pointer; list-style: none; }
  .art-toc-m summary::-webkit-details-marker { display: none; }
  .art-toc-m .art-toc__list { margin-top: 12px; }
  .art-body { font-size: 17px; }
  .art-cover { aspect-ratio: 16 / 9; border-radius: 16px; }
}

/* Old links from the live blog/events menu (/#criteria, /#opportunities, /#voices) land on the nearest section */
.anchor-alias { display: block; position: relative; top: calc(var(--nav-h) * -1 - 16px); height: 0; visibility: hidden; }
