/* ===================================================================
   Altio: design system
   Editorial, serif-led, with the product surface as the centrepiece.
   Brand palette: navy #1f3a5f / blue #3b6fa5.
   =================================================================== */

:root {
  /* ---- Brand & ink ---- */
  --navy:        #1f3a5f;   /* brand navy (logo) */
  --navy-deep:   #15293f;   /* darker band background */
  --navy-ink:    #0e1c2d;   /* near-black for headings */
  --blue:        #3b6fa5;   /* brand blue (logo mark) */
  --blue-strong: #335f8f;
  --blue-bright: #5b8fc4;
  --blue-100:    #d7e4f1;
  --blue-50:     #eaf1f8;

  /* ---- Neutrals ---- */
  --paper:    #ffffff;
  --paper-2:  #f6f8fb;     /* alt section */
  --mist:     #eef2f7;
  --line:     #e4e9f0;     /* hairline borders */
  --line-2:   #d3dbe6;
  --text:     #243140;     /* body text */
  --muted:    #5d6b7b;     /* secondary text */
  --faint:    #8a96a4;

  /* ---- Type ---- */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Shape ---- */
  --radius:    4px;
  --radius-lg: 10px;

  /* ---- Layout ---- */
  --container: 1180px;
  --narrow:    780px;

  /* ---- Rhythm ---- */
  --section-y: clamp(4rem, 9vw, 8rem);
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgba(15, 28, 45, .05), 0 2px 8px rgba(15, 28, 45, .04);
  --shadow-md: 0 8px 24px rgba(15, 28, 45, .08), 0 2px 6px rgba(15, 28, 45, .05);
  --shadow-lg: 0 24px 60px rgba(15, 28, 45, .14);
}

/* ===================================================================
   Base
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overscroll-behavior: none; }
body { overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-strong); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy); }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--navy); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius); z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---- Typography ---- */
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--navy-ink); font-weight: 600; }

.display, h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 { font-size: clamp(2rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.85rem); line-height: 1.12; }
h3 { font-family: var(--sans); font-size: 1.3rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin-bottom: .4em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--navy-ink); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blue-strong);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem; height: 1px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);
}

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  max-width: 42ch;
}

.measure { max-width: 65ch; }

/* ===================================================================
   Layout helpers
   =================================================================== */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow    { max-width: var(--narrow);    margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: var(--section-y); }

.band-alt  { background: var(--paper-2); }
.band-mist { background: var(--mist); }

/* Dark navy band */
.band-dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(91,143,196,.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #d8e1ec;
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .eyebrow { color: var(--blue-bright); }
.band-dark .eyebrow::before { background: var(--blue-bright); }
.band-dark a { color: #cfe0f1; }
.band-dark a:hover { color: #fff; }

/* Numbered phases inside a dark band: override the light-theme near-black
   text so it reads on navy. */
.band-dark .phase { border-top-color: rgba(255,255,255,.14); }
.band-dark .phase-num { color: var(--blue-bright); }
.band-dark .phase-name { color: #fff; }
.band-dark .phase-body p { color: #c0cddb; }
.band-dark .phase-body h4 { color: #fff; }
.band-dark .phase-body ul li { color: #c0cddb; }
.band-dark .phase-body ul li strong { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-ink); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-accent:hover { background: var(--blue-strong); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--paper-2); }

.band-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.band-dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.band-dark .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.band-dark .btn-primary:hover { background: var(--blue-50); color: var(--navy); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; color: var(--blue-strong);
}
.link-arrow .arr { transition: transform .2s ease; }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ===================================================================
   Header / nav
   =================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,28,45,.04), 0 8px 30px rgba(15,28,45,.05);
}

/* Scroll progress bar: sits at the bottom of the header, flush with its lower edge,
   not extending beyond it. */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: transparent; pointer-events: none; overflow: hidden;
}
.scroll-progress__bar {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--blue-strong), var(--blue-bright));
  transition: transform .12s linear; will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .scroll-progress__bar { transition: none; } }
/* Gaps narrow just above the tightened range (1101px up to the container width) so the
   sixth nav item fits beside both buttons; from ~1212px they sit at full width. */
.nav {
  display: flex; align-items: center; gap: clamp(1.25rem, 14vw - 8.5rem, 2rem);
  padding-block: 1.05rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: clamp(1.25rem, 14vw - 8.5rem, 2.1rem);
  list-style: none; margin: 0; padding: 0;
  margin-left: auto;
}
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--text);
  position: relative; padding-block: .4rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover { color: var(--navy); }
