/* ==========================================================================
   DA DIGITAL WORKS, design system
   Dark luxury base, editorial serif display, brand gold as the one light source.
   Consulting uses .theme-boardroom (light, teal, structured).
   ========================================================================== */

@font-face { font-family: 'Wolgen'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/wolgen-regular.woff2') format('woff2'); }
@font-face { font-family: 'Wolgen'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/wolgen-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  src: url('../fonts/instrument-sans-latin-wdth-normal.woff2') format('woff2-variations'); }

:root {
  --ink: #0A0A08;
  --ink-2: #121210;
  --ink-3: #1B1A17;
  --ink-4: #26251F;
  --bone: #F3EFE6;
  --bone-2: #E6E0D2;
  --mute: #9C978B;
  --mute-ink: #5C5850;
  --gold: #FAD02C;
  --gold-2: #E3B400;
  --teal: #0EA8AC;
  --teal-deep: #077377;
  --line: rgba(243, 239, 230, .13);
  --line-2: rgba(243, 239, 230, .26);
  --line-ink: rgba(10, 10, 8, .14);

  --f-serif: 'Wolgen', 'Instrument Sans', system-ui, sans-serif;
  --f-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-hero: clamp(2.6rem, 6.4vw, 7rem);
  --t-display: clamp(2.1rem, 5vw, 5.4rem);
  --t-h2: clamp(1.8rem, 3.5vw, 3.5rem);
  --t-h3: clamp(1.25rem, 1.8vw, 1.7rem);
  --t-lead: clamp(1.1rem, 1.35vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-small: .9rem;
  --t-micro: .8rem;

  --gutter: clamp(20px, 4.2vw, 68px);
  --max: 1480px;
  --nav-h: 92px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 44px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  /* surface tokens flip under .theme-boardroom / .surface-bone */
  --bg: var(--ink);
  --fg: var(--bone);
  --fg-2: var(--mute);
  --rule: var(--line);
  --rule-2: var(--line-2);
  --accent: var(--gold);
  --accent-fg: var(--ink);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10002; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.serif, h1, h2, .h2, .h3, .t-hero, .t-display { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.01em; }
.t-hero { font-size: var(--t-hero); line-height: 1.02; }
.t-display { font-size: var(--t-display); line-height: 1.04; }
h2, .h2 { font-size: var(--t-h2); line-height: 1.08; }
h3, .h3 { font-size: var(--t-h3); line-height: 1.15; font-family: var(--f-serif); font-weight: 400; letter-spacing: -.005em; }
h4, .h4 { font-family: var(--f-sans); font-size: 1.12rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg); max-width: 40ch; }
.muted { color: var(--fg-2); }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); letter-spacing: .01em; }
.label { font-size: var(--t-micro); font-weight: 500; color: var(--fg-2); letter-spacing: .015em; display: inline-flex; align-items: center; gap: .6em; }
.label::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.label--gold { color: var(--gold); }
.italic { font-style: italic; }
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--fg-2); max-width: 60ch; }
.prose strong { color: var(--fg); font-weight: 600; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(5.5rem, 12vw, 11rem); }
.section--tight { padding-block: clamp(4rem, 8vw, 7rem); }
.section--flush-top { padding-top: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.hr { height: 1px; background: var(--rule); border: 0; margin: 0; }

.head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 5rem);
  align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.head h2 { max-width: 13ch; }
.head .prose { justify-self: end; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; align-items: start; } .head .prose { justify-self: start; } }

.surface-bone { --bg: var(--bone); --fg: var(--ink); --fg-2: var(--mute-ink); --rule: var(--line-ink); --rule-2: rgba(10,10,8,.28); background: var(--bone); color: var(--ink); }
.surface-ink-2 { background: var(--ink-2); }
.surface-gold { --bg: var(--gold); --fg: var(--ink); --fg-2: rgba(10,10,8,.72); --rule: rgba(10,10,8,.18); background: var(--gold); color: var(--ink); }

/* grain overlay */
.grain { position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* ---------- buttons & links ---------- */
.btn {
  --b-bg: var(--bone); --b-fg: var(--ink); --b-fill: var(--gold); --b-fill-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .75em; isolation: isolate; overflow: hidden;
  height: 58px; padding: 0 1.75rem; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--f-sans); font-weight: 600; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap;
  transition: color .45s var(--ease-out), border-color .45s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--b-fill);
  transform: translateY(102%) scaleX(.9); transform-origin: 50% 100%; border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0) scaleX(1); border-radius: inherit; }
.btn:hover, .btn:focus-visible { color: var(--b-fill-fg); }
.btn__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: currentColor; margin-right: -.8rem; flex: none; }
.btn__icon svg { width: 12px; height: 12px; color: var(--b-bg); transition: transform .5s var(--ease-out); }
.btn:hover .btn__icon svg { transform: rotate(-45deg); }
.btn:hover .btn__icon svg { color: var(--b-fill); }
.btn--gold { --b-bg: var(--gold); --b-fg: var(--ink); --b-fill: var(--bone); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-fill: var(--fg); --b-fill-fg: var(--bg); border: 1px solid var(--rule-2); }
.btn--ghost .btn__icon svg { color: var(--bg); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--bone); --b-fill: var(--gold); --b-fill-fg: var(--ink); }
.btn--teal { --b-bg: var(--teal); --b-fg: #041c1d; --b-fill: var(--ink); --b-fill-fg: var(--bone); }
.btn--sm { height: 46px; padding: 0 1.3rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.link-u { position: relative; display: inline-flex; align-items: center; gap: .5em; font-weight: 500; }
.link-u::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .6s var(--ease-out); }
.link-u:hover::after { transform: scaleX(0); }
.link-u:hover { color: var(--accent); }

.magnetic { display: inline-block; will-change: transform; }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9500; pointer-events: none; }
.cursor__dot { position: fixed; top: 0; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); pointer-events: none; z-index: 9501; }
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1px solid rgba(243,239,230,.45); pointer-events: none; z-index: 9500; display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .35s, border-color .35s, opacity .3s;
}
.cursor__label { font-size: .72rem; font-weight: 600; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-out); white-space: nowrap; }
body.c-hover .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--gold); border-color: var(--gold); }
body.c-hover .cursor__label { opacity: 1; transform: scale(1); }
body.c-hover .cursor__dot { opacity: 0; }
body.c-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); }
body.c-hidden .cursor__ring, body.c-hidden .cursor__dot { opacity: 0; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor__dot, .cursor__ring { display: none !important; } }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink); color: var(--bone);
  display: grid; grid-template-rows: 1fr auto; padding: var(--gutter);
}
.preloader__center { display: grid; place-items: center; }
.preloader__logo { width: min(440px, 70vw); opacity: 0; }
.preloader__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.preloader__count { font-family: var(--f-serif); font-size: clamp(4.5rem, 14vw, 12rem); line-height: .8; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.preloader__words { font-size: var(--t-small); color: var(--mute); max-width: 26ch; text-align: right; }
.preloader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html.no-js .preloader, .preloader.is-done { display: none; }

/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 9800; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain__col { background: var(--ink-2); transform: scaleY(0); transform-origin: 50% 100%; }
.curtain__mark { position: fixed; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: var(--gold); transform: scale(0); z-index: 9801; pointer-events: none; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h);
  transition: transform .7s var(--ease-out), background .5s, height .5s var(--ease-out), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 58px; width: auto; transition: height .5s var(--ease-out); }
