/* =============================================================
   Apostille Express — design system
   Brand: navy #0A1B59 · signal red #DD1929 · ink #1A2127
   ============================================================= */

:root {
  --navy: #0a1b59;
  --navy-2: #13287a;
  --navy-deep: #060f38;
  --red: #dd1929;
  --red-ink: #b8121f;
  --ink: #1a2127;
  --muted: #586273;
  --muted-2: #8a93a3;
  --paper: #faf8f4;
  --sand: #f2ede4;
  --mist: #eef1f8;
  --white: #ffffff;
  --line: rgba(10, 27, 89, 0.12);
  --line-strong: rgba(10, 27, 89, 0.22);
  --ok: #0f7a4d;
  --ok-bg: #e7f5ee;
  --warn: #8a5a00;
  --warn-bg: #fdf4e1;

  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-mega: clamp(2.6rem, 8.2vw, 8.25rem);
  --fs-h1: clamp(2.6rem, 5.6vw, 5.4rem);
  --fs-h2: clamp(2rem, 3.7vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 1.8vw, 1.75rem);
  --fs-lede: clamp(1.1rem, 1.35vw, 1.32rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1380px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow: 0 1px 2px rgba(10, 27, 89, 0.06), 0 12px 40px -12px rgba(10, 27, 89, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(6, 15, 56, 0.45);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0; color: var(--navy); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 0.75rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #dfe5f5; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-ink); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .on-dark .eyebrow { color: #ff8a93; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.on-dark .lede, .section--navy .lede { color: #c5cde6; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(10, 27, 89, 0.5); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: #c5121f; box-shadow: 0 10px 24px -10px rgba(221, 25, 41, 0.6); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--white); }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--ghost-light { --bg: rgba(255,255,255,0.08); --fg: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,0.18); }
.btn--lg { padding: 1.15rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: gap 0.25s var(--ease), border-color 0.25s; }
.link-arrow:hover { gap: 0.8rem; border-color: var(--red); }
.on-dark .link-arrow { color: #fff; border-color: rgba(255,255,255,0.35); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s, color 0.35s, transform 0.35s var(--ease);
  color: var(--navy);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-transparent { color: #fff; }
.site-header.is-solid, .site-header.is-transparent.is-scrolled {
  background: rgba(250, 248, 244, 0.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line); color: var(--navy);
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand .logo-white { display: none; }
.site-header.is-transparent:not(.is-scrolled) .brand .logo-white { display: block; }
.site-header.is-transparent:not(.is-scrolled) .brand .logo-colour { display: none; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav > a, .nav-item > button {
  padding: 0.55rem 0.85rem; border-radius: 999px; text-decoration: none; font-size: 0.95rem; font-weight: 500;
  background: none; border: 0; display: inline-flex; align-items: center; gap: 0.35rem; transition: background 0.2s;
}
.nav > a:hover, .nav-item > button:hover { background: rgba(10, 27, 89, 0.07); }
.site-header.is-transparent:not(.is-scrolled) .nav > a:hover, .site-header.is-transparent:not(.is-scrolled) .nav-item > button:hover { background: rgba(255,255,255,0.14); }
.nav a[aria-current='page'] { font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-actions .track-link { font-size: 0.92rem; font-weight: 500; text-decoration: none; padding: 0.55rem 0.8rem; }
.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 90vw);
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: block; padding: 0.85rem 1rem; border-radius: 12px; text-decoration: none; }
.mega a:hover { background: var(--mist); }
.mega strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.02rem; letter-spacing: -0.015em; }
.mega span { font-size: 0.85rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
.mega .mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 0.5rem; padding: 0.9rem 1rem 0.2rem; font-size: 0.88rem; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform 0.3s var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--paper); padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 0.25rem; overflow-y: auto; transform: translateY(-100%); transition: transform 0.45s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; letter-spacing: -0.03em; color: var(--navy); text-decoration: none; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav .sub { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; letter-spacing: 0; padding-left: 1rem; color: var(--muted); }
.mobile-nav .btn { margin-top: 1.5rem; font-family: var(--font-body); font-size: 1.05rem; border: 0; color: #fff; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: var(--navy); background: var(--paper); }
body.menu-open .brand .logo-white { display: none !important; }
body.menu-open .brand .logo-colour { display: block !important; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .nav-actions .track-link { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) { .nav-actions .btn { display: none; } .brand img { height: 36px; } }

/* ---------- Heroes ---------- */
.hero { position: relative; isolation: isolate; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.kenburns img { animation: kenburns 18s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* full bleed */
.hero--fullbleed { min-height: max(680px, 100svh); display: flex; align-items: flex-end; color: #fff; }
.hero--fullbleed .hero-media { position: absolute; inset: 0; z-index: -1; }
.hero--fullbleed .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,56,0.55) 0%, rgba(6,15,56,0.05) 30%, rgba(6,15,56,0.15) 55%, rgba(6,15,56,0.86) 100%), linear-gradient(90deg, rgba(6,15,56,0.55) 0%, rgba(6,15,56,0) 60%); }
.hero--fullbleed h1 { color: #fff; font-size: var(--fs-mega); max-width: 13ch; }
.hero--fullbleed .lede { color: rgba(255,255,255,0.86); }
.hero--fullbleed.hero--service h1 { font-size: var(--fs-h1); max-width: 16ch; }
.hero--fullbleed .hero-inner { padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 7vw, 6rem); width: 100%; }
.hero--fullbleed .eyebrow { color: #fff; }

/* split */
.hero--split { padding-top: var(--header-h); background: var(--paper); }
.hero--split .grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(92svh - var(--header-h)); }
.hero--split .copy { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero--split .hero-media { border-radius: 0 0 0 var(--radius-lg); min-height: 420px; }
@media (max-width: 900px) { .hero--split .grid { grid-template-columns: 1fr; } .hero--split .copy { padding-inline: var(--gutter); } .hero--split .hero-media { border-radius: 0; min-height: 56vw; } }

/* framed */
.hero--framed { padding: calc(var(--header-h) + 1rem) var(--gutter) 0; background: var(--paper); }
.hero--framed .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: min(78svh, 760px); display: flex; align-items: flex-end; max-width: calc(var(--max) + 120px); margin-inline: auto; }
.hero--framed .hero-media { position: absolute; inset: 0; z-index: -1; }
.hero--framed .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,15,56,0.75), rgba(6,15,56,0) 60%); }
.hero--framed .frame { justify-content: flex-end; }
.hero--framed .card { background: var(--paper); margin: clamp(1rem, 3vw, 2rem); padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: var(--radius); max-width: 640px; box-shadow: var(--shadow-lg); }

@media (max-width: 700px) {
  .hero--framed .frame { display: block; min-height: 0; }
  .hero--framed .hero-media { position: relative; height: 62vw; }
  .hero--framed .hero-media::after { display: none; }
  .hero--framed .card { position: relative; margin: -2.5rem 0.75rem 0.75rem; }
}

/* offset */
.hero--offset { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); background: var(--paper); overflow: hidden; }
.hero--offset .top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: end; }
.hero--offset h1 { font-size: var(--fs-mega); max-width: 12ch; }
.hero--offset .hero-media { margin-top: clamp(2.5rem, 5vw, 4rem); margin-left: auto; width: min(76%, 1100px); aspect-ratio: 16 / 7; border-radius: var(--radius-lg) 0 0 var(--radius-lg); margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter))); }
@media (max-width: 900px) { .hero--offset .top { grid-template-columns: 1fr; gap: 0; } .hero--offset .hero-media { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); margin-right: 0; } }