/* aria-current="true" marks the section (e.g. Insights while reading an article). */
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"], .nav-links a[aria-current="true"] { color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: .75rem; margin-left: .5rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 2px; background: var(--navy);
  transform: translate(-50%, -50%); transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ===================================================================
   Hero
   =================================================================== */
/* Same top padding as .page-hero so the home headline sits where every other page's does. */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem) var(--section-y); }
.hero-inner { position: relative; z-index: 2; max-width: 60rem; }
.hero h1 { margin-bottom: 1.4rem; max-width: 18ch; }
.hero .lede { max-width: 54ch; margin-bottom: 2.2rem; font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Brand-line hero: the tagline carries the headline, so it needs a wider
   measure than the default 18ch, plus a descriptor sub-line beneath it. */
.hero h1.brandline { max-width: 23ch; margin-bottom: .85rem; text-wrap: balance; }

/* Brand descriptor that pairs with the Altio name wherever it appears. */
.brand-tagline {
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.005em;
  color: var(--blue-strong);
  max-width: 36ch;
  margin-bottom: 1.1rem;
}
.hero .brand-tagline,
.page-hero .brand-tagline { font-size: clamp(1.2rem, 2vw, 1.7rem); margin-bottom: 1.5rem; }

/* Brand motif: enlarged logo geometry, faint, anchored top-right */
.hero-motif {
  position: absolute; top: 50%; right: -6%;
  transform: translateY(-50%);
  width: min(46vw, 620px); height: auto;
  z-index: 1; opacity: .9; pointer-events: none;
}
.hero-motif .m1 { fill: var(--blue-50); }
.hero-motif .m2 { fill: var(--blue-100); }
.hero-motif .m3 { fill: #e6eef8; }

/* Home hero: brand line beside a live session of the product */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start; /* copy and session graphic share one top edge */
  position: relative; z-index: 2;
}
.hero-grid .surface { box-shadow: var(--shadow-lg); }
.hero-grid .hero-copy .lede { margin-bottom: 2rem; }
.hero-visual { min-width: 0; }

/* COG badge: pill caption beneath the hero session panel. Same visual
   weight as the credential strip below the hero — a quiet tag, not a headline. */
.cog-badge {
  display: inline-block;
  margin: 1rem 0 0;
  font-size: .78rem; font-weight: 500; line-height: 1.45; color: var(--blue-strong);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: .4rem .85rem; border-radius: 99rem;
}
.cog-badge strong { color: inherit; font-weight: 600; }
.cog-badge a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Credential strip under hero */
.cred-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
.cred-strip .cred-label {
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; color: var(--faint);
}
.cred-strip ul { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.cred-strip li { font-size: .92rem; font-weight: 500; color: var(--muted); }
.cred-strip li strong { color: var(--navy); font-weight: 600; }

/* ===================================================================
   Thesis / statement (dark band)
   =================================================================== */
.statement { font-family: var(--serif); font-weight: 400; line-height: 1.28;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem); letter-spacing: -.01em; max-width: 24ch; }
.statement .hl { color: var(--blue-bright); font-style: italic; }
.statement-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.statement-grid p { color: #b9c6d4; }
.statement-grid.align-start { align-items: start; }

/* ===================================================================
   Mission band (light)
   =================================================================== */
.mission { text-align: center; }
.mission .eyebrow::before { display: none; }
.mission .statement { max-width: 30ch; margin: .7rem auto 0; color: var(--navy-ink); }
.mission .statement .hl { color: var(--blue-strong); font-style: italic; }

/* ===================================================================
   Approach: numbered phases
   =================================================================== */
.phases { display: grid; gap: 0; }
.phase {
  display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase-index { display: flex; align-items: baseline; gap: 1rem; }
.phase-num {
  font-family: var(--serif); font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400; color: var(--blue); line-height: .9; letter-spacing: -.02em;
}
.phase-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; color: var(--navy-ink); }
.phase-body p { color: var(--muted); max-width: 56ch; }
.phase-body h4 { color: var(--navy-ink); margin-top: 1.2rem; }
.phase-body ul { margin: .6rem 0 0; padding-left: 0; list-style: none; }
.phase-body ul li { position: relative; padding-left: 1.35rem; margin-bottom: .55rem; color: var(--muted); }
.phase-body ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.phase-body ul li strong { color: var(--navy-ink); }

/* ===================================================================
   Cards
   =================================================================== */
/* Card rows: flex-wrap + centered so an incomplete/odd last row is centered (not
   left-aligned or stretched), and cards shrink to fit narrow screens (no overflow). */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid > * { flex: 1 1 280px; }
.cols-2 > * { flex-basis: 340px; max-width: 540px; }
.cols-3 > * { flex-basis: 260px; max-width: 400px; }

/* Calendly inline embed: taller on phones so the booking UI fits without an inner scroll. */
@media (max-width: 768px) {
  .calendly-inline-widget { height: 1150px !important; }
}
/* Calendly's embed script pins min-width:320px inline; on a 320px phone that clips the right
   edge inside the card, so let it shrink to the card's width there. */
@media (max-width: 400px) {
  .calendly-inline-widget { min-width: 0 !important; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* Card hover removed: these tiles are not clickable, so they must not invite a click. */
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); }
.card .kicker { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--blue-strong); margin-bottom: .9rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--blue-50); color: var(--blue-strong);
}
.card-icon svg { width: 22px; height: 22px; }

