/* Katya de Fredericksz — site styles
   Colours and type follow the brand guidelines (Burgundy #660033, Ink, Paper, Stone). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin.woff2') format('woff2');
}

:root {
  --burgundy: #660033;
  --burgundy-soft: #F2E4EA;
  --mauve: #E2B4ED;
  --ink: #0D0D0B;
  --ink-2: #1A1917;
  --paper: #FFFFFF;
  --stone: #F3F1EE;
  --graphite: #3D3A36;
  --muted-light: #5E5A55;
  --muted-dark: #A8A49A;
  --line-dark: rgba(255, 255, 255, 0.22);
  --line-light: rgba(13, 13, 11, 0.18);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1280px;
  --section: clamp(72px, 10vw, 140px);
  --header-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* smooth cross-page navigation in browsers that support it */
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .light :focus-visible { outline-color: var(--burgundy); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.light { background: var(--paper); color: var(--ink); }
.burgundy { background: var(--burgundy); color: var(--paper); }
.stack { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; }

/* ---------- Type ---------- */
.display, .h2, .h1 {
  font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1;
  overflow-wrap: break-word; hyphens: manual;
}
.display { font-size: clamp(42px, 6.4vw, 96px); line-height: 1.02; }
@media (max-width: 600px) { .display { line-height: 1.08; } }
.h1 { font-size: clamp(40px, 5.4vw, 84px); }
.h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.05; }
.h3 { font-weight: 700; font-stretch: 115%; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em; }
.accent { color: var(--burgundy); }
.dark-section .accent, .burgundy .accent { color: var(--paper); }
/* Signature highlight: italic word on a burgundy box, box hugs text, 6px corners */
.hl {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em;
  background: linear-gradient(var(--burgundy), var(--burgundy)) no-repeat 0 50% / 100% var(--hl-h); color: var(--paper);
  /* the serif's line box is much taller than its letters; keep the block to the letters so it never covers the line above */
  --hl-h: 1.04em;
  padding: 0 0.12em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.light .eyebrow { color: var(--muted-light); }
.light .eyebrow.accent, .eyebrow.accent { color: var(--burgundy); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.muted { color: var(--muted-dark); }
.light .muted { color: var(--graphite); }
.label-strong { font-size: 20px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted-light); text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: .1s; }
/* trailing ↗ → ↓ glyphs are wrapped by site.js so they can move on hover */
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr-ne { transform: translate(3px, -3px); }
.btn:hover .arr-e { transform: translateX(4px); }
.btn:hover .arr-s { transform: translateY(3px); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { background: var(--stone); }
.btn-white.on-burgundy { color: var(--burgundy); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: var(--paper); background: transparent; font-weight: 600; }
.btn-outline:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.06); }
.burgundy .btn-outline { border-color: var(--paper); font-weight: 700; }
.burgundy .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-burgundy { background: var(--burgundy); color: var(--paper); }
.btn-burgundy:hover { background: #4f0028; }
.btn-lg { min-height: 60px; padding: 18px 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-lg { min-height: 56px; padding: 16px 24px; font-size: 15px; } .btn svg { flex: none; } }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
/* Sticky header: transparent at the top, frosted once the page scrolls, tucks away while reading down.
   The backdrop sits on ::before because a filter/transform on the header itself would trap the fixed mobile menu. */
.site-header { position: sticky; top: 0; z-index: 20; transition: transform .5s var(--ease); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(13, 13, 11, 0.78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled .wrap { min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
.site-header .wrap { transition: min-height .4s var(--ease), padding .4s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; transition: none; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding-top: 20px; padding-bottom: 20px; min-height: var(--header-h);
}
.brand { text-decoration: none; font-weight: 800; font-stretch: 125%; letter-spacing: 0.04em; font-size: clamp(15px, 1.5vw, 20px); white-space: nowrap; }
@media (max-width: 370px) { .brand { font-size: 13px; letter-spacing: 0.02em; } }
.nav { display: flex; align-items: center; gap: 8px 28px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted-dark); padding: 12px 0; transition: color .3s var(--ease), background-color .3s var(--ease); }
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -1px 0 var(--paper); padding-bottom: 4px; }
.nav .nav-cta { background: var(--burgundy); color: var(--paper); font-weight: 700; padding: 13px 22px; border-radius: 999px; }
.nav .nav-cta:hover { background: #4f0028; color: var(--paper); }
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; }
.nav .lang a { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; }
.nav .lang a[aria-current="true"] { background: var(--paper); color: var(--ink); box-shadow: none; padding-bottom: 6px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: transparent; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 30; background: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 96px var(--gutter) 48px; font-size: 28px; letter-spacing: 0; text-transform: none; font-weight: 700; font-stretch: 115%;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { color: var(--paper); padding: 8px 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--mauve); padding-bottom: 8px; }
  .nav .nav-cta { margin-top: 16px; font-size: 18px; padding: 16px 28px; }
  .nav .lang { margin-top: 24px; }
  .nav .lang a { font-size: 14px; padding: 10px 16px; }
  .menu-toggle { position: relative; z-index: 31; }
  .menu-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero-home .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: clamp(16px, 3vw, 40px); padding-bottom: 40px; }
.hero-home .copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero-home .copy p { max-width: 560px; font-size: 20px; color: #D6D3CE; }
.hero-social { display: flex; align-items: center; gap: 16px; }
.hero-social .socials { margin-top: 0; }
.hero-home .portrait { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-home .portrait img { width: 100%; height: 600px; object-fit: cover; object-position: center 30%; border-radius: 16px; }
@media (max-width: 700px) {
  .hero-home .portrait img { height: auto; aspect-ratio: 4 / 5; max-height: 560px; }
}
/* Roles: a slow ticker band (site.js turns the list into a looping track) */
.roles { margin: 0 auto 56px; }
.roles ul {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18);
  font-size: 14px; letter-spacing: 0.08em; color: var(--muted-dark); text-transform: uppercase;
}
@media (max-width: 600px) { .roles ul { justify-content: flex-start; gap: 8px 20px; font-size: 12px; } }
.roles .marquee { border-top: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); padding: 22px 0; }
.roles .marquee ul { flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding: 0; border: 0; font-size: 15px; }
.roles .marquee li { display: inline-flex; align-items: center; white-space: nowrap; }
.roles .marquee li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 1px rgba(226,180,237,.5); margin: 0 clamp(28px, 4vw, 56px); }
.roles .marquee li:nth-child(odd) { color: var(--paper); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 56px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-size: clamp(40px, 4vw, 60px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -0.03em; }
.stat-label { color: var(--muted-light); }
.dark-section .stat-label, .stats.on-dark .stat-label { color: var(--muted-dark); }
.stat.is-accent .stat-num { color: var(--burgundy); }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .stat-num { font-size: 36px; } .stat-label { font-size: 15px; } }

