/* Outpace - shared stylesheet
   Editorial-commercial direction (Aug 2026 redesign).
   Instrument Sans for display, Inter for body and UI. Both SIL OFL.
   Rounded surfaces, layered cool-tinted shadows, alternating light/navy
   grounds, blue for action + gold for line icons on navy.
   All motion gated on prefers-reduced-motion. */

/* ------------------------------------------------------------ tokens */
:root {
  /* surfaces - sampled from the reference render */
  --canvas: #FCFAFB;
  --canvas-warm: #F4F4F6;
  --tint-blue: #E9EBFE;
  --card: #FFFFFF;
  --navy: #020E26;
  --navy-deep: #01081A;

  /* ink */
  --ink: #020E26;
  --body: #4A4A55;
  --muted: #6B6B76;
  --placeholder: #71717E;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C9D1E0;
  --on-navy-rule: rgba(255, 255, 255, 0.16);

  /* accents - blue stays the registered logo colour */
  --accent: #2323E6;
  --accent-hover: #1B1BC4;
  --accent-active: #15159E;
  --accent-soft: rgba(35, 35, 230, 0.08);
  --gold: #E7C79E;
  --gold-hover: #F2D9B8;

  /* hairlines. --border-field is contrast-corrected: decorative rules are
     exempt from WCAG 1.4.11, but a control's only boundary is not. */
  --rule: #EDEDEF;
  --rule-strong: #E4E4E8;
  --border-field: #8A8A95;

  /* feedback */
  --error: #B42318;
  --error-text: #B42318;

  /* radii */
  --r-pill: 999px;
  --r-btn: 12px;
  --r-card: 18px;
  --r-card-lg: 24px;
  --r-input: 12px;

  /* shadows - always two-layer, always navy-tinted (never neutral black) */
  --sh-sm: 0 1px 2px rgba(2, 14, 38, 0.04), 0 2px 6px rgba(2, 14, 38, 0.05);
  --sh-card: 0 4px 10px rgba(2, 14, 38, 0.05), 0 16px 32px rgba(2, 14, 38, 0.06);
  --sh-float: 0 4px 10px rgba(2, 14, 38, 0.05), 0 24px 60px rgba(2, 14, 38, 0.12);
  --sh-onnavy: 0 8px 20px rgba(0, 4, 14, 0.34), 0 32px 80px rgba(0, 4, 14, 0.44);
  --sh-btn: 0 6px 16px rgba(35, 35, 230, 0.24);
  --sh-btn-hover: 0 10px 24px rgba(35, 35, 230, 0.30);

  /* type */
  /* One family throughout, as the original build. Display sizes lean on
     weight and negative tracking rather than a contrasting serif. */
  --font-display: 'Instrument Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --fs-display: clamp(2.875rem, 1.55rem + 5.4vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.20rem + 0.7vw, 1.75rem);
  --fs-page-title: clamp(2.25rem, 1.6rem + 2.7vw, 3.5rem);
  --fs-statement: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 3.2vw, 3rem);
  --col-gap: clamp(1rem, 1.8vw, 1.5rem);
  --sec-pad: clamp(4.5rem, 3rem + 6vw, 7.5rem);
  --nav-h: 80px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* per-element reveal stagger, overridden inline */
  --rd: 0ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 32px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, address, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
strong { font-weight: 700; color: var(--ink); }
address { font-style: normal; }
input, select, textarea, button { font: inherit; }
img, svg { max-width: 100%; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

::selection { background: var(--accent); color: #FFFFFF; }
::placeholder { color: var(--placeholder); opacity: 1; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-navy :where(a, button):focus-visible { outline-color: var(--on-navy); }
.on-accent :where(a, button):focus-visible { outline-color: #FFFFFF; }

/* ------------------------------------------------------------ layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
}

.section-pad { padding-block: var(--sec-pad); }

.bleed-warm { background: var(--canvas-warm); }
.bleed-navy { background: var(--navy); color: var(--on-navy); }
.bleed-tint { background: var(--tint-blue); }

/* -------------------------------------------------------------- type */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-micro);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.on-navy .eyebrow, .eyebrow--gold { color: var(--gold); }

.micro-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-micro);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--fs-page-title);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: var(--ink);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--body);
  max-width: 52ch;
}

