/* ==========================================================================
   K. Raghu & Co. — Chartered Accountants
   Off-white ground, plum-black counter, Geist + Geist Mono, scroll-driven chapters.
   ========================================================================== */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/geist-400.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/geist-500.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/geist-600.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/geist-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/geist-mono-500.woff2') format('woff2'); }

:root {
  --bg: #F6F7F8;
  --bg-2: #F3E8EA;
  --ink: #1c1c1c;
  --ink-2: #55554f;
  --faded: #E4CDD2;
  --line: #EDE1E4;
  --line-2: #E4CDD2;
  --dark: #2E0C14;
  --on-dark: #f7f7f4;
  --on-dark-2: rgba(247, 247, 244, 0.55);
  --on-dark-line: rgba(247, 247, 244, 0.14);
  --plum: #8A2C3C;
  --accent: #5E1A28;
  --accent-2: #8A2C3C;
  --accent-soft: #EFE0E3;
  --accent-bright: #8A2C3C;

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 2.8vw, 40px);
  --header-h: 76px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::-webkit-scrollbar { display: none; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading, body.menu-open { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; font-weight: 500; text-transform: uppercase; }
.h-hero { font-size: clamp(50px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.h-page { font-size: clamp(42px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.h-slogan { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 500; text-align: center; text-wrap: balance; }
.h-sec { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.h-chapter { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.p-just { text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.p-lg { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; }
.muted { color: var(--ink-2); }

/* Section header — one system, every section */
.sec-head {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink);
}
.sec-head span { color: var(--ink-2); }
.sec-head span::after { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--line-2); margin-left: 14px; vertical-align: middle; }
.pin-stage > .sec-head { position: absolute; top: 18px; left: 0; right: 0; }
.sec-head.-dark, .sec-head.-dark span { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Text reveal
   -------------------------------------------------------------------------- */
[data-reveal] .w { display: inline-block; white-space: nowrap; }
[data-reveal] .c, [data-reveal] .wd {
  display: inline-block; opacity: 0.001; transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i) * var(--st, 0.008s) + var(--d, 0s));
}
[data-reveal].on .c, [data-reveal].on .wd { opacity: 1; transform: none; }
[data-reveal="block"] { opacity: 0.001; transform: translateY(14px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="block"].on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] .c, [data-reveal] .wd, [data-reveal="block"] { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------------------------
   Brand
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Loader — two-layer curtain
   -------------------------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--dark); color: var(--on-dark); display: grid; place-items: center; transition: transform 0.85s var(--ease-in-out); }
.loader.out { transform: translateY(-100%); }
.loader.gone { display: none; }
.loader-mark { font-weight: 600; font-size: clamp(22px, 3vw, 40px); letter-spacing: 0.18em; text-transform: uppercase; }
.loader-mark .c { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--i) * 0.03s); }
.loader-mark.on .c { opacity: 1; transform: none; }
.loader-sub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 38px); color: var(--on-dark-2); opacity: 0; animation: lblIn 0.5s var(--ease-out) 0.55s forwards; white-space: nowrap; }
.loader-lbl { position: absolute; left: 50%; transform: translateX(-50%); opacity: 0; animation: lblIn 0.5s var(--ease-out) forwards; white-space: nowrap; }
.loader-lbl.-top { top: 20px; animation-delay: 0.35s; }
.loader-lbl.-bot { bottom: 20px; animation-delay: 0.45s; }
@keyframes lblIn { to { opacity: 1; } }
.loader-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 72px); width: 160px; height: 1px; background: var(--on-dark-line); overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: var(--on-dark); transform-origin: left; transform: scaleX(0); animation: barFill 1.2s var(--ease-in-out) 0.3s forwards; }
@keyframes barFill { to { transform: scaleX(1); } }
.loader-count { position: absolute; right: var(--gutter); bottom: 20px; font-size: 12px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .loader-mark .c { opacity: 1; transform: none; transition: none; } .loader-sub, .loader-bar i { animation: none; opacity: 1; transform: translate(-50%, 38px) scaleX(1); } .loader-bar i { transform: scaleX(1); } }