.nav__logo .logo-dark { display: none; }
.nav.is-scrolled { --nav-h: 76px; background: rgba(10, 10, 8, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav.is-scrolled .nav__logo img { height: 48px; }
.nav.is-hidden { transform: translateY(-105%); }
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav__link { position: relative; font-size: .96rem; font-weight: 500; padding: .5rem 0; display: inline-flex; align-items: center; gap: .45rem; color: var(--bone); }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__ai { display: inline-flex; align-items: center; gap: .45rem; }
.nav__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(250,208,44,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(250,208,44,.55); } 70% { box-shadow: 0 0 0 9px rgba(250,208,44,0); } 100% { box-shadow: 0 0 0 0 rgba(250,208,44,0); } }
.nav__caret { width: 9px; height: 9px; transition: transform .45s var(--ease-out); }
.nav__item { position: relative; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: .9rem; }

.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(720px, 80vw);
  transform: translate(-50%, 14px); opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(18, 18, 16, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: .7rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem;
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), visibility .45s;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.mega__item { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; padding: 1.1rem; border-radius: 12px; transition: background .35s; }
.mega__item:hover { background: var(--ink-4); }
.mega__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-4); color: var(--gold); transition: background .35s, color .35s; }
.mega__item:hover .mega__icon { background: var(--gold); color: var(--ink); }
.mega__item--teal .mega__icon { color: var(--teal); }
.mega__item--teal:hover .mega__icon { background: var(--teal); color: var(--ink); }
.mega__icon svg { width: 20px; height: 20px; }
.mega__item strong { display: block; font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
.mega__item span { display: block; font-size: .86rem; line-height: 1.45; color: var(--mute); }

.burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 2; }
.burger span { position: absolute; left: 16px; right: 16px; height: 1.5px; background: var(--bone); transition: transform .55s var(--ease-out), top .55s var(--ease-out); }
.burger span:nth-child(1) { top: 21px; }
.burger span:nth-child(2) { top: 29px; }
body.menu-open .burger span:nth-child(1) { top: 25px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 850; background: var(--ink-2); color: var(--bone);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  display: grid; grid-template-rows: 1fr auto; padding: calc(var(--nav-h) + 2rem) var(--gutter) var(--gutter);
  overflow-y: auto;
}
.menu__links { display: flex; flex-direction: column; justify-content: center; }
.menu__link { display: flex; align-items: baseline; gap: 1rem; font-family: var(--f-serif); font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: 1.08; letter-spacing: -.02em; overflow: hidden; }
.menu__link span { display: inline-block; }
.menu__link small { font-family: var(--f-sans); font-size: .8rem; color: var(--gold); letter-spacing: .02em; }
.menu__sub { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .4rem 0 1rem; }
.menu__sub a { color: var(--mute); font-size: 1rem; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--mute); border-top: 1px solid var(--line); padding-top: 1.4rem; }
.menu__foot a:hover { color: var(--gold); }

@media (max-width: 1120px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  :root { --nav-h: 76px; }
  .nav__logo img { height: 46px; }
  .nav.is-scrolled .nav__logo img { height: 40px; }
  .nav__cta .btn { display: none; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__gl { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__fallback { position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(60% 60% at 70% 38%, rgba(250,208,44,.28), transparent 60%), radial-gradient(40% 50% at 20% 80%, rgba(227,180,0,.12), transparent 70%), var(--ink); }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,8,.6) 0%, rgba(10,10,8,.15) 45%, rgba(10,10,8,0) 70%), linear-gradient(180deg, rgba(10,10,8,.55) 0%, rgba(10,10,8,0) 30%, rgba(10,10,8,0) 55%, rgba(10,10,8,.85) 100%); pointer-events: none; }
.hero__body { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.hero__title { max-width: 11.5ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__base { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 2rem; align-items: end; margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__intro { max-width: 36ch; color: var(--bone-2); font-size: var(--t-lead); line-height: 1.5; }
.hero__meta { text-align: right; font-size: var(--t-micro); color: var(--mute); display: grid; gap: .35rem; justify-items: end; }
.hero__meta b { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; }
.scroll-cue { display: inline-flex; align-items: center; gap: .6rem; }
.scroll-cue i { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: cue 1.9s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 900px) { .hero__base { grid-template-columns: 1fr; } .hero__meta { justify-items: start; text-align: left; } }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.phero--short { min-height: 70svh; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.phero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,8,.62) 0%, rgba(10,10,8,.28) 38%, rgba(10,10,8,.9) 100%); }
.phero__body { width: 100%; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.phero__crumb { font-size: var(--t-micro); color: var(--mute); margin-bottom: 1.6rem; display: flex; gap: .6rem; }
.phero__crumb a:hover { color: var(--gold); }
.phero__title { max-width: 14ch; }
.phero__foot { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.phero__foot p { max-width: 46ch; color: var(--bone-2); font-size: var(--t-lead); line-height: 1.5; }
@media (max-width: 760px) { .phero__foot { grid-template-columns: 1fr; } }

/* ---------- split text helpers ---------- */
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] { visibility: hidden; }
.js-ready [data-split].is-split, html.no-js [data-split], html.reduced [data-split] { visibility: visible; }
[data-reveal] { opacity: 0; transform: translateY(40px); }
html.no-js [data-reveal], html.reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- marquee (words) ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.6rem; background: var(--ink); }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; flex: none; }
.ticker__item { font-family: var(--f-serif); font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1; white-space: nowrap; color: var(--bone); }
.ticker__sun { width: .42em; height: .42em; border-radius: 50%; background: var(--gold); flex: none; font-size: clamp(2rem, 4.4vw, 4.2rem); }

