/* Hephaestus Technology. Warm ivory paper, ink type, one deep blue for emphasis.
   Fraunces carries the voice, Instrument Sans the reading, Geist Mono only times and figures. */

:root {
  --ink: #0a0d0e;
  --ink-2: #2b2f31;
  --stone: #5f6264;          /* 5.6:1 on ivory */
  --ivory: #f6f5f1;
  --paper: #ffffff;
  --blue: #133e87;
  --blue-soft: #e3eaf4;
  --blue-light: #8fb0d9;     /* on ink only */
  --line: rgba(10, 13, 14, 0.14);
  --line-strong: rgba(10, 13, 14, 0.32);
  --line-dark: rgba(246, 245, 241, 0.16);
  --ok: #0f7a52;
  --err: #b42318;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.section-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-light); }
html { scrollbar-color: rgba(10, 13, 14, 0.35) var(--ivory); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: rgba(10, 13, 14, 0.28); border: 3px solid var(--ivory); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10, 13, 14, 0.45); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--ivory); text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.show-sm { display: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display-hero, .display-xl, .display-lg, .display-md, .display-sm, .serif {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display-hero { font-size: clamp(3rem, 1rem + 8.4vw, 9rem); line-height: 0.94; letter-spacing: -0.035em; }
.display-xl { font-size: clamp(2.5rem, 1.2rem + 5vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2rem, 1.25rem + 3.1vw, 4.25rem); line-height: 1.03; letter-spacing: -0.025em; }
.display-md { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.display-sm { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 2rem); line-height: 1.12; letter-spacing: -0.015em; }
em, .display-hero em, .display-xl em, .display-lg em {
  font-style: italic;
  color: var(--blue);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.lead { font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.list-caption { font: 500 0.8125rem/1.4 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 500 0.9375rem/1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--blue); }
.btn-ink:active { transform: translateY(1px); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.arrow { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; transition: transform 0.3s var(--ease); }
.btn:hover .arrow, a:hover > .arrow, a:hover .link-arrow .arrow { transform: translateX(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.9375rem;
  text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid currentColor;
}
.link-arrow:hover { color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo img { width: 150px; height: auto; }
.main-nav { display: flex; gap: 6px; margin: 0 auto; }
.main-nav a { position: relative; padding: 10px 14px; font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; }
.header-cta { min-height: 42px; padding: 10px 18px; font-size: 0.875rem; }
.scroll-progress { height: 1px; background: var(--line); }
.scroll-progress span { display: block; height: 2px; margin-top: -1px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; margin: auto; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.menu-toggle path { transition: transform 0.3s var(--ease), opacity 0.2s; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--ivory); overflow-y: auto; padding: 16px 0 calc(32px + env(safe-area-inset-bottom)); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font: 350 1.75rem/1.2 var(--serif); letter-spacing: -0.015em; text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--blue); }
.mobile-menu .btn { margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-white { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--ivory); }
.section-ink .section-head p, .section-ink p { color: rgba(246, 245, 241, 0.74); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
  padding-top: 28px; border-top: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 72px);
}
.section-ink .section-head { border-top-color: var(--line-dark); }
.section-head > p { color: var(--stone); max-width: 46ch; justify-self: end; }
.section-head h2 { max-width: 16ch; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.inline-cta p { font: 350 clamp(1.125rem, 1rem + 0.4vw, 1.375rem)/1.35 var(--serif); max-width: 42ch; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 4vw, 48px); }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--stone); }
.rotator { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.rotator-window { position: relative; display: inline-block; height: 1.5em; width: 24ch; overflow: hidden; }
.rotator-word { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--blue); }
.rotator-word.out { animation: word-out 0.35s var(--ease) forwards; }
.rotator-word.in { animation: word-in 0.45s var(--ease) both; }
@keyframes word-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes word-out { to { transform: translateY(-100%); opacity: 0; } }
.clocks { display: flex; flex-wrap: wrap; gap: 6px 22px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--ink); }
.clocks li { display: inline-flex; align-items: center; gap: 8px; }
.clocks time { color: var(--stone); letter-spacing: 0.02em; }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: rgba(10, 13, 14, 0.25); }
.clocks li.open .dot { background: var(--ok); }
.clocks li.open .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 40px 64px; align-items: end; margin-top: clamp(40px, 6vw, 72px); }
.display-hero .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.display-hero .line > span { display: block; }
.underlined { position: relative; display: inline-block; }
.underlined::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.04em; height: 0.09em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 90 3, 210 3, 398 5' fill='none' stroke='%23608bc1' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-services .list-caption { padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.service-index a { display: grid; grid-template-columns: 32px 1fr; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-index .n { font-size: 0.75rem; color: var(--blue); padding-top: 6px; }
.service-index strong { display: block; font: 400 1.3125rem/1.2 var(--serif); letter-spacing: -0.01em; transition: color 0.2s; }
.service-index strong + span { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.45; color: var(--stone); }
.service-index a:hover strong { color: var(--blue); }