.band-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.band-dark .card p { color: #b9c6d4; }
.band-dark .card-icon { background: rgba(91,143,196,.18); color: var(--blue-bright); }

/* Feature: copy beside the flow panel */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem 2rem; margin-top: 1.75rem; }
.feature-cols h4 { color: var(--navy-ink); margin-bottom: .5rem; }
.feature-cols ul { list-style: none; margin: 0; padding: 0; }
.feature-cols li { position: relative; padding-left: 1.35rem; margin-bottom: .45rem; font-size: .96rem; color: var(--muted); }
.feature-cols li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.feature-cols .col-note { margin-top: .8rem; font-size: .9rem; font-style: italic; color: var(--muted); }

/* Integrations line under the read/produce columns */
.connects { margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; max-width: 60ch; }
.connects strong { color: var(--navy-ink); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag {
  font-size: .78rem; font-weight: 500; color: var(--blue-strong);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: .35rem .7rem; border-radius: 99rem;
}

.feature-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem);
  color: #cdd9e6; box-shadow: var(--shadow-lg);
}
.feature-panel .flow { display: grid; gap: 0; }
.feature-panel .flow-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding-block: 1rem; border-top: 1px solid rgba(255,255,255,.1);
}
.feature-panel .flow-step:first-child { border-top: 0; }
.feature-panel .flow-step .n {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: .82rem; font-weight: 600;
  background: rgba(91,143,196,.2); color: #fff; border: 1px solid rgba(91,143,196,.4);
}
.feature-panel .flow-step strong { color: #fff; display: block; font-size: .98rem; }
.feature-panel .flow-step span { font-size: .9rem; color: #a9b8c8; }

/* ===================================================================
   Stats
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.stat { border-left: 2px solid var(--blue); padding-left: 1.5rem; }
.stat-value { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 500; color: var(--navy-ink); line-height: 1; letter-spacing: -.02em; }
.stat-label { color: var(--muted); font-size: .98rem; margin-top: .75rem; max-width: 26ch; }
.band-dark .stat-value { color: #fff; }
.band-dark .stat-label { color: #b9c6d4; }

/* ===================================================================
   Expertise list
   =================================================================== */
.expertise { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: clamp(2rem, 5vw, 4rem); }
.expertise li {
  break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--line);
  color: var(--text); font-weight: 500; display: flex; align-items: center; gap: .75rem;
}
.expertise li::before { content: ""; width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); flex: none; }