/* ---------- sunrise (home manifesto) ---------- */
.sunrise { position: relative; height: 260vh; background: var(--ink); }
.sunrise__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.sunrise__sun { position: absolute; left: 50%; top: 50%; width: 22vmin; height: 22vmin; margin: -11vmin 0 0 -11vmin; border-radius: 50%; background: var(--gold); will-change: transform; }
.sunrise__text { position: relative; z-index: 2; max-width: 22ch; text-align: center; font-family: var(--f-serif); font-size: clamp(2.2rem, 5.6vw, 5.8rem); line-height: 1.02; letter-spacing: -.02em; color: var(--ink); padding-inline: var(--gutter); }
.sunrise__text .w { opacity: .12; transition: none; }
.sunrise__kicker { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 4vw, 3rem); z-index: 2; display: flex; justify-content: space-between; padding-inline: var(--gutter); color: var(--ink); font-size: var(--t-micro); font-weight: 500; opacity: 0; }
html.reduced .sunrise { height: auto; }
html.reduced .sunrise__stage { position: relative; height: auto; padding: 8rem 0; background: var(--gold); }
html.reduced .sunrise__sun { display: none; }
html.reduced .sunrise__text .w { opacity: 1; }

/* ---------- engines ---------- */
.engines { display: flex; gap: 12px; height: min(78vh, 760px); }
.engine {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  transition: flex-grow .9s var(--ease-out); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 2.6vw, 2.4rem);
  background: var(--ink-3);
}
.engines:hover .engine { flex-grow: .8; }
.engines .engine:hover { flex-grow: 1.7; }
.engine__media { position: absolute; inset: 0; z-index: -2; }
.engine__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter 1s; filter: grayscale(1) brightness(.62); }
.engine:hover .engine__media img { transform: scale(1); filter: grayscale(.2) brightness(.7); }
.engine::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,8,.1) 20%, rgba(10,10,8,.92) 100%); }
.engine__tag { position: absolute; top: clamp(1.4rem, 2.6vw, 2.4rem); left: clamp(1.4rem, 2.6vw, 2.4rem); right: clamp(1.4rem, 2.6vw, 2.4rem); display: flex; justify-content: space-between; font-size: var(--t-micro); color: var(--bone-2); }
.engine__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.engine--teal .engine__dot { background: var(--teal); }
.engine h3 { font-size: clamp(1.8rem, 3vw, 3rem); max-width: 11ch; }
.engine__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
.engine__more > div { overflow: hidden; }
.engine:hover .engine__more, .engine:focus-within .engine__more { grid-template-rows: 1fr; }
.engine__more p { color: var(--bone-2); max-width: 38ch; padding-top: 1rem; }
.engine__chips { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: 1rem; }
.chip { font-size: .8rem; padding: .38rem .85rem; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--fg); white-space: nowrap; }
.chip--solid { background: var(--ink-4); border-color: transparent; }
.engine .btn { margin-top: 1.4rem; }
.engine__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .engines { flex-direction: column; height: auto; }
  .engine { min-height: 440px; }
  .engines:hover .engine, .engines .engine:hover { flex-grow: 1; }
  .engine__more { grid-template-rows: 1fr; }
}