/* Persistent contact button */
.cta-fab { position: fixed; right: 24px; bottom: 24px; z-index: 350; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px -18px rgba(94,26,40,0.6); opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), background 0.3s; will-change: transform; }
body.ready .cta-fab { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
body.ready .cta-fab.-live { transition: opacity 0.5s var(--ease-out), transform 0.25s var(--ease-out), background 0.3s; transition-delay: 0s; }
body.menu-open .cta-fab { opacity: 0; pointer-events: none; }
.cta-fab:hover { background: var(--accent); }
.cta-fab-ring { position: absolute; inset: -3px; border-radius: 999px; border: 1px solid var(--accent); opacity: 0; animation: fabPulse 3.6s var(--ease-out) 1.8s infinite; pointer-events: none; }
@keyframes fabPulse { 0% { opacity: 0.7; transform: scale(1); } 60% { opacity: 0; transform: scale(1.28); } 100% { opacity: 0; transform: scale(1.28); } }
.cta-fab-label { position: relative; overflow: hidden; height: 1.2em; line-height: 1.2; }
.cta-fab-label span { display: block; transition: transform 0.45s var(--ease-out); }
.cta-fab-label span:last-child { position: absolute; left: 0; top: 100%; }
.cta-fab:hover .cta-fab-label span { transform: translateY(-100%); }
.cta-fab-icon { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; overflow: hidden; position: relative; }
.cta-fab-icon svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.cta-fab:hover .cta-fab-icon svg { transform: translate(2px, -2px); }
@media (max-width: 720px) { .cta-fab { right: 16px; bottom: 16px; height: 48px; padding-left: 18px; font-size: 13px; } .cta-fab-icon { width: 34px; height: 34px; } .banner { bottom: 80px; } }
@media (prefers-reduced-motion: reduce) { .cta-fab-ring { animation: none; } }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--header-h); padding: 0 var(--gutter); color: var(--ink); transition: color 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease); }
body.is-loading .header { opacity: 0; transform: translateY(-10px); }
.header.-hide { opacity: 0; transform: translateY(-16px); pointer-events: none; }
body.menu-open .header.-hide { opacity: 1; transform: none; pointer-events: auto; }
.header.-light, body.menu-open .header { color: var(--on-dark); }
.header-right { display: flex; align-items: center; gap: 28px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; background: var(--ink); color: var(--bg); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.menu-btn:hover { background: var(--accent-2); color: #fff; }
.header.-light .menu-btn { background: var(--on-dark); color: var(--dark); }
body.menu-open .menu-btn { background: var(--on-dark); color: var(--dark); }
.menu-btn .lbl { position: relative; }
.menu-btn .lbl span { display: block; transition: opacity 0.3s, transform 0.3s; }
.menu-btn .lbl span:last-child { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); }
body.menu-open .menu-btn .lbl span:first-child { opacity: 0; transform: translateY(-6px); }
body.menu-open .menu-btn .lbl span:last-child { opacity: 1; transform: none; }
.menu-btn .ast { flex: none; width: 34px; height: 34px; border-radius: 999px; aspect-ratio: 1; background: rgba(255,255,255,0.14); display: grid; place-items: center; transition: transform 0.8s var(--ease-in-out); }
.header.-light .menu-btn .ast, body.menu-open .menu-btn .ast { background: rgba(0,0,0,0.08); }
.menu-btn:hover .ast { transform: rotate(90deg); }
body.menu-open .menu-btn .ast { transform: rotate(225deg); }
.menu-btn .ast svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Menu overlay
   -------------------------------------------------------------------------- */
.menu { position: fixed; inset: 0; z-index: 400; background: var(--dark); color: var(--on-dark); clip-path: circle(0% at calc(100% - 60px) 38px); transition: clip-path 0.8s var(--ease-in-out); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: grid; grid-template-rows: 1fr auto; gap: 32px; overflow: auto; }
body.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 38px); }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-content: start; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.menu-links li { border-bottom: 1px solid var(--on-dark-line); }
.menu-links a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: clamp(30px, 4vw, 54px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), padding-left 0.4s var(--ease-out), color 0.3s; }
body.menu-open .menu-links a { opacity: 1; transform: none; transition-delay: calc(0.3s + var(--i) * 0.04s); }
.menu-links a:hover { padding-left: 10px; color: var(--on-dark-2); }
.menu-links a .mono { color: var(--on-dark-2); }
.menu-side { display: grid; gap: 24px; align-content: start; font-size: 14px; color: var(--on-dark-2); opacity: 0; transition: opacity 0.6s var(--ease-out) 0.5s; }
body.menu-open .menu-side { opacity: 1; }
.menu-side .mono { color: var(--on-dark); margin-bottom: 8px; display: block; }
.menu-side a { color: var(--on-dark); border-bottom: 1px solid var(--on-dark-line); }
.menu-side a:hover { border-color: var(--on-dark); }
.menu-side ul { display: grid; gap: 6px; }
.menu-side ul a { border: 0; color: var(--on-dark-2); }
.menu-side ul a:hover { color: var(--on-dark); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--on-dark-2); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em; }
.menu-foot a:hover { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 200px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.pill:hover { background: var(--accent-2); color: var(--on-dark); }
.pill.-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill.-ghost:hover { background: var(--ink); color: var(--bg); }
.pill.-light { background: var(--on-dark); color: var(--dark); }
.pill.-light:hover { background: #fff; color: var(--dark); }
.pill.-lg { height: 46px; padding: 0 24px; font-size: 14px; }
.ulink { position: relative; display: inline-block; font-size: 13.5px; font-weight: 500; padding-bottom: 3px; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.5s var(--ease-out); }
.ulink:hover::after { transform: scaleX(0); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.arrow-link svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { padding-inline: var(--gutter); }
.wrap { max-width: 1360px; margin: 0 auto; }
.pin { position: relative; }
.pin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.section { padding: clamp(70px, 9vw, 130px) var(--gutter); }
@media (max-width: 720px) { .section { padding: 64px var(--gutter); } .section .sec-head { margin-bottom: 32px; } }
.section .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) var(--gutter) 36px; display: grid; gap: 28px; }
@media (max-width: 720px) { .hero { padding: calc(var(--header-h) + 28px) var(--gutter) 28px; gap: 22px; } .loop p { font-size: 20px; } }
@media (min-width: 900px) { .hero { grid-template-columns: 1.25fr 1fr; align-items: end; padding-bottom: 44px; } }
.hero-cta { display: flex; justify-content: flex-end; grid-column: 1 / -1; }
.hero-copy { position: relative; display: grid; gap: 14px; }
@media (min-width: 900px) {
  .hero-title { grid-column: 1; }
  .hero-copy { grid-column: 2; padding-left: 24px; border-left: 1px solid var(--line-2); margin-bottom: 10px; }
}
.loop { display: grid; }
.loop p { grid-area: 1 / 1; margin: 0; color: var(--ink); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -0.025em; font-weight: 400; max-width: 20em; opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.loop p.on { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out) 0.35s, transform 0.5s var(--ease-out) 0.35s; }

.banner { position: fixed; left: 50%; bottom: 20px; z-index: 300; display: flex; align-items: center; gap: 24px; padding: 6px 6px 6px 18px; border-radius: 200px; background: #cfcfc6; color: var(--ink); font-size: 12.5px; white-space: nowrap; box-shadow: 0 10px 40px -20px rgba(0,0,0,0.35); opacity: 0; transform: translate(-50%, 30px); transition: transform 0.6s var(--ease-out), opacity 0.4s; }
body.ready .banner { opacity: 1; transform: translate(-50%, 0); transition-delay: 0.5s; }
.banner.hide, .banner.scrolled { opacity: 0 !important; transform: translate(-50%, 30px) !important; pointer-events: none; transition-delay: 0s !important; transition-duration: 0.3s !important; }
.banner .pill { height: 30px; padding: 0 14px; font-size: 12px; background: #333; }
.banner .x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; opacity: 0.55; margin-left: -12px; }
.banner .x:hover { opacity: 1; }
@media (max-width: 720px) { .banner { display: none; } }

/* --------------------------------------------------------------------------
   Reel: sticky video that expands to full bleed
   -------------------------------------------------------------------------- */
.reel { height: 170vh; height: 170svh; position: relative; --p: 0; }
@media (max-width: 720px) { .reel { height: 130vh; height: 130svh; } }
.reel-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(24px * (1 - var(--p))); }
.reel-frame { position: relative; width: 100%; height: 100%; border-radius: calc(8px * (1 - var(--p))); overflow: hidden; background: var(--dark); transform: scale(calc(0.9 + 0.1 * var(--p))); opacity: calc(0.55 + 0.45 * var(--p)); will-change: transform; }
.reel-frame video, .reel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-frame .cap { position: absolute; left: 24px; bottom: 20px; color: var(--on-dark); opacity: 0.85; }
.reel-frame .cap2 { left: auto; right: 24px; }
@media (max-width: 720px) { .reel-frame .cap2 { display: none; } }

/* --------------------------------------------------------------------------
   Home hero — full-bleed video that settles into a photo grid on scroll
   -------------------------------------------------------------------------- */
@keyframes scrollhint { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Lightship-style header: links left, brand centre, menu right */
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header-left { display: flex; align-items: center; gap: 22px; }
.header .brand { justify-self: center; }
.header-right { justify-self: end; }
.nav { display: flex; gap: 22px; }
.nav a { position: relative; font-size: 13.5px; font-weight: 500; opacity: 0.85; padding-bottom: 2px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { opacity: 1; }
@media (max-width: 960px) { .header { grid-template-columns: 1fr auto; } .header-left, .nav { display: none; } .header .brand { justify-self: start; } .header-right { justify-self: end; } }

/* --------------------------------------------------------------------------
   Glass header capsule (on scroll), hero copy move-out, timeline, chapter cues
   -------------------------------------------------------------------------- */
.header::before { content: ""; position: absolute; left: calc(var(--gutter) - 14px); right: calc(var(--gutter) - 14px); top: 10px; bottom: 10px; border-radius: 999px; background: rgba(247,247,244,0.62); border: 1px solid rgba(28,28,28,0.06); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); opacity: 0; transform: scaleX(0.985); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), background 0.35s; z-index: -1; pointer-events: none; }
.header.-glass::before { opacity: 1; transform: none; }
.header.-glass.-light::before { background: rgba(28,24,25,0.42); border-color: rgba(247,247,244,0.12); }
.header > * { position: relative; }
body.menu-open .header::before { opacity: 0; }


/* how we work: obvious step cues */
.dots { position: relative; }
.dots svg { transform: rotate(var(--rot, 0deg)) scale(var(--sc, 1)); transition: transform 1s var(--ease-in-out); }
.step .stepno { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--plum); }
.step.on .h-chapter, .step.on .p-just { animation: stepIn 0.7s var(--ease-out) both; }
.step.on .p-just { animation-delay: 0.08s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.step-nav li { transition: color 0.4s var(--ease), transform 0.5s var(--ease-out); }
.step-nav li.on { transform: translateX(6px); }

/* timeline (startup journey) — zig-zag nodes with curved connectors */
.tl-sec { position: relative; padding: clamp(60px, 8vw, 110px) var(--gutter); background: var(--bg-2); background-image: radial-gradient(rgba(28,28,28,0.11) 1px, transparent 1.2px); background-size: 28px 28px; border-radius: 12px; margin: 0 var(--gutter); }
.tl-head { max-width: 1000px; margin: 0 auto clamp(36px, 5vw, 64px); display: grid; gap: 14px; }
.tl-head .h-sec { max-width: 20ch; }
.tl-head p { color: var(--ink-2); max-width: 44em; font-size: 16px; }
.tl { --node: 72px; --lane: 176px; list-style: none; padding: 0; margin: 0 auto; max-width: 1140px; display: grid; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr var(--lane) 1fr; gap: 0 clamp(20px, 3.5vw, 48px); align-items: start; padding-bottom: 64px; --p: 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node { grid-column: 2; grid-row: 1; position: relative; width: var(--node); height: var(--node); border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; z-index: 2; transition: background 0.4s var(--ease), transform 0.4s var(--ease-out); }
.tl-item:nth-child(odd) .tl-node { justify-self: end; }
.tl-item:nth-child(even) .tl-node { justify-self: start; }
.tl-node svg { width: 28px; height: 28px; }
.tl-item.is-on .tl-node { background: var(--plum); transform: scale(1.04); }
.tl-pulse { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.tl-item.is-on .tl-pulse { opacity: 1; }
.tl-pulse i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent-bright); opacity: 0; animation: tlPulse 2.8s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.5s); }
@keyframes tlPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.1); opacity: 0; } }
.tl-link { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.tl-link path { fill: none; stroke-linecap: round; }
.tl-link .base { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 5 8; }
.tl-link .prog { stroke: var(--plum); stroke-width: 2; clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0); }
.tl-item:last-child .tl-link { display: none; }
.tl-card { grid-row: 1; align-self: start; background: var(--bg); border-radius: 10px; padding: 10px; display: grid; gap: 12px; max-width: 420px; box-shadow: 0 24px 50px -36px rgba(28,28,28,0.35); opacity: 0.45; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease-out); }
.tl-item.is-on .tl-card { opacity: 1; transform: none; }
.tl-card .txt { padding: 14px 12px 6px; display: grid; gap: 8px; }
.tl-card .txt .mono { color: var(--plum); }
.tl-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.tl-card p { font-size: 14.5px; color: var(--ink-2); }
.tl-card ul { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.tl-card ul li { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.02em; padding: 5px 9px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.tl-card .ph { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.tl-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; justify-self: end; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; justify-self: start; }
@media (max-width: 720px) {
  .tl-sec { margin: 0; border-radius: 0; }
  .tl { --node: 52px; --lane: 52px; }
  .tl-item { grid-template-columns: var(--lane) 1fr; gap: 0 16px; padding-bottom: 28px; }
  .tl-item:nth-child(odd) .tl-node, .tl-item:nth-child(even) .tl-node { grid-column: 1; justify-self: start; }
  .tl-node svg { width: 22px; height: 22px; }
  .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 2; grid-row: 1; justify-self: stretch; max-width: none; }
}
/* --------------------------------------------------------------------------
   Inner page hero — Lightship visual: inset image, spreading title, statement intro
   -------------------------------------------------------------------------- */
.phero { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
.phero-visual { position: absolute; left: 24px; right: 24px; top: calc(var(--header-h) + 8px); bottom: 24px; border-radius: 10px; overflow: hidden; background: var(--dark); }
.phero-visual img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(var(--ps, 1.04)); will-change: transform; filter: saturate(0.85); }
.phero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,16,17,0.5), rgba(20,16,17,0.12) 30%, rgba(20,16,17,0.12) 70%, rgba(20,16,17,0.45)); pointer-events: none; }
.phero-copy { position: absolute; left: 24px; right: 24px; top: calc(var(--header-h) + 8px); bottom: 24px; display: grid; grid-template-rows: auto 1fr; padding: 22px 0 0; color: var(--on-dark); pointer-events: none; }
.phero-title { align-self: center; text-align: center; padding: 0 clamp(16px, 3vw, 40px); font-size: clamp(42px, 7.2vw, 118px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; color: var(--on-dark); text-shadow: 0 2px 30px rgba(0,0,0,0.25); text-wrap: balance; --out: 0; }
.phero-title .wd { display: inline-block; opacity: 0.001; transform: translateY(18px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--k) * 0.05s); }
.phero-title.on .wd { opacity: 1; transform: none; }
.phero-title.live .wd { opacity: calc(1 - var(--out) * 1.5); transform: translate(calc((var(--k) - (var(--n) - 1) / 2) / max(1, (var(--n) - 1) / 2) * var(--out) * 22vw), calc(var(--out) * -48px)); transition: transform 0.08s linear, opacity 0.08s linear; }
.phero-title.-long { font-size: clamp(30px, 4.4vw, 68px); max-width: 22ch; justify-self: center; letter-spacing: -0.035em; }
.phero-intro { padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(24px, 4vw, 48px); }
.phero-intro p { max-width: 1100px; margin: 0 auto; font-size: clamp(26px, 3.3vw, 48px); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.phero-intro p .wd, .phero-intro p.on .wd { opacity: 1; transform: none; color: var(--faded); transition: color 0.35s var(--ease); transition-delay: 0s; }
.phero-intro p.on .wd { color: var(--ink); transition-delay: calc(var(--i) * var(--st, 0.03s)); }
@media (max-width: 720px) {
  .phero { height: 82svh; min-height: 520px; }
  .phero-visual, .phero-copy { left: 12px; right: 12px; top: calc(var(--header-h) + 2px); bottom: 12px; }
  .phero-title { font-size: clamp(34px, 10.5vw, 52px); }
  .phero-intro p { font-size: 24px; }
}

/* --------------------------------------------------------------------------
   Slogans
   -------------------------------------------------------------------------- */
.slogan { padding: clamp(80px, 11vw, 150px) var(--gutter); display: grid; justify-items: center; gap: 28px; }
@media (max-width: 720px) { .slogan { padding: 64px var(--gutter); gap: 22px; } }
.slogan .h-slogan { max-width: 22ch; }
.fill .wd { display: inline-block; color: var(--faded); transition: color 0.3s var(--ease); }
.fill .wd.on { color: var(--accent); }
.slogan-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* --------------------------------------------------------------------------
   Manifesto (pinned, 4 steps)
   -------------------------------------------------------------------------- */
.manifesto { height: 400vh; }
.manifesto .pin-stage { display: grid; align-items: center; padding: 0 var(--gutter); }
.mani-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; width: 100%; max-width: 1360px; margin: 0 auto; }
@media (min-width: 900px) { .mani-grid { grid-template-columns: 1fr 1fr 260px; gap: 40px; } }
.dots { width: min(56vh, 92vw, 560px); aspect-ratio: 1; justify-self: center; }
.dots svg { width: 100%; height: 100%; overflow: visible; }
.dots circle { fill: var(--accent-2); }
.mani-copy { display: grid; gap: 18px; max-width: 540px; justify-self: center; }
.mani-copy .p-just { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.steps { display: grid; }
.step { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; opacity: 0; pointer-events: none; }
.step.on { opacity: 1; pointer-events: auto; }
.step-nav { display: grid; gap: 16px; align-content: center; }
.step-nav li { position: relative; padding-left: 24px; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: var(--faded); transition: color 0.4s var(--ease); }
.step-nav li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); transform: translateY(-50%) scale(0); transition: transform 0.4s var(--ease-out); }
.step-nav li.on { color: var(--ink); }
.step-nav li.on::before { transform: translateY(-50%) scale(1); }
.mani-foot { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--ink-2); }
.mani-progress { display: none; }
@media (max-width: 899px) {
  /* pinned chapter on phones: progress, graphic, copy at the foot */
  .manifesto .pin-stage { display: grid; grid-template-rows: auto 1fr auto; padding: 60px var(--gutter) 36px; align-items: stretch; }
  .mani-progress { display: flex; justify-content: center; gap: 8px; }
  .mani-progress i { display: block; width: 8px; height: 3px; border-radius: 2px; background: var(--faded); transition: width 0.5s var(--ease-out), background 0.4s; }
  .mani-progress i.on { width: 34px; background: var(--accent-2); }
  .mani-grid { display: contents; }
  .dots { width: min(74vw, 38vh); align-self: center; justify-self: center; }
  .mani-copy { max-width: none; justify-self: stretch; min-height: 32vh; align-content: start; gap: 12px; }
  .h-chapter { font-size: 24px; }
  .mani-copy .p-just { font-size: 15.5px; }
  .manifesto .step-nav { display: none; }
}