/* ===================================================================
   Outcomes
   =================================================================== */
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem 3rem; }
.outcomes li { position: relative; padding-left: 2.25rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 1.25rem; }
.outcomes li .o-mark { position: absolute; left: 0; top: 1.2rem; color: var(--blue); }

/* ===================================================================
   Leadership
   =================================================================== */
.leaders { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.leader { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.leader-photo {
  border-radius: 15px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.leader-photo img { width: 100%; height: auto; display: block; }
.leader h3 { margin-bottom: .2rem; font-size: 1.35rem; }
.leader .role { color: var(--blue-strong); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.leader p { color: var(--muted); max-width: 60ch; }

/* Compact team grid (home): photo, name, role; full bios live on the Team page */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.member .leader-photo { max-width: 220px; margin-bottom: 1rem; }
.member h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.member .role { color: var(--blue-strong); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }

/* ===================================================================
   CTA banner
   =================================================================== */
.cta-banner { text-align: center; }
.cta-banner h2 { max-width: 20ch; margin-inline: auto; }
.cta-banner p { color: var(--muted); max-width: 48ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.band-dark .cta-banner p { color: #b9c6d4; }

/* ===================================================================
   Forms
   =================================================================== */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--navy-ink); }
.field .req { color: var(--blue); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  padding: .85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #fff; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success {
  padding: 1.5rem 1.75rem; background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg); color: var(--navy); font-weight: 500;
}

/* Contact details */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.25rem); }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-top: 1.4rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: .25rem 0 0; font-size: 1.05rem; color: var(--navy-ink); font-weight: 500; }

/* ===================================================================
   Page hero (interior pages)
   =================================================================== */
.page-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { max-width: 60ch; margin-top: 1.2rem; }

/* ===================================================================
   Insights page: topic filter and note cards
   Chips reuse the .tag pill; the pressed chip takes the navy fill.
   =================================================================== */