.on-navy .h2, .on-navy .h3, .on-navy .display { color: var(--on-navy); }
.on-navy .lead, .on-navy p { color: var(--on-navy-muted); }

.dot {
  color: var(--accent);
  /* Instrument Sans draws a square full stop; the brand accent is a round dot,
     so this one glyph borrows Inter's period. */
  font-family: var(--font-sans);
}
.on-navy .dot, .on-accent .dot { color: var(--gold); }

/* -------------------------------------------------------------- icons */
.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  flex: none;
}
.ico--xs { width: 16px; height: 16px; }
.ico--sm { width: 18px; height: 18px; }
.ico--md { width: 20px; height: 20px; }
.ico--lg { width: 24px; height: 24px; }
.ico--xl { width: 32px; height: 32px; }
.ico--2xl { width: 44px; height: 44px; }

/* filled set - exactly two symbols */
.ico--fill { fill: currentColor; stroke: none; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------- skip link */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 400;
  padding: 12px 20px;
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--r-btn);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #FFFFFF; }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding-inline: 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  background: var(--accent);
  color: #FFFFFF;
  border: 0;
  border-radius: var(--r-btn);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--sh-btn);
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease), transform 240ms var(--ease);
}
.btn:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--sh-btn-hover);
}
.btn:active { background: var(--accent-active); transform: translateY(0); }
.btn .ico { transition: transform 240ms var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn--sm { height: 44px; padding-inline: 20px; font-size: 0.9375rem; }
.btn, .arrow-link { white-space: nowrap; }
.btn--pill { border-radius: var(--r-pill); }
.btn--block { width: 100%; }

.btn--light {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
.btn--light:hover { background: var(--canvas); color: var(--ink); box-shadow: var(--sh-card); }
.btn--light:active { background: var(--canvas-warm); color: var(--ink); }

/* text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
}
.arrow-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.arrow-link .ico { transition: transform 240ms var(--ease); }
.arrow-link--right:hover .ico { transform: translateX(3px); }
.arrow-link--down:hover .ico { transform: translateY(2px); }
.arrow-link--accent { color: var(--accent); font-size: 0.9375rem; }
.arrow-link--accent:hover { color: var(--accent-hover); }
.on-navy .arrow-link { color: var(--on-navy); }

.u-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.u-link:hover, .u-link:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

/* ------------------------------------------------------------ header */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(246, 246, 243, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}
.site-nav.is-scrolled { border-bottom-color: rgba(13, 27, 62, 0.07); }
.site-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark .mark { display: block; width: 40px; height: 40px; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}
.nav-link {
  position: relative;
  display: block;
  padding-block: 6px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--body);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.nav-link[aria-current="true"] { color: var(--ink); }
.nav-link[aria-current="true"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-short { display: none; }

/* ------------------------------------------------------- mobile menu */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-btn);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.menu-toggle:hover { background: rgba(13, 27, 62, 0.04); border-color: var(--ink); }
.menu-toggle .ico--close { display: none; }
.menu-toggle[aria-expanded="true"] .ico--open { display: none; }
.menu-toggle[aria-expanded="true"] .ico--close { display: block; }

.menu-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 49;
  background: var(--canvas);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
}
.menu-panel.is-open { display: block; }
.menu-panel ul { display: grid; }
.menu-panel .menu-link {
  display: block;
  padding-block: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.menu-panel .menu-link:hover { color: var(--accent); }
.menu-panel .btn { margin-top: 2rem; width: 100%; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-block: 72px 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--canvas) 0%, var(--canvas) 30%, rgba(246, 246, 243, 0) 58%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; width: 100%; }

.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: calc(50vw + 60px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 40%);
}
.hero-art svg { width: 100%; height: 100%; display: block; }

.hero-copy { grid-column: 1 / span 6; }

.hero-title { max-width: 13ch; }
.hero-title .s { display: block; }
.hero-sub { margin-top: 28px; max-width: 40ch; }

.hero-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