/* ---------- Logo wall ---------- */
/* Fallback (no JS / reduced motion): an open hairline grid instead of boxed tiles */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(13, 13, 11, 0.12); border-left: 1px solid rgba(13, 13, 11, 0.12); }
.logos li {
  display: flex; align-items: center; justify-content: center; min-height: 112px; padding: 20px 24px;
  border-right: 1px solid rgba(13, 13, 11, 0.12); border-bottom: 1px solid rgba(13, 13, 11, 0.12); background: var(--paper);
}
/* Motion: one continuous logo rail */
/* full-bleed rail: edge to edge so more logos are visible at once */
.marquee-logos { width: 100vw; margin-left: calc(50% - 50vw); border-top: 1px solid rgba(13, 13, 11, 0.12); border-bottom: 1px solid rgba(13, 13, 11, 0.12); }
.marquee-logos + .marquee-logos { border-top: 0; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee-logos .logos { display: flex; border: 0; }
.marquee-logos .logos li { border: 0; min-height: 120px; padding: 0 clamp(28px, 3.4vw, 52px); flex: none; }
.marquee-logos .logos img { max-height: 44px; max-width: 170px; }
.marquee-logos .logos img.tall { max-height: 60px; }
/* phones: two shorter rails running in opposite directions, so all ten logos show within a screen */
@media (max-width: 767px) {
  .marquee-logos .logos li { min-height: 68px; padding: 0 16px; }
  .marquee-logos .logos img { max-height: 26px; max-width: 98px; }
  .marquee-logos .logos img.tall { max-height: 38px; }
}
.logos img {
  max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .25s, opacity .25s;
}
.logos li:hover img { filter: none; opacity: 1; }
.logos img.tall { max-height: 68px; }
.logos img.faint { filter: grayscale(1) brightness(.45) contrast(1.6); }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .logos li { min-height: 88px; padding: 16px; } .logos img { max-height: 40px; } .logos img.tall { max-height: 54px; } }