.insights-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.insights-filter[hidden] { display: none; }
.filter-chip {
  font-family: var(--sans); font-size: .78rem; font-weight: 500; line-height: 1.2;
  color: var(--blue-strong); background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: .45rem .9rem; border-radius: 99rem; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.filter-chip:hover { border-color: var(--blue); color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.insights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.insight-card { display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.insight-card[hidden] { display: none; }
.insight-card h3 { font-size: 1.2rem; }
.insight-card .insight-summary { flex: 1; font-size: .875rem; line-height: 1.6; margin-bottom: 1.1rem; }
.insight-card .insight-byline { font-size: .8rem; color: var(--faint); margin-bottom: 0; }
.insight-byline .read-time { white-space: nowrap; }

/* Each card opens its article: the title link stretches over the whole tile, and
   because the card now leads somewhere its border and shadow deepen on hover. */
.insight-card { position: relative; }
.insight-card h3 a { color: inherit; }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.insight-card:hover h3 a { color: var(--navy); }

/* Article page: one 720px reading column under the shared header */
.article-page { max-width: calc(720px + 2 * var(--gutter)); margin-inline: auto; padding: 3.5rem var(--gutter) var(--section-y); }
.back-link { display: flex; width: fit-content; font-size: .8125rem; color: var(--blue); margin-bottom: 1.75rem; }
.back-link:hover .arr { transform: translateX(-4px); }
.article-page h1 { font-size: 2.25rem; line-height: 1.2; color: var(--navy); margin-bottom: 1rem; }
.article-dek { font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.25rem; }
.article-meta { font-size: .875rem; color: var(--muted); padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.article-body { font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.article-body h2 { font-family: var(--sans); font-size: 1.1875rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; color: var(--navy); margin: 0 0 .625rem; }
.article-body p { margin-bottom: 1.5rem; }

/* ===================================================================
   Legal pages
   =================================================================== */
.legal { max-width: var(--narrow); }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal h3 { margin-top: 1.75rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal .updated { color: var(--faint); font-size: .9rem; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--navy-deep); color: #b9c6d4; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: #97a7b8; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: #b9c6d4; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.75rem; }
.footer-bottom p { color: #8090a0; font-size: .85rem; margin: 0; }
.footer-bottom .legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: #8090a0; font-size: .85rem; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ===================================================================
   Scroll reveal
   =================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1024px) {
  .statement-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .surface { max-width: 640px; }
}

/* Six nav items plus two buttons: tighten the desktop header between the mobile
   breakpoint and 1000px so nothing clips at the right edge. */
@media (min-width: 881px) and (max-width: 1100px) {
  .nav { gap: 1rem; }
  .nav-links { gap: .85rem; }
  .nav-links a { font-size: .875rem; }
  .nav-cta { gap: .5rem; margin-left: 0; }
  .nav-cta .btn { font-size: .875rem; padding-inline: .65rem; }
  .brand img { height: 40px; }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .site-header.nav-open .mobile-nav { display: block; }
  .mobile-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 1rem var(--gutter) 1.75rem;
    /* Own scroll container: scrolling on the menu stays in the menu (no chaining
       to the page); the page area below the menu still scrolls normally. */
    max-height: calc(100dvh - 4.5rem); overflow-y: auto; overscroll-behavior: contain;
  }
  .mobile-nav ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .25rem; }
  .mobile-nav ul a { display: block; padding: .85rem .25rem; font-size: 1.05rem; font-weight: 500; color: var(--navy-ink); border-bottom: 1px solid var(--line); }
  /* Current page: underline it in the menu, mirroring the desktop header. */
  .mobile-nav ul a[aria-current="page"], .mobile-nav ul a[aria-current="true"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: .5rem; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .leader { grid-template-columns: 150px 1fr; }
  .phase { grid-template-columns: 1fr; gap: 1rem; }
  .phase-index { gap: .9rem; }
}

@media (max-width: 560px) {
  :root { --section-y: clamp(3rem, 11vw, 4.5rem); }
  .hero h1, .page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); line-height: 1.14; }
  .hero .eyebrow, .page-hero .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .statement { font-size: clamp(1.45rem, 6.5vw, 1.9rem); }
  .expertise { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader-photo { max-width: 200px; }
  .hero-motif { opacity: .4; right: -25%; width: 80vw; }
  .hero .lede { font-size: 1.12rem; }
  .stat { border-left: 0; border-top: 2px solid var(--blue); padding-left: 0; padding-top: 1.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* mobile nav always rendered; hidden above breakpoint */
@media (min-width: 881px) { .mobile-nav { display: none !important; } }

/* ===================================================================
   Product surface
   A faithful, responsive rendering of what a session actually looks
   like, in place of an abstract flow diagram.
   =================================================================== */
.surface {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  font-size: .95rem;
}
.surface .ask {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  color: var(--navy-ink);
  margin-left: auto;
  max-width: 88%;
  width: fit-content;
}
.surface .lane {
  display: flex; align-items: center; gap: .45rem;
  margin: 1.5rem 0 .7rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-strong);
}
.surface .lane::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); flex: none;
}
.surface .answer { color: var(--text); line-height: 1.6; margin-bottom: 1.4rem; }
.cite {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.2rem; height: 1.2rem; margin: 0 .12rem;
  font-size: .7rem; font-weight: 600; line-height: 1;
  color: var(--navy-ink); background: var(--blue-50);
  border-radius: 50%; vertical-align: .05em;
}
.read-from {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: .6rem;
}
.receipts { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.receipts li {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem .9rem;
}
.receipts .rn {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 600;
  background: var(--blue-50); color: var(--navy-ink); margin-top: .05rem;
}
.receipts .src { font-size: .86rem; color: var(--navy-ink); font-weight: 500; }
.receipts .pub {
  font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--faint); margin-left: .4rem;
}
.receipts .passage {
  display: block; font-size: .82rem; font-style: italic;
  color: var(--muted); margin-top: .25rem;
}

/* ---- What it produces ---- */
.deliverable-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem;
}
.deliv {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 2px solid var(--blue-100);
  border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.deliv h4 { font-size: .98rem; margin-bottom: .4rem; }
.deliv p { margin: 0; font-size: .87rem; color: var(--muted); }

/* Deliverable links (home): each card leads to its session on the platform page */
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 1000px) { .deliverables { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .deliverables { grid-template-columns: 1fr; } }
a.deliv {
  display: flex; flex-direction: column; color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.deliv:hover { border-top-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
a.deliv p { flex: 1; }
a.deliv .link-arrow { margin-top: 1rem; font-size: .88rem; }

/* Named review, version by version */
.trail {
  list-style: none; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
  counter-reset: trail;
}
.trail li { position: relative; padding-left: 2.75rem; font-size: .9rem; color: var(--muted); counter-increment: trail; }
.trail li strong { display: block; position: relative; color: var(--navy-ink); font-size: .95rem; margin-bottom: .15rem; }
/* Step number in a ring, centred on the title line. */
.trail li strong::before {
  content: counter(trail); position: absolute; left: -2.75rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; box-sizing: border-box;
  background: var(--paper); border: 2px solid var(--blue);
  color: var(--blue-strong); font-family: var(--sans); font-weight: 600; font-size: .82rem; line-height: 1;
  display: grid; place-items: center;
}

/* Four behaviours, stated plainly: two by two on tablet and at 1024, four across on wide screens */
.proof-strip {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0;
  /* Flex, not grid, so an odd last row sits centred instead of hugging the left. */
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
}
/* Each item is a tile, bordered like .card, so the strip never reads as floating text. */
.proof-strip > li {
  flex: 0 1 calc((100% - 1.25rem) / 2); min-width: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 2vw, 1.6rem);
}
@media (min-width: 1100px) { .proof-strip > li { flex-basis: calc((100% - 3 * 1.25rem) / 4); } }
@media (max-width: 560px)  { .proof-strip > li { flex-basis: 100%; } }
/* Six standards or five steps: three across from 1000px up */
@media (min-width: 1000px) { .proof-strip.standards > li { flex-basis: calc((100% - 2 * 1.25rem) / 3); } }
.proof-strip.flush { margin-top: 0; }
.proof-strip li { font-size: .9rem; color: var(--muted); }
.proof-strip strong { display: block; color: var(--navy-ink); font-size: .97rem; margin-bottom: .25rem; }

@media (max-width: 1024px) {
  .surface .ask { max-width: 100%; }
}

/* ===================================================================
   Platform page: the deliverable demo
   Four tabs, each pairing a short explanation with a real session.
   Selecting a citation reveals the passage it was read from, which is
   the single behaviour the product is built around.
   =================================================================== */
.demo-tabs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
@media (min-width: 1000px) { .demo-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .demo-tabs { grid-template-columns: 1fr; } }
.demo-tab {
  text-align: left; font-family: var(--sans); cursor: pointer;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 2px solid var(--line-2); border-radius: var(--radius);
  padding: 1rem 1.15rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.demo-tab:hover { border-top-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.demo-tab[aria-selected="true"] { border-top-color: var(--blue); box-shadow: var(--shadow-md); }
.demo-tab .dt-name { display: block; font-weight: 600; color: var(--navy-ink); font-size: .97rem; margin-bottom: .2rem; }
.demo-tab .dt-what { display: block; font-size: .83rem; color: var(--muted); line-height: 1.45; }

.demo-panel {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(1.75rem, 4vw, 3rem); align-items: start;
}
.demo-panel[hidden] { display: none; }
.demo-copy h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.demo-copy p { color: var(--muted); }
.demo-copy ul { list-style: none; margin: 1.15rem 0 0; padding: 0; }
.demo-copy li { position: relative; padding-left: 1.35rem; margin-bottom: .5rem; font-size: .93rem; color: var(--muted); }
.demo-copy li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }

/* Citations become controls: selecting one opens its receipt. */
button.cite {
  border: 0; padding: 0; cursor: pointer; font-family: var(--sans);
  transition: background-color .18s ease, color .18s ease;
}
button.cite:hover { background: var(--blue-100); }
button.cite.is-active { background: var(--blue); color: #fff; }
.receipts li { transition: border-color .18s ease, background-color .18s ease; }
.receipts li.is-active { border-color: var(--blue); background: var(--blue-50); }

.surface-hint {
  margin-top: 1rem; font-size: .78rem; color: var(--faint);
  display: flex; align-items: center; gap: .4rem;
}
.surface-hint::before {
  content: ""; width: 1.1rem; height: 1.1rem; flex: none; border-radius: 50%;
  background: var(--blue-50); border: 1px solid var(--blue-100);
}

/* Provenance lane: read from the product's own record, not public sources. */
.lane.is-internal { color: var(--navy-ink); }
.lane.is-internal::before { background: var(--navy-ink); }

@media (max-width: 1024px) {
  .demo-panel { grid-template-columns: 1fr; }
}

/* ===================================================================
   FAQ page
   A sticky contents rail beside one reading column of section cards.
   Answers are native <details>, so every one opens without scripting;
   main.js only adds the scroll-spy highlight to the contents rail.
   =================================================================== */
.faq-page { background: var(--mist); }
.faq-layout {
  display: grid; grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 3rem); align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem) var(--section-y);
}

/* Contents rail */
.faq-toc {
  position: sticky; top: 6.5rem;
  max-height: calc(100vh - 8rem); overflow-y: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem 1rem; box-shadow: var(--shadow-sm);
}
.faq-toc-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .75rem .75rem; }
.faq-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.faq-toc a {
  display: block; font-size: .85rem; line-height: 1.4; color: var(--text);
  padding: .5rem .75rem; border-left: 2px solid transparent; border-radius: 0 var(--radius) var(--radius) 0;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.faq-toc a:hover { color: var(--navy); background: var(--paper-2); }
.faq-toc a.is-active { color: var(--blue-strong); font-weight: 600; border-left-color: var(--blue); background: var(--blue-50); }

/* Reading column and section cards */
.faq-column { display: flex; flex-direction: column; gap: clamp(1.25rem, 2.5vw, 1.6rem); max-width: 860px; min-width: 0; }
.faq-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(15, 28, 45, .06); overflow: hidden;
}
.faq-cover-card, .faq-contact-card { padding: 0; }
.faq-section { padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 5vw, 3.5rem); }
.faq-section > .eyebrow { margin-bottom: .6rem; }
.faq-section > h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy);
  padding-bottom: .9rem; margin-bottom: 1.6rem; border-bottom: 2px solid var(--blue);
}