/* --------------------------------------------------------------------------
   Strip (marquee)
   -------------------------------------------------------------------------- */
.strip { padding: 48px 0 64px; display: grid; gap: 32px; overflow: hidden; }
.strip-track { display: flex; width: max-content; gap: 12px; animation: marquee 40s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track ul { display: flex; gap: 12px; flex: none; padding-right: 12px; }
.strip-track li { width: 210px; height: 92px; border-radius: 6px; background: var(--bg-2); display: grid; place-items: center; text-align: center; padding: 0 20px; }
.strip-track li b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.strip-track li small { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }
.people-strip .strip-track li { width: 150px; height: auto; padding: 0; background: none; display: grid; gap: 8px; text-align: left; }
.people-strip .strip-track li .ph { width: 150px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.people-strip .strip-track li img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(0.85); }
.people-strip .strip-track li b { font-size: 13px; text-align: left; }
.people-strip .strip-track li small { margin: 0; text-align: left; }
.people-strip .strip-track { animation-duration: 60s; }

/* --------------------------------------------------------------------------
   Practices (pinned carousel)
   -------------------------------------------------------------------------- */
.practices { height: 600vh; }
@media (max-width: 720px) { .practices { height: 420vh; } }
.practices .pin-stage { display: grid; align-items: center; padding: 0 var(--gutter); }
.practices .spin { position: absolute; left: -12vw; top: 50%; width: 62vh; height: 62vh; margin-top: -31vh; color: var(--accent-2); opacity: 0.16; pointer-events: none; transform: rotate(var(--rot, 0deg)); will-change: transform; }
@media (max-width: 899px) { .practices .spin { width: 80vw; height: 80vw; margin-top: -40vw; left: -30vw; } }
.prac-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; width: 100%; max-width: 1360px; margin: 0 auto; }
@media (min-width: 900px) { .prac-grid { grid-template-columns: 290px 1fr 1fr; gap: 40px; } }
.prac-media { position: relative; justify-self: center; width: min(380px, 80vw); aspect-ratio: 3 / 4; }
.prac-media .frame { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.prac-media .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.6s var(--ease), transform 1.1s var(--ease-out); filter: saturate(0.85); }
.prac-media .frame img.on { opacity: 1; transform: scale(1); }
.prac-media .ticks { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.prac-media .ticks i { display: block; width: 1px; height: 6px; background: var(--faded); transition: height 0.5s var(--ease-out), background 0.4s; }
.prac-media .ticks i.on { height: 34px; background: var(--accent-2); }
.prac-copy { display: grid; gap: 18px; max-width: 480px; }
.prac-copy .p-just { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.prac-copy .ulink { justify-self: start; }
@media (max-width: 899px) {
  .practices .pin-stage { padding-top: 64px; align-items: start; }
  .prac-media { width: min(220px, 60vw); }
  .prac-copy { max-width: none; }
  .practices .step-nav { display: none; }
}

/* --------------------------------------------------------------------------
   Wheel
   -------------------------------------------------------------------------- */
.wheel { height: 300vh; }
@media (max-width: 720px) { .wheel { height: 220vh; } .wheel-mask { height: 60vh; } }
.wheel .pin-stage { display: grid; place-items: center; }
.wheel-mask { position: relative; height: 70vh; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.wheel-list { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(var(--y, 0)); will-change: transform; }
.wheel-list li { height: 72px; display: flex; align-items: center; justify-content: center; font-size: clamp(26px, 3.3vw, 46px); font-weight: 500; letter-spacing: -0.035em; color: var(--ink); opacity: 0.1; transform: scale(0.92); transition: opacity 0.3s, transform 0.3s; white-space: nowrap; }
.wheel-list li.near { opacity: 0.3; transform: scale(0.96); }
.wheel-list li.on { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Sectors (pinned split)
   -------------------------------------------------------------------------- */
.sectors { height: 400vh; }
@media (max-width: 720px) { .sectors { height: 320vh; } }
.sectors .pin-stage { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .sectors .pin-stage { grid-template-columns: 1fr 1fr; } }
.sec-media { position: relative; overflow: hidden; background: var(--dark); }
.sec-media .sm { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.sec-media .sm.on { opacity: 1; }
.sec-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.sec-media .sm.on img { transform: scale(1); }
.sec-media .bar { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 1px; height: 180px; background: rgba(255,255,255,0.25); }
.sec-media .bar i { position: absolute; left: 0; right: 0; top: 0; height: 25%; background: #fff; transform: translateY(var(--y, 0)); transition: transform 0.5s var(--ease-out); }
.sec-copy { position: relative; display: grid; grid-template-rows: auto 1fr; padding: 18px var(--gutter) 40px 40px; min-height: 0; }
.sec-copy > .sec-head { justify-content: flex-start; }
.sec-steps { display: grid; align-content: center; }
.sec-copy .kicker { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 16px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.sec-copy .kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); }
.sec-title { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; text-align: left; max-width: 520px; }
.sec-body { display: grid; gap: 24px; align-content: start; max-width: 520px; margin-top: 40px; }
.sec-body h4 { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.sec-body p { color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.55; }
.sec-step { grid-area: 1 / 1; display: grid; align-content: start; opacity: 0; pointer-events: none; min-height: 0; }
.sec-step.on { opacity: 1; pointer-events: auto; }
@media (max-width: 899px) {
  .sectors .pin-stage { grid-template-rows: 38vh 1fr; }
  .sec-copy { padding: 16px var(--gutter) 24px; }
  .sec-copy .kicker { margin: 22px 0 12px; }
  .sec-body { margin-top: 18px; }
  .sec-title { font-size: 26px; text-align: left; text-align-last: left; }
  .sec-body { gap: 12px; }
  .sec-body p { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   Rows (label / copy ledger)
   -------------------------------------------------------------------------- */
.rows { display: grid; max-width: 1000px; margin: 0 auto; }
.row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); position: relative; }
@media (min-width: 720px) { .row { grid-template-columns: 1fr 1.4fr; gap: 40px; } }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.row h3 small { display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.row p { font-size: clamp(15.5px, 1.2vw, 17.5px); color: var(--ink-2); line-height: 1.55; }
.row .arrow-link { justify-self: start; margin-top: 8px; }
.row.-link:hover h3 { color: var(--plum); }
.row.-link a.cover { position: absolute; inset: 0; }
.rows-head { max-width: 1000px; margin: 0 auto clamp(28px, 4vw, 48px); display: grid; gap: 14px; }
.rows-head .h-slogan { text-align: left; text-align-last: left; max-width: 20ch; }

/* --------------------------------------------------------------------------
   People
   -------------------------------------------------------------------------- */
.people-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 720px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person { display: grid; gap: 12px; align-content: start; }
.person .ph { aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(0.85); transform: scale(1.02); transition: transform 1s var(--ease-out); }
.person:hover .ph img { transform: scale(1.05); }
.person h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.person .role { color: var(--ink-2); margin-top: 2px; }
.person p { font-size: 15px; color: var(--ink-2); }
.person ul { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.people-more { display: flex; justify-content: center; margin-top: 40px; }
.flip-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 720px) { .flip-grid { grid-template-columns: repeat(3, 1fr); } }
.flip { perspective: 1600px; aspect-ratio: 3 / 4; cursor: pointer; outline: none; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s var(--ease-in-out); }
.flip:hover .flip-inner, .flip:focus-visible .flip-inner, .flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: 8px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { background: var(--bg-2); }
.flip-front .ph { position: absolute; inset: 0; }
.flip-front .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(0.85); }
.flip-front .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; color: var(--on-dark); background: linear-gradient(to top, rgba(28,28,28,0.78), rgba(28,28,28,0)); display: grid; gap: 4px; }
.flip-front h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.flip-front .role { font-size: 13.5px; color: var(--on-dark-2); }
.flip-back { background: var(--accent); color: var(--on-dark); transform: rotateY(180deg); padding: 24px; display: grid; gap: 16px; align-content: start; overflow: auto; }
.flip-back .mono { color: var(--on-dark-2); display: block; margin-bottom: 8px; }
.flip-back h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.flip-back p { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); }
.flip-back ul { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--on-dark-line); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-grid .person h3 { font-size: 15px; }

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-hero { padding: calc(var(--header-h) + 48px) var(--gutter) 40px; display: grid; gap: 28px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 900px) { .page-hero { grid-template-columns: 1.35fr 1fr; align-items: end; } }
.page-hero .sec-head { grid-column: 1 / -1; justify-content: flex-start; }
.page-hero .intro { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 32em; padding-left: 20px; border-left: 1px solid var(--line-2); margin-bottom: 6px; }
.band { padding: 24px var(--gutter) 0; }
.band .frame { max-width: 1360px; margin: 0 auto; aspect-ratio: 21 / 9; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.band .frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.band .frame.on img { transform: scale(1); }
@media (max-width: 720px) { .band .frame { aspect-ratio: 4 / 3; } }
.prose { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); }
.prose h2 { font-size: 24px; letter-spacing: -0.025em; font-weight: 500; color: var(--ink); margin-top: 20px; }
.prose h3 { font-size: 17px; font-weight: 500; color: var(--ink); margin-top: 8px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .callout { border-left: 2px solid var(--plum); padding-left: 16px; color: var(--ink); }
.cols-2 { display: grid; grid-template-columns: 1fr; gap: 24px 40px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 720px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.cols-2 .h-sec { grid-column: 1 / -1; max-width: 18ch; }
.cols-2 p { color: var(--ink-2); font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.55; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 20px; }
@media (max-width: 719px) { .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
.stat b { font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat span { font-size: 14.5px; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .g { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-2); display: block; }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1s var(--ease-out); }
.gallery .g:hover img { transform: scale(1.04); }
.gallery .g .tag { position: absolute; left: 12px; bottom: 12px; color: var(--on-dark); background: rgba(28,28,28,0.55); padding: 6px 10px; border-radius: 200px; backdrop-filter: blur(6px); }
.gallery .g.-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(247,247,244,0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3l8 5-8 5z' fill='%231c1c1c'/%3E%3C/svg%3E") center/18px no-repeat; }
.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(20,16,17,0.92); display: grid; place-items: center; padding: var(--gutter); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox video { width: min(1100px, 100%); background: #000; border-radius: 6px; }
.lightbox .x { position: absolute; top: 24px; right: 24px; color: var(--on-dark); }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 1360px; margin: 0 auto; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 12px 12px 22px; border-radius: 8px; background: var(--bg-2); transition: background 0.3s; }
.service-card:hover { background: var(--accent-soft); }
.service-card .ph { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.service-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1s var(--ease-out); }
.service-card:hover .ph img { transform: scale(1.04); }
.service-card .txt { display: grid; gap: 8px; padding: 0 8px; align-content: start; }
.service-card .txt .mono { color: var(--ink-2); }
.service-card h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.service-card p { font-size: 15px; color: var(--ink-2); }
.service-card .arrow-link { margin-top: 6px; }
.post-list { display: grid; gap: 12px; max-width: 1360px; margin: 0 auto; }
.post { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 12px; border-radius: 8px; background: var(--bg-2); transition: background 0.3s; }
@media (min-width: 720px) { .post { grid-template-columns: 320px 1fr; align-items: center; } }
.post:hover { background: var(--bg-2); }
.post .ph { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.post .txt { display: grid; gap: 10px; padding: 8px 12px; }
.post .txt .mono { color: var(--ink-2); display: flex; gap: 14px; }
.post h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.03em; }
.post p { font-size: 15.5px; color: var(--ink-2); }
.form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; font: inherit; font-size: 16px; padding: 10px 0; border-radius: 0; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form .note { font-size: 12.5px; color: var(--ink-2); }
.offices { display: grid; }
.office { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.office address, .office p { color: var(--ink-2); font-size: 16px; }
.office .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* --------------------------------------------------------------------------
   Orbit hero — elliptical image halo around centred copy
   -------------------------------------------------------------------------- */
.orbit-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; margin-bottom: clamp(40px, 7vw, 100px); }
.orbit { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.orbit.is-dragging { cursor: grabbing; }
.orbit-item { cursor: none; }
.orbit.is-dragging .orbit-item { pointer-events: none; }
.orbit-item { position: absolute; left: 0; top: 0; border-radius: 50%; background: transparent; will-change: transform, width, height; }
.orbit-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.orbit-item .tag { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; color: var(--ink); font-size: 11px; opacity: var(--tag, 0); transition: opacity 0.35s var(--ease); pointer-events: none; }
.orbit-item .tag b { display: block; font-family: var(--sans); font-weight: 500; font-size: 13.5px; letter-spacing: -0.01em; text-transform: none; margin-top: 2px; text-align: center; }
.orbit-item { overflow: visible; }
.orbit-item .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--bg-2); box-shadow: 0 20px 50px -30px rgba(28,28,28,0.5); filter: blur(var(--blur, 0)) saturate(var(--sat, 1)); transition: transform 0.4s var(--ease-out); }
.orbit-item:hover .disc { transform: scale(1.06); }
.orbit-item:hover .tag { opacity: 1; }
.orbit-copy { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 40; width: min(680px, 90vw); text-align: center; display: grid; gap: 18px; justify-items: center; pointer-events: none; }
.orbit-copy .actions > * { pointer-events: auto; }
.orbit-hero { user-select: none; -webkit-user-select: none; }
.orbit-copy h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.orbit-copy p { font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2); max-width: 30em; }
.orbit-copy .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.orbit-hero .sec-head { position: absolute; top: calc(var(--header-h) + 14px); left: 0; right: 0; z-index: 41; }
@media (max-width: 720px) { .orbit-hero { min-height: 640px; margin-bottom: 24px; } .orbit-copy { width: 70vw; gap: 12px; } .orbit-copy h1 { font-size: clamp(30px, 9vw, 40px); } .orbit-copy p { font-size: 14px; max-width: 24em; } .orbit-copy .actions { gap: 8px; } .orbit-copy .pill.-lg { height: 42px; padding: 0 18px; font-size: 13px; } .orbit-item .tag { font-size: 9px; top: calc(100% + 6px); } .orbit-item .tag b { font-size: 11px; } .orbit-hero .sec-head { top: calc(var(--header-h) + 6px); } }

/* Drag cursor for the orbit */
.drag-cursor { position: fixed; left: 0; top: 0; z-index: 600; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; opacity: 0; transform: translate(var(--x, -100px), var(--y, -100px)) scale(0.6); transition: opacity 0.25s var(--ease), transform 0.15s var(--ease-out); will-change: transform; }
.drag-cursor.on { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
.drag-cursor.down { transform: translate(var(--x), var(--y)) scale(0.82); background: var(--plum); color: #fff; }
.drag-cursor svg { width: 8px; height: 10px; }
@media (hover: none), (max-width: 720px) { .drag-cursor { display: none; } .orbit { cursor: grab; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--dark); color: var(--on-dark); padding: 64px var(--gutter) 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } }
.footer h2 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; }
.foot-form { display: grid; gap: 14px; margin-top: 40px; max-width: 420px; }
.foot-form .lbl { font-size: 13px; color: var(--on-dark-2); }
.foot-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.foot-form input[type="text"], .foot-form input[type="email"] { height: 38px; border-radius: 200px; border: 0; padding: 0 14px; background: rgba(247,247,244,0.08); color: var(--on-dark); font: inherit; font-size: 13px; width: 100%; }
.foot-form input::placeholder { color: rgba(247,247,244,0.35); }
.foot-form input:focus { outline: 1px solid rgba(247,247,244,0.5); }
.foot-form .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--on-dark-2); }
.foot-form .bar label { display: inline-flex; align-items: center; gap: 8px; }
.foot-form .bar a { color: var(--on-dark); border-bottom: 1px solid var(--on-dark-line); }
.foot-form .pill { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(247,247,244,0.25); height: 32px; font-size: 12px; }
.foot-form .pill:hover { background: var(--on-dark); color: var(--dark); }
.foot-col { display: grid; gap: 8px; align-content: start; font-size: 13.5px; }
.foot-col .hd { font-size: 16px; font-weight: 500; margin-bottom: 30px; }
.foot-col a { color: var(--on-dark-2); transition: color 0.3s; width: fit-content; }
.foot-col a:hover { color: var(--on-dark); }
.foot-col .addr { color: var(--on-dark-2); line-height: 1.5; margin-top: 22px; }
.foot-col .addr b { display: block; color: var(--on-dark); font-weight: 500; }
.foot-col .addr + .addr { margin-top: 10px; }
.footer-word { margin-top: 64px; padding-bottom: 28px; font-size: clamp(34px, 8.6vw, 132px); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; white-space: nowrap; text-align: center; color: rgba(247,247,244,0.18); }

/* --------------------------------------------------------------------------
   v48: header tint over video, side-by-side hero copy, video heroes,
   Industries (stacking cards, case studies, video band)
   -------------------------------------------------------------------------- */
.header.-light { color: #fff; }
.header.-light .nav a { opacity: 1; }
.header::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 190px; background: linear-gradient(to bottom, rgba(8,8,10,0.62), rgba(8,8,10,0.32) 45%, rgba(8,8,10,0)); opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; z-index: -2; }
.header.-light:not(.-glass)::after { opacity: 1; }
body.menu-open .header::after { opacity: 0; }
.header.-glass.-light::before { background: rgba(8,8,10,0.46); border-color: rgba(247,247,244,0.14); }


.phero-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(var(--ps, 1.04)); will-change: transform; filter: saturate(0.85); }
@media (prefers-reduced-motion: reduce) { video[data-autoplay] { display: none; } }

.stack { padding: clamp(24px, 4vw, 64px) var(--gutter) clamp(70px, 9vw, 130px); }
.stack-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 1440px; margin: 0 auto; }
.stack-side { position: sticky; top: calc(var(--header-h) + 12vh); display: grid; gap: 18px; justify-items: start; }
.stack-side .mono { color: var(--ink-2); }
.stack-side p { font-size: clamp(15.5px, 1.2vw, 18px); color: var(--ink-2); line-height: 1.5; max-width: 26em; }
.stack-side .big { font-size: clamp(22px, 2vw, 30px); color: var(--ink); letter-spacing: -0.03em; line-height: 1.18; font-weight: 500; max-width: 16em; }
.stack-side.-r { justify-items: end; text-align: right; }
.stack-count { display: flex; align-items: baseline; gap: 10px; font-size: clamp(64px, 7vw, 124px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.stack-count span { display: inline-block; min-width: 1.2em; text-align: right; transition: opacity 0.2s, transform 0.3s var(--ease-out); }
.stack-count span.swap { opacity: 0; transform: translateY(10px); }
.stack-count small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-2); }
.stack-name { font-size: clamp(16px, 1.3vw, 20px); color: var(--ink); max-width: 14em; }
.stack-list { display: grid; gap: 28px; list-style: none; padding: 0; margin: 0; }
.stack-card { position: sticky; top: calc(var(--header-h) + 8vh); aspect-ratio: 592 / 644; max-height: calc(100svh - var(--header-h) - 12vh); border-radius: 10px; overflow: hidden; background: var(--dark); color: var(--on-dark); transform-origin: top center; transform: scale(calc(1 - var(--p, 0) * 0.15)) translateY(calc(var(--p, 0) * -5%)); will-change: transform; }
.stack-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(calc(1 - var(--p, 0) * 0.45)); }
.stack-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,0.72), rgba(8,8,10,0.18) 55%, rgba(8,8,10,0.2)); }
.stack-card .in { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 3vw, 32px); }
.stack-card .in .mono { color: rgba(247,247,244,0.8); }
.stack-card .in > div { align-self: end; padding-bottom: 12px; }
.stack-card h3 { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.035em; line-height: 1.04; font-weight: 500; max-width: 13ch; text-wrap: balance; }
.stack-card .name { font-size: clamp(15px, 1.25vw, 19px); margin-top: 12px; color: rgba(247,247,244,0.85); }
@media (max-width: 960px) {
  .stack-grid { grid-template-columns: 1fr; gap: 28px; }
  .stack-side { position: static; }
  .stack-side.-r { display: none; }
  .stack-card { top: calc(var(--header-h) + 10px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 40px); }
  .stack-list { gap: 20px; }
}