/* panorama */
.hero--panorama { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); background: var(--paper); }
.hero--panorama .center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero--panorama h1 { max-width: 16ch; margin-inline: auto; }
.hero--panorama .lede { margin-inline: auto; text-align: center; max-width: 58ch; }
.hero--panorama .hero-media { margin-top: clamp(2.5rem, 5vw, 4.5rem); height: clamp(280px, 46vw, 620px); }
.hero--panorama .hero-actions { justify-content: center; }

/* page hero (simple) */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { max-width: 16ch; }

/* ---------- Home: route selector ---------- */
.routes { position: relative; z-index: 2; margin-top: clamp(-5rem, -8vw, -3rem); }
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.route {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.75rem, 3.5vw, 3rem);
  background: #fff; box-shadow: var(--shadow-lg); text-decoration: none; display: flex; flex-direction: column; min-height: 360px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.route:hover { transform: translateY(-6px); }
.route .tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-ink); }
.route h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); margin: 0.9rem 0 1rem; max-width: 12ch; }
.route p { color: var(--muted); max-width: 40ch; }
.route ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.route li { font-size: 0.82rem; padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); }
.route .go { position: absolute; top: clamp(1.75rem, 3.5vw, 3rem); right: clamp(1.75rem, 3.5vw, 3rem); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; transition: transform 0.45s var(--ease), background 0.3s; }
.route:hover .go { transform: rotate(-45deg); background: var(--red); }
.route--dark { background: var(--navy); }
.route--dark h2 { color: #fff; } .route--dark p { color: #c5cde6; } .route--dark .tag { color: #ff8a93; }
.route--dark li { color: #dfe5f5; border-color: rgba(255,255,255,0.2); }
.route--dark .go { background: #fff; color: var(--navy); }
.route--dark::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 0 0 60px rgba(255,255,255,0.03), 0 0 0 120px rgba(255,255,255,0.02); pointer-events: none; }
.route-meta { margin-top: 1.25rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.route--dark .route-meta { color: #fff; }
@media (max-width: 820px) { .routes-grid { grid-template-columns: 1fr; } .route { min-height: 300px; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding-block: 1.1rem; }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); color: var(--navy); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.ticker span::after { content: '✦'; font-style: normal; font-size: 0.7em; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Section headers ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head p { margin: 0; }
.section-head--stack { grid-template-columns: 1fr; max-width: 900px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--line-strong); }
.process li { list-style: none; padding-right: 1rem; position: relative; counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); font-size: 0.8rem; font-weight: 600; color: var(--navy); position: relative; margin-bottom: 1.25rem; transition: background 0.4s, color 0.4s; }
.process li.lit::before { background: var(--navy); color: #fff; border-color: var(--navy); }
.process strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.process p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.process ol { margin: 0; padding: 0; display: contents; }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr; gap: 1.5rem; }
  .process::before { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .process li { display: grid; grid-template-columns: 44px 1fr; gap: 0 1.25rem; padding: 0; }
  .process li::before { margin: 0; grid-row: span 2; }
}

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--wide-media { grid-template-columns: 1.2fr 1fr; }
.split--top { align-items: start; }
.split--top > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .split--top > div:first-child { position: static; } }
.facts--2 { grid-template-columns: 1fr 1fr; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media--landscape { aspect-ratio: 5 / 4; }
.media-caption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(250,248,244,0.92); backdrop-filter: blur(10px); border-radius: 14px; padding: 0.9rem 1.1rem; font-size: 0.88rem; color: var(--ink); display: flex; gap: 0.75rem; align-items: center; }
.media-caption b { font-family: var(--font-display); color: var(--navy); }
@media (max-width: 900px) { .split, .split--wide-media { grid-template-columns: 1fr; } .split .media { aspect-ratio: 4 / 3; } }

.composition { position: relative; padding-bottom: 12%; }
.composition .a { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; width: 78%; }
.composition .b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.composition img { width: 100%; height: 100%; object-fit: cover; }
.section--white .composition .b { border-color: #fff; }

/* ---------- Editorial service list ---------- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid; grid-template-columns: 70px 1.1fr 1.4fr auto 56px; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; position: relative;
}
.svc-row .num { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.svc-row h3 { font-size: clamp(1.5rem, 2.5vw, 2.35rem); transition: transform 0.4s var(--ease), color 0.3s; }
.svc-row p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.svc-row .price { font-weight: 600; color: var(--navy); white-space: nowrap; font-size: 0.95rem; }
.svc-row .price small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; }
.svc-row .circle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all 0.35s var(--ease); }
.svc-row:hover h3 { transform: translateX(8px); color: var(--red-ink); }
.svc-row:hover .circle { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-45deg); }
.svc-row .peek { position: absolute; right: 9rem; top: 50%; width: 220px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; opacity: 0; transform: translate(0, -50%) scale(0.9) rotate(-3deg); transition: all 0.45s var(--ease); pointer-events: none; z-index: 3; box-shadow: var(--shadow-lg); }
.svc-row .peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 1100px) { .svc-row:hover .peek { opacity: 1; transform: translate(0, -50%) scale(1) rotate(-3deg); } }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; } .svc-row .num, .svc-row .peek { display: none; } .svc-row p { grid-column: 1 / -1; grid-row: 2; } .svc-row .price { grid-column: 1; } .svc-row .circle { grid-row: 1; grid-column: 2; } }

/* ---------- Fee anatomy ---------- */
.fee-anatomy { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 3rem); box-shadow: var(--shadow); }
.fee-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; margin: 1.5rem 0 1.25rem; }
.fee-bar > div { display: flex; align-items: center; padding: 0 1rem; color: #fff; font-weight: 600; font-size: 0.9rem; white-space: nowrap; min-width: 0; }
.fee-bar .s { background: var(--navy); } .fee-bar .g { background: #5d6fa8; } .fee-bar .d { background: #b7c1de; color: var(--navy); }
.fee-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fee-legend div { border-top: 3px solid; padding-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }
.fee-legend b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.015em; }
.fee-legend .s { border-color: var(--navy); } .fee-legend .g { border-color: #5d6fa8; } .fee-legend .d { border-color: #b7c1de; }
@media (max-width: 700px) { .fee-legend { grid-template-columns: 1fr; } .fee-bar > div span { display: none; } }

/* ---------- Facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.facts > div { padding: 1.75rem 1.5rem 0 0; }
.facts b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -0.045em; color: var(--navy); line-height: 1; margin-bottom: 0.6rem; font-weight: 600; }
.facts span { font-size: 0.92rem; color: var(--muted); display: block; max-width: 28ch; }
.on-dark .facts { border-color: rgba(255,255,255,0.2); } .on-dark .facts b { color: #fff; } .on-dark .facts span { color: #c5cde6; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; gap: 0 1rem; } }

/* ---------- Cards / panels ---------- */
.panel { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.panel--flat { box-shadow: none; border: 1px solid var(--line); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.check-list li { position: relative; padding-left: calc(22px + 0.75rem); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; margin-top: 2px; }
.cross-list li::before { background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1b59' stroke-width='3'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.on-dark .check-list li::before { background-color: var(--red); }

/* ---------- Roles (who does what) ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.14); border-radius: var(--radius); overflow: hidden; }
.roles > div { background: var(--navy); padding: clamp(1.5rem, 3vw, 2.5rem); }
.roles h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.75rem; }
.roles .who { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #ff8a93; font-weight: 600; margin-bottom: 1rem; display: block; }
.roles p { color: #c5cde6; font-size: 0.95rem; margin: 0; }
@media (max-width: 820px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Steps (service pages) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps > div { counter-increment: s; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.steps > div::before { content: counter(s, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; color: var(--red); display: block; line-height: 1; margin-bottom: 0.75rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pathway diagram ---------- */
.pathway { display: flex; flex-direction: column; gap: 0; }
.pathway .node { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; position: relative; padding-bottom: 1.5rem; }
.pathway .node:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line-strong); }
.pathway .dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }
.pathway .dot.authority { background: var(--mist); color: var(--navy); border: 1px solid var(--line-strong); }
.pathway .dot.us { background: var(--red); color: #fff; }
.pathway .dot.notary { background: var(--sand); color: var(--navy); border: 1px solid var(--line-strong); }
.pathway strong { display: block; font-family: var(--font-display); color: var(--navy); letter-spacing: -0.015em; font-size: 1.08rem; }
.pathway p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Badges / notices ---------- */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; max-width: 100%; }
[data-dest-badge] .badge, [data-badge] .badge, .flex .badge { white-space: normal; line-height: 1.35; border-radius: 12px; }
.badge--hague { background: var(--ok-bg); color: var(--ok); }
.badge--non { background: var(--sand); color: #6b4e14; }
.badge--soon { background: var(--warn-bg); color: var(--warn); }
.badge--navy { background: var(--navy); color: #fff; }
.notice { border-radius: 14px; padding: 1rem 1.15rem; font-size: 0.93rem; display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; background: var(--mist); color: var(--ink); }
.notice::before { content: 'i'; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; }
.notice--warn { background: var(--warn-bg); } .notice--warn::before { background: var(--warn); content: '!'; font-style: normal; font-family: var(--font-body); }
.notice--ok { background: var(--ok-bg); } .notice--ok::before { background: var(--ok); content: '✓'; font-style: normal; font-family: var(--font-body); }
.notice p:last-child { margin: 0; }

/* ---------- Disclosure / regulatory band ---------- */
.clarity { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); }
.clarity .big { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
@media (max-width: 900px) { .clarity { grid-template-columns: 1fr; } }

/* ---------- Country explorer ---------- */
.explorer { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow-lg); color: var(--ink); }
.explorer-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.25rem; }
.search { flex: 1 1 280px; position: relative; }
.search input, .search input[type='search'] { width: 100%; padding: 1rem 1rem 1rem 3rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 1.05rem; background: var(--paper); }
.search svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip { padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.88rem; font-weight: 500; }
.chip[aria-pressed='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.35rem 1rem; max-height: 520px; overflow-y: auto; padding-right: 0.25rem; }
.country-grid a { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.7rem 0.75rem; border-radius: 10px; text-decoration: none; font-size: 0.95rem; }
.country-grid a:hover { background: var(--mist); }
.country-grid .flag { font-size: 1.15rem; margin-right: 0.5rem; }
.country-count { font-size: 0.85rem; color: var(--muted); margin-left: auto; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.field label, .legend { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: -0.2rem; }
input[type='text'], input[type='email'], input[type='tel'], input[type='number'], input[type='search'], select, textarea {
  width: 100%; padding: 0.95rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,27,89,0.1); }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1b59' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; }
.option label { display: block; height: 100%; padding: 1.15rem 1.2rem; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; transition: all 0.2s; font-weight: 500; color: var(--ink); }
.option label strong { display: block; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -0.015em; color: var(--navy); }
.option label span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 0.2rem; font-weight: 400; }
.option input:checked + label { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; background: var(--mist); }
.option input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; font-size: 0.93rem; margin-bottom: 1rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.form-error { color: var(--red-ink); font-size: 0.9rem; font-weight: 500; }

/* ---------- Wizard ---------- */
.wizard-shell { display: grid; grid-template-columns: 1fr 380px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 1000px) { .wizard-shell { grid-template-columns: 1fr; } }
.wizard-shell > *, .split > *, .cols-2 > *, .doc-row > * { min-width: 0; }
select { max-width: 100%; text-overflow: ellipsis; }
.wizard { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 3.25rem); min-height: 520px; display: flex; flex-direction: column; }
.progress { height: 4px; background: var(--mist); border-radius: 4px; overflow: hidden; margin-bottom: 2rem; }
.progress span { display: block; height: 100%; background: var(--red); width: 0; transition: width 0.5s var(--ease); }
.step-count { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.q { animation: qin 0.5s var(--ease); }
.q h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 0.75rem; max-width: 22ch; }
.q .help { color: var(--muted); margin-bottom: 1.75rem; max-width: 60ch; }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 2rem; gap: 1rem; }
.back-btn { background: none; border: 0; font-weight: 600; color: var(--muted); padding: 0.5rem 0; }
.back-btn:hover { color: var(--navy); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.answers { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.answers li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.answers li span:first-child { color: var(--muted); }
.answers li span:last-child { font-weight: 600; color: var(--navy); text-align: right; }

.result-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }

/* ---------- Order summary ---------- */
.summary { background: var(--navy); color: #dfe5f5; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.summary h3 { color: #fff; margin-bottom: 1.25rem; }
.summary .group { border-top: 1px solid rgba(255,255,255,0.14); padding: 0.9rem 0; }
.summary .group-title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9fb0e0; font-weight: 600; margin-bottom: 0.5rem; display: flex; justify-content: space-between; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; padding: 0.25rem 0; }
.summary .row span:last-child { white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 1rem; margin-top: 0.5rem; }
.summary .total b { font-family: var(--font-display); font-size: 2.1rem; color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.summary .gst { font-size: 0.78rem; color: #9fb0e0; margin-top: 0.35rem; }
.summary .empty { color: #9fb0e0; font-size: 0.93rem; }
.summary .notice { background: rgba(255,255,255,0.08); color: #dfe5f5; margin-top: 1rem; }
.summary .notice::before { background: #fff; color: var(--navy); }
.summary .btn { margin-top: 1.25rem; }
.secure-note { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #9fb0e0; margin-top: 0.85rem; justify-content: center; }

.doc-row { display: grid; grid-template-columns: 1fr 110px 140px 44px; gap: 0.75rem; align-items: end; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 0.75rem; background: var(--paper); }
.doc-row .field { margin: 0; }
.doc-row .remove { width: 44px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; }
@media (max-width: 700px) { .doc-row { grid-template-columns: 1fr 1fr; } .doc-row .field:first-child { grid-column: 1 / -1; } }
.form-section { padding-block: 2rem; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section > h3 { margin-bottom: 0.4rem; }
.form-section > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

.mobile-total { display: none; }
@media (max-width: 1000px) {
  .mobile-total { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem var(--gutter) calc(0.85rem + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; box-shadow: 0 -10px 30px -12px rgba(6,15,56,0.5); }
  .mobile-total b { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; }
  .mobile-total span { display: block; font-size: 0.75rem; color: #9fb0e0; }
  .mobile-total .btn { padding: 0.75rem 1.1rem; }
  body.has-mobile-total { padding-bottom: 76px; }
}

/* ---------- Pricing tables ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line-strong); }
.price-table td { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.price-table .amt { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; }
.price-table .sub { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.table-scroll { overflow-x: auto; }

.price-hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.price-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card .amount { font-family: var(--font-display); font-size: clamp(2.8rem, 4.5vw, 4rem); font-weight: 600; letter-spacing: -0.05em; color: var(--navy); line-height: 1; margin: 1rem 0 0.25rem; }
.price-card .amount sup { font-size: 0.42em; vertical-align: 1.05em; margin-right: 2px; letter-spacing: 0; }
.price-card .per { font-size: 0.88rem; color: var(--muted); }
.price-card ul { margin: 1.5rem 0; }
.price-card .btn { margin-top: auto; }
.price-card--feature { background: var(--navy); color: #c5cde6; border-color: var(--navy); }
.price-card--feature h3, .price-card--feature .amount { color: #fff; } .price-card--feature .eyebrow { color: #ff8a93; } .price-card--feature .per { color: #9fb0e0; }
@media (max-width: 900px) { .price-hero-cards { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 0.25rem; }
.faq-nav a { text-decoration: none; padding: 0.55rem 0.9rem; border-radius: 10px; font-weight: 500; color: var(--muted); }
.faq-nav a:hover { background: #fff; color: var(--navy); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.faq-group { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-group > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1rem; }
details.qa { border-bottom: 1px solid var(--line-strong); }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--navy); letter-spacing: -0.015em; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; font-family: var(--font-body); font-weight: 300; font-size: 1.8rem; line-height: 0.9; color: var(--red); transition: transform 0.3s var(--ease); flex-shrink: 0; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a { padding: 0 3rem 1.5rem 0; color: var(--muted); max-width: 72ch; }

/* ---------- Track ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 20px 1fr; gap: 1rem; padding-bottom: 1.5rem; position: relative; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline .pip { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); margin-top: 3px; }
.timeline li.done .pip { background: var(--navy); border-color: var(--navy); }
.timeline li.current .pip { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(221,25,41,0.15); }
.timeline strong { color: var(--navy); font-family: var(--font-display); letter-spacing: -0.015em; font-size: 1.05rem; }
.timeline time { display: block; font-size: 0.82rem; color: var(--muted); }
.timeline p { margin: 0.25rem 0 0; font-size: 0.93rem; color: var(--muted); }

/* ---------- Articles ---------- */
.prose { font-size: 1.08rem; line-height: 1.75; max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose a { color: var(--navy); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.25rem; } .prose li { margin-bottom: 0.4rem; }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--red); font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.5rem 0; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--line); }
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.article-card { text-decoration: none; display: block; }
.article-card .media { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; }
.article-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.article-card:hover img { transform: scale(1.04); }
.article-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
@media (max-width: 800px) { .article-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 5.5rem); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: end; }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4.4rem); max-width: 14ch; }
.cta-band .actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.cta-band::before { content: ''; position: absolute; width: 640px; height: 640px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(221,25,41,0.35), rgba(221,25,41,0) 65%); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb8d6; padding: clamp(4rem, 8vw, 6.5rem) 0 2rem; margin-top: 0; }
.site-footer a { color: #dfe5f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top h2 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.93rem; max-width: 36ch; }
.footer-disclaimer { padding-top: 2rem; font-size: 0.82rem; line-height: 1.6; color: #8792b4; display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-disclaimer { grid-template-columns: 1fr; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }
.img-reveal { clip-path: inset(12% 0 0 0 round var(--radius-lg)); transition: clip-path 1.2s var(--ease); }
.img-reveal.in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.hero-rise > * { animation: rise 1s var(--ease) both; }
.hero-rise > *:nth-child(2) { animation-delay: 0.1s; } .hero-rise > *:nth-child(3) { animation-delay: 0.2s; } .hero-rise > *:nth-child(4) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .img-reveal { clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; } .img-reveal { clip-path: none; }
  .ticker-track { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.flex { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin-block: 2rem; }
.kicker-num { font-family: var(--font-serif); font-style: italic; color: var(--red); font-size: 1.1em; }