/* Dark banners: cover and contact, a navy scrim over the background image */
.faq-banner { position: relative; isolation: isolate; background: var(--navy-deep); padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem); }
.faq-banner::before, .faq-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.faq-banner::before { background-size: cover; background-position: right center; opacity: .45; }
.faq-banner::after { background: linear-gradient(90deg, rgba(21, 41, 63, .97) 30%, rgba(21, 41, 63, .15)); }
.faq-banner--network::before { background-image: url("../media/faq-banner-network.jpg"); }
.faq-banner--envelope::before { background-image: url("../media/faq-banner-envelope.jpg"); opacity: .4; }
.faq-banner--envelope::after { background: linear-gradient(90deg, rgba(21, 41, 63, .97) 35%, rgba(21, 41, 63, .2)); }
.faq-banner h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.1; max-width: 20ch; margin-bottom: 1rem; }
.faq-banner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .6rem; }
.faq-cover-lede { font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.55; color: #cfe0f1; max-width: 58ch; margin: 0; }
.faq-contact-lede { color: #cfe0f1; max-width: 52ch; margin-bottom: 1.6rem; }

.faq-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 0; padding: 1.6rem clamp(1.25rem, 5vw, 3.5rem); }
.faq-meta dt { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-strong); }
.faq-meta dd { margin: .2rem 0 0; font-size: .95rem; color: var(--navy); }