.hero-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.hero-figure { position: relative; margin: clamp(40px, 5vw, 64px) 0 0; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.hero-figure figcaption { position: absolute; left: 0; bottom: 0; padding: 9px 16px 8px; background: var(--ivory); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- marquees ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-services .marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 22px 28px 22px 0;
  font: 350 clamp(1.25rem, 1rem + 1vw, 1.875rem)/1 var(--serif); letter-spacing: -0.015em; white-space: nowrap;
}
.marquee-services .marquee-track span::after {
  content: ""; width: 26px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cg fill='none' stroke='%23133e87' stroke-width='1.3'%3E%3Ccircle cx='8' cy='7' r='6'/%3E%3Ccircle cx='18' cy='7' r='6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.marquee-tools { margin-top: var(--section); margin-bottom: calc(-1 * var(--section)); border-bottom: 0; }
.marquee-tools .marquee-track + .marquee-track { border-top: 1px solid var(--line); }
.marquee-tools span { padding: 16px 36px 16px 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }
.marquee-tools span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 36px; vertical-align: 2px; background: var(--line-strong); border-radius: 50%; }

/* ---------- stages ---------- */
.stage-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stage-cards a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.stage-cards picture { overflow: hidden; margin-bottom: 20px; }
.cover { width: 100%; object-fit: cover; }
.stage-cards img { transition: transform 0.9s var(--ease); }
.stage-cards a:hover img { transform: scale(1.04); }
.stage-n { font-size: 0.75rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.stage-cards h3 { margin: 8px 0 8px; font: 400 1.5rem/1.15 var(--serif); letter-spacing: -0.015em; }
.stage-cards p { color: var(--stone); font-size: 0.9375rem; margin-bottom: 16px; }
.stage-cards .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- what we build ---------- */
.layers { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px clamp(32px, 4vw, 64px); align-items: start; }
.layer-list { display: flex; flex-direction: column; gap: 6px; }
.layer-group { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin: 10px 0 4px; }
.layer-group:first-child { margin-top: 0; }
.layer-list button {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 18px; text-align: left; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); font: 400 1.25rem/1.2 var(--serif); letter-spacing: -0.01em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), padding 0.3s var(--ease);
}
.layer-list button .num { font-size: 0.6875rem; color: var(--stone); transition: color 0.25s; }
.layer-list button:hover { border-color: var(--ink); }
.layer-list button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--ivory); padding-left: 24px; }
.layer-list button[aria-selected="true"] .num { color: var(--blue-light); }
.layer-panel { background: var(--ivory); padding: clamp(24px, 3vw, 40px); min-height: 100%; }
.layer-panel:not([hidden]) { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.layer-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 0.75rem; color: var(--stone); }
.tag { padding: 4px 8px; background: var(--blue); color: var(--ivory); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.layer-desc { margin: 12px 0 24px; color: var(--ink-2); max-width: 52ch; }
.work-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-bottom: 28px; }
.work-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.tools-title { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 0.875rem; background: var(--paper); }