/* ------------------------------------------------------- proof triad */
.proof {
  background: var(--navy);
  color: var(--on-navy);
  padding-block: 96px 88px;
  position: relative;
}
.proof-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proof-cell {
  text-align: center;
  padding-inline: 48px;
}
.proof-cell + .proof-cell { border-left: 1px solid var(--on-navy-rule); }
.proof-cell .ico { color: var(--gold); }
.proof-cell h3 {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--on-navy);
}
.proof-cell p {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--on-navy-muted);
  max-width: 26ch;
  margin-inline: auto;
}

/* ------------------------------------------------------- capture card */
/* A light card straddling a dark band: it must opt out of the .on-navy
   colour inheritance or its serif heading renders white-on-white. */
.capture {
  max-width: 880px;
  margin: 96px auto -152px;
  background: var(--card);
  color: var(--body);
  border-radius: var(--r-card-lg);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--sh-onnavy);
  padding: 48px 56px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.on-navy .capture .h2,
.on-navy .capture h2 { color: var(--ink); }
.on-navy .capture p,
.on-navy .capture .lead { color: var(--body); }
.capture .h2 { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.25rem); }
.capture > p { margin-top: 12px; font-size: var(--fs-body); }
.capture-form { margin-top: 28px; display: flex; gap: 12px; }
.capture-form .input { flex: 1; height: 60px; }
.capture-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 60px;
  height: 60px;
  flex: none;
  background: var(--accent);
  color: #FFFFFF;
  border: 0;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.capture-submit:hover { background: var(--accent-hover); box-shadow: var(--sh-btn); }
.capture-submit .label { display: none; font-weight: 600; }

.check-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.check-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--body);
}
.check-row .ico { color: var(--accent); }

/* ---------------------------------------------------- platform strip */
.platforms { padding-block: 200px 96px; }
.platforms .micro-label { display: block; text-align: center; margin-bottom: 40px; }
.platform-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 960px;
  margin-inline: auto;
}
.platform-row li {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--muted);
  opacity: 0.72;
  transition: opacity 200ms var(--ease), color 200ms var(--ease);
}
.platform-row li:hover { opacity: 1; color: var(--ink); }

/* ------------------------------------------------- statement band */
.statement-band {
  background: var(--tint-blue);
  padding-block: 96px;
  text-align: center;
}
.statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-statement);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
}

/* ------------------------------------------------------ section head */
.section-header { margin-bottom: 56px; }
.section-header .h2 { margin-top: 14px; }
.section-header .lead { margin-top: 18px; }
.section-header--center { text-align: center; }
.section-header--center .h2 { max-width: 20ch; margin-inline: auto; }
.section-header--center .lead { max-width: 52ch; margin-inline: auto; }

/* ------------------------------------------------------- service cards */
.services { background: var(--canvas-warm); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card {
  background: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--sh-float); }
.service-card .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: var(--r-btn);
  color: var(--accent);
  margin-bottom: 24px;
}
.service-card .h3 { margin-top: 10px; }
.service-card > p { margin-top: 16px; }
.card-list { margin-top: 24px; display: grid; gap: 12px; }
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.card-list .ico { color: var(--accent); margin-top: 3px; }
.card-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.card-foot .arrow-link { margin-top: 20px; }

/* ------------------------------------------------------ channel rows */
.channels { background: var(--navy); color: var(--on-navy); }
.channel-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
  padding-block: 32px;
  border-top: 1px solid var(--on-navy-rule);
}
.channel-row:last-child { border-bottom: 1px solid var(--on-navy-rule); }
.channel-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 300ms var(--ease);
}
.channel-row:hover::before { transform: scaleY(1); }
.channel-index {
  grid-column: 1 / span 1;
  font-weight: 600;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--gold);
  transition: color 240ms var(--ease);
}
.channel-row:hover .channel-index { color: var(--on-navy); }
.channel-name {
  grid-column: 2 / span 3;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.028em;
  color: var(--on-navy);
}
.channel-desc {
  grid-column: 6 / span 7;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--on-navy-muted);
  max-width: 52ch;
}