/* Accordion items */
.faq-item {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--paper);
  box-shadow: 0 1px 2px rgba(15, 28, 45, .05); margin-bottom: .75rem;
}
.faq-item:last-of-type { margin-bottom: 0; }
.faq-item > summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--navy-ink);
  transition: color .18s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-item > summary:hover, .faq-item[open] > summary { color: var(--blue-strong); }
.faq-item > summary:focus-visible { outline-offset: -2px; border-radius: var(--radius-lg); }
.faq-chev {
  flex: none; width: .6rem; height: .6rem; margin-right: .2rem;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-25%) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] .faq-chev { transform: translateY(25%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .faq-chev { transition: none; } }

.faq-answer { padding: 0 1.35rem 1.35rem; font-size: .97rem; line-height: 1.65; color: var(--text); }
.faq-answer p { margin-bottom: .8rem; }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 0 0 .8rem; padding-left: 1.25rem; }
.faq-answer li { margin-bottom: .4rem; }
.faq-answer .faq-note { font-size: .8rem; line-height: 1.5; color: var(--muted); margin-top: -.25rem; }
.faq-closing { font-style: italic; font-weight: 600; color: var(--navy); }

/* Comparison tables: scroll sideways on narrow screens rather than squash */
.faq-table-wrap { overflow-x: auto; margin-bottom: .8rem; -webkit-overflow-scrolling: touch; }
.faq-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .85rem; line-height: 1.5; }
.faq-table thead th {
  background: var(--navy); color: #fff; text-align: left; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; padding: .65rem .75rem;
}
.faq-table tbody th, .faq-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.faq-table tbody th { font-weight: 600; color: var(--navy); }
.faq-table tbody tr:nth-child(even) { background: var(--paper-2); }