.rows-head .h-sec { max-width: 16ch; }
.rows-head p { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 40em; }
.cases { max-width: 1400px; margin: 0 auto; display: grid; }
.case { padding: clamp(44px, 6vw, 88px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case-meta { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 16px; }
.case-meta .mono { color: var(--ink-2); }
.case-meta h2 { font-size: clamp(30px, 3.3vw, 52px); letter-spacing: -0.04em; line-height: 1.02; font-weight: 500; text-wrap: balance; }
.case-meta .where { font-size: 15px; color: var(--ink-2); }
.case-meta .ph { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; margin-top: 8px; }
.case-meta .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.case-body { display: grid; gap: clamp(24px, 3vw, 36px); align-content: start; }
.case-body .lead p { font-size: clamp(18px, 1.55vw, 25px); line-height: 1.32; letter-spacing: -0.02em; color: var(--ink); }
.case-body .lead p + p { margin-top: 14px; color: var(--ink-2); }
.case-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; list-style: none; padding: 0; margin: 0; }
.case-steps li { background: var(--bg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.case-steps .mono { color: var(--accent-2); }
.case-steps h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; margin: 0; }
.case-steps p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.case-result { background: var(--accent-soft); color: #2E0C14; border-radius: 8px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; }
.case-result .mono { color: var(--accent-2); }
.case-result h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.15; font-weight: 500; text-wrap: balance; }
.case-result p { font-size: 16.5px; line-height: 1.5; color: #4a2630; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.02em; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 1400px; margin: 0 auto; }
.more-card { background: var(--bg-2); border-radius: 8px; padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; transition: background 0.35s var(--ease); }
.more-card:hover { background: var(--accent-soft); }
.more-card .mono { color: var(--ink-2); }
.more-card h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 500; max-width: 18ch; }
.more-card p { font-size: 16px; color: var(--ink-2); line-height: 1.5; max-width: 36em; }
.more-card .tags { margin-top: 6px; }
.vband { position: relative; margin: 0 24px; border-radius: 10px; overflow: hidden; background: var(--dark); color: var(--on-dark); min-height: 84vh; display: grid; align-content: center; padding: clamp(70px, 9vw, 130px) clamp(24px, 5vw, 80px); }
.vband video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.vband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,10,0.6), rgba(8,8,10,0.38) 50%, rgba(8,8,10,0.74)); z-index: 1; }
.vband-in { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; width: 100%; }
.vband-in .sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.vband h2 { font-size: clamp(34px, 4.8vw, 76px); letter-spacing: -0.045em; line-height: 0.98; font-weight: 500; max-width: 13ch; margin-bottom: clamp(40px, 6vw, 80px); text-wrap: balance; }
.vband-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid rgba(247,247,244,0.22); padding-top: 28px; }
.vband-steps > div { display: grid; gap: 10px; align-content: start; }
.vband-steps .mono { color: var(--accent-soft); }
.vband-steps h3 { font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -0.025em; font-weight: 500; line-height: 1.15; }
.vband-steps p { font-size: 15.5px; color: rgba(247,247,244,0.76); line-height: 1.5; max-width: 22em; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 28px; }
  .case-meta { position: static; }
  .case-meta .ph { aspect-ratio: 16 / 10; }
  .case-steps { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .vband { margin: 0 12px; min-height: 0; }
  .vband-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .vband-steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   v49: second palette pass, colour blocks on the home page, denser header tint,
   industry names lead the stacking cards
   -------------------------------------------------------------------------- */
.nav a { font-size: 14px; }
.header.-light .nav a, .header.-light .brand b, .header.-light .brand small { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.header.-light .brand small { color: rgba(255,255,255,0.78); }
.header::after { height: 150px; background: linear-gradient(to bottom, rgba(8,8,10,0.9) 0%, rgba(8,8,10,0.62) 42%, rgba(8,8,10,0.22) 78%, rgba(8,8,10,0)); }
.header.-glass.-light::after { opacity: 0.55; }
.header.-glass.-light::before { background: rgba(8,8,10,0.6); border-color: rgba(247,247,244,0.16); }

.pill:not(.-ghost):not(.-light) { background: var(--accent); color: #fff; }
.pill:not(.-ghost):not(.-light):hover { background: var(--accent-2); }
.pill.-ghost:hover { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.menu-btn { background: var(--accent); color: #fff; }


.slogan.-tint { margin: 0 24px; border-radius: 10px; background: var(--bg-2); }
.slogan.-tint .fill .wd { color: var(--faded); }
.slogan.-tint .fill .wd.on { color: var(--accent); }
.slogan.-pine { margin: 0 24px; border-radius: 10px; background: var(--accent); color: #fff; }
.slogan.-pine .h-slogan { color: #fff; }
.section.-pine { margin: 0 24px; border-radius: 10px; background: var(--accent); color: #fff; }
.section.-pine .h-slogan, .section.-pine .row h3 { color: #fff; }
.section.-pine .row { border-color: rgba(255,255,255,0.16); }
.section.-pine .row p { color: rgba(255,255,255,0.74); }
.section.-pine .pill.-ghost { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); color: #fff; }
.section.-pine .pill.-ghost:hover { background: #fff; color: var(--accent); }
.section.-pine .sec-head, .section.-pine .sec-head span { color: rgba(255,255,255,0.7); }
.section.-pine .sec-head span::after { background: rgba(255,255,255,0.3); }
@media (max-width: 720px) { .slogan.-tint, .slogan.-pine, .section.-pine { margin: 0 12px; } }
.sec-copy .kicker { color: var(--accent-2); }
.step .stepno { color: var(--accent-2); }
.row.-link:hover h3 { color: var(--accent-2); }
.mani-copy .h-chapter em, .prac-copy .ulink { color: var(--accent-2); }
.footer .footer-word { color: var(--accent); }

.stack-card h3.name { font-size: clamp(32px, 3.7vw, 56px); letter-spacing: -0.04em; line-height: 0.98; font-weight: 500; max-width: 10ch; text-wrap: balance; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.3); }
.stack-card .line { font-size: clamp(15px, 1.3vw, 19px); margin-top: 14px; color: rgba(247,247,244,0.86); max-width: 24em; line-height: 1.35; }
.stack-card::before { background: linear-gradient(to top, rgba(8,8,10,0.82), rgba(8,8,10,0.3) 50%, rgba(8,8,10,0.2)); }
.stack-card .in .mono:first-child { color: rgba(247,247,244,0.85); }
.stack-count span { color: var(--accent); }

/* v51: sector videos, card copy at the top, header light state on load */
.sec-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.sec-media .sm.on video { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .sec-media video { display: none; } }
.stack-card .in { grid-template-rows: auto auto 1fr; }
.stack-card .in > div { align-self: start; padding: 14px 0 0; }
.stack-card .in > .mono:last-child { align-self: end; }
.stack-card::before { background: linear-gradient(to bottom, rgba(8,8,10,0.86), rgba(8,8,10,0.58) 42%, rgba(8,8,10,0.22) 72%, rgba(8,8,10,0.3)); }

/* --------------------------------------------------------------------------
   v52: wordmark lockup, Lightship-model home hero
   -------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; color: inherit; }
.brand b { font-weight: 600; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: baseline; }
.brand b span { font-weight: 400; font-size: 0.92em; margin: 0 0.32em; opacity: 0.6; letter-spacing: 0; }
.brand small { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; line-height: 1.35; text-transform: uppercase; color: var(--ink-2); padding-left: 11px; border-left: 1px solid currentColor; white-space: nowrap; }
.brand small { border-color: rgba(28,28,28,0.25); }
.header.-light .brand small, body.menu-open .brand small { color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.35); }
.header .brand { justify-self: center; }
.header.-glass .brand b { font-size: 15px; }
@media (max-width: 960px) { .header .brand { justify-self: start; } }
@media (max-width: 520px) {
  .brand { gap: 8px; }
  .brand b, .header.-glass .brand b { font-size: 12.5px; letter-spacing: 0.05em; }
  .brand small { font-size: 6.5px; letter-spacing: 0.12em; padding-left: 8px; }
}
@media (max-width: 360px) { .brand small { display: none; } }

.hh { height: 300vh; height: 300svh; position: relative; }
.hh-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.hh-grid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 8.5vw; pointer-events: none; }
.hh-cols { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 10px; width: 100%; max-width: 1400px; margin: 0; aspect-ratio: 1190 / 765; max-height: calc(100% - 100px); }
.hh-col { display: flex; flex-direction: column; row-gap: 10px; min-width: 0; }
.hh-col:nth-child(1) { justify-content: flex-start; align-items: flex-end; }
.hh-col:nth-child(2) { justify-content: center; align-items: center; }
.hh-col:nth-child(3) { justify-content: flex-end; align-items: flex-start; }
.hh-img { position: relative; width: 100%; aspect-ratio: 5 / 3; border-radius: 8px; overflow: hidden; background: var(--bg-2); transform: translate3d(calc((1 - var(--ip, 0)) * var(--dir, 1) * (100% + 30vw)), calc((1 - var(--ip, 0)) * 100%), 0); will-change: transform; }
.hh-grid { visibility: hidden; }
.hh.-open .hh-grid { visibility: visible; }
.hh-col:nth-child(1) .hh-img { --dir: -1; }
.hh-col:nth-child(3) .hh-img { --dir: 1; }
.hh-img.-small { aspect-ratio: 4 / 3; width: 74%; }
.hh-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.hh-slot { width: 100%; height: auto; aspect-ratio: 7 / 10; border-radius: 12px; }
.hh-mask { --hh-inset: 8px; --hh-r: 8px; position: absolute; inset: 0; clip-path: inset(var(--hh-inset) round var(--hh-r)); background: var(--dark); z-index: 2; will-change: clip-path; }
.hh-mask video, .hh-mask > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh-mask::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,16,17,0.62), rgba(20,16,17,0.18) 26%, rgba(20,16,17,0) 45%, rgba(20,16,17,0) 62%, rgba(20,16,17,0.5)); pointer-events: none; }
.hh-copy { position: absolute; inset: 0; z-index: 3; color: var(--on-dark); display: grid; grid-template-rows: 1fr auto 1fr; padding: calc(var(--header-h) + 8px) clamp(24px, 3vw, 48px) clamp(20px, 3vw, 36px); opacity: var(--ui, 1); }
.hh-mid { grid-row: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.hh-title { display: grid; margin: 0; font-size: clamp(40px, 5.6vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; color: var(--on-dark); text-shadow: 0 2px 24px rgba(0,0,0,0.25); max-width: 11ch; }
.hh-title .ln { display: block; }
.hh-mid .loop { border-left: 1px solid rgba(247,247,244,0.3); padding-left: clamp(22px, 2.6vw, 44px); }
.hh-mid .loop p { color: rgba(247,247,244,0.94); font-size: clamp(22px, 2.35vw, 37px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 400; max-width: 17em; text-align: left; margin: 0; }
.hh-bottom { grid-row: 3; align-self: end; position: relative; display: flex; justify-content: flex-end; align-items: flex-end; gap: 32px; padding-top: 20px; }
.hh-bottom .scroll { display: inline-flex; align-items: center; gap: 10px; color: rgba(247,247,244,0.8); white-space: nowrap; }
.hh-bottom .scroll i { display: block; width: 1px; height: 28px; background: rgba(247,247,244,0.4); position: relative; overflow: hidden; }
.hh-bottom .scroll i::after { content: ""; position: absolute; inset: 0; background: var(--on-dark); transform: translateY(-100%); animation: scrollhint 2s var(--ease-in-out) infinite; }
.hh-end { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: var(--ink-2); opacity: 0; transition: opacity 0.4s; }
.hh-end.on { opacity: 1; }
@media (max-width: 899px) {
  .hh { height: 260vh; height: 260svh; }
  .hh-mid { grid-template-columns: 1fr; gap: 18px; }
  .hh-title { font-size: clamp(34px, 9.6vw, 52px); max-width: none; }
  .hh-mid .loop { border-left: 0; padding-left: 0; padding-top: 4px; }
  .hh-mid .loop p { font-size: 19px; max-width: 22em; }
  .hh-grid { padding: 0 var(--gutter); justify-content: flex-start; }
  .hh-cols { width: calc(100% + 54vw); max-width: none; margin: 0 0 0 -27vw; column-gap: 10px; aspect-ratio: 1190 / 765; max-height: none; }
  .hh-col { row-gap: 10px; }
  .hh-col:nth-child(1) { align-items: flex-end; }
  .hh-col:nth-child(3) { align-items: flex-start; }
  .hh-col:nth-child(1) .hh-img, .hh-col:nth-child(3) .hh-img, .hh-col:nth-child(1) .hh-img.-small, .hh-col:nth-child(3) .hh-img.-small { display: block; width: 74%; margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; }
  .hh-slot { width: 100%; height: auto; aspect-ratio: 7 / 10; }
  .hh-copy { padding: calc(var(--header-h) + 8px) 18px 20px; }
  .hh-bottom { padding-top: 14px; }
  .hh-bottom .scroll { display: none; }
}

/* --------------------------------------------------------------------------
   v60: Six practices as expanding columns
   -------------------------------------------------------------------------- */
.pcols { display: flex; gap: 6px; height: clamp(460px, 64vh, 640px); max-width: 1360px; margin: 0 auto; container-type: inline-size; }
.pc { position: relative; flex: 1 1 0; min-width: 0; border-radius: 8px; background: var(--bg-2); color: var(--ink); overflow: hidden; transition: flex 0.8s var(--ease-in-out), background 0.45s var(--ease), color 0.3s var(--ease); outline: none; }
.pc:hover { background: #EADAE0; }
.pc.on { flex: 3.4 1 0; background: var(--accent); color: #fff; }
.pc-closed { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; padding: 22px 0; opacity: 1; transition: opacity 0.3s var(--ease); }
.pc-closed .mono { color: var(--ink-2); }
.pc-closed .pc-v { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(16px, 1.4vw, 21px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.pc-closed .pc-ex { opacity: 0.6; }
.pc.on .pc-closed { opacity: 0; pointer-events: none; }
.pc-open { position: absolute; left: 0; top: 0; bottom: 0; width: min(540px, 58vw); width: calc((100cqw - 36px) * 3.4 / 9.4); padding: clamp(20px, 2.4vw, 32px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; gap: 14px; opacity: 0; transform: translateX(14px); transition: opacity 0.35s var(--ease), transform 0.55s var(--ease-out); }
.pc.on .pc-open { opacity: 1; transform: none; transition-delay: 0.28s; }
.pc-open .mono { color: rgba(255,255,255,0.7); }
.pc-img { min-height: 0; height: 100%; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,0.08); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transform: scale(1.03); transition: transform 1.2s var(--ease-out); }
.pc.on .pc-img img { transform: scale(1); }
.pc-open h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.pc-open p { font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,0.78); max-width: 34em; }
.pc-open .arrow-link { color: #fff; }
.pc:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-2); }
@media (max-width: 899px) {
  .pcols { flex-direction: column; height: auto; gap: 6px; }
  .pc { flex: none; max-height: 60px; transition: max-height 0.7s var(--ease-in-out), background 0.45s var(--ease), color 0.3s var(--ease); }
  .pc.on { flex: none; max-height: 900px; }
  .pc-closed { position: relative; inset: auto; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 18px; }
  .pc-closed .pc-v { writing-mode: horizontal-tb; transform: none; font-size: 17px; }
  .pc-closed .pc-ex { margin-left: auto; }
  .pc.on .pc-closed { opacity: 1; pointer-events: auto; }
  .pc.on .pc-closed .mono { color: rgba(255,255,255,0.7); }
  .pc.on .pc-closed .pc-ex { opacity: 0; }
  .pc-open { position: relative; inset: auto; width: auto; padding: 0 18px 20px; grid-template-rows: auto auto auto auto; gap: 12px; }
  .pc-open h3 { display: none; }
  .pc-img { height: auto; aspect-ratio: 16 / 10; }
}

/* v62: services stacking cards on the home page */
.stack-list > li:not(.stack-card) { list-style: none; display: contents; }
a.stack-card { display: block; color: var(--on-dark); }
.stack-card .in .mono:last-child { display: inline-flex; align-items: center; gap: 8px; color: rgba(247,247,244,0.85); }
.stack-card .in .mono:last-child svg { width: 12px; height: 12px; }
.stack-card .line { max-width: 30em; }

/* v66: legacy logo, recoloured (ink on light, white on dark) */
.brand { display: block; line-height: 0; gap: 0; }
.brand img { height: 30px; width: auto; display: block; transition: height 0.3s var(--ease); }
.brand .lg.-white { display: none; }
.header.-light .brand .lg.-ink, body.menu-open .brand .lg.-ink { display: none; }
.header.-light .brand .lg.-white, body.menu-open .brand .lg.-white { display: block; }
.header.-glass .brand img { height: 26px; }
@media (max-width: 520px) { .brand img, .header.-glass .brand img { height: 22px; } }
.loader-mark.-logo img { height: clamp(44px, 6.4vw, 80px); width: auto; display: block; opacity: 0; transform: translateY(14px); animation: logoIn 0.8s var(--ease-out) 0.15s forwards; }
@keyframes logoIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .loader-mark.-logo img { animation: none; opacity: 1; transform: none; } }
.loader-mark.-logo { transform: translateY(-14px); }
.loader-mark.-logo ~ .loader-sub { transform: translate(-50%, 66px); }
.loader-mark.-logo ~ .loader-bar { transform: translate(-50%, 100px); }
@media (prefers-reduced-motion: reduce) { .loader-mark.-logo ~ .loader-sub { transform: translate(-50%, 66px) scaleX(1); } }
/* v68: menu icon disc keeps its circle */
.menu-btn .lbl { flex: none; }
/* v72: full-bleed hero at rest on phones */
@media (max-width: 899px) { .hh-mask { --hh-inset: 0px; --hh-r: 0px; } }

/* purple palette: deep tone carries the large blocks, bright tone stays on buttons and small accents */
/* purple: deep tone carries the large blocks, bright tone stays on buttons and small accents */
.pill:not(.-ghost):not(.-light) { background: var(--accent-2); color: #fff; }
.pill:not(.-ghost):not(.-light):hover { background: var(--accent); }
.menu-btn { background: var(--accent-2); color: #fff; }
.menu-btn:hover { background: var(--accent); }
.cta-fab { background: var(--accent-2); }
.cta-fab-ring { border-color: var(--accent-2); }
.cta-fab-icon { color: var(--accent-2); }
.stack-count span { color: var(--accent-2); }
.section.-pine .row h3 { color: #fff; }
.slogan.-tint { background: var(--bg-2); }
.slogan.-tint .fill .wd.on { color: var(--accent-2); }
.pill.-ghost:hover { background: var(--bg-2); color: var(--accent-2); }

/* --------------------------------------------------------------------------
   v84: service page sections (steps, tiles, tabs, statements), connecting-the-dots map
   -------------------------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; list-style: none; padding: 0; margin: 0; max-width: 1400px; margin-inline: auto; }
.steps-grid li { background: var(--bg); padding: 24px 22px 28px; display: grid; gap: 10px; align-content: start; }
.steps-grid .mono { color: var(--accent-2); }
.steps-grid h4 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.025em; margin: 0; }
.steps-grid p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.more-grid.-three { grid-template-columns: repeat(3, 1fr); }
.more-card.-link { color: inherit; }
.more-card.-link:hover h3 { color: var(--accent-2); }
.more-card .arrow-link { margin-top: 4px; }
.rows-head.-center { text-align: center; justify-items: center; }
.rows-head.-center .h-slogan { max-width: 18ch; }
.rows-head.-center p { max-width: 44em; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.statement { max-width: 1000px; margin: 0 auto; display: grid; gap: 22px; justify-items: start; }
.statement .h-slogan { text-align: left; max-width: 18ch; }
.statement p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 40em; }
.statement-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.statement-list li { font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; letter-spacing: -0.02em; padding: 12px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.tabs { max-width: 1400px; margin: 0 auto; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.tab-btn { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s; }
.tab-btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.tab-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tabs-panel { display: none; }
.tabs-panel.on { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: start; animation: tabIn 0.5s var(--ease-out) both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabs-panel > div { display: grid; gap: 16px; }
.tabs-panel .h-sec { max-width: 16ch; }
.tabs-panel p { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); line-height: 1.5; max-width: 36em; }
.tabs-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.tabs-list li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.tabs-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.connect .rows-head { margin-bottom: clamp(36px, 5vw, 64px); }
.dots-map { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(40px, 9vw, 160px); max-width: 1120px; margin: 0 auto; padding: 10px 0; }
.dots-map.on { opacity: 1; transform: none; }
.dm-col { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.dm-col li { justify-self: end; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; letter-spacing: -0.01em; opacity: 0; transform: translateX(-10px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--k, 0) * 0.08s); }
.dm-col.-out li { justify-self: start; transform: translateX(10px); transition-delay: calc(0.6s + var(--k, 0) * 0.08s); }
.dots-map.on .dm-col li { opacity: 1; transform: none; }
.dm-core { position: relative; z-index: 1; width: clamp(150px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.18em; text-transform: uppercase; box-shadow: 0 24px 60px -30px rgba(94,26,40,0.6); }
.dm-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dm-lines path { fill: none; stroke: var(--accent-2); stroke-width: 1.5; stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.1s var(--ease-out); }
.dots-map.on .dm-lines path { stroke-dashoffset: 0; }
@media (max-width: 900px) {
  .more-grid.-three { grid-template-columns: 1fr; }
  .tabs-panel.on { grid-template-columns: 1fr; }
  .tabs-list { grid-template-columns: 1fr; }
  .tabs-list li:nth-last-child(-n+2) { border-bottom: 0; } .tabs-list li:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .dots-map { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
  .dm-col { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .dm-col li, .dm-col.-out li { justify-self: auto; padding: 10px 14px; font-size: 14px; transform: translateY(8px); }
  .dm-core { width: 140px; }
}

/* --------------------------------------------------------------------------
   v85: Connecting the dots as a plain centred block; CFO advisory page
   -------------------------------------------------------------------------- */


.cfo-band { margin: 0 24px; border-radius: 10px; background: var(--accent); color: #fff; padding: clamp(70px, 9vw, 130px) clamp(24px, 5vw, 80px); display: grid; gap: 22px; justify-items: center; text-align: center; }
.cfo-band .mono { color: rgba(255,255,255,0.7); }
.cfo-band .h-slogan { color: #fff; max-width: 16ch; }
.cfo-band .h-slogan em { font-style: normal; color: var(--accent-soft); }
.cfo-band p { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 40em; }
@media (max-width: 900px) {
  .cfo-band { margin: 0 12px; }
}

/* --------------------------------------------------------------------------
   v88: Connecting the dots as a pinned chapter; CFO advisory page
   -------------------------------------------------------------------------- */
.connect-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 899px) {
}


.qa { height: 450vh; height: 450svh; }
.qa .pin-stage { display: grid; align-items: center; padding: 0 var(--gutter); }
.qa-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; width: 100%; max-width: 1240px; margin: 0 auto; }
@media (min-width: 900px) { .qa-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); } }
.qa .step-nav li { font-size: clamp(20px, 1.9vw, 30px); letter-spacing: -0.03em; }
.qa-copy { display: grid; gap: 18px; max-width: 560px; }
.qa-copy .p-just { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.qa-copy .tags { margin-top: 4px; }
@media (max-width: 899px) {
  .qa { height: 320vh; height: 320svh; }
  .qa .pin-stage { grid-template-rows: auto auto; align-content: start; row-gap: 20px; padding-top: calc(var(--header-h) + 36px); padding-bottom: 24px; align-items: start; }
  .qa .pin-stage > .sec-head { position: static; }
  .qa-grid { gap: 22px; }
  .qa .step-nav { display: grid; gap: 8px; }
  .qa .step-nav li { font-size: 16px; line-height: 1.3; padding-left: 18px; color: var(--ink-2); opacity: 0.6; letter-spacing: -0.015em; }
  .qa .step-nav li.on { color: var(--ink); opacity: 1; transform: none; }
  .qa .step-nav li::before { width: 6px; height: 6px; }
  .qa .mani-progress { display: none; }
  .qa-copy { min-height: 0; gap: 12px; }
  .qa-copy .h-chapter { font-size: 24px; }
  .qa-copy .p-just { font-size: 15px; }
}


/* v94: clickable step navs, linked work list */
.step-nav li { cursor: pointer; }
.step-nav li:not(.on):hover { color: var(--ink-2); }
.wheel-list li a { color: inherit; text-decoration: none; display: inline-block; padding: 0 12px; }
.wheel-list li.on a { position: relative; }
.wheel-list li.on a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -4px; height: 2px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.wheel-list li.on a:hover::after { transform: scaleX(1); }
/* v94: phone Who we serve fits the longer copy in the pinned stage */
@media (max-width: 899px) {
  .sectors .pin-stage { grid-template-rows: 30svh minmax(0, 1fr); }
  .sec-copy { padding: 12px var(--gutter) 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sec-copy::-webkit-scrollbar { display: none; }
  .sec-copy .kicker { margin: 14px 0 8px; font-size: 14px; }
  .sec-title { font-size: 24px; line-height: 1.08; }
  .sec-body { margin-top: 12px; gap: 10px; }
  .sec-body h4 { font-size: 16px; margin-bottom: 4px; }
  .sec-body p { font-size: 14px; line-height: 1.5; }
}

/* v95: placeholder portrait tile */
.ph.-ph-empty { display: grid; place-items: center; background: var(--faded); color: var(--accent); }
.ph.-ph-empty span { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.03em; }

/* v102: section leads, statement call to action, services index extra line */
.cols-2.-lead { margin-bottom: clamp(28px, 4vw, 48px); }
.statement-cta { display: flex; justify-content: center; margin-top: 8px; }
.pc-more { max-width: 1360px; margin: 22px auto 0; color: var(--ink-2); font-size: 15px; }

/* v103: Zoho contact form embed */
.zoho-form { max-width: 620px; min-height: 940px; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.zoho-form iframe { display: block; width: 100% !important; }

/* v104: Zoho forms on careers and in the footer */
.zoho-form.-foot { max-width: 420px; min-height: 0; margin-top: 12px; background: transparent; padding: 0; border-radius: 0; }
.foot-form .lbl { display: block; }
/* v108: footer form wider, less space above and below */
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.9fr 1fr 1fr 1fr; } }
.foot-form { margin-top: 18px; max-width: 600px; }
.zoho-form.-foot { max-width: 600px; margin-top: 2px; }
.footer-word { margin-top: 24px; }
/* v109: cancel the Zoho theme's 60px padding around the footer form on desktops, where the column holds the full-width form */
@media (min-width: 1200px) {
  .footer-grid { grid-template-columns: minmax(600px, 1.6fr) 1fr 1fr 1fr; }
  .zoho-form.-foot { overflow: hidden; margin-top: 0; max-width: 600px; }
  .zoho-form.-foot iframe { width: 720px !important; margin: -50px 0 0 -60px; }
}

/* v110: firm page editorial blocks, centred statement, hero tag line */
.editorial { max-width: 880px; margin: 0 auto; padding: clamp(10px, 3vw, 40px) 0; display: grid; gap: clamp(22px, 3vw, 36px); justify-items: center; text-align: center; }
.editorial .h-slogan { max-width: 16ch; font-size: clamp(38px, 5.2vw, 76px); }
.editorial p { font-size: clamp(18px, 1.7vw, 25px); line-height: 1.42; color: var(--ink-2); max-width: 30em; text-wrap: balance; }
.editorial .kick { font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.statement.-center { justify-items: center; text-align: center; }
.statement.-center .h-slogan { text-align: center; max-width: 22ch; }
.statement.-center .statement-list { justify-content: center; }
.statement .connect-actions { justify-content: center; margin-top: 8px; }
.phero-tag { margin-top: 18px; color: var(--on-dark-2); letter-spacing: 0.14em; }
.person p { max-width: 32em; }

/* v112: loader on phones: bar driven by script alongside the counter, subtitle wraps, counter clear of the toolbar */
.loader-bar { height: 2px; width: min(160px, 56vw); will-change: transform; }
.loader-bar i { animation: none; transform: scaleX(0); will-change: transform; }
.loader-sub { white-space: normal; text-align: center; width: min(86vw, 520px); line-height: 1.6; }
.loader-count { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .loader-bar i { transform: scaleX(0); } }
/* v113: stacking cards stay readable on bright images */
.stack-card img { filter: saturate(0.8) brightness(calc(0.8 - var(--p, 0) * 0.42)); }
.stack-card::before { background: linear-gradient(to bottom, rgba(8,8,10,0.94), rgba(8,8,10,0.86) 40%, rgba(8,8,10,0.56) 62%, rgba(8,8,10,0.24) 82%, rgba(8,8,10,0.32)); }
.stack-card .line { color: rgba(247,247,244,0.94); text-shadow: 0 1px 14px rgba(0,0,0,0.4); }
.stack-card .in .mono { text-shadow: 0 1px 10px rgba(0,0,0,0.4); }

/* v114: phone service cards: the open panel no longer repeats the number and name shown in its header row */
@media (max-width: 899px) { .pc-open > .mono:first-child { display: none; } .pc-open { gap: 14px; padding-top: 2px; } }

/* v116: left-aligned copy everywhere, single-column section leads, page jump buttons, firm page rows */
.p-just { text-align: left; text-align-last: auto; hyphens: manual; -webkit-hyphens: manual; }
.cols-2.-lead { grid-template-columns: 1fr; }
.cols-2.-lead p { max-width: 46em; }
.cols-2 .lead-line { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.025em; color: var(--ink); align-self: start; }
.jump-wrap { padding: 0 var(--gutter); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1000px; margin: 0 auto; }
.jump .tab-btn { display: inline-flex; align-items: center; text-decoration: none; }
.jump-wrap + .section { padding-top: clamp(48px, 6vw, 90px); }
@media (max-width: 720px) { .jump .tab-btn { height: 38px; padding: 0 14px; font-size: 13px; } }

/* v117: firm page copy in a single column */
.cols-2.-one { grid-template-columns: 1fr; gap: 18px; }
.cols-2.-one p { max-width: 46em; }
/* v119: paragraphs under section headings run the full content width, no half-width column */
.cols-2 { grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .cols-2 { grid-template-columns: 1fr; } }
.cols-2 p, .cols-2.-lead p, .cols-2.-one p, .rows-head p, .statement p, .tl-head p { max-width: 58em; }
.cols-2 .h-sec { max-width: 22ch; }

/* v120: page jump buttons centred */
.jump { justify-content: center; }

/* v121: case tiles with a photo */
.more-card.-img { padding: 0; overflow: hidden; }
.more-card.-img .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--faded); }
.more-card.-img .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transform: scale(1.02); transition: transform 1s var(--ease-out); }
.more-card.-img:hover .ph img { transform: scale(1.06); }
.more-card.-img .body { padding: clamp(20px, 2.2vw, 28px); display: grid; gap: 12px; align-content: start; }
/* v122: statement headings sized like other section headings; statement chips sized like the site's pills */
.statement:not(.-center) .h-slogan { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -0.035em; max-width: 24ch; }
.statement-list { gap: 8px; }
.statement-list li { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; font-size: 13.5px; letter-spacing: -0.01em; }
/* v125: tile headings and copy fill the tile width */
.more-card h3 { max-width: none; }
.more-card p { max-width: none; }

/* v126: section headings run the full content width like the copy beneath them */
.cols-2 .h-sec { max-width: none; }

/* v127: resources as a bookshelf, paper forms and portal windows */
.shelf-wrap { max-width: 1100px; margin: 0 auto; }
.shelf { position: relative; display: flex; align-items: flex-end; gap: 10px; height: clamp(300px, 30vw, 380px); padding: 0 28px 20px; overflow-x: auto; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; border-radius: 3px; background: linear-gradient(var(--faded), var(--line-2)); box-shadow: 0 14px 28px -14px rgba(46,12,20,0.45); }
.book { position: relative; flex: 1 0 auto; width: clamp(64px, 7vw, 92px); height: var(--h, 100%); border-radius: 4px 7px 7px 4px; display: flex; align-items: flex-end; justify-content: center; padding: 16px 0 20px; text-decoration: none; color: #fff; background: var(--accent); box-shadow: inset 7px 0 0 rgba(0,0,0,0.18), inset -3px 0 0 rgba(255,255,255,0.14), 0 10px 18px -14px rgba(46,12,20,0.6); transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); z-index: 1; }
.book::before { content: ""; position: absolute; left: 12px; right: 8px; top: 40px; height: 1px; background: rgba(255,255,255,0.35); }
.book::after { content: ""; position: absolute; left: 12px; right: 8px; bottom: 14px; height: 1px; background: rgba(255,255,255,0.35); }
.book.-b { background: var(--dark); }
.book.-c { background: var(--accent-2); }
.book.-d { background: var(--faded); color: var(--dark); box-shadow: inset 7px 0 0 rgba(46,12,20,0.12), inset -3px 0 0 rgba(255,255,255,0.5), 0 10px 18px -14px rgba(46,12,20,0.5); }
.book.-d::before, .book.-d::after { background: rgba(46,12,20,0.25); }
.book.-e { background: #7A2334; }
.book small { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.book .t { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(12.5px, 1.05vw, 14.5px); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; line-height: 1; }
.book:hover { transform: translateY(-12px) rotate(-1.5deg); box-shadow: inset 7px 0 0 rgba(0,0,0,0.18), inset -3px 0 0 rgba(255,255,255,0.14), 0 26px 30px -18px rgba(46,12,20,0.7); }
.shelf-note { text-align: center; margin-top: 18px; color: var(--ink-2); }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.doc { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--line-2); border-radius: 4px; color: inherit; text-decoration: none; box-shadow: 0 16px 28px -22px rgba(46,12,20,0.4); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); overflow: hidden; }
.doc::before { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 26px 26px 0; border-color: transparent var(--bg-2) transparent transparent; }
.doc::after { content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(225deg, var(--bg) 50%, var(--faded) 50%); }
.doc .mono { color: var(--accent-2); }
.doc h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.doc p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.doc .arrow-link { margin-top: 6px; }
.doc:hover { transform: translateY(-4px); box-shadow: 0 24px 34px -22px rgba(46,12,20,0.5); }
.doc:hover h3 { color: var(--accent-2); }
.portals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; }
.portal { display: grid; grid-template-rows: auto 1fr; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg); color: inherit; text-decoration: none; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s; }
.portal .bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.portal .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--faded); }
.portal .bar b { margin-left: 8px; font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal .scr { display: grid; gap: 14px; align-content: space-between; padding: 22px 18px 18px; min-height: 130px; }
.portal h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.portal:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: 0 22px 30px -22px rgba(46,12,20,0.45); }
.portal:hover .bar i:first-child { background: var(--accent-2); }
@media (max-width: 899px) { .docs { grid-template-columns: repeat(2, 1fr); } .portals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } .shelf { height: 280px; padding: 0 16px 18px; gap: 8px; } .book { width: 58px; } }
.docs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } .book small { display: none; } .book::before { top: 16px; } .book .t { font-size: 12px; } }

/* v128: the shelf plank rides on an inner track, so it runs under every book when the shelf scrolls sideways */
.shelf { padding: 0; display: block; }
.shelf::after { display: none; }
.shelf-track { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 100%; min-width: max-content; padding: 0 28px 20px; }
.shelf-track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; border-radius: 3px; background: linear-gradient(var(--faded), var(--line-2)); box-shadow: 0 14px 28px -14px rgba(46,12,20,0.45); }
@media (max-width: 600px) { .shelf-track { padding: 0 16px 18px; gap: 8px; } }
/* v129: portal windows never grow past their column; the address truncates instead */
.portals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) { .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.portal { min-width: 0; }
.portal .bar { min-width: 0; }
.portal .bar b { flex: 1 1 0; min-width: 0; }
.portal .scr, .portal h3 { min-width: 0; overflow-wrap: anywhere; }
/* v130: header capsule concentric with the menu button (5px all round); nav links inset from the capsule edge */
.header::before { left: calc(var(--gutter) - 5px); right: calc(var(--gutter) - 5px); top: 10px; bottom: 10px; }
.header-left { padding-left: 14px; }
@media (max-width: 960px) { .header-left { padding-left: 0; } }

/* v131: hero action buttons */
.phero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.phero-actions .pill { height: 44px; padding: 0 22px; font-size: 14px; }
.phero-actions .pill.-light { background: rgba(255,255,255,0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.phero-actions .pill.-light:hover { background: #fff; color: var(--dark); }
/* v131b: hero actions and tag line sit centred at the foot of the hero and stay clickable */
.phero-copy { grid-template-rows: auto 1fr auto; }
.phero-actions { justify-content: center; align-self: end; margin: 0 0 clamp(26px, 4vw, 44px); pointer-events: auto; }
.phero-tag { text-align: center; align-self: end; margin: 0 0 clamp(26px, 4vw, 44px); }

/* v132: the hero video shows only once it is playing; the cover-fitted still sits beneath it, so no letterboxed poster on phones */
.hh-mask video { opacity: 0; background: transparent; transition: opacity 0.6s var(--ease); }
.hh-mask video.playing { opacity: 1; }
/* v133: hero media covers its frame without object-fit (which some engines paint letterboxed under transforms) */
.phero-visual img { width: auto; height: auto; min-width: 100%; min-height: 100%; max-width: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + var(--py, 0px))) scale(var(--ps, 1.04)); }
.hh-mask video, .hh-mask > img { inset: auto; width: auto; height: auto; min-width: 100%; min-height: 100%; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* v134: logo inset from the capsule edge on phones, matching the menu button on the right */
@media (max-width: 960px) { .header .brand { padding-left: 22px; } }

/* v137: statement headings fill the row */
.statement .h-slogan, .statement:not(.-center) .h-slogan { max-width: none; }
/* v138: statement sections: heading in the left column, copy and chips in the right */
@media (min-width: 720px) {
  .statement:not(.-center) { max-width: 1200px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 18px; align-items: start; }
  .statement:not(.-center) > .h-slogan { grid-column: 1; grid-row: 1 / span 6; }
  .statement:not(.-center) > :not(.h-slogan) { grid-column: 2; }
  .statement:not(.-center) .statement-list { margin-top: 2px; }
}

/* v141: careers roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1400px; margin: 0 auto; }
.role-card { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 34px); border-radius: 8px; background: var(--bg-2); color: inherit; text-decoration: none; transition: background 0.35s var(--ease), transform 0.4s var(--ease-out); }
.role-card .mono { color: var(--accent-2); }
.role-card h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 500; }
.role-card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.role-card .arrow-link { margin-top: 6px; }
.role-card:hover { background: var(--accent-soft); transform: translateY(-3px); }
.role-card:hover h3 { color: var(--accent-2); }
.role-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 1000px; margin: 36px auto 0; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.role-facts > div { background: var(--bg); padding: 18px 20px; display: grid; gap: 6px; }
.role-facts .mono { color: var(--ink-2); }
.role-facts b { font-size: 16px; font-weight: 500; }
@media (max-width: 899px) { .roles { grid-template-columns: 1fr; } .role-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v142: one content width for every section, so all blocks share the same left edge */
:root { --content: 1200px; }
.wrap-c, .wrap, .cols-2, .rows, .rows-head, .statement, .statement:not(.-center), .tl-head, .tl-sec, .stat-grid, .role-facts, .jump, .docs, .portals, .shelf-wrap, .more-grid, .roles, .cases, .people-grid, .flip-grid, .team-grid, .service-grid, .steps-grid, .pcols, .pc-more, .tabs, .gallery, .post-list, .page-hero, .band .frame, .cols-2.-lead, .editorial { max-width: var(--content); margin-left: auto; margin-right: auto; }
.role-facts { margin-top: 36px; }
.rows-head { margin-bottom: clamp(28px, 4vw, 48px); }
.tl-head { margin-bottom: clamp(36px, 5vw, 64px); }
.pc-more { margin-top: 22px; }
.phero-intro p { max-width: var(--content); }
.zoho-form { margin-left: 0; }
.page-hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 24px; gap: 22px; }
.page-hero .h-page { max-width: 18ch; }
.phero-actions.-ink { justify-content: flex-start; margin: 8px 0 0; padding: 0; }
.phero-actions.-ink .pill.-ghost { color: var(--ink); }
.wrap-c { padding: 0 var(--gutter); }
.section .wrap-c { padding: 0; }
/* v142b: text hero single column, aligned to the same content edge as the sections */
.page-hero, .wrap-c:not(.section .wrap-c) { max-width: calc(var(--content) + 2 * var(--gutter)); }
@media (min-width: 900px) { .page-hero { grid-template-columns: 1fr; align-items: start; } }
.page-hero .intro { max-width: 58em; padding-left: 0; border-left: 0; }

/* v145: social icons in the header, menu and footer; footer logo instead of the wordmark */
.header-right { gap: 14px; }
.socials { display: flex; align-items: center; gap: 6px; }
.soc { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; opacity: 0.85; transition: background 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.4s var(--ease-out); }
.soc svg { width: 16px; height: 16px; }
.soc:hover { opacity: 1; background: rgba(46,12,20,0.08); transform: translateY(-1px); }
.header.-light .soc:hover, body.menu-open .soc:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 1100px) { .header .socials { display: none; } }
.footer-logo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 28px 0 32px; border-top: 1px solid var(--on-dark-line); }
.footer-logo img { height: clamp(34px, 4vw, 52px); width: auto; }
.socials.-foot .soc { color: var(--on-dark-2); }
.socials.-foot .soc:hover { color: var(--on-dark); background: rgba(255,255,255,0.1); }

/* v147: footer socials beside the logo, clear of the contact button; page forms without the Zoho theme padding */
.footer-logo { justify-content: flex-start; gap: 36px; }
@media (min-width: 720px) {
  .zoho-form:not(.-foot) { overflow: hidden; border-radius: 8px; }
  .zoho-form:not(.-foot) iframe { width: calc(100% + 120px) !important; max-width: none; margin: -50px 0 0 -60px; }
}

/* v148: insights grid with sort and topic filter; feature card; tables in posts */
.post.-feature { grid-template-columns: 1fr; }
@media (min-width: 900px) { .post.-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; } .post.-feature .txt { padding: 24px 32px; } .post.-feature h3 { font-size: clamp(26px, 2.6vw, 38px); } }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post.-card { grid-template-columns: 1fr; align-content: start; }
.post.-card .txt { padding: 10px 12px 14px; }
.post.-card h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.2; }
.post.-card p { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post.-card.-hidden { display: none; }
@media (max-width: 899px) { .post-grid { grid-template-columns: 1fr; } }
.blog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 22px; }
.blog-tools .tabs-nav { margin-bottom: 0; }
.blog-sort { display: inline-flex; align-items: center; gap: 10px; }
.blog-sort select { height: 42px; padding: 0 36px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235E1A28' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; appearance: none; -webkit-appearance: none; cursor: pointer; }
.blog-empty { color: var(--ink-2); margin-top: 20px; }
.prose .tbl { overflow-x: auto; margin: 6px 0 10px; border: 1px solid var(--line-2); border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.prose th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); background: var(--bg-2); padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.prose td:first-child { color: var(--ink); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.prose tr.total td { color: var(--ink); font-weight: 500; background: var(--accent-soft); }
.prose h2 { margin-top: 28px; }

/* v149: logo tiles for tools and affiliations; four-question work wheel */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-grid.-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-tile { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 22px 16px 20px; border-radius: 8px; background: var(--bg-2); }
.logo-art { width: 100%; height: 64px; display: grid; place-items: center; margin-bottom: 8px; }
.logo-art img { max-width: 78%; max-height: 52px; width: auto; height: auto; }
.logo-grid.-three .logo-art { height: 84px; }
.logo-grid.-three .logo-art img { max-height: 72px; max-width: 70%; }
.logo-text { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); }
.logo-tile b { font-size: 14.5px; font-weight: 500; }
.logo-tile small { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 899px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .logo-grid.-three { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wheel { height: 240vh; }
.wheel-list li { font-size: clamp(24px, 3vw, 44px); }
@media (max-width: 720px) { .wheel { height: 200vh; } .wheel-list li { font-size: 22px; white-space: normal; text-align: center; padding: 0 16px; height: auto; min-height: 72px; } }

/* v150: form boxes clip the Zoho padding; the iframe itself never scrolls */
.zoho-form { overflow: hidden; }
.zoho-form iframe { overflow: hidden; }

/* v150b: no forced minimum height on form boxes */
.zoho-form, .zoho-form.-foot { min-height: 0; }

/* v152: page forms keep a little of the Zoho padding at the top and sides; six questions in the work wheel */
@media (min-width: 720px) {
  .zoho-form:not(.-foot) iframe { width: calc(100% + 80px) !important; margin: -32px 0 0 -40px; }
}
.wheel { height: 300vh; }
@media (max-width: 720px) { .wheel { height: 240vh; } }

/* v153: phone-only performance, same visuals: the cards darken with an overlay instead of a per-frame brightness filter (0.8 × (1 − 0.525p) equals 0.8 − 0.42p), and heavy layers are promoted */
@media (max-width: 899px) {
  .stack-card img { filter: saturate(0.8) brightness(0.8); }
  .stack-card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--p, 0) * 0.525); pointer-events: none; }
  .stack-card, .hh-mask video, .hh-mask > img, .sec-media video { will-change: transform; backface-visibility: hidden; }
  .phero-visual img { will-change: transform; }
}