/* --------------------------------------------------------- method */
.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.method-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.method-card:hover { transform: translateY(-2px); box-shadow: var(--sh-card); }
.method-card .n {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.18;
}
.method-card .corner {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--accent);
  opacity: 0.4;
}
.method-card h3 {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--ink);
}
.method-card p { margin-top: 10px; font-size: var(--fs-small); line-height: 1.55; }

/* ------------------------------------------------------- experience */
.exp-copy { grid-column: 1 / span 7; }
.exp-copy .lead { margin-top: 18px; color: var(--ink); }
.exp-copy p + p { margin-top: 20px; max-width: 62ch; }
.exp-card {
  grid-column: 9 / span 4;
  align-self: start;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--r-card-lg);
  box-shadow: var(--sh-card);
  padding: 40px 32px;
}
.exp-figure {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--on-navy);
  font-variant-numeric: tabular-nums;
}
.exp-figure .plus { color: var(--gold); }
.exp-rule { width: 40px; height: 2px; background: var(--gold); margin: 20px 0; border-radius: 2px; }
.exp-card .micro-label { color: var(--on-navy-muted); }
.exp-stats { margin-top: 28px; }
.exp-stats li {
  padding-block: 16px;
  border-top: 1px solid var(--on-navy-rule);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--on-navy);
}
.exp-stats li span {
  display: block;
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--on-navy-muted);
}

/* ---------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  background: var(--accent);
  color: #FFFFFF;
  padding-block: 120px;
  text-align: center;
  overflow: hidden;
}
.cta-glyph {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  color: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .h2 { color: #FFFFFF; max-width: 16ch; margin-inline: auto; }
.cta-band .lead {
  margin-top: 18px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}
.cta-band .btn { margin-top: 36px; }

/* ------------------------------------------------------- page header */
.page-header {
  background: var(--canvas-warm);
  border-bottom: 1px solid var(--rule);
  padding-block: 72px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.page-header .lead { margin-top: 18px; max-width: 46ch; }
.page-header .micro-label { display: block; margin-top: 16px; }

/* ----------------------------------------------------------- contact */
.contact-body { padding-block: 72px 120px; }
.contact-aside { grid-column: 1 / span 5; }
.contact-main { grid-column: 6 / span 7; }

.info-card {
  background: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  padding: 28px;
}
.info-card + .info-card { margin-top: 20px; }
.info-card .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--canvas-warm);
  border-radius: 50%;
  color: var(--ink);
  margin-bottom: 16px;
}
.info-card .micro-label { display: block; margin-bottom: 8px; }
.info-card address, .info-card p { font-size: 1rem; line-height: 1.7; }
.aside-checks { margin-top: 28px; display: grid; gap: 12px; }
.aside-checks li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.aside-checks .ico { color: var(--accent); }

.form-card {
  background: var(--card);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-card-lg);
  box-shadow: var(--sh-card);
  padding: 48px 44px;
}

.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label .optional { font-weight: 400; color: var(--muted); }

.input {
  width: 100%;
  height: 52px;
  padding-inline: 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--border-field);
  border-radius: var(--r-input);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.input:hover { border-color: #6F6F7C; }
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.input[aria-invalid="true"] { border-color: var(--error); }

textarea.input {
  height: auto;
  min-height: 150px;
  padding: 14px 16px;
  line-height: 1.65;
  resize: vertical;
}

select.input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  -webkit-appearance: none;
}

.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--error-text);
}
.field.has-error .field-error { display: flex; }

.form-error {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 14px 16px;
  background: rgba(217, 45, 32, 0.06);
  border-radius: var(--r-input);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--error-text);
}
.form-error.is-visible { display: flex; }

.form-note { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding-block: 32px; }
.form-success .ico { color: var(--accent); }
.form-success .h3 { margin-top: 20px; }
.form-success p { margin-top: 12px; max-width: 44ch; margin-inline: auto; }

/* honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------------- legal prose */
.legal-body { padding-block: 72px 120px; }

.toc {
  grid-column: 1 / span 3;
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.toc .micro-label { display: block; margin-bottom: 16px; }
.toc ul { display: grid; gap: 12px; }
.toc a {
  display: block;
  padding-left: 14px;
  border-left: 2px solid transparent;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); }