/* ---------- Service rows (home "Where I create impact" / ecosystems "What I do") ---------- */
.rows > * { border-top: 1px solid var(--line-dark); }
.light .rows > * { border-top-color: var(--line-light); }
.rows > *:last-child { border-bottom: 1px solid var(--line-dark); }
.light .rows > *:last-child { border-bottom-color: var(--line-light); }
.row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 56px;
  padding: 44px 0; text-decoration: none; color: inherit;
}
a.row { transition: background-color .25s; }
a.row:hover .link-arrow { text-decoration: underline; text-underline-offset: 4px; }
.row-title { display: flex; gap: 24px; align-items: baseline; }
.row-num { font-size: 14px; letter-spacing: 0.1em; color: var(--muted-dark); flex: none; }
.light .row-num { color: var(--burgundy); font-weight: 700; }
.row-body { display: flex; flex-direction: column; gap: 16px; }
.row-body .lead { font-size: 19px; }
.strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
  padding: 24px 0; color: var(--muted-dark);
}
.strip strong { color: var(--paper); font-weight: 600; }
.strip .eyebrow { font-size: 12px; }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--burgundy); }
.tags li { border: 1px solid var(--burgundy); border-radius: 999px; padding: 6px 14px; line-height: 1.3; }

/* ---------- Case studies ---------- */
.case-split { display: flex; flex-wrap: wrap; background: var(--burgundy); color: var(--paper); border-radius: 20px; overflow: hidden; }
.case-split .case-copy { flex: 1 1 420px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.case-split .case-media { flex: 1 1 420px; min-height: 420px; position: relative; overflow: hidden; }
.case-split .case-media > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.case-split .case-logo { position: absolute; right: 28px; bottom: 28px; width: 120px; height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.65)); }
.case-split .kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; color: rgba(255,255,255,.85); text-transform: uppercase; }
.case-split .h3 { font-size: clamp(26px, 2.6vw, 38px); }
.case-split .body { font-size: 16px; color: rgba(255,255,255,.88); }
.case-split .glance-title { font-size: 13px; letter-spacing: 0.16em; color: rgba(255,255,255,.8); text-transform: uppercase; margin-top: 8px; }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.glance div { display: flex; flex-direction: column; }
.glance strong { font-size: clamp(32px, 3vw, 40px); font-weight: 800; font-stretch: 125%; line-height: 1.1; }
.glance span { color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.35; }
@media (max-width: 520px) {
  .case-split .case-media { min-height: 0; aspect-ratio: 4 / 3; flex-basis: 100%; }
  .case-split .case-copy { flex-basis: 100%; }
  .case-split .case-logo { width: 88px; right: 16px; bottom: 16px; }
}
@media (max-width: 900px) { .case-split .case-media { order: -1; } }
@media (max-width: 420px) { .glance { gap: 18px 16px; } .glance strong { font-size: 28px; } .glance span { font-size: 15px; } }

.case-card { position: relative; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 40px; }
.case-card .head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.case-card .head .stack { max-width: 980px; }
.case-card .case-logo { width: 110px; height: auto; flex: none; }
.case-card .case-logo.sm { width: 72px; }
.case-card .kicker { font-size: 13px; letter-spacing: 0.14em; color: var(--burgundy); text-transform: uppercase; }
.case-card .title { font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; font-stretch: 120%; line-height: 1.05; letter-spacing: -0.02em; }
.crm { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 48px; }
.crm div { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--burgundy); }
.crm h4, .case-card h4 { font-size: 13px; letter-spacing: 0.14em; color: var(--burgundy); text-transform: uppercase; }
.crm p { color: var(--graphite); }
.impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding: 28px 0; border-top: 1px solid rgba(13,13,11,.14); border-bottom: 1px solid rgba(13,13,11,.14); }
.impact div { display: flex; flex-direction: column; gap: 4px; }
.impact strong { font-size: clamp(32px, 3.4vw, 40px); font-weight: 800; font-stretch: 115%; line-height: 1.05; color: var(--burgundy); }
.impact span { font-size: 16px; color: var(--graphite); }
@media (max-width: 600px) {
  .case-card .head { flex-direction: column-reverse; }
  .case-card .case-logo { width: 84px; } .case-card .case-logo.sm { width: 56px; }
  .impact { grid-template-columns: 1fr 1fr; }
}