/* v158: single case tile */
.more-grid.-one { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .more-grid.-one { grid-template-columns: 1fr; } }

/* v160: breadcrumbs in the label style; FAQ accordions */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.crumbs li + li::before { content: "·"; margin-right: 6px; color: var(--ink-2); }
.crumbs.-dark li + li::before { color: var(--on-dark-2); }
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: currentColor; }
.crumbs li[aria-current] { color: var(--ink); }
.crumbs.-dark li[aria-current] { color: var(--on-dark); }
.faqs { max-width: var(--content); margin: 0 auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
.faq-x { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease-out), background 0.3s, border-color 0.3s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); }
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-x { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent-soft); }
.faq summary:hover .faq-x { border-color: var(--accent-2); }
.faq-a { padding: 0 60px 22px 0; }
.faq-a p { font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.55; color: var(--ink-2); max-width: 58em; }
@media (max-width: 720px) { .faq-a { padding-right: 0; } }

/* v163: an odd fifth step spans the full width of the case grid */
.case-steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* v164: case study copy: labelled situation and challenge, shorter lines, regular size */
.case-body .lead { display: grid; gap: 10px; }
.case-body .lead .mono { color: var(--accent-2); margin-top: 6px; }
.case-body .lead .mono:first-child { margin-top: 0; }
.case-body .lead p, .case-body .lead p + p { font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.6; letter-spacing: 0; color: var(--ink-2); margin: 0; max-width: 52em; }
.case-body .case-lbl { color: var(--accent-2); margin-bottom: -14px; }