.prose {
  grid-column: 5 / span 8;
  max-width: 68ch;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--body);
}
.prose h2 {
  position: relative;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 20px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: var(--ink);
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.prose h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.prose > h2:first-child { margin-top: 0; }
.prose p { margin-top: 18px; }
.prose > p:first-child { margin-top: 0; }
.prose ul { margin-top: 18px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.prose .panel {
  margin-top: 24px;
  background: var(--canvas-warm);
  border-radius: var(--r-card);
  padding: 24px 28px;
}
.prose .panel p:first-child { margin-top: 0; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 80px 0 40px; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand .wordmark { color: var(--on-navy); }
.footer-brand p {
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-navy-muted);
  max-width: 34ch;
}
.footer-nav h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-navy-muted);
}
.footer-nav ul { margin-top: 16px; display: grid; gap: 12px; }
.footer-nav a { font-size: 0.9375rem; }
.footer-nav--site { grid-column: 7 / span 3; }
.footer-nav--legal { grid-column: 10 / span 3; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--on-navy-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; line-height: 1.5; color: var(--on-navy-muted); }

/* --------------------------------------------------------- reveal */
html.js:not(.reduce) [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: var(--rd, 0ms);
}
html.js:not(.reduce) [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
html.js:not(.reduce) .is-pending .ico--loader { animation: spin 800ms linear infinite; }

/* -------------------------------------------------------- responsive */
@media (max-width: 1199px) {
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --nav-h: 72px; }
  .hero { min-height: 660px; }
  .hero-copy { grid-column: 1 / span 8; }
  .hero-art { width: calc(50vw + 40px); }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }

  .capture { margin-top: 80px; margin-bottom: -136px; padding: 36px 40px; }
  .platforms { padding-top: 184px; }

  .exp-copy { grid-column: 1 / -1; }
  .exp-card { grid-column: 1 / -1; margin-top: 48px; }
  .exp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }

  .toc { display: none; }
  .prose { grid-column: 1 / -1; }

  .contact-aside { grid-column: 1 / -1; order: 2; margin-top: 40px; }
  .contact-main { grid-column: 1 / -1; order: 1; }
}

@media (max-width: 899px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { padding: 32px 24px; }
  .form-card { padding: 32px 24px; }
}