/* Callouts */
.faq-callout {
  background: var(--blue-50); border: 1px solid var(--blue-100); border-left: 3px solid var(--blue);
  border-radius: 6px; padding: .9rem 1.1rem; font-size: .92rem; line-height: 1.55;
}
.faq-callout p { margin: 0; }
.faq-callout .faq-callout-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--navy); margin-bottom: .2rem; }
.faq-callout.is-warning { background: #fbf4e8; border-color: #ead6b4; border-left-color: #c98a2b; }
.faq-callout.is-warning .faq-callout-label { color: #9a6418; }

/* Tiles and stats */
.faq-tiles, .faq-stats { display: grid; gap: .75rem; margin-bottom: .9rem; }
.faq-tiles.cols-2, .faq-stats.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-tiles.cols-3, .faq-stats.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-stats.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.faq-tile { border: 1px solid var(--line-2); border-top: 3px solid var(--blue); border-radius: var(--radius-lg); padding: 1rem 1.1rem; font-size: .875rem; line-height: 1.55; }
.faq-tile p { margin: 0; }
.faq-tile .faq-tile-title { font-size: .94rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.faq-stat { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: .85rem 1rem; }
.faq-stat p { margin: 0; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.faq-stat .faq-stat-num { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; color: var(--navy); margin-bottom: .2rem; }

/* Contact */
.faq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.faq-steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); padding: 1.1rem; }
.faq-steps p { margin: 0; font-size: .85rem; line-height: 1.5; color: #cfe0f1; }
.faq-steps .faq-step-title { font-size: .94rem; font-weight: 600; color: #fff; margin-bottom: .35rem; }
.faq-contact-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 3.5rem);
}
.faq-contact-foot p { margin: 0; }
.faq-contact-name { font-size: 1.0625rem; font-weight: 600; color: var(--navy); }
.faq-contact-role { font-size: .9rem; color: var(--muted); }
.faq-contact-foot .btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Glossary */
.faq-glossary { margin: 0; }
.faq-glossary > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.faq-glossary > div:last-child { border-bottom: 0; }
.faq-glossary dt { font-size: .92rem; font-weight: 600; color: var(--navy); }
.faq-glossary dd { margin: 0; font-size: .92rem; line-height: 1.55; }


/* "Common questions" links from other pages */
.faq-link-note { margin-top: 1.5rem; }
.cta-banner .faq-link-note { margin: 1.5rem auto 0; }

@media (max-width: 1024px) {
  /* Contents move above the column as a plain list; no sticky rail */
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-toc { position: static; max-height: none; overflow: visible; }
  .faq-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .faq-column { max-width: none; }
}
@media (max-width: 880px) {
  .faq-stats.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-tiles.cols-3, .faq-stats.cols-3, .faq-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .faq-toc ul, .faq-tiles.cols-2, .faq-meta { grid-template-columns: minmax(0, 1fr); }
  .faq-meta { gap: .9rem; }
  .faq-glossary > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .faq-item > summary { padding: 1rem; font-size: 1rem; }
  .faq-answer { padding: 0 1rem 1.1rem; }
  .faq-contact-foot .btn-row, .faq-contact-foot .btn-row .btn { width: 100%; justify-content: center; }
}
