/* X Gravity — two colour fields that mean the two lanes:
   red (from the X mark badge) for Brand, violet for Build.
   Each field burns from a deep shade into a lighter tone of itself. */
:root {
  --paper: #f5f5f7;
  --mist: #eaeaf0;
  --ink: #14131f;
  --graphite: #5f5e6e;
  --rule: #cfced9;

  /* Lane accents: change these two pairs to switch the Brand/Build colours (swatch option A). */
  --brand: #ff6f59; --brand-deep: #c2412e;
  --build: #14b8a6; --build-deep: #0b7d72;
  --red-900: #3d0d0c; --red-700: #6e1a18; --red: #a32f2d; --red-300: #e2796b; --red-100: #f6ddd8;
  --vio-900: #0f0d26; --vio-700: #241d6b; --vio: #4b3fd1; --vio-300: #9d92ff; --vio-100: #e5e2ff;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(80px, 12vw, 168px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 calc(1.0625rem + 1px)/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--vio); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--vio); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.small { font-size: calc(.9rem + 1px); color: var(--graphite); }
.muted { color: var(--graphite); }
.hp { position: absolute; left: -10000px; }

/* Colour fields: deep → light, same hue */
.field-violet { background: linear-gradient(165deg, var(--vio-900) 0%, var(--vio-700) 45%, var(--vio) 82%, var(--vio-300) 118%); color: #fff; }
.field-dark { background: linear-gradient(165deg, var(--vio-900) 0%, var(--vio-700) 80%, #2f2790 120%); color: #fff; }
.field-violet .small, .field-dark .small { color: rgba(255,255,255,.75); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0 0 .5em; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem + 1px, 6.6vw + 1px, 5.6rem + 1px); line-height: 1.02; }
h2 { font-size: clamp(1.7rem + 1px, 3.8vw + 1px, 3rem + 1px); line-height: 1.08; }
h3 { font-size: calc(1.15rem + 1px); line-height: 1.25; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem + 1px, 1.8vw + 1px, 1.4rem + 1px); line-height: 1.5; max-width: 40ch; }
.lead-dark { font-size: clamp(1.1rem + 1px, 1.6vw + 1px, 1.3rem + 1px); line-height: 1.55; max-width: 52ch; }
.prose p, .prose li { max-width: 66ch; }
section { padding: var(--space) 0; }

/* Typing headlines + reveals (only when JS runs) */
.tw-word { display: inline-block; white-space: nowrap; }
.tw .tw-ch { opacity: 0; }
.tw .tw-ch.on { opacity: 1; }
.tw.typing::after { content: ""; display: inline-block; width: .06em; height: .9em; margin-left: .06em; background: currentColor; vertical-align: -.08em; animation: blink .7s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pre { opacity: 0; transition: opacity .9s ease; }
.pre.in { opacity: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 calc(1rem + 1px)/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-accent { background: var(--vio); color: #fff; }
.btn-accent:hover { background: var(--vio-700); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--vio-100); }

.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 600; }

/* Icons */
.icon { width: 28px; height: 28px; flex: none; }
.icon .ix { stroke: var(--vio); }
.field-dark .icon .ix, .field-violet .icon .ix { stroke: var(--accent, #fff); }
.field-dark .icon, .field-violet .icon { color: rgba(255,255,255,.85); }
.icon-md { width: 36px; height: 36px; }
.icon-lg { width: 56px; height: 56px; }

/* Header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; padding: 22px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; color: var(--ink); line-height: 0; }
.logo-mark { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: currentColor; }
.nav .nav-cta { border: 1.5px solid currentColor; border-radius: 999px; padding: 8px 18px; }
.menu-btn { display: none; font: 600 calc(1rem + 1px) var(--body); background: none; border: 1.5px solid currentColor; color: inherit; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
body:not(.on-dark) main { padding-top: 80px; }
.on-dark .top, .on-dark .top .logo { color: #fff; }
.on-dark .nav .nav-cta:hover { background: #fff; color: var(--ink); }
body:not(.on-dark) .nav .nav-cta:hover { background: var(--ink); color: #fff; }
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; right: var(--gutter); left: var(--gutter); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: var(--ink); color: #fff; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .nav-cta { margin-top: 12px; text-align: center; }
  .logo-mark { height: 24px; }
}

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 10ch; }
.hero .lead { color: rgba(255,255,255,.86); margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero { padding-top: 96px; }
}

/* Engine art */
.engine { position: relative; aspect-ratio: 5 / 4; }
.engine-svg { width: 100%; height: 100%; overflow: visible; }
.float { transform: translate(var(--x), var(--y)); transform-box: view-box; }
.assembly { stroke-dasharray: 3 7; opacity: .45; }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 60s linear infinite; }
.spin.rev { animation-direction: reverse; animation-duration: 40s; }
@keyframes spin { to { transform: rotate(360deg); } }
.float > * { animation: bob 7s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.rise > * { animation: rise 9s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
@keyframes rise { 0% { transform: translateY(14px); opacity: .3; } 50% { opacity: 1; } 100% { transform: translateY(-26px); opacity: .3; } }
.orbit-path { stroke: rgba(255,255,255,.25); stroke-dasharray: 2 6; }
.orbit-spin { animation: spin var(--dur) linear infinite; transform-origin: 0 0; }
.snip { position: absolute; background: rgba(255,255,255,.96); color: var(--ink); font-size: calc(.85rem + 1px); font-weight: 600; padding: 10px 14px; border-radius: 10px; box-shadow: 0 14px 30px rgba(10,8,40,.35); max-width: 230px; animation: bob 8s ease-in-out infinite; }
.snip span { display: block; font-weight: 500; font-size: calc(.72rem + 1px); color: var(--vio); margin-bottom: 2px; }
.snip-1 { left: 2%; top: 6%; animation-delay: -1s; }
.snip-2 { right: 0; top: 30%; animation-delay: -3s; }
.snip-3 { left: 8%; bottom: 8%; animation-delay: -5s; }
.snip-4 { right: 6%; bottom: 0; animation-delay: -2s; }
@media (max-width: 560px) { .snip { font-size: calc(.75rem + 1px); padding: 8px 10px; max-width: 170px; } .snip-4 { display: none; } }
@media (prefers-reduced-motion: reduce) { .spin, .float > *, .rise > *, .orbit-spin, .snip { animation: none; } }

/* Statement: one centred thought, lots of air */
.statement { text-align: center; }
.narrow-c { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.statement h2 { font-size: clamp(2.2rem + 1px, 5.4vw + 1px, 4.4rem + 1px); margin-bottom: .6em; }
.statement p { font-size: calc(1.2rem + 1px); color: var(--graphite); margin-inline: auto; max-width: 56ch; }
.statement.field-violet p { color: rgba(255,255,255,.85); }

/* Lanes: two full-bleed colour fields */
.lanes { padding-bottom: 0; }
.lanes-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.lanes-intro p { color: var(--graphite); font-size: calc(1.15rem + 1px); margin: 0; }
.lane-fields { display: grid; grid-template-columns: 1fr 1fr; }
.lane-field { text-decoration: none; display: block; padding: clamp(48px, 7vw, 104px) clamp(24px, 5vw, 80px); position: relative; }
.lane-inner { max-width: 520px; margin-left: auto; }
.lane-field + .lane-field .lane-inner { margin-left: 0; margin-right: auto; }
.lane-field h3 { font-size: clamp(3rem + 1px, 7vw + 1px, 6rem + 1px); line-height: 1; margin: 20px 0 16px; letter-spacing: -0.04em; }
.lane-for { font-weight: 600; color: rgba(255,255,255,.8); }
.lane-text { font-size: calc(1.2rem + 1px); max-width: 36ch; }
.lane-field ul { list-style: none; padding: 0; margin: 24px 0 32px; columns: 2 180px; column-gap: 24px; }
.lane-field li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.2); break-inside: avoid; }
.lane-go { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.lane-field:hover .lane-go { border-bottom-width: 3px; }
.addon { display: flex; gap: 20px; align-items: flex-start; padding: clamp(40px, 6vw, 64px) 0 var(--space); }
.addon p { margin: 0; max-width: 78ch; color: var(--graphite); font-size: calc(1.05rem + 1px); }
.addon strong { color: var(--ink); }
.addon .icon { color: var(--ink); }
@media (max-width: 860px) { .lanes-intro, .lane-fields { grid-template-columns: 1fr; } .lane-inner, .lane-field + .lane-field .lane-inner { margin: 0; } }

/* Work rows */
.work { background: var(--paper); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.work-list { list-style: none; padding: 0; margin: 48px 0 0; }
.work-row + .work-row { margin-top: clamp(56px, 9vw, 120px); }
.work-row[hidden] { display: none; }
.work-link { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; text-decoration: none; }
.flip .work-link { grid-template-columns: 1fr 1.55fr; }
.flip .work-media { order: 2; }
.work-media { overflow: hidden; border-radius: 6px; }
.work-media .cover, .work-media .tile { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.work-link:hover .cover, .work-link:hover .tile { transform: scale(1.025); }
.work-kind { color: var(--graphite); font-size: calc(.9rem + 1px); margin-bottom: 10px; }
.work-text h3 { font-size: clamp(1.7rem + 1px, 3.2vw + 1px, 2.6rem + 1px); font-weight: 300; margin-bottom: .2em; }
.work-head { font-family: var(--display); font-weight: 300; font-size: calc(1.05rem + 1px); margin-bottom: 14px; }
.work-sum { color: var(--graphite); max-width: 44ch; }
.work-stat strong { font: inherit; color: inherit; margin: 0; }
.work-more { font-weight: 600; text-decoration: underline; }
@media (max-width: 760px) { .work-link, .flip .work-link { grid-template-columns: 1fr; } .flip .work-media { order: 0; } }
.tile { position: relative; display: flex; align-items: flex-end; padding: clamp(18px, 3vw, 32px); background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; overflow: hidden; }
.tile::before, .tile::after { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 1px; background: rgba(255,255,255,.35); }
.tile::before { transform: rotate(32deg); } .tile::after { transform: rotate(-32deg); }
.tile-name { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem + 1px, 3.4vw + 1px, 2.6rem + 1px); letter-spacing: -0.02em; }
.filter { display: flex; gap: 8px; margin-top: 28px; }
.filter button { font: 600 calc(.95rem + 1px) var(--body); padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; color: var(--ink); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.work-all { padding-top: 0; }

/* Why: one big off-centre sentence, then the reasons */
.why { background: var(--mist); }
.why-quote { font: 300 clamp(1.9rem + 1px, 4.4vw + 1px, 3.6rem + 1px)/1.12 var(--display); letter-spacing: -0.03em; max-width: 20ch; margin: 0 0 clamp(48px, 7vw, 88px); text-wrap: balance; }
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.why-lead { font-size: calc(1.15rem + 1px); color: var(--graphite); max-width: 40ch; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.benefits li { display: flex; gap: 16px; }
.benefits h3 { margin: 4px 0 6px; }
.benefits p { margin: 0; color: var(--graphite); }
@media (max-width: 860px) { .why-grid, .benefits { grid-template-columns: 1fr; } }

/* Engagement */
.engage-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.engage-head h2 { max-width: 16ch; margin: 0; }
.price-amount { font: 300 clamp(2.2rem + 1px, 4.8vw + 1px, 3.6rem + 1px)/1 var(--display); letter-spacing: -0.03em; margin: 0 0 12px; }
.price-amount span { display: block; font: 500 calc(1rem + 1px)/1.4 var(--body); letter-spacing: 0; color: var(--graphite); margin-top: 10px; }
.field-dark .price-amount span, .field-violet .price-amount span { color: rgba(255,255,255,.75); }
.engage-steps { list-style: none; counter-reset: e; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.engage-steps li { counter-increment: e; border-top: 1px solid var(--ink); padding-top: 16px; }
.engage-steps li::before { content: counter(e); font: 400 calc(.85rem + 1px)/1 var(--display); color: var(--vio); }
.engage-steps h3 { margin: 10px 0 6px; }
.engage-steps p { color: var(--graphite); margin: 0; }
@media (max-width: 960px) { .engage-head { grid-template-columns: 1fr; } .engage-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .engage-steps { grid-template-columns: 1fr; } }

/* Timeline (weeks) */
.timeline { margin: clamp(48px, 7vw, 88px) 0 0; padding: clamp(20px, 3.5vw, 44px); border-radius: 8px; background: linear-gradient(165deg, var(--vio-900), var(--vio-700) 70%, #3a2fb0); color: #fff; }
.timeline figcaption { color: rgba(255,255,255,.78); max-width: 72ch; margin-bottom: 28px; }
.timeline figcaption strong { color: #fff; }
.tl { display: grid; gap: 10px; }
.tl-line { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.tl-name { font-weight: 600; display: flex; flex-direction: column; }
.tl-name em { font-style: normal; font-weight: 400; font-size: calc(.8rem + 1px); color: rgba(255,255,255,.6); }
.tl-sub { font-weight: 400; font-size: calc(.85rem + 1px); color: rgba(255,255,255,.6); }
.tl-track { position: relative; height: 48px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px calc(100% / 17)); }
.tl-ticks { height: 22px; background: none; border-bottom: 1px solid rgba(255,255,255,.2); }
.tl-ticks span { position: absolute; bottom: 4px; font-size: calc(.72rem + 1px); color: rgba(255,255,255,.55); padding-left: 3px; }
.tl-bar { position: absolute; top: 4px; bottom: 4px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 0; border-radius: 5px; font: 600 calc(.9rem + 1px) var(--body); cursor: pointer; text-align: left; overflow: hidden; white-space: nowrap; }
.tl-brand { background: linear-gradient(90deg, var(--brand-deep), var(--brand)); color: #fff; }
.tl-build { background: linear-gradient(90deg, var(--build-deep), var(--build)); color: #fff; }
.tl-dur { font-weight: 400; opacity: .8; }
.tl-plus { margin-left: auto; width: 12px; height: 12px; position: relative; flex: none; }
.tl-plus::before, .tl-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.tl-plus::after { transform: rotate(90deg); transition: transform .2s; }
.tl-bar[aria-expanded="true"] .tl-plus::after { transform: rotate(0); }
.tl-phases { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin: -4px 0 6px; }
.tl-phases[hidden] { display: none; }
.tl-phases .tl-track { height: 58px; }
.ph { position: absolute; top: 4px; bottom: 4px; border-left: 2px solid rgba(255,255,255,.7); padding: 4px 8px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: rgba(255,255,255,.08); }
.ph b { font-size: calc(.78rem + 1px); font-weight: 600; line-height: 1.2; }
.ph i { font-style: normal; font-size: calc(.72rem + 1px); color: rgba(255,255,255,.7); }
.tl-phase-list { display: none; }
.tl-pay { margin-top: 8px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.3); }
.tl-pay .tl-track { background: none; height: 40px; }
.tl-fee { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font: 400 calc(.8rem + 1px) var(--display); color: var(--vio-100); border: 1px solid rgba(157,146,255,.5); border-radius: 4px; margin-right: 4px; }
.tl-foot { margin: 24px 0 0; color: rgba(255,255,255,.78); }
.tl-foot span { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  /* Phones: a stacked list. Same data, no squinting at a 17-column grid. */
  .tl-weeks, .tl-pay, .tl-phases .tl-track, .tl-sub { display: none; }
  .tl-line { grid-template-columns: 1fr; gap: 6px; }
  .tl-track { height: auto; background: none; }
  .tl-bar { position: static; width: 100% !important; padding: 12px 14px; white-space: normal; }
  .tl-phases { grid-template-columns: 1fr; margin: 0 0 8px; }
  .tl-phase-list { display: block; list-style: none; padding: 0; margin: 0; }
  .tl-phase-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,.15); font-size: calc(.92rem + 1px); }
  .tl-phase-list li span:last-child { color: rgba(255,255,255,.7); white-space: nowrap; }
}

/* FAQ */
.faq { background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 96px); }
.faq-list details { border-top: 1px solid var(--ink); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--ink); }
.faq-list summary { font: 400 calc(1.15rem + 1px)/1.35 var(--display); letter-spacing: -0.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--body); font-weight: 400; font-size: calc(1.4rem + 1px); line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 12px 0 0; color: var(--graphite); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Quotes: one at a time */
.quotes { text-align: center; }
.q-mark .mark { width: 54px; height: 54px; color: rgba(255,255,255,.85); margin: 0 auto 36px; }
.q-stage { min-height: 9em; display: grid; place-items: center; }
.q { margin: 0; }
.q blockquote { margin: 0 auto; font: 300 clamp(1.6rem + 1px, 3.8vw + 1px, 3rem + 1px)/1.2 var(--display); letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.q figcaption { margin-top: 28px; color: rgba(255,255,255,.75); font-weight: 600; }
.qw { display: inline-block; opacity: 1; }
.js .q.play .qw { animation: word .5s ease both; animation-delay: calc(var(--k) * 60ms); }
.js .q.play figcaption { animation: word .6s ease both; animation-delay: .9s; }
@keyframes word { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .js .q.play .qw, .js .q.play figcaption { animation: none; } }
.q-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.q-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; background: none; padding: 0; cursor: pointer; }
.q-dots button[aria-current="true"] { background: #fff; }

/* Blog strip */
.post-rows { list-style: none; padding: 0; margin: 40px 0 0; }
.post-rows a { display: grid; grid-template-columns: 170px 1fr 1.2fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--rule); text-decoration: none; align-items: baseline; }
.post-rows li:last-child a { border-bottom: 1px solid var(--rule); }
.post-date { color: var(--graphite); font-size: calc(.9rem + 1px); }
.post-title { font: 400 calc(1.25rem + 1px)/1.25 var(--display); letter-spacing: -0.01em; }
.post-dek { color: var(--graphite); }
.post-rows a:hover .post-title { color: var(--vio); }
@media (max-width: 760px) { .post-rows a { grid-template-columns: 1fr; gap: 6px; } }
.blog-all { padding-top: 0; }

/* Page heads */
.page-head { padding: clamp(72px, 10vw, 136px) 0 clamp(40px, 6vw, 72px); }
.page-head.tall { min-height: 60vh; }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 20px; max-width: 46ch; color: var(--graphite); }

/* Lane pages */
.lane-hero { padding: clamp(150px, 18vw, 220px) 0 clamp(72px, 10vw, 128px); }
.lane-hero h1 { max-width: 16ch; font-size: clamp(2.2rem + 1px, 5.6vw + 1px, 4.6rem + 1px); }
.lane-hero .lead { color: rgba(255,255,255,.86); max-width: 50ch; margin-top: 24px; }
.crumb { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.svc-rows { list-style: none; padding: 0; margin: 48px 0 0; }
.svc-rows li { display: grid; grid-template-columns: 56px 1fr 1.4fr 1fr; gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--rule); }
.svc-rows li:last-child { border-bottom: 1px solid var(--rule); }
.svc-rows .icon { color: var(--ink); }
.svc-rows h3 { font-size: calc(1.25rem + 1px); margin: 6px 0 0; }
.svc-rows p { margin: 6px 0 0; color: var(--graphite); }
.svc-ex { font-weight: 600; font-size: calc(.95rem + 1px); margin-top: 8px; }
@media (max-width: 860px) { .svc-rows li { grid-template-columns: 44px 1fr; } .svc-rows p, .svc-ex { grid-column: 2; } }
.phase-sec { background: var(--mist); }
.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.phase-list { list-style: none; counter-reset: p; padding: 0; margin: 0 0 20px; }
.phase-list li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 16px 0; border-top: 1px solid var(--ink); font-size: calc(1.1rem + 1px); }
.phase-list li::before { content: counter(p); font: 400 calc(.85rem + 1px)/1.9 var(--display); color: var(--accent, var(--vio)); }
.phase-list li span:last-child { color: var(--graphite); }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; }
.ticks li { padding: 10px 0 10px 28px; border-top: 1px solid rgba(255,255,255,.22); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 1.5px; background: #fff; transform: rotate(-35deg); }

/* Case study */
.case-head { background: linear-gradient(120deg, var(--vio-900) 50%, color-mix(in oklab, var(--t2) 50%, var(--vio-900))); color: #fff; padding: calc(80px + clamp(64px, 9vw, 120px)) 0 clamp(120px, 14vw, 200px); }
.case-kind { color: rgba(255,255,255,.75); }
.case-kind a { color: #fff; }
.case-headline { font: 300 clamp(1.2rem + 1px, 2.4vw + 1px, 1.8rem + 1px)/1.3 var(--display); max-width: 24ch; color: rgba(255,255,255,.88); }
.case-cover { margin-top: clamp(-150px, -11vw, -80px); }
.cover-wide { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 6px; }
.tile.cover-wide { min-height: 260px; }
.case-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 6vw, 96px); padding: clamp(48px, 7vw, 88px) 0 0; }
.case-facts { margin: 0; }
.case-facts div { padding: 12px 0; border-top: 1px solid var(--rule); }
.case-facts dt { font-size: calc(.875rem + 1px); color: var(--graphite); }
.case-facts dd { margin: 4px 0 0; }
.case-stats { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.case-stats li { border-top: 1px solid var(--ink); padding-top: 16px; }
.case-stats strong { display: block; font: 300 clamp(2rem + 1px, 4vw + 1px, 3rem + 1px)/1 var(--display); letter-spacing: -0.03em; color: var(--vio); }
.case-stats span { display: block; margin-top: 8px; color: var(--graphite); max-width: 24ch; }
.case-body { padding: clamp(48px, 7vw, 88px) 0; }
.case-sec { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 5vw, 80px); padding: 32px 0; border-top: 1px solid var(--rule); }
.case-sec h2 { font-size: clamp(1.2rem + 1px, 2vw + 1px, 1.5rem + 1px); font-weight: 400; }
.case-sec p { max-width: 62ch; font-size: calc(1.1rem + 1px); }
.case-img { width: 100%; border-radius: 6px; margin: 24px 0 40px; }
.case-next { padding-bottom: clamp(64px, 9vw, 112px); }
.case-next a { display: block; border-top: 1px solid var(--ink); padding-top: 20px; text-decoration: none; font: 300 clamp(1.8rem + 1px, 5vw + 1px, 4rem + 1px)/1.08 var(--display); letter-spacing: -0.03em; }
.case-next span { display: block; font: 500 calc(.95rem + 1px)/1.4 var(--body); letter-spacing: 0; color: var(--graphite); margin-bottom: 8px; }
.case-next a:hover { color: var(--vio); }
@media (max-width: 760px) { .case-intro, .case-sec { grid-template-columns: 1fr; } .cover-wide { aspect-ratio: 4 / 3; } }

/* Blog post */
.post-head { padding: clamp(56px, 8vw, 104px) 0 32px; }
.post-head h1 { font-size: clamp(2rem + 1px, 5vw + 1px, 3.6rem + 1px); }
.post-head .lead { color: var(--graphite); max-width: 52ch; }
.post-head .crumb { font-weight: 500; color: var(--graphite); }
.draft-note { display: inline-block; background: var(--red-100); color: var(--red-700); font-weight: 600; font-size: calc(.9rem + 1px); padding: 6px 12px; border-radius: 4px; }
.post-body { font-size: calc(1.12rem + 1px); line-height: 1.7; padding-bottom: 40px; }
.post-body h2 { font-size: clamp(1.4rem + 1px, 2.6vw + 1px, 1.9rem + 1px); margin-top: 1.6em; }
.post-body li { margin: .4em 0; }

/* Values + origin */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin: 40px 0 0; }
.values-grid div { padding: 20px 0; border-top: 1px solid var(--rule); }
.values-grid dt { font: 400 calc(1.1rem + 1px) var(--display); }
.values-grid dd { margin: 8px 0 0; color: var(--graphite); }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }
.origin p { color: rgba(255,255,255,.86); max-width: 52ch; font-size: calc(1.1rem + 1px); }
.origin-mark .mark { width: min(260px, 60%); height: auto; color: #fff; }

/* Concepts page */
.concept { padding: 0; }
.concept-label { padding: 40px 0 20px; }
.concept-label p { color: var(--graphite); max-width: 70ch; }

/* Contact */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { background: #fff; padding: clamp(24px, 4vw, 48px); border-radius: 6px; border: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--graphite); }
input:not([type]), input[type="email"], input[type="url"], textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 12px 14px; min-height: 48px; }
input:focus, textarea:focus { outline: 2px solid var(--vio); outline-offset: 0; border-color: var(--vio); }
.choice { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 500 !important; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 4px; margin-bottom: 8px !important; cursor: pointer; }
.choice span { color: var(--graphite); font-weight: 400; margin-left: auto; font-size: calc(.9rem + 1px); }
.choice:has(input:checked) { border-color: var(--vio); box-shadow: inset 0 0 0 1px var(--vio); }
.choice input { accent-color: var(--vio); width: 18px; height: 18px; margin: 0; }
@media (max-width: 560px) { .choice span { margin-left: 28px; flex-basis: 100%; } }
.form-error { color: #b3261e; font-weight: 600; }
.next-steps { padding-left: 1.2em; }
.next-steps li { padding: 6px 0 6px 6px; }
.next-steps li::marker { font-family: var(--display); color: var(--vio); }
@media (max-width: 860px) { .contact-grid, .row { grid-template-columns: 1fr; } }

/* Footer: the violet field again, light at the bottom */
.foot { background: linear-gradient(180deg, var(--vio-900) 0%, var(--vio-700) 70%, var(--vio) 140%); color: #fff; padding: clamp(72px, 10vw, 128px) 0 40px; }
.foot-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid rgba(255,255,255,.2); }
.foot-line { font: 300 clamp(2rem + 1px, 5vw + 1px, 4rem + 1px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0; }
.foot-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding-top: 32px; }
.foot-mark .mark { width: 40px; height: 40px; color: #fff; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: rgba(255,255,255,.75); }
.foot nav a:hover { color: #fff; }
.foot .small { color: rgba(255,255,255,.6); margin: 0; }
.no-foot-cta .foot-cta { display: none; }
.no-foot-cta .foot { padding-top: 40px; }
.no-foot-cta .foot-meta { padding-top: 0; }
@media (max-width: 860px) { .foot-meta { grid-template-columns: 1fr; } }

/* Timeline phases: numbered segments, readable list underneath */
.ph { align-items: center; justify-content: center; font: 400 calc(.8rem + 1px) var(--display); }
.tl-phases .tl-track { height: 40px; }
.tl-phase-list { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; counter-reset: ph; padding: 4px 0 6px; margin: 0; font-size: calc(.9rem + 1px); }
.tl-phase-list li { counter-increment: ph; display: flex; gap: 8px; align-items: baseline; }
.tl-phase-list li::before { content: counter(ph); font: 400 calc(.75rem + 1px) var(--display); color: var(--vio-300); }
.tl-phase-list li span:last-child { color: rgba(255,255,255,.65); }
.tl-fee { margin-right: 0; border-right-width: 0; }
.tl-fee:last-child { border-right-width: 1px; }
.statement + .lanes { padding-top: 0; }
@media (max-width: 760px) {
  .tl-phase-list { grid-column: 1; flex-direction: column; gap: 0; }
  .tl-phase-list li { justify-content: space-between; padding: 8px 2px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .tl-phase-list li::before { display: none; }
}
.tl-mob-pay { display: none; } @media (max-width: 760px) { .tl-foot .tl-mob-pay { display: inline; font-weight: 400; color: rgba(255,255,255,.78); } }

/* ===== Pass 3: violet is X Gravity's; Brand and Build each get their own accent ===== */
.lane-brand { --accent: var(--brand); --accent-deep: var(--brand-deep); }
.lane-build { --accent: var(--build); --accent-deep: var(--build-deep); }

/* Hero melts down into the white page: no hard edge. */
.hero-melt { background: linear-gradient(180deg, var(--vio-900) 0%, var(--vio-700) 34%, var(--vio) 60%, #b9b0ff 82%, var(--paper) 100%); color: #fff; padding-bottom: clamp(160px, 18vw, 240px); }
.hero-melt .hero-grid { align-items: start; padding-top: clamp(24px, 6vh, 72px); }
.hero-melt + .statement { padding-top: clamp(24px, 4vw, 48px); }

/* Lanes on the home page: two white boxes, each with its accent as a thick top line. */
.lane-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lane-box { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--rule); border-top: 8px solid var(--accent); border-radius: 6px; padding: clamp(28px, 4vw, 48px); transition: box-shadow .2s; }
.lane-box:hover { box-shadow: 0 18px 40px rgba(20, 19, 31, .08); }
.lane-box .icon { color: var(--ink); }
.lane-box .icon .ix { stroke: var(--accent-deep); }
.lane-box h3 { font-size: clamp(2.6rem + 1px, 5.4vw + 1px, 4.4rem + 1px); line-height: 1; margin: 20px 0 14px; letter-spacing: -0.04em; }
.lane-box .lane-for { color: var(--graphite); font-weight: 600; }
.lane-box .lane-text { font-size: calc(1.15rem + 1px); max-width: 36ch; }
.lane-box ul { list-style: none; padding: 0; margin: 20px 0 28px; columns: 2 180px; column-gap: 24px; flex: 1; }
.lane-box li { padding: 8px 0; border-top: 1px solid var(--rule); break-inside: avoid; }
.lane-box .lane-go { align-self: flex-start; font-weight: 600; border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
.lanes .addon { padding-bottom: var(--space); }
@media (max-width: 860px) { .lane-boxes { grid-template-columns: 1fr; } }

/* Dark lane headers (Brand / Build pages) with their accent */
.lane-hero { border-top: 6px solid var(--accent); }
.lane-hero .crumb { color: var(--accent); }
.lane-hero .crumb .icon { color: var(--accent); }
.lane-hero .crumb .icon .ix { stroke: #fff; }
.field-dark .ticks li::before { background: var(--accent, #fff); }
.sprint { border-top: 6px solid var(--accent); }
.sprint .price-amount { color: #fff; }
.statement.field-dark p { color: rgba(255,255,255,.85); }
.statement.field-dark h2 { color: #fff; }

/* Home teaser: a slice of the chart, cut off on purpose */
.teaser { background: var(--mist); overflow: hidden; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.teaser-copy h2 { max-width: 14ch; }
.teaser-copy p { color: var(--graphite); font-size: calc(1.1rem + 1px); max-width: 46ch; }
.teaser-crop { display: block; position: relative; height: 380px; overflow: hidden; border-radius: 8px; margin-right: calc(-1 * var(--gutter) - 200px);
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 96%), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 55%, transparent 96%); }
.teaser-inner { width: 1100px; pointer-events: none; }
.teaser-inner .timeline { margin: 0; }
.teaser-inner .timeline figcaption, .teaser-inner .tl-foot { display: none; }
@media (max-width: 960px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-crop { margin-right: calc(-1 * var(--gutter)); height: 300px; }
  .teaser-inner { width: 900px; }
}
@media (max-width: 760px) {
  /* keep the desktop chart look inside the teaser, even on phones */
  .teaser-inner .tl-weeks, .teaser-inner .tl-pay { display: grid; }
  .teaser-inner .tl-line { grid-template-columns: 150px 1fr; }
  .teaser-inner .tl-track { height: 48px; }
  .teaser-inner .tl-bar { position: absolute; width: auto !important; white-space: nowrap; padding: 0 14px; }
  .teaser-inner .tl-phases .tl-track, .teaser-inner .tl-sub { display: block; }
  .teaser-inner .tl-phases { grid-template-columns: 150px 1fr; }
  .teaser-inner .tl-phase-list { display: none; }
}

/* Rotating hero moments */
.snip { transition: opacity .6s ease, transform .6s ease; }
.snip.out { opacity: 0; transform: translateY(-10px) scale(.97); }

/* Case study slideshow (click or swipe only) */
.slides { position: relative; }
.slide-wrap[hidden] { display: none; }
.slide { width: 100%; }
.slides-ui { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; background: rgba(15, 13, 38, .72); color: #fff; border-radius: 999px; padding: 6px; backdrop-filter: blur(6px); }
.slides-ui button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: calc(1.1rem + 1px); cursor: pointer; }
.slides-ui button:hover { background: rgba(255,255,255,.15); }
.sl-count { font: 400 calc(.85rem + 1px) var(--display); min-width: 3.5em; text-align: center; }
.tile-name small { display: block; font: 500 calc(.85rem + 1px) var(--body); letter-spacing: 0; opacity: .75; margin-top: 6px; }

/* ===== Pass 4 ===== */
/* Smoother typing: letters fade and drift up with overlapping delays */
.tw .tw-ch { display: inline-block; opacity: 0; transform: translateY(.28em); filter: blur(4px); transition: opacity .55s ease, transform .6s cubic-bezier(.2,.7,.2,1), filter .55s ease; }
.tw.typed .tw-ch { opacity: 1; transform: none; filter: none; }
.tw.typing::after { display: none; }

/* Hero art: three depths */
.engine { color: #fff; }
.engine .assembly { stroke: #c9c1ff; }
.depth-1 { opacity: 1; }
.depth-2 { opacity: .55; }
.depth-3 { opacity: .26; }
.float > * { animation: none; }
.float .bob { animation: bob 8s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.depth-3 .bob { animation-duration: 12s; }
.depth-2 .bob { animation-duration: 10s; }
@media (prefers-reduced-motion: reduce) { .float .bob { animation: none; } }
/* Moments pop up anywhere in the art box (positions set by site.js) */
.snip { animation: none; transition: opacity .7s ease, transform .7s ease; }
.snip.out { opacity: 0; transform: scale(.94); }

/* Faint drawings across the page, under content and over light section backgrounds */
main { position: relative; overflow-x: clip; }
.doodles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.doodle { position: absolute; height: auto; color: #8e8aa6; opacity: .14; transform: rotate(var(--rot)); will-change: transform; }
main > section > .wrap, main > section > .narrow-c, main > article, .lane-boxes { position: relative; z-index: 1; }
/* Dark sections sit above the drawings */
.hero, .field-dark, .field-violet, .lane-hero, .case-head, .page-head, .post-head, .timeline { position: relative; z-index: 2; }
@media (max-width: 760px) { .doodle { opacity: .09; } .doodle:nth-child(3n) { display: none; } }

/* Subpage headers: dark violet with a short melt into the page */
.page-head, .lane-hero, .post-head {
  background: linear-gradient(180deg, var(--vio-900) 0%, var(--vio-700) 58%, var(--vio) 82%, #b9b0ff 93%, var(--paper) 100%); color: #fff;
  padding: clamp(150px, 16vw, 210px) 0 clamp(110px, 12vw, 170px); }
.page-head .lead, .post-head .lead, .lane-hero .lead { color: rgba(255,255,255,.86); }
.post-head .crumb, .post-head .crumb a { color: rgba(255,255,255,.8); }
.page-head.tall { min-height: 0; padding-bottom: clamp(160px, 18vw, 240px); }
.page-head .btn-line { border-color: #fff; color: #fff; }
.page-head .btn-line:hover { background: #fff; color: var(--ink); }
.filter button { border-color: #fff; color: #fff; }
.filter button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.lane-hero { border-top: 6px solid var(--accent); }
.case-head { background: linear-gradient(180deg, transparent 72%, var(--paper) 100%), linear-gradient(120deg, var(--vio-900) 50%, color-mix(in oklab, var(--t2) 50%, var(--vio-900))); }
.draft-note { margin-top: 8px; }
.contact, .work-all, .blog-all { padding-top: 0; }

/* Quotes: light, so the violet belongs to the top and bottom of the page */
.quotes { background: linear-gradient(180deg, var(--paper), var(--vio-100) 50%, var(--paper)); color: var(--vio-900); }
.quotes .q-mark .mark { color: var(--vio); }
.quotes .q figcaption { color: var(--graphite); }
.quotes .q blockquote { color: var(--vio-700); }
.q-dots button { border-color: var(--vio); }
.q-dots button[aria-current="true"] { background: var(--vio); }

/* Origin (How we work): light now that the footer carries the violet */
.origin { background: var(--mist); color: var(--ink); }
.origin p { color: var(--graphite); }
.origin-mark .mark { color: var(--vio); }

/* Footer: the hero's fade in reverse, white melting down into near-black */
.foot { background: linear-gradient(180deg, var(--paper) 0%, #cfc8ff 14%, var(--vio) 34%, var(--vio-700) 62%, var(--vio-900) 100%); padding-top: clamp(220px, 24vw, 320px); position: relative; z-index: 2; }
.no-foot-cta .foot { padding-top: clamp(150px, 16vw, 200px); }

/* Headline rows: text beside a headline sits on the headline's first baseline */
.lanes-intro, .engage-head, .two:has(> h2), .faq-grid, .case-sec { align-items: baseline; }
@media (min-width: 861px) { .who .lanes-intro p { justify-self: end; text-align: right; } }

/* Pass 5 */
/* Background sketches: visible now, still clearly behind the text */
.doodle { opacity: .3; color: #8a86a3; }
@media (max-width: 760px) { .doodle { opacity: .2; } }

/* Subpage headers: the same long melt as the home hero */
.page-head, .lane-hero, .post-head {
  background: linear-gradient(180deg, var(--vio-900) 0%, var(--vio-700) 30%, var(--vio) 55%, #b9b0ff 80%, var(--paper) 100%);
  padding-bottom: clamp(220px, 24vw, 330px); }
.page-head.tall { padding-bottom: clamp(240px, 26vw, 350px); }
.case-head { background: linear-gradient(180deg, transparent 52%, color-mix(in oklab, var(--t2) 30%, #b9b0ff) 80%, var(--paper) 100%), linear-gradient(120deg, var(--vio-900) 50%, color-mix(in oklab, var(--t2) 50%, var(--vio-900))); padding-bottom: clamp(200px, 22vw, 300px); }

/* Engagement steps: a drawing on top of each */
.engage-steps li { display: flex; flex-direction: column; border-top: 0; padding-top: 0; }
.engage-steps li::before { margin-top: 16px; }
.step-art { order: -1; display: block; width: 100%; max-width: 240px; height: auto; color: #5b5873; padding-bottom: 18px; border-bottom: 1px solid var(--ink); box-sizing: content-box; }
.step-art .sa { stroke: var(--vio); }
@media (max-width: 960px) { .step-art { max-width: 200px; } }

/* Footer: quiet machine-readable links */
.foot-machine { margin-top: 10px; font-size: calc(.78rem + 1px); opacity: .7; }
.foot-machine a { color: inherit; margin-right: 14px; }

/* ===== Pass 6 ===== */
/* One continuous white page. Tinted and dark sections float on it as rounded cards. */
:root { --card-inset: clamp(10px, 2.4vw, 40px); --card-r: clamp(20px, 2.6vw, 36px); --card-gap: clamp(12px, 2vw, 28px); }
main { position: relative; }
main > section { position: relative; z-index: 1; isolation: isolate; }
.work, .work-all { background: none; }
.why, .faq, .teaser, .phase-sec, .origin, .quotes, .sprint, .statement.field-dark, main > section.field-violet {
  margin: var(--card-gap) var(--card-inset); border-radius: var(--card-r); overflow: hidden; }
.quotes { background: linear-gradient(160deg, var(--vio-100), #ebe8ff 60%, #f1efff); }
/* Background sketches always sit behind sections, cards, boxes and the timeline */
.doodles { z-index: 0; }

/* Footer: a long melt, the header in reverse */
.foot { background: linear-gradient(180deg, var(--paper) 0%, #e6e2ff 12%, #b9b0ff 26%, var(--vio) 46%, var(--vio-700) 70%, var(--vio-900) 100%); padding-top: clamp(300px, 32vw, 440px); }
.no-foot-cta .foot { padding-top: clamp(220px, 24vw, 320px); }

/* Home hero: the conveyor of work */
.hero-scene .scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; color: #e4e0ff; }
.hero-scene > .wrap { position: relative; z-index: 1; }
.sc-item { position: absolute; width: 15%; height: auto; overflow: visible; opacity: .2; transform-origin: 50% 50%; will-change: transform, opacity; }
.sc-item * { vector-effect: non-scaling-stroke; }
.hero-scene:not(.live) .sc-item { opacity: .14; }
.hero-stage { position: relative; aspect-ratio: 5 / 4; }
.stage-snip { position: absolute; background: rgba(255,255,255,.96); color: var(--ink); font-size: calc(.85rem + 1px); padding: 10px 14px; border-radius: 10px; box-shadow: 0 14px 30px rgba(10,8,40,.35); max-width: 240px;
  opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.stage-snip.on { opacity: 1; transform: none; }
.stage-snip span { display: block; font-weight: 500; font-size: calc(.72rem + 1px); color: var(--vio); margin-bottom: 2px; }
.stage-snip b { font-weight: 600; }
.stage-snip[data-row="0"] { left: 4%; top: 2%; }
.stage-snip[data-row="1"] { left: 46%; top: 34%; }
.stage-snip[data-row="2"] { left: 12%; top: 66%; }
@media (max-width: 560px) { .stage-snip { font-size: calc(.75rem + 1px); padding: 8px 10px; max-width: 180px; } .sc-d0, .stage-snip[data-row="0"] { display: none; } }

/* Photo spots (replaced automatically by files in assets/people/) */
.photo { display: block; width: 100%; border-radius: clamp(16px, 2vw, 28px); object-fit: cover; aspect-ratio: 4 / 5; }
.head-photo { aspect-ratio: 3 / 2; }
.photo-slot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 1.5px dashed var(--vio-300); color: var(--graphite);
  background: repeating-linear-gradient(45deg, rgba(75,63,209,.05) 0 10px, transparent 10px 20px); }
.photo-slot span { max-width: 30ch; font-size: calc(.9rem + 1px); line-height: 1.45; }
.photo-slot b { display: block; color: var(--vio); font-size: calc(.8rem + 1px); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.photo-slot code { display: block; margin-top: 10px; font-size: calc(.75rem + 1px); opacity: .8; }
.page-head .photo-slot { border-color: rgba(255,255,255,.45); color: rgba(255,255,255,.85); background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px); }
.page-head .photo-slot b { color: #fff; }
.head-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } }
.people-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.people-photo { max-width: 440px; }
.people-copy p { color: var(--graphite); max-width: 52ch; }
@media (max-width: 860px) { .people-grid { grid-template-columns: 1fr; } .people-photo { max-width: 360px; } }
.kicker { font-weight: 600; font-size: calc(.8rem + 1px); letter-spacing: .1em; text-transform: uppercase; color: var(--vio); margin: 0 0 12px; }
.q-face { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }

/* ===== Pass 7 ===== */
/* Header sticks on scroll, on a dark bar. The home logo starts big and settles to normal. */
.top { position: fixed; transition: background .3s ease, padding .3s ease, box-shadow .3s ease; }
body.scrolled .top { background: rgba(15, 13, 38, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 1px 0 rgba(255,255,255,.08); color: #fff; }
body.scrolled .top .logo { color: #fff; }
.logo-mark { transition: height .35s ease; }
body.home .logo-mark { height: 46px; }
body.scrolled .logo-mark, body.home.scrolled .logo-mark { height: 26px; }
@media (max-width: 760px) { body.home .logo-mark { height: 34px; } body.scrolled .logo-mark, body.home.scrolled .logo-mark { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .top, .logo-mark { transition: none; } }

/* Hero bubbles ride along with the drawing in focus */
.stage-anchor { position: absolute; width: 1px; height: 1px; }
.stage-anchor[data-row="0"] { left: 30%; top: 14%; }
.stage-anchor[data-row="1"] { left: 66%; top: 44%; }
.stage-anchor[data-row="2"] { left: 40%; top: 76%; }
.ride-snip { position: absolute; left: 0; top: 0; background: rgba(255,255,255,.96); color: var(--ink); font-size: calc(.85rem + 1px); padding: 10px 14px; border-radius: 10px; box-shadow: 0 14px 30px rgba(10,8,40,.35); white-space: nowrap; will-change: transform; }
.ride-snip span, .ride-snip b { display: block; opacity: 0; transition: opacity .35s ease; }
.ride-snip { opacity: 0; scale: .9; transition: opacity .45s ease, scale .5s cubic-bezier(.2,.8,.2,1.3); }
.ride-snip.on { opacity: 1; scale: 1; }
.ride-snip.on span, .ride-snip.on b { opacity: 1; }
.ride-snip span { font-weight: 500; font-size: calc(.72rem + 1px); color: var(--vio); margin-bottom: 2px; }
.ride-snip b { font-weight: 600; }
@media (max-width: 560px) { .ride-snip { font-size: calc(.75rem + 1px); padding: 8px 10px; } .stage-anchor[data-row="0"], .ride-snip[data-row="0"] { display: none; } }

/* Home: the big working drawing between the lanes and the work */
.lanes .addon { padding-bottom: 0; }
.blueprint { padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; }
.blueprint-svg { display: block; width: min(1400px, 100vw); height: auto; margin: 0 auto; color: #8a86a3; opacity: .42; }
.blueprint-svg * { vector-effect: non-scaling-stroke; }
@media (max-width: 760px) { .blueprint-svg { width: 160vw; margin-left: -8vw; opacity: .32; } }

/* Home lane cards: rows lined up across both boxes */
.lane-boxes { grid-template-rows: repeat(6, auto); row-gap: 0; }
.lane-box { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
.lane-box > * { align-self: start; }
.lane-box ul { margin-bottom: 28px; }
.lane-box .lane-go { justify-self: start; align-self: end; }
@media (max-width: 860px) { .lane-boxes { grid-template-rows: none; row-gap: 24px; } .lane-box { grid-row: auto; display: flex; } }

/* Brand and Build pages: the lane colour carried through the page */
.lane-page .svc-rows .icon { color: var(--accent-deep); }
.lane-page .svc-rows .icon .ix { stroke: var(--ink); }
.lane-page .svc-ex { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lane-page .text-link, .lane-page .prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.lane-page .section-head h2::after, .lane-page .svc h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 18px; }
.lane-page .phase-list li { border-top-color: color-mix(in oklab, var(--accent-deep) 60%, var(--ink)); }
.lane-page .phase-list li::before { color: var(--accent-deep); font-weight: 500; }
.lane-page .work-kind { color: var(--accent-deep); }
.lane-page .work-more { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lane-page .btn-accent { background: var(--accent-deep); }
.lane-page .btn-accent:hover { background: color-mix(in oklab, var(--accent-deep) 80%, #000); }
.lane-page .doodle { color: color-mix(in oklab, var(--accent-deep) 45%, #8a86a3); }
.lane-page .kicker { color: var(--accent-deep); }

/* Lane pages: featured project + call-out to the rest */
.work-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(32px, 5vw, 56px); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--rule); border-left: 6px solid var(--accent, var(--vio)); border-radius: 16px; background: #fff; }
.work-callout p { margin: 0; color: var(--graphite); max-width: 52ch; }
.work-callout strong { color: var(--ink); }

/* ===== Pass 8 ===== */
/* How an engagement works: a vertical timeline. Title and drawing | line and dot | description */
.vsteps { display: block; position: relative; max-width: 1040px; margin-inline: auto; }
.vsteps::before { content: ""; position: absolute; top: 14px; bottom: 40px; left: calc(42% + clamp(20px, 3vw, 40px) + 20px); width: 2px; margin-left: -1px; background: linear-gradient(180deg, var(--vio), color-mix(in oklab, var(--vio) 25%, transparent)); }
.vsteps li { display: grid; grid-template-columns: 42% 40px 1fr; gap: 0 clamp(20px, 3vw, 40px); align-items: start; border: 0; padding: 0 0 clamp(40px, 6vw, 72px); }
.vsteps li::before { content: none; }
.vs-head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; justify-items: start; text-align: left; }
.vs-num { font: 400 calc(.9rem + 1px)/2.2 var(--display); color: var(--vio); }
.vs-head h3 { margin: 0; font-size: clamp(1.3rem + 1px, 2vw + 1px, 1.6rem + 1px); line-height: 1.5; }
.vsteps .step-art { order: 0; grid-column: 2; max-width: 220px; margin-top: 18px; padding: 0; border: 0; }
.vs-dot { justify-self: center; width: 16px; height: 16px; margin-top: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--vio); box-shadow: 0 0 0 6px var(--paper); position: relative; z-index: 1; }
.vsteps li.in .vs-dot { background: var(--vio); transition: background .4s ease .2s; }
.vs-text { margin: 4px 0 0; color: var(--graphite); font-size: calc(1.1rem + 1px); max-width: 40ch; }
@media (max-width: 760px) {
  .vsteps::before { left: 8px; }
  .vsteps li { grid-template-columns: 16px 1fr; gap: 0 20px; padding-bottom: 40px; }
  .vs-dot { grid-row: 1; grid-column: 1; margin-top: 6px; }
  .vs-head { grid-column: 2; grid-row: 1; }
  .vs-text { grid-column: 2; margin-top: 10px; }
  .vsteps .step-art { max-width: 180px; }
}
.foot-parent { white-space: nowrap; }
select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 12px 14px; min-height: 48px; appearance: auto; }

/* Desktop: the hero pins while scroll steps the drawings along */
.hero-pinned .hero-pin > .hero { position: sticky; top: 0; height: 100vh; min-height: 0; }
.hero-pinned .hero-pin > .hero .hero-grid { padding-top: clamp(8px, 3vh, 40px); }
.hero-nav { display: none; }
.hero-pinned .hero-nav { display: flex; flex-direction: column; align-items: center; gap: 14px; position: absolute; left: 50%; bottom: clamp(56px, 12vh, 120px); transform: translateX(-50%); z-index: 3; }
.hero-skip { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.hero-skip svg { width: 22px; height: 22px; }
.hero-skip:hover, .hero-skip:focus-visible { background: #fff; color: var(--vio-900); transform: translateY(2px); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); background: none; cursor: pointer; transition: background .2s, width .2s; }
.hero-dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 4px; }
.hero-pinned .stage-anchor[data-row="0"] { top: 24%; }
.hero-pinned .stage-anchor[data-row="1"] { top: 52%; }
.hero-pinned .stage-anchor[data-row="2"] { top: 82%; }

/* ===== Pass 9 ===== */
/* Hero skip button: solid white with a violet arrow; fills violet on hover */
.hero-skip { background: #fff; border: 0; color: var(--vio); box-shadow: 0 12px 30px rgba(10, 8, 40, .35); width: 60px; height: 60px; }
.hero-skip svg { width: 24px; height: 24px; }
.hero-skip:hover, .hero-skip:focus-visible { background: var(--vio); color: #fff; transform: translateY(2px); }
.hero-dots button { border-color: #fff; }

/* Vertical timeline draws itself */
.vsteps::before { left: calc(42% + clamp(20px, 3vw, 40px) + 20px); background: var(--vio); transform-origin: top; border-radius: 2px; }
.vs-anim::before { transform: scaleY(var(--p, 0)); }
.vs-anim::after { content: ""; position: absolute; top: 14px; bottom: 40px; left: calc(42% + clamp(20px, 3vw, 40px) + 20px); width: 2px; margin-left: -1px; background: color-mix(in oklab, var(--vio) 14%, transparent); z-index: -1; }
.vs-anim li .vs-dot { background: var(--paper); transition: background .4s ease, transform .4s cubic-bezier(.2,.8,.2,1.4); transform: scale(.7); }
.vs-anim li.lit .vs-dot { background: var(--vio); transform: scale(1); }
.vs-anim .step-art path, .vs-anim .step-art rect, .vs-anim .step-art circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1) .15s; }
.vs-anim li.lit .step-art path, .vs-anim li.lit .step-art rect, .vs-anim li.lit .step-art circle { stroke-dashoffset: 0; }
.vs-anim .step-art text { opacity: 0; transition: opacity .6s ease 1s; }
.vs-anim li.lit .step-art text { opacity: 1; }
.vs-anim .vs-text, .vs-anim .vs-head h3, .vs-anim .vs-num { opacity: .25; transform: translateX(14px); transition: opacity .6s ease .1s, transform .7s cubic-bezier(.2,.7,.2,1) .1s; }
.vs-anim .vs-head h3, .vs-anim .vs-num { transform: none; }
.vs-anim li.lit .vs-text, .vs-anim li.lit .vs-head h3, .vs-anim li.lit .vs-num { opacity: 1; transform: none; }
@media (max-width: 760px) { .vsteps::before, .vs-anim::after { left: 8px; } }

/* Contact choices: no outlines, more room, selected one gets a soft violet tint */
.choice { border: 0 !important; padding: 14px 16px !important; margin-bottom: 6px !important; border-radius: 12px; font-size: calc(1.08rem + 1px); gap: 14px !important; transition: background .2s; }
.choice:hover { background: color-mix(in oklab, var(--vio) 5%, transparent); }
.choice:has(input:checked) { background: color-mix(in oklab, var(--vio) 11%, #fff); }
.choice input { width: 20px; height: 20px; accent-color: var(--vio); margin: 0; }
fieldset.field legend { margin-bottom: 12px; }

/* About page */
.page-head .crumb { color: rgba(255,255,255,.8); font-weight: 500; }
.about-copy p { color: var(--graphite); font-size: calc(1.1rem + 1px); max-width: 56ch; }
.about-copy a:not(.text-link) { color: var(--ink); text-decoration-color: var(--vio); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.about-model { margin: var(--card-gap) var(--card-inset); border-radius: var(--card-r); background: var(--mist); }
.about-parent { text-align: center; }
.about-parent p:not(.kicker) { color: var(--graphite); font-size: calc(1.15rem + 1px); }
.about-origin { margin-top: var(--card-gap); }

/* ===== Pass 10 ===== */
/* Blueprint band: tighter, so it never reads as the end of the page */
.blueprint { padding: clamp(16px, 3vw, 40px) 0 0; margin-bottom: calc(var(--space) * -.5); }
.blueprint-svg { opacity: .5; }
@media (max-width: 1100px) { .blueprint-svg { width: 118vw; margin-left: -9vw; } }
@media (max-width: 760px) { .blueprint { padding-top: 8px; margin-bottom: -24px; } .blueprint-svg { width: 175vw; margin-left: -37vw; opacity: .4; } }
.vs-text strong { color: var(--ink); font-weight: 600; }

/* ===== Pass 11 ===== */
/* Closing line: smaller */
.foot-line { font-size: clamp(1.6rem + 1px, 3.4vw + 1px, 2.6rem + 1px) !important; max-width: 32ch; }

/* Lane pages: clean service list, one link under it */
.svc-rows li { grid-template-columns: 56px 1fr 1.6fr; }
@media (max-width: 860px) { .svc-rows li { grid-template-columns: 44px 1fr; } }
.svc-more { margin-top: 28px; }

/* Isometric project maps */
.iso-map { margin: clamp(32px, 5vw, 56px) 0 0; }
.iso-map svg { display: block; width: 100%; height: auto; overflow: visible; color: #5b5873; }
.iso-dots circle { fill: color-mix(in oklab, var(--ink) 18%, transparent); }
.iso-t { fill: #fff; }
.iso-l { fill: color-mix(in oklab, var(--accent, var(--vio)) 7%, #fff); }
.iso-r { fill: color-mix(in oklab, var(--accent, var(--vio)) 16%, #fff); }
.iso-route { stroke: var(--accent-deep, var(--vio)); stroke-width: 2.4; stroke-dasharray: 1 0; }
.iso-branch { stroke-dasharray: 3 4; }
.iso-acc { stroke: var(--accent-deep, var(--vio)); stroke-width: 1.6; }
.iso-map text { font-family: var(--body); fill: var(--ink); }
.iso-name { font-size: 15px; font-weight: 600; }
.iso-end { fill: var(--accent-deep, var(--vio)) !important; }
.iso-note { font-size: 12.5px; fill: var(--graphite) !important; }
.iso-small { font-size: 11.5px; fill: var(--graphite) !important; }
.iso-map figcaption { margin-top: 12px; color: var(--graphite); max-width: 70ch; }
.iso-map figcaption strong { color: var(--ink); }
.phase-sec > .wrap + .wrap { margin-top: 0; }
@media (max-width: 760px) { .iso-map { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .iso-map svg { width: 760px; max-width: none; } }

/* About: AI list and testimonials */
.about-lede { color: var(--graphite); font-size: calc(1.15rem + 1px); max-width: 40ch; }
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ai-list li { padding: 20px 0; border-top: 1px solid var(--rule); }
.ai-list li:last-child { border-bottom: 1px solid var(--rule); }
.ai-list h3 { margin: 0 0 4px; font-size: calc(1.15rem + 1px); }
.ai-list p { margin: 0; color: var(--graphite); }
.testimonials .t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.t-card { margin: 0; padding: clamp(22px, 3vw, 32px); background: #fff; border: 1px solid var(--rule); border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.t-card blockquote { margin: 0; font: 300 calc(1.15rem + 1px)/1.45 var(--display); color: var(--vio-900); }
.t-card figcaption { color: var(--graphite); font-size: calc(.92rem + 1px); }
.t-card figcaption b { display: block; color: var(--ink); font-weight: 600; }
.quotes .q figcaption b { color: var(--ink); font-weight: 600; margin-right: 6px; }

/* Background sketches: a little bigger and darker */
.doodle { opacity: .42; color: #7d7997; }
@media (max-width: 760px) { .doodle { opacity: .28; } }
.iso-map svg { overflow: hidden; }
.iso-map text { stroke: none; }
.iso-small { font-weight: 500; }

/* ===== Pass 12: isometric maps v2 ===== */
.iso-map svg { overflow: visible; color: #57546e; }
.iso-terrace .iso-t { fill: #fff; }
.iso-step .iso-t { fill: #fff; }
.iso-person path { stroke: var(--ink); stroke-width: 1.3; }
.iso-person circle { fill: #fff; stroke: var(--ink); stroke-width: 1.3; }
.iso-acc-fill { fill: color-mix(in oklab, var(--accent, var(--vio)) 35%, #fff); stroke: var(--accent-deep, var(--vio)); }
.iso-note-fill { fill: color-mix(in oklab, var(--accent, var(--vio)) 22%, #fff); }
.iso-tee { fill: color-mix(in oklab, var(--accent, var(--vio)) 30%, #fff); stroke: var(--accent-deep, var(--vio)); }
.iso-flag { fill: var(--accent, var(--vio)); stroke: var(--accent-deep, var(--vio)); }
.iso-route-over { stroke-dasharray: 5 4; }
.iso-road { fill: color-mix(in oklab, var(--ink) 5%, #fff); }
.iso-lane { stroke-dasharray: 6 6; opacity: .45; }
.iso-alley { stroke-dasharray: 2 4; }
.iso-stop { fill: #fff; stroke: var(--accent-deep, var(--vio)); stroke-width: 1.6; }
.iso-ai { fill: var(--accent, var(--vio)); stroke: var(--accent-deep, var(--vio)); }
.iso-signal { stroke: var(--accent-deep, var(--vio)); stroke-dasharray: 2 3; }
.iso-dots circle { fill: color-mix(in oklab, var(--ink) 16%, transparent); stroke: none; }
.iso-map text { paint-order: stroke; stroke: var(--mist); stroke-width: 5px; stroke-linejoin: round; }

/* ===== Pass 13: schematic maps ===== */
.iso-map { margin-inline: calc(var(--card-inset) * -.5); }
.iso-sub { font-size: 11.5px; fill: var(--graphite) !important; }
.iso-leader { stroke: color-mix(in oklab, var(--ink) 45%, transparent); stroke-width: .8; }
.iso-pin { fill: var(--accent-deep, var(--vio)); stroke: #fff; stroke-width: 1.2; }
.iso-aitext { font-size: 10.5px; font-weight: 600; fill: var(--accent-deep, var(--vio)) !important; letter-spacing: .02em; }
.iso-tick { stroke: color-mix(in oklab, var(--ink) 40%, transparent); stroke-width: .7; }
.iso-tag { font-size: 10.5px; fill: var(--graphite) !important; font-style: italic; }
.iso-state { font-size: 11px; font-weight: 700; fill: var(--ink) !important; letter-spacing: .08em; }
.iso-wire { stroke: var(--accent-deep, var(--vio)); stroke-dasharray: 3 3; stroke-width: 1; }
.iso-led { fill: var(--accent, var(--vio)); stroke: none; }
.iso-screen { fill: color-mix(in oklab, var(--accent, var(--vio)) 25%, #fff); }
.iso-aimark .iso-ai { stroke-width: 1; }

/* ===== Pass 14: clean schematics + zoom panels ===== */
.iso-zoom-frame { stroke: var(--accent-deep, var(--vio)); stroke-dasharray: 4 3; stroke-width: 1.2; fill: none; }
.iso-zoom-line { stroke: var(--accent-deep, var(--vio)); stroke-dasharray: 4 3; stroke-width: 1.2; }
.iso-panel { fill: #fff; stroke: color-mix(in oklab, var(--ink) 30%, transparent); stroke-width: 1; }
.iso-panel-title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; fill: var(--accent-deep, var(--vio)) !important; }
.iso-panel-name { font-size: 13.5px; font-weight: 600; fill: var(--ink) !important; }
.iso-skill { fill: color-mix(in oklab, var(--accent, var(--vio)) 18%, #fff); stroke: var(--accent-deep, var(--vio)); }
.iso-asset { fill: color-mix(in oklab, var(--accent, var(--vio)) 8%, #fff); }
.iso-ai-name::after { content: ""; }
.iso-map text { stroke: none; }
.iso-panel ~ text, .iso-zoom text { paint-order: normal; }

/* ===== Pass 15: hover zoom on the maps ===== */
[data-zstep] { opacity: 0; pointer-events: none; transition: opacity .22s ease; }
[data-zstep].on { opacity: 1; }
[data-zstep] .iso-zoom-frame { transform-box: fill-box; transform-origin: center; transform: scale(.9); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
[data-zstep].on .iso-zoom-frame { transform: none; }
[data-zstep] .zpanel { transform: translateX(16px); transition: transform .34s cubic-bezier(.2,.8,.2,1); }
[data-zstep].on .zpanel { transform: none; }
.iso-zoom-line { stroke-dasharray: 4 3; }
[data-zstep] .iso-zoom-line { clip-path: inset(0 100% 0 0); transition: clip-path .3s ease; }
[data-zstep].on .iso-zoom-line { clip-path: inset(0 0 0 0); }
.iso-hit { fill: transparent; stroke: none; cursor: zoom-in; outline: none; }
.iso-hit:focus-visible { stroke: var(--accent-deep, var(--vio)); stroke-width: 1.5; stroke-dasharray: 2 3; }
.iso-callout[data-zs] { cursor: zoom-in; }
.iso-hint { transition: opacity .2s ease; }
.iso-hint-frame { fill: none; stroke: color-mix(in oklab, var(--ink) 30%, transparent); stroke-dasharray: 4 3; }
svg.zooming .iso-hint { opacity: 0; }
.iso-ink { fill: var(--ink); }
.iso-mini { font-size: 10px; font-weight: 600; fill: var(--ink) !important; }
.iso-note-acc { fill: var(--accent-deep, var(--vio)) !important; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { [data-zstep], [data-zstep] * { transition: none !important; } }
/* Phones: the maps step aside; the caption keeps the story */
@media (max-width: 760px) { .iso-map svg { display: none; } .iso-map { overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ===== Pass 16 ===== */
/* Map label dots pulse softly until the first hover */
@keyframes pinPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .55; } }
.iso-map svg.pulse .iso-callout .iso-pin { transform-box: fill-box; transform-origin: center; animation: pinPulse 1.8s ease-in-out infinite; }
.iso-map svg.pulse .iso-callout:nth-of-type(2n) .iso-pin { animation-delay: -.6s; }
.iso-map svg.pulse .iso-callout:nth-of-type(3n) .iso-pin { animation-delay: -1.2s; }
@media (prefers-reduced-motion: reduce) { .iso-map svg.pulse .iso-pin { animation: none; } }

/* ---- BRAND GLOWS (pass 17). Coral and teal blended into the violet, low down where it melts into white
   (the top stays clean violet behind the navigation). site.js moves them to a random spot on every visit.
   To go back to plain violet, delete everything from here to "END BRAND GLOWS". ---- */
@keyframes glowDrift { 0% { transform: translate3d(-1.5%, 0, 0) scale(1); } 50% { transform: translate3d(1.5%, -1%, 0) scale(1.04); } 100% { transform: translate3d(-.5%, 1%, 0) scale(1); } }
.hero-melt, .page-head, .lane-hero, .post-head, .foot, .sprint, .statement.field-dark { isolation: isolate; }
.hero-melt::before, .page-head::before, .lane-hero::before, .post-head::before, .foot::before, .sprint::before, .statement.field-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 34% 26% at var(--g1x, 20%) var(--g1y, 72%), rgba(255, 111, 89, var(--g1a, .42)), transparent 70%),
    radial-gradient(ellipse 32% 24% at var(--g2x, 78%) var(--g2y, 68%), rgba(20, 184, 166, var(--g2a, .36)), transparent 70%),
    radial-gradient(ellipse 20% 16% at var(--g3x, 52%) var(--g3y, 78%), rgba(255, 111, 89, .18), transparent 70%);
  animation: glowDrift 30s ease-in-out infinite alternate;
}
/* Headers: only in the melt, never behind the nav, easing out before the page's white */
.hero-melt::before, .page-head::before, .lane-hero::before, .post-head::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 58%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 38%, #000 58%, #000 84%, transparent 100%); }
/* Footer: where it melts in from white at the top */
.foot::before { -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 16%, #000 42%, transparent 60%); mask-image: linear-gradient(180deg, transparent 4%, #000 16%, #000 42%, transparent 60%); }
.sprint::before, .statement.field-dark::before { inset: -6%; }
.hero-melt > .wrap, .page-head > .wrap, .lane-hero > .wrap, .post-head > .wrap, .foot > .wrap, .sprint > .wrap, .statement.field-dark > .wrap, .statement.field-dark > .narrow-c { position: relative; z-index: 1; }
.page-head, .lane-hero, .post-head, .foot { position: relative; }
.hero-scene .scene { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .hero-melt::before, .page-head::before, .lane-hero::before, .post-head::before, .foot::before, .sprint::before, .statement.field-dark::before { animation: none; } }
/* ---- END BRAND GLOWS ---- */

/* ===== Pass 18 ===== */
/* Label dots send out rippling rings until the first hover on the map */
.iso-ripple { fill: none; stroke: var(--accent-deep, var(--vio)); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
@keyframes ripple { 0% { transform: scale(1); opacity: .75; } 80% { opacity: 0; } 100% { transform: scale(5.5); opacity: 0; } }
.iso-map svg.pulse .iso-ripple { animation: ripple 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
.iso-map svg.pulse .iso-ripple-2 { animation-delay: 1.1s; }
.iso-map svg.pulse .iso-callout .iso-pin { animation: none; }
@media (prefers-reduced-motion: reduce) { .iso-map svg.pulse .iso-ripple { animation: none; } }

/* ===== Pass 19: map close-ups on the home lane cards ===== */
.lane-box { position: relative; overflow: hidden; }
.lane-art { position: absolute; top: clamp(14px, 2vw, 24px); right: clamp(10px, 2vw, 24px); width: clamp(140px, 15vw, 200px); aspect-ratio: 1.15; pointer-events: none; color: #57546e;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 55%, transparent 100%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.lane-art svg { display: block; width: 100%; height: 100%; }
.lane-art .iso-dots circle { fill: color-mix(in oklab, var(--ink) 14%, transparent); }
.lane-box:hover .lane-art { transform: translateY(-4px) scale(1.03); }
@media (max-width: 560px) { .lane-art { width: 130px; opacity: .85; } }

/* ===== Pass 20: lane cards. A framed window into each map, real buttons, closed lists ===== */
.lane-boxes { grid-template-rows: repeat(7, auto); }
.lane-box { grid-row: span 7; }
.lane-art { position: static; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 28px; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #f8f8fb;
  -webkit-mask-image: none; mask-image: none; transform: none !important; }
.lane-box .lane-go { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--accent-deep); color: #fff; font-weight: 600; transition: background .2s, transform .2s; }
.lane-box .lane-go::after { content: "→"; transition: transform .2s; }
.lane-box:hover .lane-go { background: color-mix(in oklab, var(--accent-deep) 82%, #000); }
.lane-box:hover .lane-go::after { transform: translateX(3px); }
.lane-box ul { columns: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.lane-box li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .lane-box { display: grid; grid-template-rows: none; grid-row: auto; } }
@media (max-width: 560px) { .lane-art { width: 100%; opacity: 1; } .lane-box ul { grid-template-columns: 1fr; } .lane-box li:nth-last-child(2) { border-bottom: 0; } }

/* Lane card windows: the map is bigger than its frame and moves inside it */
.lane-art { position: relative; cursor: crosshair; pointer-events: auto; }
.lane-art svg { position: absolute; left: 0; top: 0; width: 170%; height: 170%; max-width: none; will-change: transform; transition: none; }

/* ===== Pass 22: case studies with real images, films, galleries ===== */
.case-films, .case-gallery { padding-bottom: clamp(48px, 7vw, 88px); }
.case-films h2, .case-gallery h2 { font-size: clamp(1.2rem + 1px, 2vw + 1px, 1.5rem + 1px); font-weight: 400; margin: 0 0 24px; }
.film-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.film-grid a { display: block; text-decoration: none; color: inherit; }
.film-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.film-grid a:hover img { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 19, 31, .14); }
.film-name { display: block; margin-top: 12px; font-weight: 600; }
.film-desc { display: block; color: var(--graphite); font-size: calc(.95rem + 1px); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--mist); }
@media (max-width: 760px) { .film-grid { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: 1fr 1fr; } }
.slide.cover-wide, img.cover { object-fit: cover; }
/* Gallery: masonry, so tall photos, manuals and screenshots show whole */
.gallery-grid { display: block; columns: 3 260px; column-gap: clamp(10px, 1.6vw, 18px); }
.gallery-grid img { aspect-ratio: auto; height: auto; margin: 0 0 clamp(10px, 1.6vw, 18px); break-inside: avoid; }

/* Pass 23: composed screen slides show whole at every width */

/* Pass 23: main case study slider is 16:9 at every width */
.slide.cover-wide { aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .slide.cover-wide { aspect-ratio: 16 / 9; } }

/* Pass 23: the cover tucks into the case header but sits ABOVE its fade, so image tops are never washed out */
.case-cover { position: relative; z-index: 3; }

/* Pass 25: Work index, lead projects big, the rest as a compact filterable grid */
.lead-list, .work-grid { list-style: none; padding: 0; margin: 0; }
.lead-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); margin-top: 48px; }
.lead-card[hidden], .grid-card[hidden] { display: none; }
.lead-main { grid-column: 1 / -1; }
.lead-card a, .grid-card a { display: block; color: inherit; text-decoration: none; }
.lead-card .work-media .cover, .lead-card .work-media .tile { aspect-ratio: 16 / 9; }
.lead-text { display: grid; gap: 8px 32px; margin-top: 18px; }
.lead-main .lead-text { grid-template-columns: 1fr 1.2fr; align-items: start; }
.lead-card h2 { font-size: clamp(1.7rem + 1px, 3.4vw + 1px, 2.8rem + 1px); font-weight: 300; margin: .1em 0 0; }
.lead-main h2 { font-size: clamp(2rem + 1px, 4.4vw + 1px, 3.6rem + 1px); }
.lead-card .work-head, .grid-card .work-head { margin: 0 0 6px; }
.lead-card a:hover .cover, .grid-card a:hover .cover { transform: scale(1.03); }
.more-h { font-size: clamp(1.2rem + 1px, 2vw + 1px, 1.5rem + 1px); font-weight: 400; margin: clamp(72px, 10vw, 120px) 0 24px; padding-top: 24px; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.more-h[hidden] { display: none; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 48px) clamp(16px, 2.4vw, 32px); }
.grid-card .work-media .cover, .grid-card .work-media .tile { aspect-ratio: 16 / 10; }
.grid-card .work-kind { margin: 14px 0 2px; }
.grid-card h3 { font-size: calc(1.35rem + 1px); font-weight: 400; margin: 0 0 4px; }
.grid-card .work-head { color: var(--graphite); font-size: calc(.98rem + 1px); }
.work-empty { margin-top: 48px; color: var(--graphite); }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .lead-list { grid-template-columns: 1fr; } .lead-main .lead-text { grid-template-columns: 1fr; } .work-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; } .grid-card h3 { font-size: calc(1.05rem + 1px); } .grid-card .work-head { font-size: calc(.85rem + 1px); } .grid-card .work-kind { margin-top: 10px; font-size: calc(.75rem + 1px); } .grid-card .tile-name { font-size: calc(1rem + 1px); } }

/* Pass 26: header maps (How we work, About), light grey linework on the dark header */
.head-split:has(.head-map) { grid-template-columns: 1fr 1.05fr; align-items: center; }
.head-map { margin: 0 calc(var(--gutter, 24px) * -0.5) 0 0; color: rgba(236, 234, 248, .55); }
.head-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.head-map .iso-t { fill: rgba(236, 234, 248, .16); }
.head-map .iso-l { fill: rgba(236, 234, 248, .07); }
.head-map .iso-r { fill: rgba(236, 234, 248, .11); }
.head-map .iso-screen, .head-map .iso-note-fill { fill: rgba(236, 234, 248, .22); }
.head-map .iso-person path { stroke: rgba(236, 234, 248, .8); stroke-width: 1.2; }
.head-map .iso-person circle { fill: rgba(236, 234, 248, .2); stroke: rgba(236, 234, 248, .8); stroke-width: 1.2; }
.head-map .iso-acc-fill, .head-map .hm-acc .iso-t, .head-map .hm-acc .iso-l, .head-map .hm-acc .iso-r, .head-map path.hm-acc { fill: rgba(236, 234, 248, .34); }
.head-map .iso-ai { fill: rgba(236, 234, 248, .7); stroke: none; }
.head-map .hm-agent .iso-t { fill: rgba(236, 234, 248, .26); }
.head-map .hm-route { stroke-dasharray: 5 4; stroke-width: 1.6; color: rgba(236, 234, 248, .7); }
.head-map .hm-dash { stroke-dasharray: 2 4; }
.head-map .iso-dots circle { fill: rgba(236, 234, 248, .22); stroke: none; }
.head-map text { font-family: var(--body); stroke: none; }
.head-map .hm-name { font-size: 13px; font-weight: 600; fill: rgba(236, 234, 248, .85); }
.head-map .hm-sub { font-size: 11.5px; fill: rgba(236, 234, 248, .55); }
.model-photo { aspect-ratio: 16 / 9; margin-bottom: 24px; object-position: 60% 50%; }
@media (max-width: 860px) { .head-split:has(.head-map) { grid-template-columns: 1fr; } .head-map { margin: 32px 0 0; } }

/* Pass 26: the pinned home hero keeps clear of the big logo at any window height */
.hero-pinned .hero-pin > .hero { padding: 140px 0 130px; align-items: safe center; }
.hero-pinned .hero-pin > .hero .hero-grid { padding-top: 0; }
.hero-pinned .hero-pin > .hero h1 { font-size: min(clamp(3rem + 1px, 6.2vw + 1px, 5.6rem + 1px), 9.2vh + 1px); }
@media (max-width: 760px) { .hero-pinned .hero-pin > .hero { padding-top: 110px; } }

/* Pass 27: header maps use the Brand/Build schematic labels, in light grey */
.head-map .iso-leader { stroke: rgba(236, 234, 248, .42); stroke-width: .8; }
.head-map .iso-pin { fill: rgba(236, 234, 248, .9); stroke: var(--vio-900); stroke-width: 1.2; }
.head-map .iso-ripple { stroke: rgba(236, 234, 248, .8); }
.head-map svg.pulse .iso-ripple { animation: ripple 2.2s cubic-bezier(.2,.6,.3,1) infinite; }
.head-map svg.pulse .iso-ripple-2 { animation-delay: 1.1s; }
.head-map .iso-name { font-size: 13.5px; font-weight: 600; fill: rgba(236, 234, 248, .88) !important; }
.head-map .iso-sub { font-size: 11.5px; fill: rgba(236, 234, 248, .55) !important; }
@media (prefers-reduced-motion: reduce) { .head-map svg.pulse .iso-ripple { animation: none; } }

/* Pass 29: gaps Ben still needs to fill in his essays */
mark.todo { background: #ffe9a8; color: #6b4a00; padding: 0 .25em; border-radius: 3px; font-size: .9em; }
.post-body blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 3px solid var(--vio); font-size: 1.15em; color: var(--ink); }

/* Pass 31: How the studio is built */
.model-quote { margin: 28px 0; padding-left: 1.1em; border-left: 3px solid var(--vio); }
.model-quote p { font: 300 clamp(1.2rem + 1px, 2vw + 1px, 1.5rem + 1px)/1.35 var(--display); color: var(--ink); margin: 0 0 8px; }
.model-quote cite { font-style: normal; font-size: calc(.9rem + 1px); color: var(--graphite); }
.model-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.values-grid > div:last-child:nth-child(3n+2) { grid-column: span 2; }
@media (max-width: 860px) { .values-grid > div:last-child:nth-child(3n+2) { grid-column: auto; } }

/* Pass 32: no dates on Field Notes; two-column rows */
.post-rows a { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 760px) { .post-rows a { grid-template-columns: 1fr; gap: 6px; } }

/* Pass 35: desktop dropdown panels (phones keep the plain menu) */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-panel { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60; min-width: 300px; padding: 18px; border-radius: 14px; background: #15123a; color: #fff;
  box-shadow: 0 24px 60px rgba(10, 8, 40, .35), 0 0 0 1px rgba(255,255,255,.08) inset; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-item:hover .nav-panel, .nav-item:focus-within .nav-panel, .nav-item.open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-item.closed .nav-panel { opacity: 0 !important; visibility: hidden !important; }
.nav-panel a { border: 0 !important; color: #fff; text-decoration: none; }
.np-secs { display: grid; gap: 4px; min-width: 300px; }
.np-secs a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; }
.np-secs a:hover, .np-secs a:focus-visible { background: rgba(255,255,255,.08); }
.np-name { font-weight: 600; font-size: calc(.95rem + 1px); }
.np-sub { font-weight: 400; font-size: calc(.82rem + 1px); color: rgba(255,255,255,.6); }
.nav-panel-work { display: grid; grid-template-columns: auto 180px; gap: 20px; width: min(860px, 80vw); left: 0; transform: translate(-30%, 8px); }
.nav-item:hover .nav-panel-work, .nav-item:focus-within .nav-panel-work, .nav-item.open .nav-panel-work { transform: translate(-30%, 0); }
.np-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.np-card { display: grid; gap: 4px; padding: 0 !important; }
.np-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 6px; transition: transform .4s ease; }
.np-card:hover img { transform: scale(1.03); }
.np-list { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.np-label { margin: 0 0 6px; font-size: calc(.75rem + 1px); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.np-list a { padding: 5px 0 !important; font-size: calc(.92rem + 1px); color: rgba(255,255,255,.85); }
.np-list a:hover { color: #fff; }
.np-all { margin-top: 8px; font-weight: 600; color: #fff !important; }
section[id] { scroll-margin-top: 96px; }
@media (max-width: 920px) { .nav-item { display: contents; } .nav-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .nav-panel { transition: none; } }
.np-card { align-content: start; gap: 2px; } .np-cards { align-items: start; }

/* Pass 35: shared build-in motion */
.pre { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.6,.2,1) var(--rd, 0ms), transform .8s cubic-bezier(.2,.6,.2,1) var(--rd, 0ms); }
.pre.in { opacity: 1; transform: none; }
/* Hidden until the map scrolls into view, then each piece fades in once. The animation only sets a starting
   opacity and then lets go, so pieces the map keeps hidden on purpose (zoom frames, panels) stay hidden. */
.assemble:not(.built) .bp { opacity: 0; }
.assemble.built .bp { animation: bpIn .55s ease var(--bd, 0ms) backwards; }
@keyframes bpIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pre { opacity: 1 !important; transform: none !important; transition: none !important; } .assemble .bp { animation: none !important; } }

/* Pass 36: home About photo is landscape (the source is 3:2) */
.people-grid { grid-template-columns: 1fr 1fr; }
.people-photo { max-width: 600px; aspect-ratio: 3 / 2; object-position: 45% 30%; }
@media (max-width: 860px) { .people-grid { grid-template-columns: 1fr; } .people-photo { max-width: 100%; } }

/* Pass 36b: show the photo whole, at its own size */
.people-photo { aspect-ratio: auto; height: auto; width: 100%; max-width: 750px; object-fit: contain; }

/* Pass 37: white dropdown panels with art on the left */
.nav-panel { background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(10, 8, 40, .28), 0 0 0 1px rgba(18, 16, 46, .06); }
.nav-panel a { color: var(--ink); }
.np-secs a:hover, .np-secs a:focus-visible { background: color-mix(in oklab, var(--vio) 8%, #fff); }
.np-sub { color: var(--graphite); }
.np-list { border-left-color: var(--rule); }
.np-label { color: var(--graphite); }
.np-list a { color: var(--ink); }
.np-list a:hover { color: var(--vio); }
.np-all { color: var(--vio) !important; }
.nav-panel-wide { display: grid; grid-template-columns: 260px auto; gap: 18px; align-items: center; transform: translate(-40%, 8px); }
.nav-item:hover .nav-panel-wide, .nav-item:focus-within .nav-panel-wide, .nav-item.open .nav-panel-wide { transform: translate(-40%, 0); }
.np-art { display: block; border-radius: 10px; overflow: hidden; background: var(--mist, #f4f4f8); padding: 6px; border: 0 !important; }
.np-art svg { display: block; width: 100%; height: auto; color: #57546e; }
.np-art .lane-crop { aspect-ratio: 4 / 3; height: auto; }
.np-art:hover { background: color-mix(in oklab, var(--vio) 6%, #f4f4f8); }
.np-tl { padding: 14px 12px 10px; }
.np-tl text { font-family: var(--body); }
.mt-cap { font-size: 12px; fill: var(--graphite); }
.mt-label { font-size: 11.5px; font-weight: 600; fill: #fff; }
.mt-brand { fill: var(--brand); } .mt-build { fill: var(--build); }
.mt-tick { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; fill: none; }
.mt-rate { stroke: var(--vio); stroke-width: 3; stroke-linecap: round; fill: none; }

/* Pass 38: art aligns to the top of the links; every link gets a leading arrow */
.nav-panel-wide { align-items: start; }
.np-art { margin-top: 10px; } /* matches the first link's top padding */
.np-secs a { grid-template-columns: 18px 1fr; column-gap: 6px; }
.np-secs a::before { content: "→"; grid-row: 1 / span 2; color: var(--vio); font-weight: 600; line-height: 1.35; transition: transform .2s ease; }
.np-secs a .np-name, .np-secs a .np-sub { grid-column: 2; }
.np-secs a:hover::before, .np-secs a:focus-visible::before { transform: translateX(3px); }
.np-list a:not(.np-all)::before { content: "→"; margin-right: 8px; color: var(--vio); display: inline-block; transition: transform .2s ease; }
.np-list a:not(.np-all):hover::before { transform: translateX(3px); }
.nav-panel-work { align-items: start; }

/* Pass 38b: dividers in the menus */
.nav-panel-wide .np-secs { padding-left: 18px; border-left: 1px solid var(--rule); }
.np-secs { gap: 0; }
.np-secs a + a { box-shadow: 0 -1px 0 var(--rule); border-radius: 0 0 8px 8px; }
.np-secs a:first-child { border-radius: 8px; }
.np-list a:not(.np-all) + a:not(.np-all) { box-shadow: 0 -1px 0 var(--rule); }
.np-list a { padding: 7px 0 !important; }
.np-all { margin-top: 10px; padding-top: 12px !important; box-shadow: 0 -1px 0 var(--rule); }
.np-secs a, .np-secs a + a, .np-secs a:first-child { border-radius: 0; }
.np-secs a:last-child { padding-bottom: 6px; }

/* Pass 39: lane colours in the home hero. Brand drawings coral, Build drawings teal, each with a badge;
   the riding bubble shows the same lane icon. */
.sc-brand { color: color-mix(in oklab, var(--brand) 70%, #fff); }
.sc-build { color: color-mix(in oklab, var(--build) 70%, #fff); }
.sc-badge circle { stroke: none; }
.sc-brand .sc-badge circle { fill: var(--brand); }
.sc-build .sc-badge circle { fill: var(--build); }
.sc-badge path { stroke: #fff; stroke-width: 2.4; fill: none; }
.ride-snip { padding-left: 46px; }
.ride-snip::before { content: ""; position: absolute; left: 12px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--vio) center / 14px 14px no-repeat; }
.ride-snip[data-lane="brand"]::before { background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M0 -10L7 0L0 10L-7 0Z M0 0V6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ride-snip[data-lane="build"]::before { background-color: var(--build); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M-5 -6L-11 0L-5 6 M5 -6L11 0L5 6 M2 -9L-2 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ride-snip[data-lane="brand"] span { color: var(--brand-deep); }
.ride-snip[data-lane="build"] span { color: var(--build-deep); }

/* Home: the add-on note reads as a footnote to the lane cards, and the blueprint is texture with no height of its own. */
.lanes .addon { margin-top: clamp(24px, 3vw, 36px); padding: clamp(20px, 2.4vw, 28px) 0 0; border-top: 1px solid var(--rule); }
.blueprint { padding: clamp(28px, 3vw, 40px) 0 0; margin-bottom: calc(var(--space) * -.9); pointer-events: none; }
.blueprint-svg { width: min(820px, 64vw); margin: 0 auto; }
@media (max-width: 1100px) { .blueprint-svg { width: 80vw; margin: 0 auto; } }
@media (max-width: 760px) { .blueprint { display: none; } }

/* "See the whole map" button: big and centered, on the home AI section and How we work. */
.map-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.btn-xl { min-height: 60px; padding: 16px 36px; font-size: calc(1.15rem + 1px); }
/* On dark sections the primary hover (Violet 700) matched the background, so the button vanished: lighten it
   there instead, and use the light violet focus ring so keyboard focus shows too. */
.field-dark .map-cta .btn-accent:hover, .field-violet .map-cta .btn-accent:hover { background: color-mix(in oklab, var(--vio) 80%, #fff); color: #fff; }
.field-dark .map-cta .btn:focus-visible, .field-violet .map-cta .btn:focus-visible { outline: 2px solid var(--vio-300); outline-offset: 3px; }

/* Home: "Own what you build." stays on one line on desktop (its column is widened; the paragraph keeps its measure). */
@media (min-width: 900px) {
  #ownership > .narrow-c { width: min(1240px, 100% - 2 * var(--gutter)); }
  #ownership h2 { white-space: nowrap; }
}