.mini-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(280px, calc((100% - 112px) / 3))), 1fr)); gap: 56px 56px; padding: 24px 0 16px; }
.mini-case { position: relative; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 12px; }
.mini-case::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--mauve); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.mini-case:hover::before { transform: scaleX(1); }
.mini-case .org { transition: color .3s; }
.mini-case:hover .org { color: var(--mauve); }
.mini-case .org { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.mini-case .prog { font-size: 15px; font-weight: 500; color: var(--muted-dark); }
.mini-case h3 { margin-top: 6px; font-size: 24px; font-weight: 700; font-stretch: 110%; line-height: 1.2; }
.mini-case p:last-child { color: var(--muted-dark); }

/* ---------- Quotes ---------- */
.quote-feature { padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.quote-feature blockquote { flex: 999 1 560px; max-width: 880px; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.2; }
.quote-feature figcaption { flex: 1 1 220px; font-size: 15px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.quote { background: var(--stone); color: var(--ink); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.quote figcaption, .quote-dark figcaption { font-size: 15px; }
.quote figcaption span { color: var(--burgundy); }
.quote-dark { background: var(--ink-2); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote-dark blockquote { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; }
.quote-dark blockquote p + p { margin-top: 1em; }
.quote-dark figcaption span { color: var(--muted-dark); }
.quote-dark figcaption a { text-decoration: none; font-weight: 700; }
.quote-dark figcaption a:hover { text-decoration: underline; }
@media (max-width: 520px) { .quote, .quote-dark { padding: 28px; } .quote blockquote { font-size: 23px; } }

/* ---------- Stage list ---------- */
.stage-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; font-weight: 800; font-size: clamp(17px, 1.7vw, 24px); text-transform: uppercase; }
@media (max-width: 900px) { .stage-names { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Motion: stage names become one oversized band, alternating grotesk and serif italic */
.marquee-stages { padding: 8px 0; width: 100vw; margin-left: calc(50% - 50vw); }
.marquee-stages .stage-names { display: flex; gap: 0; font-size: clamp(44px, 7vw, 112px); line-height: 1.1; letter-spacing: -0.03em; font-stretch: 125%; }
.marquee-stages .stage-names li { display: inline-flex; align-items: center; white-space: nowrap; }
.marquee-stages .stage-names li:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: -0.01em; color: var(--muted-dark); }
.marquee-stages .stage-names li::after { content: ""; width: 0.16em; height: 0.16em; border-radius: 50%; background: var(--burgundy); margin: 0 0.45em; flex: none; }
.marquee-stages .stage-names li:hover { color: var(--mauve); }
.stages li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--line-dark); }
.stages li:last-child { border-bottom: 1px solid var(--line-dark); }
.stages .name { font-size: clamp(28px, 4vw, 56px); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.05; }
.stages .name .serif-i { color: var(--muted-dark); }
.stages .role { color: var(--muted-dark); }
@media (max-width: 600px) { .stages li { padding: 22px 0; } }

/* ---------- About ---------- */
.about .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about figure { flex: 1 1 340px; min-width: 0; height: 600px; border-radius: 16px; overflow: hidden; position: relative; }
.about figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about .copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about .h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.about .copy > p.intro { font-size: 20px; }
.about .bio { color: var(--graphite); }
@media (max-width: 700px) { .about .wrap { gap: 40px; } .about figure { height: auto; aspect-ratio: 4 / 5; flex-basis: 100%; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; border-radius: 16px; overflow: hidden; }
.steps li { background: var(--ink-2); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.steps li:last-child { background: var(--burgundy); }
.steps .n { font-size: 13px; letter-spacing: 0.14em; color: var(--muted-dark); text-transform: uppercase; }
.steps li:last-child .n, .steps li:last-child .d { color: rgba(255,255,255,.85); }
.steps .t { font-size: 26px; font-weight: 800; font-stretch: 125%; }
.steps .d { color: var(--muted-dark); font-size: 15px; }

/* ---------- Ecosystems hero ---------- */
.hero-eco .wrap { padding-top: clamp(32px, 7vw, 112px); padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.hero-eco .top { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.hero-eco .top .copy { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-eco .top img { flex: 1 1 380px; min-width: 0; width: 100%; height: 520px; object-fit: cover; object-position: center 40%; border-radius: 16px; }
.hero-eco .intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 64px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.hero-eco .intro p:first-child { font-size: 21px; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; font-stretch: 110%; line-height: 1.3; }
.who li { padding: 20px 0; border-top: 1px solid var(--line-dark); }
@media (max-width: 700px) { .hero-eco .top img { height: auto; aspect-ratio: 4 / 3; } }

/* ---------- Speaking hero with showreel ---------- */
.hero-stage { padding: 8px clamp(12px, 2vw, 24px) 0; }
.stage-frame {
  position: relative; height: clamp(520px, 56vw, 800px); max-height: calc(100svh - var(--header-h) - 16px); border-radius: 24px; overflow: hidden;
  background: #23221E; border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 4vw, 56px);
  isolation: isolate;
}
.stage-frame .poster, .stage-frame .bg-video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.stage-frame .poster { object-fit: cover; object-position: center 45%; }
.stage-frame .bg-video { overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.stage-frame .bg-video.is-playing { opacity: 1; }
.stage-frame .bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* site.js sizes the player larger than the frame so YouTube's own bars sit outside it */
.stage-frame .bg-video iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 0; transform: translate(-50%, -50%); max-width: none; }
.stage-frame .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 35%); }
.stage-frame .roles-pill { align-self: flex-end; font-size: clamp(11px, 1.2vw, 16px); font-weight: 600; letter-spacing: 0.14em; background: rgba(0,0,0,.45); padding: 10px 18px; border-radius: 999px; text-transform: uppercase; text-align: center; }
.stage-frame h1 { max-width: min(640px, 44%); text-shadow: 0 2px 24px rgba(0,0,0,.35); font-size: clamp(32px, 4vw, 60px); line-height: 1.02; }
.play-btn {
  position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px);
  display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--paper);
}
.play-btn .circle { width: clamp(72px, 7vw, 104px); height: clamp(72px, 7vw, 104px); border-radius: 999px; background: var(--burgundy); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(0,0,0,.4); transition: transform .2s, background-color .2s; }
.play-btn:hover .circle { transform: scale(1.06); background: #7a0a40; }
.play-btn .txt { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.play-btn svg { width: 34%; height: 34%; margin-left: 6%; }
@media (max-width: 760px) {
  .stage-frame { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; padding: 0; background: var(--ink); border: 0; border-radius: 20px; display: block; }
  .stage-frame .media-box { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; isolation: isolate; }
  .stage-frame .poster, .stage-frame .bg-video, .stage-frame .shade { position: absolute; }
  .stage-frame .shade { background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,0) 100%); }
  .stage-frame .roles-pill { position: absolute; top: 14px; left: 14px; right: 14px; font-size: 10.5px; letter-spacing: 0.12em; padding: 8px 12px; }
  .stage-frame h1 { position: absolute; left: 20px; right: 20px; bottom: 112px; max-width: none; font-size: clamp(30px, 9vw, 44px); }
  .play-btn { left: 20px; right: auto; bottom: 20px; }
}
@media (min-width: 761px) { .stage-frame .media-box { display: contents; } }

/* video modal */
.video-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 48px); background: rgba(5,5,4,.92); }
.video-modal.is-open { display: flex; }
.video-modal .frame { position: relative; width: min(1200px, 100%, calc((100vh - 96px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.video-modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.video-modal .close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.5); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.video-modal .close:hover { background: rgba(255,255,255,.15); }

/* inline lite video */
.lite-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #1B1A17; }
.lite-video img, .lite-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.lite-video .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 40%); }
.lite-video .play-btn { left: clamp(16px, 3vw, 40px); right: auto; bottom: clamp(16px, 3vw, 40px); }
.lite-video .play-btn .circle { width: clamp(64px, 6vw, 88px); height: clamp(64px, 6vw, 88px); }
.lite-video .yt-fallback { position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); }
.video-modal .yt-error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-note { margin-top: 12px; font-size: 14px; color: var(--muted-dark); }
.video-note a { color: var(--paper); }

/* formats */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.formats article { background: var(--stone); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 16px; min-height: 220px; }
.formats h3 { font-size: 28px; font-weight: 700; font-stretch: 115%; line-height: 1.1; }
.formats p { color: var(--muted-light); }

.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 72px; }
.topics ol { font-size: 20px; font-weight: 500; }
.topics li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-light); }
.topics li:last-child { border-bottom: 1px solid var(--line-light); }
.topics li span { color: var(--burgundy); font-weight: 700; font-size: 14px; padding-top: 5px; white-space: nowrap; }
@media (max-width: 520px) { .topics ol { font-size: 18px; } .topics li { gap: 14px; } }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); }
.cta-band .copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cta-band .h1 { line-height: 0.98; }
.cta-band .copy p { max-width: 640px; font-size: 20px; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; padding-top: var(--section); padding-bottom: var(--section); }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }
.contact .side { display: flex; flex-direction: column; gap: 28px; }
.contact .side .h2 { font-size: clamp(34px, 4vw, 56px); }
.direct { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-dark); }
.direct a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font-weight: 600; }
.direct a small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted-dark); text-transform: uppercase; margin-bottom: 2px; }
.direct a:hover .arr { transform: translateX(4px); }
.direct .arr { transition: transform .2s; flex: none; }
/* HubSpot forms render inside an iframe with their own light theme, so they sit on a white card */
.forms { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hs-card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(20px, 3.5vw, 40px); min-height: 420px; }
.hs-card[hidden] { display: none; }
@media (max-width: 600px) { .hs-card { padding: 8px 4px; border-radius: 16px; } }
.hs-card .hs-form-frame { width: 100%; }
.form-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-dark); border-radius: 999px; align-self: flex-start; }
.form-tabs button { border: 0; background: transparent; color: var(--muted-dark); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.form-tabs button:hover { color: var(--paper); }
.form-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
@media (max-width: 480px) { .form-tabs { display: flex; align-self: stretch; } .form-tabs button { flex: 1; padding: 12px 10px; font-size: 14px; } }

/* speaker kit gate */
.kit-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5,5,4,.85); }
.kit-modal[hidden] { display: none; }
.kit-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.kit-box .close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.kit-box .h3 { padding-right: 44px; }
.kit-box .kit-intro { color: var(--graphite); }
.kit-done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 8px; }
.kit-done[hidden] { display: none; }
.kit-done p { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 40px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.1); }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col a { text-decoration: none; }
.site-footer .col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .col .h { font-size: 12px; letter-spacing: 0.16em; color: var(--muted-dark); text-transform: uppercase; margin-bottom: 2px; }
.site-footer .brand-col .brand { font-size: 15px; }
.site-footer .brand-col p { color: var(--muted-dark); }
@media (max-width: 700px) { .site-footer .brand-col { grid-column: 1 / -1; } .site-footer .grid { gap: 32px 20px; padding-top: 56px; } }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-dark); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); text-decoration: none !important; }
.socials svg { width: 18px; height: 18px; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #8E8A80; }
.site-footer .legal a { text-decoration: none; }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 8px 24px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link-btn:hover, .site-footer .legal a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Interaction details ---------- */
/* desktop nav: underline draws in from the left */
@media (min-width: 901px) {
  .nav > a:not(.nav-cta) { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; }
  .nav > a:not(.nav-cta):hover { background-size: 100% 1px; transition: color .3s var(--ease), background-size .45s var(--ease); }
  .nav a[aria-current="page"] { box-shadow: none; background-size: 100% 1px; padding-bottom: 12px; }
}
.stat-num { font-variant-numeric: tabular-nums; }
.stats .stat { padding-top: 20px; position: relative; }
.stats .stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-light); }
.stats.on-dark .stat::before { background: var(--line-dark); }
.stats .stat::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; margin-top: -0.5px; background: var(--burgundy); transform-origin: left; transform: scaleX(0.18); transition: transform 1.4s var(--ease) .2s; }
.stats.on-dark .stat::after { background: var(--mauve); }
.stats .stat.is-in::after { transform: scaleX(1); }
.stats .stat:not(.reveal)::after { transform: scaleX(1); }