/* v172: stacking cards shrink on the compositor via scroll-driven animations; the JS --p path remains as the fallback.
   A stuck element's own timeline does not advance, so card N animates on the timeline of card N+1, which scrolls normally
   until it sticks. With the scrollport inset to the band between the stuck card's top and bottom, the next card's
   entry 0% is "its top meets this card's bottom" and exit 0% is "its top meets the stick line". */
@supports (animation-timeline: view()) {
  [data-stack] { timeline-scope: --sc0, --sc1, --sc2, --sc3, --sc4, --sc5, --sc6, --sc7, --sc8, --sc9, --sc10, --sc11; }
  .stack-list { position: relative; --stack-gap: 28px; }
  .stack-mark { position: absolute; left: 0; width: 1px; top: calc(var(--i) * (var(--card-h, 60vh) + var(--stack-gap))); height: var(--card-h, 60vh); pointer-events: none; visibility: hidden; view-timeline-axis: block; view-timeline-inset: calc(var(--header-h) + 8vh) calc(100% - var(--header-h) - 8vh - var(--card-h, 60vh)); }
  .stack-card { --p: 0; animation: stack-shrink linear both; animation-range: entry 0% exit 0%; }
  .stack-list > li:last-child .stack-card, .stack-list > li:last-child > .stack-card { animation: none; }
  .stack-card img { filter: saturate(0.8) brightness(0.8); }
  .stack-card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; animation: stack-dim linear both; animation-timeline: inherit; animation-range: entry 0% exit 0%; }
  .stack-list > li:last-child .stack-card::after { animation: none; }
  @media (max-width: 720px) { .stack-list { --stack-gap: 20px; } .stack-mark { view-timeline-inset: calc(var(--header-h) + 10px) calc(100% - var(--header-h) - 10px - var(--card-h, 60vh)); } }
}
@keyframes stack-shrink { from { transform: scale(1) translateY(0); } to { transform: scale(0.85) translateY(-5%); } }
@keyframes stack-dim { from { opacity: 0; } to { opacity: 0.525; } }