/* ---------- horizontal work reel ---------- */
.reel { position: relative; background: var(--ink); }
.reel__pin { overflow: hidden; }
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.reel__head h2 { max-width: 10ch; }
.reel__track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--gutter); padding-bottom: clamp(4rem, 8vw, 6rem); width: max-content; will-change: transform; }
.slide { position: relative; width: min(74vw, 1040px); flex: none; }
.slide__stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.slide__stage img { position: relative; z-index: 1; max-height: 80%; max-width: 72%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0,0,0,.35)); will-change: transform; }
.slide__stage--cover img { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; filter: none; }
.slide__word { position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-serif); font-size: clamp(5rem, 16vw, 17rem); line-height: .8; white-space: nowrap; letter-spacing: -.04em; opacity: .16; pointer-events: none; }
.slide__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-top: 1.2rem; }
.slide__meta h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.slide__meta p { color: var(--mute); font-size: var(--t-small); text-align: right; }
.stage--matomani { background: radial-gradient(70% 90% at 30% 40%, #FFD84A 0%, #F2B705 55%, #C98E00 100%); color: #1a1407; }
.stage--sonwaro { background: radial-gradient(70% 90% at 60% 40%, #9C2946 0%, #6E1830 60%, #3E0B1B 100%); color: #F7B94A; }
.stage--iamnet { background: radial-gradient(80% 90% at 40% 35%, #3E7FB3 0%, #1F5287 55%, #0F2E52 100%); color: #cfe6fb; }
.stage--dankoo { background: radial-gradient(70% 90% at 50% 40%, #E53B3B 0%, #B81E1E 55%, #6D0D0D 100%); color: #ffe5e5; }
.reel__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 1px; background: var(--line); }
.reel__progress i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .reel__track { width: auto; flex-direction: column; padding-bottom: 4rem; }
  .slide { width: 100%; }
  .reel__progress { display: none; }
}

/* ---------- numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.num { padding: 2.2rem 1.4rem 0 0; border-right: 1px solid var(--rule); }
.num + .num { padding-left: 1.4rem; }
.num:last-child { border-right: 0; }
.num b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(3.6rem, 7vw, 6.6rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: .9rem; color: var(--fg-2); font-size: var(--t-small); max-width: 22ch; }
@media (max-width: 860px) { .nums { grid-template-columns: 1fr 1fr; } .num:nth-child(2) { border-right: 0; } .num:nth-child(3) { padding-left: 0; } .num:nth-child(n+3) { margin-top: 2rem; } }

/* ---------- AI teaser / intelligence visuals ---------- */
.ai-band { position: relative; overflow: hidden; isolation: isolate; }
.ai-band__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.ai-band__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.ai-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.ai-list li { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ai-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.ai-list strong { display: block; font-weight: 600; }
.ai-list span { color: var(--fg-2); font-size: var(--t-small); }
@media (max-width: 900px) { .ai-band__grid { grid-template-columns: 1fr; } }

/* ---------- client wall ---------- */
.logos { overflow: hidden; display: grid; gap: 1.2rem; padding-block: 1rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; will-change: transform; }
.logos__group { display: flex; align-items: center; gap: clamp(3rem, 6vw, 6rem); padding-right: clamp(3rem, 6vw, 6rem); flex: none; }
.logos__group img { height: 56px; width: auto; max-width: 230px; object-fit: contain; opacity: .62; transition: opacity .4s; }
.logos__group img.is-wide { height: 38px; }
.logos__group img.is-tall { height: 70px; }
.logos__group img:hover { opacity: 1; }
.surface-bone .logos__group img, .theme-boardroom .logos__group img { filter: invert(1) brightness(.1); opacity: .7; }

/* sector wall (enterprise/work) */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sector { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(1.4rem, 2.4vw, 2.2rem); min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; transition: background .5s; }
.sector:hover { background: var(--ink-3); }
.surface-bone .sector:hover { background: var(--bone-2); }
.sector h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.sector ul { display: grid; gap: .3rem; color: var(--fg-2); font-size: var(--t-small); }
.sector__logos { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; align-items: center; }
.sector__logos img { height: 34px; width: auto; max-width: 150px; object-fit: contain; opacity: .7; }
.surface-bone .sector__logos img { filter: invert(1) brightness(.1); }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { position: relative; }
.quotes__stage { position: relative; min-height: clamp(360px, 36vw, 440px); }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote { font-family: var(--f-serif); font-size: clamp(1.9rem, 3.8vw, 3.8rem); line-height: 1.08; letter-spacing: -.018em; max-width: 24ch; }
.quote figcaption { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; font-size: var(--t-small); color: var(--fg-2); }
.quote figcaption b { color: var(--fg); font-weight: 600; }
.quote__mark { font-family: var(--f-serif); font-size: 6rem; line-height: .6; color: var(--gold); display: block; height: 3rem; }
.quotes__ctrl { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.5rem; }
.quotes__btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.quotes__btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.quotes__btn svg { width: 16px; height: 16px; }
.quotes__count { font-variant-numeric: tabular-nums; font-size: var(--t-small); color: var(--fg-2); min-width: 4ch; }
.quotes__bar { flex: 1; height: 1px; background: var(--rule); position: relative; max-width: 360px; }
.quotes__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
@media (max-width: 700px) { .quotes__stage { min-height: 520px; } }

/* ---------- overheard stack (brand voice) ---------- */
.stackcards { display: grid; gap: 0; }
.scard {
  position: sticky; top: calc(var(--nav-h) + 3vh); min-height: 58vh; border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3.6rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 4vh;
  background: var(--ink-3); border: 1px solid var(--line); transform-origin: 50% 0;
}
.scard:nth-child(2) { background: #201f1b; }
.scard:nth-child(3) { background: #262520; }
.scard:nth-child(4) { background: var(--gold); color: var(--ink); border-color: transparent; }
.scard q { quotes: none; font-family: var(--f-serif); font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; }
.scard__reply { font-size: var(--t-lead); line-height: 1.45; }
.scard__reply b { display: block; font-size: var(--t-micro); font-weight: 600; color: var(--gold); margin-bottom: .5rem; letter-spacing: .02em; }
.scard:nth-child(4) .scard__reply b { color: var(--ink); }
.scard__who { position: absolute; top: clamp(1.8rem, 4vw, 3.6rem); left: clamp(1.8rem, 4vw, 3.6rem); font-size: var(--t-micro); color: var(--mute); }
.scard:nth-child(4) .scard__who { color: rgba(10,10,8,.6); }
@media (max-width: 800px) { .scard { grid-template-columns: 1fr; min-height: 64vh; padding-top: 5rem; } }

/* ---------- final CTA ---------- */
.finale { position: relative; overflow: hidden; }
.finale__grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.finale__art { position: relative; aspect-ratio: 1; }
.finale__art img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .finale__grid { grid-template-columns: 1fr; } .finale__art { max-width: 460px; } }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.footer__big { font-family: var(--f-serif); font-size: clamp(3rem, 8.4vw, 8.8rem); line-height: .9; letter-spacing: -.03em; }
.footer__cta { justify-self: end; display: grid; gap: 1rem; justify-items: end; }
.footer__cta p { color: var(--mute); max-width: 32ch; text-align: right; }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.footer__cols h5 { font-size: var(--t-micro); font-weight: 600; color: var(--bone); margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer__cols li { margin-bottom: .55rem; }
.footer__cols a, .footer__cols li { color: var(--mute); font-size: .95rem; transition: color .3s; }
.footer__cols a:hover { color: var(--gold); }
.footer__brand img { height: 74px; width: auto; }
.footer__brand p { margin-top: 1.2rem; color: var(--mute); font-size: .95rem; max-width: 30ch; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 2rem; border-top: 1px solid var(--line); font-size: var(--t-micro); color: var(--mute); }
.footer__base a:hover { color: var(--gold); }
.footer__word { font-family: var(--f-serif); font-size: 21vw; line-height: .78; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(243,239,230,.12); text-align: center; white-space: nowrap; margin-bottom: -3vw; user-select: none; pointer-events: none; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr; } .footer__cta { justify-self: start; justify-items: start; } .footer__cta p { text-align: left; } .footer__cols { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- generic cards / rows ---------- */
.card { border: 1px solid var(--rule); border-radius: var(--r-md); padding: clamp(1.5rem, 2.6vw, 2.3rem); background: transparent; transition: border-color .5s, background .5s, transform .8s var(--ease-out); }
.card:hover { border-color: var(--rule-2); background: rgba(243,239,230,.025); }
.surface-bone .card:hover { background: rgba(10,10,8,.025); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 1000px) { .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; } }
.card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--ink-4); display: grid; place-items: center; color: var(--gold); margin-bottom: 2.2rem; }
.surface-bone .card__icon { background: var(--ink); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: clamp(1.5rem, 2.1vw, 2rem); margin-bottom: .8rem; }
.card p { color: var(--fg-2); }
.card ul.ticks { margin-top: 1.3rem; display: grid; gap: .55rem; }
ul.ticks li { position: relative; padding-left: 1.5rem; font-size: var(--t-small); color: var(--fg); }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); }
.card__foot { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: var(--t-micro); color: var(--fg-2); }

/* service rows with floating image */
.srows { border-top: 1px solid var(--rule); }
.srow { position: relative; display: grid; grid-template-columns: 3.4rem 1.2fr 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.4rem, 2.6vw, 2.3rem) 0; border-bottom: 1px solid var(--rule); transition: padding .7s var(--ease-out), color .4s; }
.srow__i { font-size: var(--t-micro); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.srow h3 { font-size: clamp(1.6rem, 3vw, 2.8rem); transition: transform .7s var(--ease-out); }
.srow p { color: var(--fg-2); font-size: var(--t-small); max-width: 44ch; }
.srow__arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; transition: background .45s, color .45s, transform .7s var(--ease-out), border-color .45s; }
.srow__arrow svg { width: 14px; height: 14px; }
.srow:hover .srow__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }
.srow:hover h3 { transform: translateX(14px); }
.hover-img { position: fixed; top: 0; left: 0; width: 300px; height: 380px; border-radius: var(--r-md); overflow: hidden; pointer-events: none; z-index: 800; opacity: 0; transform: scale(.7); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .srow { grid-template-columns: 2.4rem 1fr auto; } .srow p { grid-column: 2 / -1; grid-row: 2; } }

/* process (real sequences only) */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 1px solid var(--rule); counter-reset: s; }
.step { padding: 2rem 1.6rem 0 0; position: relative; }
.step + .step { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.step__n { font-family: var(--f-serif); font-size: 3.6rem; line-height: 1; color: var(--accent); margin-bottom: 1.6rem; display: block; }
.step h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); margin-bottom: .6rem; }
.step p { color: var(--fg-2); font-size: var(--t-small); }
.step small { display: inline-block; margin-top: 1rem; font-size: var(--t-micro); padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--fg); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(odd) { padding-left: 0; border-left: 0; } .step:nth-child(n+3) { margin-top: 2rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; border-left: 0; } .step + .step { margin-top: 2rem; } }