/* ---------- approach ---------- */
.approach-statement {
  font: 350 clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem)/1.16 var(--serif); letter-spacing: -0.02em;
  max-width: 24ch; margin-left: auto; margin-right: 0; text-wrap: pretty;
}
.approach-statement em { color: var(--blue); }
.js .approach-statement .w { color: rgba(10, 13, 14, 0.3); transition: color 0.4s linear; }
.js .approach-statement em .w { color: rgba(19, 62, 135, 0.32); }
.js .approach-statement .w.on { color: var(--ink); }
.js .approach-statement em .w.on { color: var(--blue); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.principles li { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.principles h3 { font: 400 1.5rem/1.2 var(--serif); letter-spacing: -0.015em; margin-bottom: 8px; }
.principles p { color: var(--stone); font-size: 0.9375rem; }

/* ---------- comparison ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare thead th, .compare thead td { padding: 0 16px 14px 0; text-align: left; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); border-bottom: 1px solid var(--ink); }
.compare thead th.us { color: var(--blue); }
.compare tbody th { width: 18%; padding: 20px 16px 20px 0; text-align: left; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); vertical-align: baseline; }
.compare tbody td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; color: var(--stone); font-size: 0.9375rem; }
.compare tbody th { border-bottom: 1px solid var(--line); }
.compare td.us { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); letter-spacing: -0.01em; }

/* ---------- experience (dark) ---------- */
.exp-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.exp-list li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.0625rem; }
.exp-list li:first-child { border-top: 1px solid var(--line-dark); }
.exp-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--blue-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.outcomes { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 36px; }
.outcomes span { font: 350 clamp(1.25rem, 1rem + 0.8vw, 1.75rem)/1.2 var(--serif); color: var(--ivory); letter-spacing: -0.015em; }

/* ---------- who we partner with ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.who-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.who-list li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.who-list li:first-child { border-top: 1px solid var(--ink); }
.who-list h3 { font: 400 1.5rem/1.2 var(--serif); letter-spacing: -0.015em; grid-row: span 2; }
.who-list p { color: var(--stone); font-size: 0.9375rem; }
.start-with { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--stone); text-decoration: none; }
.start-with strong { color: var(--ink); font-weight: 500; }
.start-with:hover strong { color: var(--blue); text-decoration: underline; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quotes li { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 2.5vw, 36px); background: var(--ivory); }
.quotes blockquote { margin: 0; font: 350 1.1875rem/1.45 var(--serif); letter-spacing: -0.005em; text-wrap: pretty; }
.quotes .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--stone); line-height: 1.4; }
.quotes .who strong { display: block; color: var(--ink); font-weight: 500; font-size: 0.875rem; }
.quote-link { align-self: flex-start; margin-top: -8px; font-size: 0.875rem; }
.avatar { width: 40px; height: 40px; flex: none; object-fit: cover; filter: grayscale(1); }
/* ---------- lists ---------- */
.two-col-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 80px); }
.two-col-lists h3 { padding-top: 20px; border-top: 1px solid var(--ink); margin-bottom: 20px; }
.check-list li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 7px; border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ivory); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; padding-top: 32px; border-top: 1px solid var(--line); }
.cta-side p { color: var(--stone); margin-bottom: 28px; max-width: 46ch; }
.page-white .cta-band { background: var(--paper); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: clamp(56px, 7vw, 96px) 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-bottom: 56px; }
.site-footer .logo img { width: 140px; }
.footer-motto { margin-top: 28px; font: 350 clamp(1.5rem, 1.2rem + 1vw, 2.125rem)/1.15 var(--serif); letter-spacing: -0.02em; }
.footer-motto em { color: var(--blue-light); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-nav h2 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 245, 241, 0.6); margin-bottom: 14px; }
.footer-nav a { display: inline-block; padding: 5px 0; font-size: 0.9375rem; color: rgba(246, 245, 241, 0.9); text-decoration: none; }
.footer-nav a:hover { color: var(--ivory); text-decoration: underline; }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.offices-dark { padding: 40px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.office-region { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.offices-dark .office-region { color: rgba(246, 245, 241, 0.6); }
.offices h3 { font: 400 1.375rem/1.2 var(--serif); letter-spacing: -0.01em; margin-bottom: 6px; }
.offices address { font-size: 0.875rem; color: var(--stone); max-width: 34ch; }
.offices-dark address { color: rgba(246, 245, 241, 0.72); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; font-size: 0.8125rem; letter-spacing: 0.02em; }
.footer-legal span { color: rgba(246, 245, 241, 0.6); }
.bct { width: 120px; height: auto; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; }
.page-hero-grid > p { color: var(--stone); font-size: 1.0625rem; max-width: 42ch; }
.page-hero-figure { margin-top: clamp(40px, 5vw, 64px); }
.page-hero-figure img { width: 100%; aspect-ratio: 21 / 8.5; object-fit: cover; }
.anchor-index { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 0.8125rem; }
.anchor-index a { color: var(--stone); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.anchor-index a:hover { color: var(--blue); }
.anchor-index .num { color: var(--blue); margin-right: 6px; }

/* how we work */
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.stage:nth-of-type(even) .stage-media { order: 2; }
.stage-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stage-body h2 { margin: 10px 0 16px; }
.stage-body > p { color: var(--stone); max-width: 52ch; }
.stage-body ul { margin: 24px 0 28px; }
.stage-body ul li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.stage-body ul li:first-child { border-top: 1px solid var(--line); }
.stage-outcome { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stage-outcome h3 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.stage-outcome .leave { font: 400 1.3125rem/1.3 var(--serif); letter-spacing: -0.01em; }
.stage-outcome .ai { color: var(--stone); font-size: 0.875rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.step-n { font-family: var(--mono); font-size: 0.75rem; color: var(--blue); }
.steps h3 { font: 400 1.375rem/1.2 var(--serif); letter-spacing: -0.01em; margin-bottom: 6px; }
.steps p { color: var(--stone); font-size: 0.9375rem; }
.steps-vertical { grid-template-columns: 1fr; gap: 0; }
.steps-vertical li { flex-direction: row; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps-vertical li:last-child { border-bottom: 1px solid var(--line); }
.steps-vertical h3 { font-size: 1.125rem; }

/* partnerships */
.models { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.model-axis { display: flex; justify-content: space-between; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.model-list button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 4px; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line); font: 400 1.375rem/1.2 var(--serif); letter-spacing: -0.01em; color: var(--stone);
  transition: color 0.2s, padding 0.3s var(--ease);
}
.model-list button .num { font-size: 0.6875rem; color: var(--stone); }
.model-list button:hover { color: var(--ink); }
.model-list button[aria-selected="true"] { color: var(--ink); padding-left: 12px; }
.model-list button[aria-selected="true"]::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--blue); }
.model-card { background: var(--paper); padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 2px rgba(10, 13, 14, 0.04), 0 12px 32px -12px rgba(10, 13, 14, 0.12); }
.model-card:not([hidden]) { animation: panel-in 0.45s var(--ease); }
.model-card .model-n { font-size: 0.75rem; color: var(--blue); }
.model-card h3 { margin: 10px 0 10px; }
.model-card .summary { font-size: 1.0625rem; margin-bottom: 14px; }
.model-card .how { color: var(--stone); margin-bottom: 28px; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.meter-label { display: flex; justify-content: space-between; gap: 8px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; }
.meter-label strong { color: var(--ink); font-weight: 500; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.meter i { height: 3px; background: var(--line); }
.meter[data-level="1"] i:nth-child(-n+1), .meter[data-level="2"] i:nth-child(-n+2), .meter[data-level="3"] i { background: var(--ink); }
.best-for { margin-top: 20px; }
.best-for h4 { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.fine-print { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9375rem; }
.fine-print th { padding: 0 16px 14px 0; text-align: left; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.fine-print td, .fine-print tbody th { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; color: var(--stone); }
.fine-print tbody th { font: 400 1.25rem/1.25 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-transform: none; width: 16%; }
.fine-print td.level { color: var(--ink); white-space: nowrap; }
.criteria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.criteria li { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.criteria h3 { font: 400 1.375rem/1.2 var(--serif); letter-spacing: -0.01em; margin-bottom: 8px; }
.criteria p { color: var(--stone); font-size: 0.9375rem; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font: 400 1.25rem/1.3 var(--serif); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 48px 24px 0; color: var(--stone); max-width: 62ch; }

/* about */
.about-title em { font-size: 1em; }
.overlap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.overlap-text p { color: var(--ink-2); max-width: 54ch; }
.overlap-text p + p { margin-top: 18px; }
.overlap-text h2 { margin-bottom: 28px; }
.venn { width: 100%; max-width: 460px; margin: 0 auto; }
.venn text { font-family: var(--sans); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.people img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 20px; }
.people .role { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.people h3 { font: 400 1.75rem/1.15 var(--serif); letter-spacing: -0.015em; margin: 6px 0 4px; }
.people .title { font-size: 0.9375rem; }
.people .skills { margin-top: 8px; font-size: 0.8125rem; color: var(--stone); }
.office-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.office-cards img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 18px; }
.investors { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; padding-top: 32px; border-top: 1px solid var(--line); }
.investors p { color: var(--stone); margin-bottom: 24px; max-width: 46ch; }

/* lets talk */
.talk-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(32px, 5vw, 72px); padding-bottom: var(--section); }
.talk-intro .lead { margin: 24px 0 28px; }
.talk-intro figure { margin: 40px 0; }
.talk-intro img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.talk-intro h2 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.form-card { background: var(--paper); padding: clamp(24px, 3.5vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; margin-bottom: 28px; }
.field > label, .field > legend, .field-label {
  display: block; padding: 0; margin-bottom: 4px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone);
}
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; outline: none;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0d0e' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center / 11px; }
.field input::placeholder, .field textarea::placeholder { color: #767a7c; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field [aria-invalid="true"] { border-bottom-color: var(--err); }
.field-error { margin-top: 6px; font-size: 0.8125rem; color: var(--err); }
.field-error:empty { display: none; }
fieldset.field { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
fieldset.field > legend { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-strong); font-size: 0.875rem; line-height: 1.2; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
fieldset[aria-invalid="true"] .chip span { border-color: rgba(180, 35, 24, 0.5); }
.tz { text-transform: none; letter-spacing: 0; color: var(--stone); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 8px; }
.form-submit p { font-size: 0.875rem; color: var(--stone); }
.form-status { margin-top: 20px; padding: 14px 16px; font-size: 0.9375rem; }
.form-status:empty { display: none; }
.form-status.err { background: #fbeceb; color: var(--err); }
.form-sent { padding: 8px 0; }
.form-sent h2 { margin-bottom: 14px; }
.form-sent p { color: var(--stone); max-width: 46ch; }
.form-sent .actions { margin-top: 28px; }
.talk-offices { margin-top: 32px; }
.talk-offices .offices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.talk-offices li { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.talk-offices h3 { font-size: 1.125rem; }

/* insights + 404 */
.empty-state { max-width: 640px; padding: clamp(32px, 5vw, 56px) 0 var(--section); }
.empty-state p { color: var(--stone); margin: 18px 0 28px; }

/* ---------- entrance (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .display-hero .line > span { animation: rise 1.1s var(--ease) both; }
  .js .display-hero .line:nth-child(2) > span { animation-delay: 0.08s; }
  .js .display-hero .line:nth-child(3) > span { animation-delay: 0.16s; }
  .js .underlined::after { animation: draw 1.2s 0.7s var(--ease) both; transform-origin: left; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes draw { from { transform: scaleX(0); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .stage-cards, .principles, .steps, .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .logo img { width: 132px; }
  .section-head, .page-hero-grid, .cta-grid, .investors, .hero-grid, .layers, .exp-grid, .who-grid, .models, .faq-grid, .overlap, .talk-grid { grid-template-columns: 1fr; }
  .section-head > p { justify-self: start; }
  .hero-grid { gap: 36px; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .who-photo { position: static; aspect-ratio: 16 / 10; }
  .stage:nth-of-type(even) .stage-media { order: 0; }
  .stage { grid-template-columns: 1fr; }
  .people, .office-cards { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: 1fr; gap: 24px; }
  .talk-offices .offices { grid-template-columns: 1fr; }
  .page-hero-figure img, .hero-figure img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .show-sm { display: inline; }
  .hide-sm { display: none; }
  .stage-cards, .principles, .steps, .criteria, .quotes, .two-col-lists, .people, .office-cards, .form-row, .footer-nav, .meters, .stage-outcome { grid-template-columns: 1fr; }
  .footer-nav { gap: 24px; }
  .who-list li { grid-template-columns: 1fr; }
  .who-list h3 { grid-row: auto; }
  .work-list { grid-template-columns: 1fr; }
  .layer-list button { font-size: 1.125rem; padding: 12px 14px; }
  .approach-statement { margin-left: 0; }
  .hero-intro .actions .btn { width: 100%; }
  .inline-cta .btn, .cta-side .btn { width: 100%; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
      .faq details p { padding-right: 0; }
  .rotator-window { width: 21ch; }
  .stage-cards img { aspect-ratio: 16 / 10 !important; }
  .stage-cards { gap: 36px; }
  /* tables become labelled blocks */
  .table-scroll { overflow: visible; }
  .compare, .fine-print { min-width: 0; }
  .compare thead, .fine-print thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr, .fine-print tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:first-child, .fine-print tbody tr:first-child { border-top: 1px solid var(--ink); }
  .compare th, .compare td, .fine-print th, .fine-print td { display: block; width: auto !important; padding: 0 !important; border: 0 !important; }
  .compare td, .fine-print td { margin-top: 10px; }
  .compare td::before, .fine-print td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 0.6875rem/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
  .compare td.us::before { color: var(--blue); }
  .fine-print td.level { display: inline-block; margin-right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}
@media print {
  .site-header, .mobile-menu, .marquee, .site-footer nav { display: none; }
  body { background: #fff; }
}