/* service rows: the title glides, the number lights up, the arrow travels */
a.row .h3, a.row .row-num, a.row .link-arrow { transition: transform .6s var(--ease), color .4s var(--ease); }
a.row .link-arrow { display: inline-block; }
a.row:hover .h3 { transform: translateX(10px); }
a.row:hover .row-num { color: var(--mauve); }
a.row:hover .link-arrow { transform: translateX(6px); text-decoration: none; }
.rows > .row { position: relative; }
.rows > .row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.light .rows > .row::before { background: var(--burgundy); }
.rows > .row:hover::before { transform: scaleX(1); }

/* photography: slow zoom on hover */
.case-split .case-media > img:first-child { transition: transform 1.2s var(--ease); }
.case-split:hover .case-media > img:first-child { transform: scale(1.04); }

/* cards: lift with a soft tinted shadow, no glow */
.mini-case, .formats article, .quote, .quote-dark, .logos li, .vsocial a { transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .5s var(--ease); }
.quote-dark:hover { transform: translateY(-4px); background: #201F1C; }
.formats article:hover, .quote:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(102, 0, 51, 0.35); }
.formats article { position: relative; overflow: hidden; }
.formats article::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.formats article:hover::after { transform: scaleX(1); }

/* lists with hairlines: a gentle nudge on hover */
.stages li .name, .topics li, .direct a > span:first-child { transition: transform .5s var(--ease), color .3s; }
.stages li:hover .name { transform: translateX(10px); }
.topics li:hover { transform: translateX(6px); }
.direct a:hover > span:first-child { transform: translateX(4px); }
.direct .arr { transition: transform .45s var(--ease); }
.steps li { transition: background-color .4s var(--ease); }
.steps li:not(:last-child):hover { background: #23221F; }

/* play buttons: a slow sonar ring so the video invites a click */
.play-btn .circle { position: relative; transition: transform .5s var(--ease), background-color .3s; }
@media (prefers-reduced-motion: no-preference) {
  .play-btn .circle::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid rgba(255, 255, 255, 0.55); animation: sonar 2.6s var(--ease) infinite; pointer-events: none; }
}
@keyframes sonar { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }

/* film grain on a fixed layer: adds depth to the flat ink without repainting on scroll */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Marquee rails (built by site.js) ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee-track > * { flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Entrances & scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* first screen of each page */
  .js .hero-home .copy > *, .js .hero-eco .top .copy > *, .js .stage-frame .roles-pill, .js .stage-frame h1, .js .stage-frame .play-btn {
    animation: rise 1.1s var(--ease) both;
  }
  .js .hero-home .copy > :nth-child(1), .js .hero-eco .top .copy > :nth-child(1), .js .stage-frame .roles-pill { animation-delay: .08s; }
  .js .hero-home .copy > :nth-child(2), .js .hero-eco .top .copy > :nth-child(2), .js .stage-frame h1 { animation-delay: .2s; }
  .js .hero-home .copy > :nth-child(3), .js .hero-eco .top .copy > :nth-child(3), .js .stage-frame .play-btn { animation-delay: .34s; }
  .js .hero-home .portrait img, .js .hero-eco .top > img { animation: unveil 1.4s var(--ease) .1s both; }
  .js .stage-frame .poster { animation: settle 2.4s var(--ease) both; }
  .js .roles { animation: fade 1.2s var(--ease) .5s both; }
  .js .site-header .wrap { animation: fade .9s var(--ease) both; }

  /* the burgundy highlight sweeps in like a marker stroke */
  .js .hl { transition: background-size 1.1s var(--ease) .25s; }
  .js .hl.hl-pending { background-size: 0% var(--hl-h); }
  .js .hero-home .hl, .js .hero-eco .hl, .js .stage-frame .hl { animation: sweep 1.1s var(--ease) .55s both; }

  /* everything else rises as it scrolls into view, siblings in a short cascade */
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .stats .stat.reveal.is-in::after { transition-delay: calc(var(--d, 0s) + .25s); }

  /* images drift slightly against the scroll (scroll-driven, no JS) */
  @supports (animation-timeline: view()) {
    .case-split .case-media, .about figure { overflow: hidden; }
    .case-split .case-media > img:first-child, .about figure img, .lite-video > img {
      animation: drift linear both; animation-timeline: view(); animation-range: cover;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 16px); transform: scale(1.12); } to { clip-path: inset(0 0 0 0 round 16px); transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes sweep { from { background-size: 0% var(--hl-h); } to { background-size: 100% var(--hl-h); } }
@keyframes drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.12) translateY(3%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