@media (max-width: 767px) {
  :root { --nav-h: 68px; }
  .hero {
    min-height: 500px;
    padding-block: 28px 52px;
  }
  .hero-sub { margin-top: 20px; }
  .hero-cta { margin-top: 28px; }
  /* On small screens the artwork sits beside the headline only. The second
     gradient returns the lower half to flat canvas so the sub-copy and CTAs
     never sit on top of the fluting. */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(252, 250, 251, 0) 0%, rgba(252, 250, 251, 0) 40%, var(--canvas) 66%),
      linear-gradient(96deg, var(--canvas) 0%, var(--canvas) 44%, rgba(252, 250, 251, 0.42) 70%, rgba(252, 250, 251, 0) 92%);
  }
  .hero-art {
    width: 88vw;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 20%, #000 46%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 20%, #000 46%);
  }
  .hero-copy { grid-column: 1 / -1; }
  .hero-sub { max-width: none; }

  .wordmark { font-size: 1.125rem; gap: 8px; }
  .wordmark .mark { width: 30px; height: 30px; }
  .nav-actions { gap: 8px; }
  .site-nav .btn--sm { height: 40px; padding-inline: 14px; font-size: 0.8125rem; gap: 7px; }
  .site-nav .btn--sm .ico { width: 15px; height: 15px; }
  .menu-toggle { width: 40px; height: 40px; }

  .proof { padding-block: 52px 80px; }
  .proof-cell { padding-inline: 16px; }
  .proof-cell h3 { font-size: 1rem; margin-top: 16px; }
  .proof-cell p { font-size: var(--fs-small); }

  .capture { padding: 32px 24px; border-radius: var(--r-card); margin-top: 64px; margin-bottom: -120px; }
  .platforms { padding-block: 168px 56px; }
  .platform-row { justify-content: center; gap: 20px 28px; }
  .platform-row li { font-size: 0.9375rem; }

  .statement-band { padding-block: 72px; }

  .channel-row { grid-template-columns: auto 1fr; row-gap: 8px; }
  .channel-index { grid-column: 1; }
  .channel-name { grid-column: 2; font-size: 1.375rem; }
  .channel-desc { grid-column: 1 / -1; }

  .cta-band { padding-block: 88px; }
  .cta-glyph { width: 280px; height: 280px; right: -80px; bottom: -100px; }

  .footer-brand { grid-column: 1 / -1; }
  .footer-nav--site { grid-column: 1 / span 6; margin-top: 40px; }
  .footer-nav--legal { grid-column: 7 / span 6; margin-top: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Contact is a single-task page: the whole form should be reachable without
     scrolling on a phone, so the chrome around it is kept deliberately lean. */
  .page-header { padding-block: 30px 26px; }
  .page-header .page-title { font-size: 1.875rem; }
  .page-header .lead { margin-top: 8px; font-size: 0.875rem; line-height: 1.4; }
  .breadcrumb { margin-bottom: 12px; font-size: 0.8125rem; }
  .legal-body { padding-block: 56px 88px; }
  .contact-body { padding-block: 18px 56px; }

  .form-card { padding: 16px 14px; border-radius: 16px; }
  .field { margin-bottom: 11px; }
  .field label { margin-bottom: 5px; font-size: 0.8125rem; }
  /* 16px minimum: anything smaller makes iOS zoom the page on focus */
  .input { height: 46px; font-size: 16px; }
  textarea.input { min-height: 88px; padding: 10px 14px; }
  .form-card .btn { height: 48px; }
  .form-note { margin-top: 9px; font-size: 0.75rem; }
}

@media (max-width: 559px) {
  .method-grid { grid-template-columns: minmax(0, 1fr); }
  .exp-stats { grid-template-columns: minmax(0, 1fr); }
}

/* Phone layout, matching the comp: the hero cluster keeps its three-across
   rhythm all the way down. Only genuinely small handsets collapse it. */
@media (max-width: 767px) {

  /* Sized so each heading holds one line and each body exactly two - the
     triad reads as a row of three matched blocks rather than ragged text. */
  .proof-cell { padding-inline: 5px; }
  .proof-cell .ico { width: 32px; height: 32px; }
  .proof-cell h3 {
    margin-top: 14px;
    font-size: 0.8125rem;
    letter-spacing: -0.015em;
    white-space: nowrap;
  }
  .proof-cell p { margin-top: 6px; font-size: 0.6875rem; line-height: 1.4; max-width: none; }

  .check-row { gap: 10px 14px; }
  .check-row li { font-size: 0.75rem; gap: 6px; }
  .check-row .ico { width: 15px; height: 15px; }

  .hero-cta { gap: 18px; }
  .hero-cta .btn { height: 52px; padding-inline: 22px; font-size: 0.9375rem; }
  .hero-cta .arrow-link { font-size: 0.9375rem; }

  .capture-form { gap: 10px; }
  .capture-form .input { height: 52px; font-size: 16px; }
  .capture-submit { width: 52px; height: 52px; }
}

@media (max-width: 399px) {
  .proof-triad { grid-template-columns: minmax(0, 1fr); }
  .proof-cell { padding-inline: 0; padding-block: 28px; }
  .proof-cell + .proof-cell { border-left: 0; border-top: 1px solid var(--on-navy-rule); }

  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline-flex; }

  .capture-form { flex-direction: column; }
  /* row-reverse puts the label before the arrow once the label is shown */
  .capture-submit { width: 100%; height: 52px; flex-direction: row-reverse; }
  .capture-submit .label { display: inline; }

  .check-row { flex-direction: column; align-items: flex-start; }

  .hero-cta { gap: 14px; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .arrow-link { justify-content: center; }

  .exp-figure { font-size: 3.5rem; }
}

/* ------------------------------------------------------------- print */
@media print {
  .hero-art, .cta-glyph, .site-nav, .menu-panel { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}

/* ----------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