/* accordions */
.acc { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 1.6rem 0; text-align: left; }
.acc__btn span:first-child { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.15; }
.acc__plus { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-2); position: relative; flex: none; transition: background .4s, border-color .4s, transform .6s var(--ease-out); }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .6s var(--ease-out); }
.acc__plus::after { transform: rotate(90deg); }
.acc__item.is-open .acc__plus { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); transform: rotate(180deg); }
.acc__item.is-open .acc__plus::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { padding-bottom: 1.8rem; color: var(--fg-2); max-width: 70ch; }
.acc__inner ul.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; margin-top: .4rem; }
@media (max-width: 640px) { .acc__inner ul.ticks { grid-template-columns: 1fr; } }

/* image blocks */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--sq { aspect-ratio: 1; }
.frame--par img { height: 120%; will-change: transform; }
.frame__cap { position: absolute; left: 1.2rem; bottom: 1.2rem; font-size: var(--t-micro); color: var(--bone); background: rgba(10,10,8,.55); backdrop-filter: blur(8px); padding: .4rem .8rem; border-radius: 999px; }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.split2--top { align-items: start; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.mosaic .frame:nth-child(1) { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.mosaic .frame:nth-child(2) { grid-column: 6 / 13; aspect-ratio: 16 / 11; }
.mosaic .frame:nth-child(3) { grid-column: 1 / 8; aspect-ratio: 16 / 10; }
.mosaic .frame:nth-child(4) { grid-column: 8 / 13; aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .mosaic .frame { grid-column: 1 / -1 !important; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: .55rem; }
.field label { font-size: var(--t-micro); color: var(--fg-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule-2); padding: .7rem 0 .9rem; font-size: 1.15rem; color: var(--fg); border-radius: 0; transition: border-color .4s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FAD02C' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 2rem; }
.field select option { background: var(--ink-2); color: var(--bone); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,239,230,.32); }
.chips-pick { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips-pick input { position: absolute; opacity: 0; pointer-events: none; }
.chips-pick label { cursor: pointer; font-size: .92rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--fg); transition: background .35s, color .35s, border-color .35s; }
.chips-pick input:checked + label { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chips-pick input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.form__note { font-size: var(--t-micro); color: var(--fg-2); }

.contact-line { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.contact-line small { display: block; font-size: var(--t-micro); color: var(--fg-2); margin-bottom: .2rem; }
.contact-line a, .contact-line p { font-family: var(--f-serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; }
.contact-line a:hover { color: var(--gold); }

.map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--rule); filter: grayscale(1) invert(.92) contrast(.85); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- case studies ---------- */
.case { padding-block: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--rule); }
.case__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.case__top h2 { font-size: clamp(3rem, 7vw, 7rem); line-height: .9; }
.case__stage { position: relative; aspect-ratio: 16 / 8.5; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.case__stage img { max-height: 78%; max-width: 70%; object-fit: contain; filter: drop-shadow(0 50px 60px rgba(0,0,0,.4)); position: relative; z-index: 1; }
.case__body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.case__body h4 { margin-bottom: .7rem; }
.case__body p { color: var(--fg-2); font-size: var(--t-small); }
.case__gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: clamp(2rem, 4vw, 3rem); }
.case__gallery .frame { background: #fff; }
.case__gallery .frame img { object-fit: contain; }
.case__quote { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.case__quote blockquote { font-family: var(--f-serif); font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.012em; }
.case__quote cite { font-style: normal; color: var(--fg-2); font-size: var(--t-small); }
.case__quote cite b { display: block; color: var(--fg); font-weight: 600; }
@media (max-width: 900px) { .case__top, .case__body, .case__quote { grid-template-columns: 1fr; } .case__stage { aspect-ratio: 4 / 3.4; } .case__gallery .frame { grid-column: 1 / -1 !important; } }

/* ---------- intelligence page ---------- */
.neural-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--ink); }
.neural-hero canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.neural-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,8,.4), rgba(10,10,8,0) 40%, rgba(10,10,8,.9) 100%); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px; background: rgba(243,239,230,.06); border: 1px solid var(--line); color: var(--bone-2); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.phone { width: min(380px, 100%); margin-inline: auto; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2924, #121210); border: 1px solid var(--line-2); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.04); }
.phone__screen { border-radius: 36px; overflow: hidden; background: #0f1512; height: 620px; display: grid; grid-template-rows: auto 1fr auto; }
.phone__bar { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.1rem .9rem; background: #16201b; border-bottom: 1px solid rgba(255,255,255,.05); }
.phone__av { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--ink); font-weight: 700; font-size: .8rem; }
.phone__bar b { display: block; font-size: .92rem; font-weight: 600; }
.phone__bar span { font-size: .72rem; color: #8fbf9f; }
.phone__chat { padding: 1rem .9rem; display: flex; flex-direction: column; gap: .6rem; overflow: hidden; justify-content: flex-end;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 84%; padding: .6rem .85rem .5rem; border-radius: 14px; font-size: .86rem; line-height: 1.45; opacity: 0; transform: translateY(12px) scale(.98); }
.msg small { display: block; text-align: right; font-size: .62rem; opacity: .55; margin-top: .2rem; }
.msg--in { align-self: flex-start; background: #1f2a24; border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #1b4d3a; border-top-right-radius: 4px; }
.msg--sys { align-self: center; background: rgba(250,208,44,.12); color: var(--gold); border: 1px solid rgba(250,208,44,.3); font-size: .74rem; border-radius: 999px; padding: .35rem .8rem; }
.msg.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.typing { align-self: flex-end; display: none; gap: 4px; padding: .7rem .9rem; background: #1b4d3a; border-radius: 14px; border-top-right-radius: 4px; }
.typing.is-on { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9fd6bb; animation: dots 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.phone__input { margin: .7rem; padding: .7rem 1rem; border-radius: 999px; background: #1a231e; font-size: .8rem; color: #6d8a79; }
.demo__note { font-size: var(--t-micro); color: var(--fg-2); margin-top: 1rem; text-align: center; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .phone__screen { height: 560px; } }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--rule); border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 3.6rem); background: var(--ink-2); }
.calc__inputs { display: grid; gap: 2rem; align-content: start; }
.range { display: grid; gap: .8rem; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range__top label { font-size: .95rem; color: var(--bone-2); }
.range__top output { font-family: var(--f-serif); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--line-2) var(--p, 50%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); margin-top: -10px; box-shadow: 0 0 0 6px rgba(250,208,44,.15); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--gold); }
.calc__out { border-radius: var(--r-lg); background: var(--gold); color: var(--ink); padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; align-content: space-between; gap: 2rem; }
.calc__out small { font-size: var(--t-micro); font-weight: 600; opacity: .7; display: block; margin-bottom: .4rem; }
.calc__big { font-family: var(--f-serif); font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid rgba(10,10,8,.2); padding-top: 1.2rem; }
.calc__row b { font-family: var(--f-serif); font-weight: 400; font-size: 1.9rem; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__fine { font-size: .78rem; line-height: 1.5; opacity: .75; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- misc ---------- */
.pill-note { display: inline-flex; gap: .6rem; align-items: center; font-size: var(--t-micro); padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--fg-2); }
.pill-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.big-quote { font-family: var(--f-serif); font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.02em; max-width: 20ch; }
.center { text-align: center; margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4.5rem; }
.to-top { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, color .4s; }
.to-top:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.to-top svg { width: 14px; height: 14px; }

/* ---------- boardroom theme (consulting) ---------- */
.theme-boardroom {
  --bg: #F4F3EF; --fg: #0C1416; --fg-2: #53605F; --rule: rgba(12,20,22,.13); --rule-2: rgba(12,20,22,.28);
  --accent: var(--teal); --accent-fg: #fff;
  background: #F4F3EF; color: #0C1416;
}
.theme-boardroom ::selection { background: var(--teal); color: #fff; }
.theme-boardroom .nav.is-scrolled { background: rgba(244,243,239,.82); border-color: var(--rule); }
.theme-boardroom .nav.is-scrolled .nav__link, .theme-boardroom .nav.is-scrolled .burger span { color: #0C1416; }
.theme-boardroom .nav.is-scrolled .burger span { background: #0C1416; }
.theme-boardroom .nav.is-scrolled .burger { border-color: var(--rule-2); }
.theme-boardroom .nav.is-scrolled .logo-light { display: none; }
.theme-boardroom .nav.is-scrolled .logo-dark { display: block; }
.theme-boardroom .nav__link::after { background: var(--teal); }
.theme-boardroom .nav.is-scrolled .btn--ghost { --b-fg: #0C1416; }





.theme-boardroom .label--gold { color: var(--teal-deep); }
.theme-boardroom .card__icon { background: #0C1416; color: var(--teal); }
.theme-boardroom .phero__foot p, .theme-boardroom .phero .label { color: var(--bone-2); }
.theme-boardroom .cursor__ring { border-color: rgba(12,20,22,.45); }
.theme-boardroom .cursor__dot { background: var(--teal); }
.theme-boardroom.c-hover .cursor__ring { background: var(--teal); border-color: var(--teal); }
.theme-boardroom .cursor__label { color: #fff; }
.theme-boardroom .footer { --bg: var(--ink); --fg: var(--bone); --fg-2: var(--mute); --rule: var(--line); --rule-2: var(--line-2); color: var(--bone); }
.theme-boardroom .surface-deep { --bg: #0C1416; --fg: #F4F3EF; --fg-2: #9BAAA9; --rule: rgba(244,243,239,.13); --rule-2: rgba(244,243,239,.28); background: #0C1416; color: #F4F3EF; }
.theme-boardroom .field input, .theme-boardroom .field select, .theme-boardroom .field textarea { color: var(--fg); }
.frame--mono img { filter: grayscale(1) contrast(1.05); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
}

/* =====================================================================
   Page components added with the page build
   ===================================================================== */
@media (max-width: 1360px) { .nav__cta .btn--ghost { display: none; } }
@media (max-width: 1200px) { .nav__links { display: none; } .burger { display: block; } }
.mega__all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: .95rem 1.1rem; margin-top: .2rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--mute); border-radius: 0 0 12px 12px; transition: color .3s, background .3s; }
.mega__all svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.mega__all:hover { color: var(--gold); background: var(--ink-3); }
.mega__all:hover svg { transform: translateX(4px); }

.hero__title { font-size: clamp(3.1rem, 8.2vw, 9.4rem); max-width: 15ch; }
.hero__base { position: relative; }
.hero__rule { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); }
.hero--404 .hero__body { padding-bottom: 20vh; }

.engine__media--ai { background: radial-gradient(80% 70% at 60% 30%, rgba(250,208,44,.18), transparent 60%), var(--ink-2); }

.slide__stage--tall img { max-height: 90%; }
.slide__stage--shot img { max-height: 82%; max-width: 64%; border-radius: 18px; }
.stage--next { background: var(--gold); color: var(--ink); }
.slide__next { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.slide__next .label { color: var(--ink); }
.slide__next strong { font-family: var(--f-serif); font-weight: 400; font-size: clamp(5rem, 14vw, 13rem); line-height: .8; letter-spacing: -.04em; }
.slide__next-arrow { width: 84px; height: 84px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; transition: transform .7s var(--ease-out); }
.slide__next-arrow svg { width: 26px; height: 26px; }
.slide--cta:hover .slide__next-arrow { transform: rotate(-45deg) scale(1.1); }
.slide { transition: opacity .5s; }
.slide__stage { transition: transform 1s var(--ease-out); }
.slide:hover .slide__stage { transform: scale(.985); }

.chips-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips-row .chip { font-size: .92rem; padding: .6rem 1.2rem; transition: background .35s, color .35s, border-color .35s; }
.chips-row .chip:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.case__stage .slide__word { font-size: clamp(6rem, 20vw, 22rem); }
.case__stage--tall img { max-height: 92%; }
.case__stage--shot img { max-height: 84%; border-radius: 22px; }
.case__gallery .frame { border-radius: var(--r-md); }

ul.ticks--big { display: grid; gap: 0; border-top: 1px solid var(--rule); }
ul.ticks--big li { font-size: 1.08rem; padding: 1.05rem 0 1.05rem 2rem; border-bottom: 1px solid var(--rule); }
ul.ticks--big li::before { top: 1.55rem; width: 11px; height: 11px; }

.voice { display: flex; flex-wrap: wrap; gap: .7rem; }
.voice .chip { font-family: var(--f-serif); font-size: clamp(1.05rem, 1.6vw, 1.45rem); padding: .7rem 1.3rem; white-space: normal; }

.banner { aspect-ratio: 2400 / 831; background: #fff; }
.banner img { object-fit: cover; }

.duo { min-height: 360px; display: flex; flex-direction: column; }
.duo h3 { font-size: clamp(1.8rem, 3vw, 2.9rem); flex: 1; }
.duo--teal { background: linear-gradient(160deg, rgba(14,168,172,.14), transparent 60%); }
.duo--teal .label { color: var(--teal); }

.method { border-top: 1px solid var(--rule); }
.method__row { display: grid; grid-template-columns: 5rem 1.3fr 1fr; gap: 2rem; align-items: baseline; padding: clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--rule); }
.method__row span { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.method__row h3 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
.method__row p { color: var(--fg-2); }
@media (max-width: 800px) { .method__row { grid-template-columns: 3rem 1fr; } .method__row p { grid-column: 2; } }

.theme-boardroom .phero { color: var(--bone); --fg: var(--bone); --fg-2: var(--mute); --rule: var(--line); }
.theme-boardroom .surface-deep .label--gold { color: var(--teal); }
.theme-boardroom .card:hover { background: rgba(12,20,22,.03); }
.theme-boardroom .surface-deep .card:hover { background: rgba(244,243,239,.04); }
.theme-boardroom .surface-deep .card__icon { background: rgba(244,243,239,.08); }
.theme-boardroom .finale { border-top: 1px solid var(--rule); }

.contact-hero { padding-top: calc(var(--nav-h) + 3.5rem); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.contact h1 { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 6.2rem); }
.contact__form { padding: clamp(1.6rem, 3vw, 2.8rem); border: 1px solid var(--rule); border-radius: var(--r-xl); background: var(--ink-2); }
.contact-line__i { width: 22px; height: 22px; color: var(--gold); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field__legend { font-size: var(--t-micro); color: var(--fg-2); font-weight: 500; margin-bottom: .8rem; padding: 0; }
.mb-2 { margin-bottom: 2rem; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.split-line-inner { display: block; }
.phone { transform-style: preserve-3d; }
.finale__art img { will-change: transform; }

.link-u { white-space: nowrap; }
.link-u svg { width: 16px; height: 16px; flex: none; }

/* reel sizing: fit the pinned viewport */
@media (min-width: 901px) {
  .reel__head { padding-top: calc(var(--nav-h) + 1.2rem); padding-bottom: 1.6rem; }
  .reel__head h2 { max-width: none; font-size: clamp(2.2rem, 4vw, 4rem); }
  .slide { width: min(70vw, calc((100svh - var(--nav-h) - 250px) * 1.6)); }
}
.quote blockquote { font-size: clamp(1.7rem, 2.9vw, 3rem); max-width: 26ch; }
.quotes__stage { min-height: clamp(380px, 34vw, 500px); }

.footer__word { font-size: min(21vw, calc(185vw / var(--len, 8))); -webkit-text-stroke: 1px rgba(243,239,230,.2); }
.sector { min-height: 210px; }
.sector__logos img { height: 44px; max-width: 170px; }
.sector__logos img[src*="dankoo"], .sector__logos img[src*="cosmopolitan"] { height: 28px; }
.surface-bone { --accent: var(--ink); }

/* product shots: sized against the stage box, not the grid track */
.slide__stage img, .case__stage img { position: absolute; inset: 0; margin: auto; width: auto; height: 76%; max-width: 72%; max-height: none; object-fit: contain; }
.slide__stage--tall img, .case__stage--tall img { height: 90%; }
.slide__stage--shot img, .case__stage--shot img { height: 82%; max-width: 62%; }
.slide__stage--cover img { inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.theme-boardroom .nav:not(.is-scrolled) .btn--ghost { --b-fg: var(--bone); --b-fill: var(--bone); --b-fill-fg: #0C1416; border-color: rgba(243,239,230,.35); }
.theme-boardroom .nav:not(.is-scrolled) .btn--ghost .btn__icon svg { color: #0C1416; }



.range__top output { white-space: nowrap; }
@media (max-width: 600px) { .calc__big { font-size: 2.3rem; } .range__top label { font-size: .88rem; } }
html.reduced .reel__track, html.no-js .reel__track { width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.reduced .slide, html.no-js .slide { width: auto; }
@media (max-width: 900px) { html.reduced .reel__track, html.no-js .reel__track { grid-template-columns: 1fr; } }


/* =====================================================================
   v3: Wolgen display type, clean hero, single-site structure
   ===================================================================== */
.head h2 { max-width: 16ch; }
h1 .italic, h2 .italic, .t-hero .italic, .t-display .italic, .hl { color: var(--accent); }
.hl { font-style: italic; }
.surface-bone h2 .italic { color: var(--ink); }

/* hero */
.hero { min-height: 100svh; justify-content: flex-end; background: radial-gradient(70% 60% at 85% 0%, rgba(250,208,44,.10), transparent 60%), var(--ink); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__body { padding-top: calc(var(--nav-h) + clamp(2rem, 6vh, 4rem)); padding-bottom: 0; }
.hero__title { font-size: var(--t-hero); max-width: 18ch; }
.hero__base { grid-template-columns: minmax(0, 1fr) auto; margin-top: clamp(1.6rem, 3.5vw, 2.8rem); padding-top: 0; border-top: 0; align-items: center; }
.hero__intro { max-width: 44ch; font-size: var(--t-lead); color: var(--bone-2); }
.hero__strip { margin-top: clamp(2rem, 5vh, 3.5rem); overflow: hidden; }
.hero__track { display: flex; width: max-content; will-change: transform; }
.hero__group { display: flex; gap: 14px; padding-right: 14px; flex: none; }
.hcard { position: relative; flex: none; width: clamp(200px, 19vw, 300px); height: clamp(250px, 34vh, 380px); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.hcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hcard:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .hero__base { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hcard { width: 62vw; height: 42vh; } }

/* mega menu: three services */
.mega { width: 440px; grid-template-columns: 1fr; }

/* footer without the duplicate CTA */
.footer__cols { border-top: 0; padding-top: clamp(4rem, 8vw, 6rem); }
.footer__word { font-size: min(18vw, calc(140vw / var(--len, 8))); letter-spacing: -.02em; }

/* long-form quotes read better in the text face */
.quote blockquote, .case__quote blockquote, .card blockquote.h3, .contact-line a, .contact-line p, .voice .chip {
  font-family: var(--f-sans); font-weight: 500; letter-spacing: -.012em; }
.quote blockquote { font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.38; max-width: 34ch; }
.quote__mark { font-family: var(--f-serif); font-size: 4rem; line-height: .8; height: 2.4rem; }
.case__quote blockquote { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.45; }
.card blockquote.h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; }
.contact-line a, .contact-line p { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.voice .chip { font-size: clamp(.95rem, 1.2vw, 1.1rem); }

/* display elements resized for a wide face */
.sunrise__text { font-size: clamp(1.8rem, 4.2vw, 4.2rem); line-height: 1.1; max-width: 20ch; }
.scard q { font-size: clamp(1.6rem, 3.2vw, 3.2rem); line-height: 1.1; }
.engine h3 { font-size: clamp(1.4rem, 2.2vw, 2.2rem); max-width: 12ch; }
.srow h3 { font-size: clamp(1.3rem, 2.2vw, 2.1rem); }
.case__top h2 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1.02; }
.case__stage .slide__word, .slide__word { font-size: clamp(4rem, 12vw, 13rem); letter-spacing: -.03em; }
.slide__next strong { font-size: clamp(3.4rem, 8vw, 7.5rem); }
.slide__meta h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.num b { font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1; }
.big-quote { font-size: clamp(1.8rem, 3.8vw, 3.8rem); line-height: 1.1; max-width: 22ch; }
.acc__btn span:first-child { font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.25; }
.menu__link { font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.2; }
.method__row h3 { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.step__n { font-size: 2.6rem; }
.calc__big { font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1; }
.calc__row b { font-size: 1.5rem; }
.range__top output { font-size: 1.5rem; }
.contact h1 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); max-width: 16ch; }
.phero__title { max-width: 18ch; }
.preloader__count { font-size: clamp(3.5rem, 11vw, 9rem); }
.card h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.duo h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
h1, h2, .t-display, .t-hero { overflow-wrap: break-word; }

/* consulting: teal accent on the italic highlight */
.theme-boardroom h1 .italic, .theme-boardroom h2 .italic { color: var(--teal); }
.theme-boardroom .phero .label--gold, .theme-boardroom .surface-deep .label--gold { color: var(--teal); }
.theme-boardroom .contact__form { background: rgba(244,243,239,.04); }
.theme-boardroom .contact-line__i { color: var(--teal); }
.contact h1 { max-width: 20ch; }


/* v4: CSS marquees, balanced headlines, studio/consulting switch */
h1, h2, h3, .t-hero, .t-display, .big-quote, .scard q, .sunrise__text { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
.head h2, .phero__title, .hero__title, .contact h1 { max-width: 20ch; }

@keyframes marq { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.logos__track, .hero__track { animation: marq var(--dur, 60s) linear infinite; }
.logos__track[data-dir="right"] { animation-direction: reverse; }
.logos:hover .logos__track, .hero__strip:hover .hero__track { animation-play-state: paused; }
.hero__track { --dur: 70s; }
@media (prefers-reduced-motion: reduce) { .logos__track, .hero__track { animation: none; } }

.switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); }
.switch a { font-size: .84rem; font-weight: 600; padding: .5rem .95rem; border-radius: 999px; color: var(--bone-2); transition: background .35s, color .35s; white-space: nowrap; }
.switch a:hover { color: var(--bone); background: rgba(243,239,230,.08); }
.switch a.is-on { background: var(--bone); color: var(--ink); }
.theme-boardroom .switch a.is-on { background: var(--teal); color: #fff; }
.theme-boardroom .nav.is-scrolled .switch { border-color: var(--rule-2); }
.theme-boardroom .nav.is-scrolled .switch a:not(.is-on) { color: #0C1416; }
.menu .switch { margin-bottom: 1.6rem; align-self: flex-start; }
.footer__switch { margin-top: 1.6rem; }
@media (max-width: 1280px) { .nav__links { display: none; } .burger { display: block; } }
@media (max-width: 640px) { .nav__cta .switch { display: none; } }
@media (max-width: 900px) { .reel__head { flex-direction: column; align-items: flex-start; } .reel__head h2 { max-width: none; } }
@media (max-width: 800px) { .srow h3 { font-size: 1.2rem; } }
.menu__links { gap: .35rem; }

/* nav: keep the menu links visible on laptop and preview widths */
@media (max-width: 1360px) { .nav__links { gap: 1.25rem; } .nav__link { font-size: .92rem; } .nav__cta { gap: .6rem; } }
@media (min-width: 1025px) { .nav__links { display: flex; } .burger { display: none; } }
@media (min-width: 1025px) and (max-width: 1200px) { .nav__cta .btn--gold, .nav__cta .btn--teal { display: none; } .nav__logo img { height: 48px; } .nav__links { gap: 1rem; } }
@media (max-width: 1024px) { .nav__links { display: none; } .burger { display: block; } }
@media (max-width: 640px) { .nav__cta .btn, .nav__cta .switch { display: none; } }
