/* Fonts: see css/fonts.css (embedded so they also work when opened from disk). */

/* =========================================================
   Tokens
   ========================================================= */
:root {
  --paper: #f4f5f7;
  --ink: #0e0e0e;
  --muted: #6b6e74;
  --line: #0e0e0e1f;
  --line-dark: #f4f5f729;
  --accent: #c8f53c;
  --gutter: clamp(1rem, 2.4vw, 2rem);
  --topbar: 0rem;
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --text-display-l: clamp(2.75rem, 7vw, 6.5rem);
  --font-sans: grotesk, "grotesk Fallback", Arial, Helvetica, sans-serif;
  --font-mono: mono, "mono Fallback", "Courier New", monospace;
  --shadow-2xl-50: 0 25px 50px -12px rgb(0 0 0 / .5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --shadow-xl-15: 0 20px 25px -5px rgb(0 0 0 / .15), 0 8px 10px -6px rgb(0 0 0 / .15);
}

/* =========================================================
   Reset (Tailwind preflight subset)
   ========================================================= */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 3.5rem);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--ink); }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ol, ul, menu { list-style: none; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; text-transform: none; background: transparent; border-radius: 0; cursor: pointer; letter-spacing: inherit; }
[hidden] { display: none !important; }

/* =========================================================
   Components / utilities
   ========================================================= */
.px-site { padding-inline: var(--gutter); }
.label { font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; font-size: .6875rem; }
.display { letter-spacing: -.045em; text-transform: uppercase; font-weight: 400; line-height: .86; }
.muted { color: var(--muted); }
.block { display: block; }
.invisible { visibility: hidden; }
.normal-case { text-transform: none; }
.sr-only {
  clip-path: inset(50%); white-space: nowrap; border-width: 0;
  width: 1px; height: 1px; margin: -1px; padding: 0; position: absolute; overflow: hidden;
}
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }

.link-line {
  transition: background-size .5s var(--ease-out-expo);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
}
.link-line:hover, .link-line:focus-visible, .hover-group:hover .link-line { background-size: 100% 1px; }
.link-line:hover { background-size: 100% 1px; }

.tap-area { position: relative; }
.tap-area::after { content: ""; position: absolute; inset: -.625rem -.25rem; }
@media (min-width: 48rem) { .tap-area::after { content: none; } }

.arrow { width: .875rem; height: .875rem; flex-shrink: 0; transition: translate .5s var(--ease-out-expo), rotate .5s var(--ease-out-expo); }
.arrow--sm { width: .75rem; height: .75rem; }
.hover-group:hover .hover-right { translate: .25rem 0; }
.hover-group:hover .hover-rotate { rotate: 45deg; }
.hover-group:hover .hover-down { translate: 0 .125rem; }

.text-link {
  display: inline-flex; width: fit-content; align-items: center; gap: .5rem;
  font-size: .875rem; line-height: 1.25rem; text-transform: uppercase;
  transition: background-size .5s var(--ease-out-expo);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 1px; }

.pill {
  display: flex; width: fit-content; cursor: pointer; align-items: center; gap: .75rem;
  border-radius: 9999px; background: var(--ink); color: var(--paper);
  padding: .75rem .75rem .75rem 1.5rem; font-size: .875rem; line-height: 1.25rem; text-transform: uppercase;
  transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1);
}
.pill:hover { background: var(--accent); color: var(--ink); }
.pill-arrow { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9999px; background: var(--paper); color: var(--ink); }
.pill:hover .hover-rotate { rotate: 45deg; }

.dot { width: .375rem; height: .375rem; border-radius: 9999px; background: var(--accent); }
.dot--pulse { animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.dot--ring { box-shadow: 0 0 0 1px rgb(14 14 14 / .2); }
.dot-row { display: flex; align-items: center; gap: .5rem; }


/* Letter drop (shared) */
.drop { display: inline-block; transform: translateY(calc((1 - var(--d, 0)) * -110svh)) rotate(calc((1 - var(--d, 0)) * var(--r, 0deg))); }
.word { display: inline-block; white-space: nowrap; }

/* Reveal */
[data-reveal] {
  opacity: 0; transform: translateY(1.5rem);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="visible"] { opacity: 1; transform: none; }

/* Sound bars */
.bars { display: flex; height: .75rem; align-items: flex-end; gap: .125rem; }
.bars > span {
  height: 100%; width: .125rem; transform-origin: bottom; background: currentColor;
  transform: scaleY(.17); transition: transform .5s var(--ease-out-expo);
}
.bars > span.eq { animation: eq var(--eq-duration) ease-in-out var(--eq-delay) infinite alternate; }

/* Skip link */
.skip-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  border-radius: 9999px; background: var(--ink); color: var(--paper); padding: .75rem 1.25rem;
}
.skip-link:focus-visible { position: fixed; top: .75rem; left: .75rem; z-index: 100; width: auto; height: auto; overflow: visible; clip-path: none; }

/* =========================================================
   Fixed chrome
   ========================================================= */
.sound-toggle {
  position: fixed; bottom: var(--gutter); left: var(--gutter); z-index: 50;
  display: flex; height: 3rem; align-items: center; gap: .625rem;
  color: #fff; mix-blend-mode: difference;
  animation: appear .8s var(--ease-out-expo) .6s both;
}
@media (min-width: 48rem) { .sound-toggle { height: 3.5rem; } }


.header-blur {
  pointer-events: none; position: fixed; inset-inline: 0; top: var(--topbar); z-index: 40;
  height: calc(3.5rem + 1px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .5s cubic-bezier(.4, 0, .2, 1);
}
.header-blur.on { opacity: 1; }
.site-header {
  pointer-events: none; position: fixed; inset-inline: 0; top: var(--topbar); z-index: 50;
  border-bottom: 1px solid transparent; color: #fff; mix-blend-mode: difference;
  transition: border-color .5s cubic-bezier(.4, 0, .2, 1);
}
.site-header.scrolled { border-color: rgb(255 255 255 / .2); }
.header-grid { display: grid; height: 3.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; font-size: .8125rem; text-transform: uppercase; }
.header-brand { display: flex; align-items: center; gap: .75rem; }
.logo-link { pointer-events: auto; width: fit-content; }
.logo-mark {
  display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
  font-family: var(--font-sans); font-size: 1rem; line-height: 1; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
}
.logo-star { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.logo-mark--menu { font-size: 1rem; }
.header-nav { pointer-events: auto; grid-column: span 2 / span 2; display: none; align-items: center; justify-content: flex-end; gap: 2rem; }
.menu-btn { pointer-events: auto; margin-right: -.75rem; display: flex; min-height: 2.75rem; align-items: center; justify-self: end; padding-inline: .75rem; }
@media (min-width: 48rem) {
  .header-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .header-nav { display: flex; grid-column: 3 / span 2; }
  .menu-btn { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
  transition: clip-path .7s var(--ease-out-expo);
  pointer-events: none; clip-path: inset(0 0 100% 0);
}
.mobile-menu.open { pointer-events: auto; clip-path: inset(0); }
@media (min-width: 48rem) { .mobile-menu { display: none; } }
.mobile-menu-top { margin-top: var(--topbar); display: flex; height: 3.5rem; align-items: center; justify-content: space-between; font-size: .8125rem; text-transform: uppercase; }
.menu-close { margin-right: -.75rem; display: flex; min-height: 2.75rem; align-items: center; padding-inline: .75rem; }
.mobile-menu-nav { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; padding-bottom: 2.5rem; }
.mobile-menu-nav a { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-dark); padding-top: .75rem; font-size: 15vw; }

.to-top {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 50;
  display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center;
  border-radius: 9999px; color: #fff; mix-blend-mode: difference;
  transition: opacity .5s var(--ease-out-expo), translate .5s var(--ease-out-expo);
  pointer-events: none; translate: 0 1rem; opacity: 0;
}
.to-top.show { pointer-events: auto; translate: 0 0; opacity: 1; }
@media (min-width: 48rem) { .to-top { width: 3.5rem; height: 3.5rem; } }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top-icon { position: relative; width: 1rem; height: 1rem; overflow: hidden; }
.to-top-icon > span { position: absolute; inset: 0; transition: translate .5s var(--ease-out-expo); }
.to-top-icon svg { width: 1rem; height: 1rem; }
.to-top-b { translate: 0 100%; }
.to-top:hover .to-top-a { translate: 0 -100%; }
.to-top:hover .to-top-b { translate: 0 0; }

.cursor-bubble-wrap { pointer-events: none; position: fixed; top: 0; left: 0; z-index: 300; display: none; }
.cursor-bubble-wrap--sound { z-index: 310; }
@media (hover: hover) { .cursor-bubble-wrap { display: block; } }
.cursor-bubble {
  display: grid; width: 6rem; height: 6rem; place-items: center; border-radius: 9999px;
  background: var(--accent); text-align: center; color: var(--ink);
  transition: scale .5s var(--ease-out-expo), opacity .5s var(--ease-out-expo);
  scale: 0; opacity: 0;
}
.cursor-bubble.on { scale: 1; opacity: 1; }
.cursor-bubble--sound { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding-inline: .75rem; line-height: 1.25; }

/* =========================================================
   Main
   ========================================================= */
main { padding-top: var(--topbar); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 320svh; background: var(--ink); color: var(--paper); }
.hero-sticky { position: sticky; top: 0; display: flex; height: 100svh; flex-direction: column; overflow: hidden; }
.hero-stage { position: relative; display: flex; flex: 1 1 0%; align-items: center; justify-content: center; padding-top: 6rem; padding-bottom: 2.5rem; }
.hero-stack-pos { position: absolute; top: 18%; left: 50%; translate: -20% 0; }
@media (min-width: 48rem) { .hero-stack-pos { top: 50%; translate: -50% -62%; } }
.hero-stack {
  position: relative; aspect-ratio: 3 / 4; width: min(42vw, 15rem);
  transform: translate3d(calc(var(--px, 0) * 40px), calc(var(--py, 0) * 30px), 0);
  transition: transform .6s var(--ease-out-expo);
}
@media (min-width: 48rem) { .hero-stack { width: min(22vw, 17rem); } }
.stack-slot { position: absolute; inset: 0; }
.stack-slot--drop { transform: translate3d(0, calc((1 - var(--drop, 1)) * -110svh), 0) rotate(calc((1 - var(--drop, 1)) * -28deg)); }
.stack-slot--fan { transform: translate3d(0, calc((1 - var(--fan, 1)) * 18%), 0) scale(calc(.8 + .2 * var(--fan, 1))); opacity: var(--fan, 1); }
.stack-card {
  position: absolute; inset: 0; cursor: pointer; overflow: hidden; box-shadow: var(--shadow-2xl-50);
  transition: transform .7s var(--ease-out-expo), opacity .7s var(--ease-out-expo);
}
.stack-portrait { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 3 / 4; }
.poster { display: flex; aspect-ratio: 3 / 4; width: 100%; flex-direction: column; justify-content: space-between; padding: 1rem; text-align: left; }
.poster-top { display: flex; align-items: flex-start; justify-content: space-between; }
.poster-star { width: 1.75rem; height: 1.75rem; }
.poster-title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: .92; }
@media (min-width: 48rem) { .poster { padding: 1.25rem; } .poster-star { width: 2.25rem; height: 2.25rem; } }
.stack-label {
  position: absolute; top: -2.75rem; left: 0; z-index: 10; display: flex; width: 100%; justify-content: space-between;
  color: rgb(244 245 247 / .7); opacity: var(--fan, 1);
}

.hero-title {
  pointer-events: none; position: relative; z-index: 10; margin-top: 45vw; mix-blend-mode: difference; width: 100%;
  font-size: clamp(3.25rem, 11.5vw, 11.5rem); line-height: 1.14;
}
@media (min-width: 48rem) { .hero-title { margin-top: 0; } }
.hero-line { display: block; }
.hero-line--2, .hero-line--3 { white-space: nowrap; }
.hero-line--2 { padding-left: 6%; }
.hero-line--3 { padding-left: 30%; }
@media (min-width: 48rem) {
  .hero-line--1 { padding-left: 8%; }
  .hero-line--2 { padding-left: 22%; }
  .hero-line--3 { padding-left: 48%; }
}
.hello {
  display: inline-block; transform-origin: center;
  transform: translate(calc(var(--hello-x, 0px) * (1 - var(--settle))), calc(var(--hello-y, 0px) * (1 - var(--settle))))
             scale(calc(1 + (var(--hello-s, 1) - 1) * (1 - var(--settle))));
}
.caret {
  margin-left: .04em; display: inline-block; height: .78em; translate: 0 .04em; background: var(--accent); vertical-align: baseline;
  animation: caret 1s steps(1) infinite;
  width: calc(.06em * max(0, 1 - var(--settle) * 4));
}
.hero-hint {
  pointer-events: none; position: absolute; inset-inline: 0; bottom: 2rem; text-align: center;
  color: rgb(244 245 247 / .6); opacity: calc(1 - var(--hint));
}
.hero-hint > span { display: inline-flex; align-items: center; gap: .375rem; }
.hero-tail {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 1rem;
  border-top: 1px solid var(--line-dark); padding-block: 1.5rem;
  opacity: var(--tail); transform: translateY(calc((1 - var(--tail)) * 1.5rem));
}
.hero-tail-mid { display: none; text-align: center; }
.hero-tail-link { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
@media (min-width: 48rem) {
  .hero-tail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-tail-mid { display: block; }
}

/* ---------- Works reel ---------- */
.reel { position: relative; height: 300svh; background: var(--paper); color: var(--ink); }
.reel-sticky { position: sticky; top: 0; isolation: isolate; height: 100svh; overflow: hidden; background: var(--paper); }
.reel-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1600px; }
.reel-rotor {
  position: relative; width: 0; height: 0; transform-style: preserve-3d; --w: min(36vw, 15rem);
  transform: rotateZ(-12deg) rotateX(-14deg) rotateY(var(--spin, 0deg));
}
@media (min-width: 48rem) { .reel-rotor { --w: min(20vw, 17rem); } }
.reel-card {
  position: absolute; top: 0; left: 0; aspect-ratio: 3 / 4; width: var(--w); transform-origin: left;
  margin-top: calc(var(--w) * -2 / 3); box-shadow: var(--shadow-xl-15);
  opacity: min(1, var(--g, 0) * 3);
  transform: translate3d(calc((1 - var(--g, 0)) * var(--tx)), calc((1 - var(--g, 0)) * var(--ty)), calc((1 - var(--g, 0)) * var(--tz)))
             rotateZ(calc((1 - var(--g, 0)) * var(--rz))) rotateY(calc(var(--g, 0) * var(--ry)));
}
.reel-copy { pointer-events: none; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
.reel-tagline {
  max-width: 34ch; text-align: center; text-wrap: balance; font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.1; letter-spacing: -.02em; color: #fff; text-transform: uppercase; mix-blend-mode: difference;
}
@media (min-width: 48rem) { .reel-tagline { max-width: 44ch; } }
.tw {
  --k: clamp(0, calc(var(--tagline, 0) * var(--n, 11) - var(--i)), 1);
  display: inline-block; opacity: var(--k); transform: translateY(calc((1 - var(--k)) * .8em));
}
.reel-title {
  font-size: clamp(4.5rem, 17vw, 17rem); color: #fff; mix-blend-mode: difference;
  opacity: var(--title, 0); transform: scale(calc(.85 + .15 * var(--title, 0)));
}
.reel-cta { pointer-events: auto; opacity: var(--cta, 0); transform: translateY(calc((1 - var(--cta, 0)) * 1rem)); }

/* ---------- Scroll scenes (shared) ---------- */
.scene { position: relative; }
.scene-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }

/* ---------- How I build ---------- */
.build { height: 260svh; border-top: 1px solid var(--line); }
.build-stage { display: flex; flex-direction: column; }
.build-grid { display: grid; flex: 1 1 0%; align-content: center; gap: 2.5rem; padding-top: 5rem; }
@media (min-width: 48rem) { .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.build-title { font-size: var(--text-display-l); line-height: .95; }
.frame { position: relative; display: inline-block; padding: .08em .18em; }
.frame-bg { position: absolute; inset: 0; background: rgb(14 14 14 / .035); opacity: var(--frame, 0); }
.frame-bar { position: absolute; inset-block: 0; width: 2px; transform-origin: top; background: var(--ink); transform: scaleY(var(--frame, 0)); }
.frame-bar--l { left: 0; }
.frame-bar--r { right: 0; }
.frame-dot {
  position: absolute; width: .16em; height: .16em; border-radius: 9999px; background: var(--accent);
  box-shadow: 0 0 0 2px var(--ink); transform: scale(var(--frame, 0));
}
.frame-dot--tl { top: -.08em; left: -.07em; }
.frame-dot--br { right: -.07em; bottom: -.08em; }
.build-text { align-self: end; font-size: clamp(1.25rem, 2.1vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
@media (min-width: 48rem) { .build-text { max-width: 30ch; justify-self: end; } }
.fw { opacity: calc(.12 + .88 * clamp(0, calc(var(--text, 0) * var(--n) - var(--i)), 1)); }
.build-marquee { overflow: hidden; border-top: 1px solid var(--line); padding-block: 1.5rem; }
@media (min-width: 48rem) { .build-marquee { padding-block: 2rem; } }
.build-marquee-track {
  display: flex; width: max-content; align-items: center; gap: .4em; font-size: clamp(2.5rem, 7vw, 7rem); white-space: nowrap;
  transform: translateX(calc(var(--p, 0) * -50%));
}
.build-marquee-track .arrow-sep { color: var(--muted); }

/* ---------- Selected works (featured stack) ---------- */
.featured { position: relative; height: var(--stack); }
.featured-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.featured-heading { pointer-events: none; position: absolute; top: 5rem; left: 0; }
.featured-heading h2 { font-size: var(--text-display-l); color: var(--ink); }
.featured-indent { padding-left: .66em; }
@media (min-width: 48rem) { .featured-heading { top: 6rem; } }
.featured-card {
  position: absolute; top: 60%; left: 50%; display: block; width: min(74vw, calc(44svh * 4 / 3));
  cursor: none; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
  will-change: transform; transform: translate3d(-50%, -50%, 0); visibility: hidden;
}
@media (min-width: 48rem) { .featured-card { top: 54%; left: 63%; width: min(30vw, calc(46svh * 4 / 3)); } }
.ratio-43 { position: relative; aspect-ratio: 4 / 3; }
.featured-info { pointer-events: none; position: absolute; bottom: 2rem; left: 0; }
@media (min-width: 48rem) { .featured-info { top: 50%; bottom: auto; translate: 0 -50%; } }
.rise { animation: rise .7s var(--ease-out-expo) both; }
.featured-info .detail { max-width: 16rem; color: var(--muted); }
.featured-info .title { margin-top: .5rem; font-size: 1.5rem; line-height: 2rem; letter-spacing: -.03em; text-transform: uppercase; }
@media (min-width: 48rem) { .featured-info .title { font-size: 1.875rem; line-height: 2.25rem; } }
.featured-all {
  position: absolute; top: calc(5rem + var(--text-display-l) * 1.72 + .5rem); left: var(--gutter); min-height: 1.5rem;
}
@media (min-width: 48rem) { .featured-all { top: 50%; right: var(--gutter); left: auto; translate: 0 -50%; } }

/* ---------- Who I am (focus) ---------- */
.focus { position: relative; height: 300svh; }
.focus-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.focus-center { display: flex; height: 100%; align-items: center; justify-content: center; }
.focus-inner { position: relative; width: 100%; max-width: 84rem; padding-block: 4rem; }
.focus-labels {
  display: flex; justify-content: space-between; color: var(--muted);
  opacity: var(--labels, 0); transform: translateY(calc((1 - var(--labels, 0)) * .75rem));
}
.focus-labels--top { margin-bottom: 2rem; }
.focus-labels--bottom { margin-top: 2rem; }
@media (min-width: 48rem) { .focus-labels--top { margin-bottom: 2.5rem; } .focus-labels--bottom { margin-top: 2.5rem; } }
.focus-text {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: .24em; row-gap: .06em;
  text-align: center; font-size: var(--text-display-l); line-height: .92;
}
.focus-text [data-word] { display: inline-block; transition: filter .3s cubic-bezier(0, 0, .2, 1), opacity .3s cubic-bezier(0, 0, .2, 1); }
.focus-photo {
  position: relative; display: inline-block; aspect-ratio: 3 / 4; height: .95em; overflow: hidden; background: var(--ink);
  clip-path: inset(calc((1 - var(--photo, 0)) * 50%));
}
.focus-photo img { filter: grayscale(100%); transform: scale(calc(1.25 - .25 * var(--photo, 0))); }

.about-teaser { position: relative; margin-top: -20svh; padding-bottom: 7rem; }
@media (min-width: 48rem) { .about-teaser { margin-top: -10svh; padding-bottom: 10rem; } }
.about-grid { margin-inline: auto; display: grid; max-width: 84rem; gap: 2.5rem; }
@media (min-width: 48rem) { .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 3rem; } .about-more { justify-self: end; } }
.about-copy { margin-top: .75rem; max-width: 38ch; font-size: .9375rem; line-height: 1.625; }

/* ---------- Numbers ---------- */
.numbers { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: 6rem; }
@media (min-width: 48rem) { .numbers { padding-block: 8rem; } }
.numbers-title { margin-bottom: 3rem; display: flex; align-items: center; gap: .5rem; color: var(--muted); opacity: var(--title, 0); }
@media (min-width: 48rem) { .numbers-title { margin-bottom: 4rem; } }
.numbers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 3.5rem; }
@media (min-width: 48rem) { .numbers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; }
.stat-fade { opacity: var(--k); transform: translateY(calc((1 - var(--k)) * .75rem)); }
.stat-label { order: 2; padding-top: .75rem; font-size: .875rem; line-height: 1.25rem; }
.stat-value { order: 1; }
.stat-number { display: block; font-size: clamp(3.5rem, 9vw, 9rem); line-height: 1; letter-spacing: -.05em; }
.stat-rule { margin-top: 1.25rem; display: block; border-top: 1px dashed rgb(14 14 14 / .3); transform-origin: left; transform: scaleX(var(--k)); }
.stat-note { order: 3; margin-top: .25rem; max-width: 24ch; font-size: .75rem; line-height: 1.625; color: var(--muted); }

/* ---------- Services ---------- */
.services { height: 260svh; border-top: 1px solid var(--line); }
.services-stage { display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; padding-bottom: 1.5rem; }
.services-intro { margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; opacity: var(--intro, 0); }
@media (min-width: 48rem) { .services-intro { margin-bottom: 3.5rem; flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.services-lede { max-width: 36ch; font-size: .9375rem; line-height: 1.625; color: var(--muted); }
.services-list { position: relative; text-align: center; }
.service {
  position: relative; cursor: default; padding-block: .06em; font-size: clamp(1.75rem, 5vw, 4.75rem); line-height: .95;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1); outline: none;
  opacity: calc(1 - var(--settle, 0) * .88);
}
.service:focus-visible { text-decoration: underline; }
.service.active { z-index: 20; opacity: 1; }
.service-thumb {
  pointer-events: none; position: absolute; top: 0; left: 0; z-index: 10; aspect-ratio: 4 / 3;
  width: clamp(6.5rem, 13vw, 12rem); overflow: hidden; box-shadow: var(--shadow-xl); will-change: transform;
  opacity: var(--settle, 0);
}
.service-thumb > * { position: absolute; inset: 0; transition: opacity .5s var(--ease-out-expo), scale .5s var(--ease-out-expo); scale: 1.1; opacity: 0; }
.service-thumb > .on { scale: 1; opacity: 1; }
.service-details {
  margin-inline: auto; margin-top: 2rem; display: grid; max-width: 34ch; text-align: center;
  opacity: var(--settle, 0); transform: translateY(calc((1 - var(--settle, 0)) * .75rem));
}
@media (min-width: 48rem) { .service-details { margin-top: 3rem; } }
.service-details > p {
  grid-column-start: 1; grid-row-start: 1;
  transition: opacity .5s var(--ease-out-expo), translate .5s var(--ease-out-expo);
  translate: 0 .5rem; opacity: 0;
}
.service-details > p.on { translate: 0 0; opacity: 1; }
.service-details .text { margin-top: .75rem; display: block; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.375; }

/* =========================================================
   Inner pages (Works / About / Services / Contact)
   ========================================================= */
.text-display-xl { font-size: clamp(3.5rem, 12vw, 11rem); }
.text-display-l { font-size: var(--text-display-l); }
.text-display-m { font-size: clamp(1.75rem, 3vw, 3rem); }
.text-display-s { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.tag {
  font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; background: #0e0e0e12;
  border-radius: 9999px; padding: .3rem .7rem; font-size: .6875rem; display: inline-block;
}
.rise-mask { display: block; overflow: hidden; margin-top: -.22em; padding-top: .22em; }
.rise-mask > span { display: block; animation: rise 1.1s var(--ease-out-expo) both; }
.rise-block { display: block; overflow: hidden; }
.rise-block > span { display: block; animation: rise 1.1s var(--ease-out-expo) both; }

/* Active nav item */
.header-nav a[aria-current="page"] { background-size: 100% 1px; }
.mobile-menu-nav .current-dot { width: .12em; height: .12em; border-radius: 9999px; background: var(--accent); }

/* Page hero (Works / Services / Contact) */
.page-hero { padding-top: 7rem; padding-bottom: 4rem; }
@media (min-width: 48rem) { .page-hero { padding-top: 9rem; } }
.page-hero h1 { margin-top: 3.5rem; }
.page-lede-grid { margin-top: 2.5rem; display: grid; }
.page-lede { border-left: 1px solid var(--ink); padding-left: 1rem; font-size: .9375rem; line-height: 1.625; color: rgb(14 14 14 / .8); }
@media (min-width: 48rem) {
  .page-lede-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-lede { grid-column: 3 / span 2; }
}

/* Chips (filters, form options) */
.chip {
  display: flex; align-items: baseline; gap: .5rem; border-radius: 9999px; border: 1px solid rgb(14 14 14 / .25);
  padding: .5rem 1rem; font-size: .875rem; line-height: 1.25rem;
  transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1);
}
.chip:hover { border-color: var(--ink); }
.chip .label { color: var(--muted); }
.chip.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip.on .label { color: rgb(244 245 247 / .6); }

/* ---------- Works ---------- */
.works { padding-bottom: 6rem; }
@media (min-width: 48rem) { .works { padding-bottom: 8rem; } }
.work-filter { margin-bottom: 3rem; display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.work-grid { display: grid; column-gap: 1.25rem; row-gap: 3.5rem; }
@media (min-width: 48rem) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-card { display: block; }
.work-media { position: relative; overflow: hidden; }
.work-zoom { transition: transform 1s var(--ease-out-expo); }
.work-card:hover .work-zoom { transform: scale(1.03); }
.work-img { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.work-title-row { margin-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.work-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; letter-spacing: -.04em; text-transform: uppercase; font-size: 1.25rem; line-height: 1.75rem; }
.work-ext { flex-shrink: 0; color: var(--muted); }
.work-scope { margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted); }

/* ---------- About ---------- */
.about-intro { position: relative; overflow: hidden; padding-top: 5rem; }
.about-lines { pointer-events: none; position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-lines > div { border-left: 1px solid var(--line); }
.about-lines > div:nth-child(2) { border-right: 1px solid var(--line); }
.about-lines > div:nth-child(n+3) { display: none; }
@media (min-width: 48rem) {
  .about-lines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-lines > div:nth-child(2) { border-right: 0; }
  .about-lines > div:nth-child(n+3) { display: block; }
  .about-lines > div:nth-child(4) { border-right: 1px solid var(--line); }
}
.about-intro-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
@media (min-width: 48rem) { .about-intro-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.portrait-box { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; }
.monogram {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem; color: var(--paper);
}
.monogram b { font-weight: 400; font-size: clamp(6rem, 16vw, 15rem); line-height: .8; letter-spacing: -.06em; color: var(--accent); }
.about-head { grid-column: span 2 / span 2; margin-top: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
@media (min-width: 48rem) { .about-head { grid-column: span 3 / span 3; margin-top: 0; } }
.about-statement { max-width: 22ch; font-size: clamp(1.875rem, 4vw, 3.75rem); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; }
.facts { display: grid; column-gap: 1.25rem; row-gap: 1.5rem; }
@media (min-width: 40rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts > div { border-top: 1px solid var(--ink); padding-top: .75rem; }
.facts dd { margin-top: .5rem; display: flex; align-items: center; gap: .5rem; font-size: .875rem; line-height: 1.25rem; }
.story { grid-column: span 2 / span 2; margin-top: 6rem; display: grid; grid-template-columns: subgrid; row-gap: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 48rem) { .story { grid-column: span 4 / span 4; margin-top: 10rem; } .story h1 { grid-column: span 2 / span 2; } }
.story-star { width: 4.5rem; height: 4.5rem; }
@media (min-width: 48rem) { .story-star { width: 6rem; height: 6rem; } }
.story-copy { grid-column: span 2 / span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
@media (min-width: 48rem) { .story-copy { grid-column: span 1 / span 1; } }
.story-copy p { font-size: .9375rem; line-height: 1.625; }
.accent-strip { height: .75rem; background: var(--accent); }

.split { display: grid; row-gap: 2.5rem; padding-block: 6rem; }
@media (min-width: 48rem) { .split { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 8rem; } .split > .span-3 { grid-column: span 3 / span 3; } }
.split--line { border-top: 1px solid var(--line); }
.who-title { max-width: 20ch; }
.who-cols { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .who-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.who-cols p + p { margin-top: .75rem; }
.who-cols .copy { font-size: .9375rem; line-height: 1.625; }

/* Experience accordion */
.exp-side { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.exp-list { border-top: 1px solid var(--ink); }
.exp-list > li { border-bottom: 1px solid var(--line); }
.exp summary {
  display: grid; cursor: pointer; list-style: none; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: 1.5rem; row-gap: .75rem; padding-block: 1.5rem;
}
.exp summary::-webkit-details-marker { display: none; }
.exp-name { display: flex; min-width: 0; align-items: center; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.exp-name .exp-dot {
  display: block; height: .5em; width: 0; flex-shrink: 0; border-radius: 9999px; background: var(--accent); opacity: 0;
  transition: width .5s var(--ease-out-expo), opacity .5s var(--ease-out-expo), margin .5s var(--ease-out-expo);
}
.exp[open] .exp-dot, .exp summary:hover .exp-dot { width: .5em; opacity: 1; margin-right: .35em; }
.exp-right { display: flex; align-items: center; gap: 1rem; }
.exp-date { display: none; color: var(--muted); }
@media (min-width: 40rem) { .exp-date { display: block; } .exp-date--sm { display: none; } }
.exp-plus { position: relative; width: .875rem; height: .875rem; }
.exp-plus::before, .exp-plus::after {
  content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1.5px; translate: 0 -50%; background: var(--ink);
}
.exp-plus::after { rotate: 90deg; transition: rotate .5s var(--ease-out-expo); }
.exp[open] .exp-plus::after { rotate: 0deg; }
.exp-tags { grid-column: span 2 / span 2; display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
.exp-date--sm { margin-right: .5rem; color: var(--muted); }
.exp-body { display: grid; column-gap: 2rem; row-gap: 1.25rem; padding-bottom: 2rem; animation: appear .6s var(--ease-out-expo); }
@media (min-width: 48rem) { .exp-body { grid-template-columns: 2fr 3fr; } }
.exp-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.exp-lead p { font-size: .9375rem; line-height: 1.625; }
.exp-link { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted); transition: color .15s, background-size .5s var(--ease-out-expo); }
.exp-link:hover { color: var(--ink); }
.exp-tech { color: var(--muted); }
.exp-points > li { display: grid; grid-template-columns: 2rem 1fr; font-size: .9375rem; line-height: 1.625; color: rgb(14 14 14 / .75); }
.exp-points > li + li { margin-top: .625rem; }
.exp-points .label { padding-top: .25rem; color: var(--muted); }

/* Tech pills */
.tech-label { color: var(--muted); }
@media (min-width: 48rem) { .tech-label, .stack-pills { margin-top: 2.5rem; } .stack-pills { grid-column: span 3 / span 3; } }
.stack-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech {
  display: inline-flex; cursor: default; align-items: center; gap: .625rem; border-radius: 9999px; border: 1px solid rgb(14 14 14 / .25);
  padding: .5rem 1rem .5rem .75rem; font-size: .875rem; line-height: 1.25rem; transition: border-color .3s cubic-bezier(.4, 0, .2, 1);
}
.tech:hover { border-color: var(--ink); }
.tech-icon { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--ink); transition: color .3s cubic-bezier(.4, 0, .2, 1); }
.tech:hover .tech-icon { color: var(--brand); animation: tool-tilt .7s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.tech:hover .tech-icon.spin { animation: spin 1.6s linear infinite; }

/* Service posters (stack thumbnails) */
.svc-poster { display: flex; flex-direction: column; justify-content: space-between; padding: .6rem .7rem; }
.svc-poster .label { font-size: .5625rem; }
.svc-poster b { font-weight: 400; font-size: clamp(1.75rem, 4vw, 3.5rem); line-height: .8; letter-spacing: -.05em; }

/* ---------- Services ---------- */
.process { background: var(--ink); color: var(--paper); padding-block: 6rem; }
@media (min-width: 48rem) { .process { padding-block: 8rem; } }
.process-head { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .process-head { grid-template-columns: repeat(4, minmax(0, 1fr)); } .process-head h2 { grid-column: span 3 / span 3; } }
.process-steps { margin-top: 4rem; display: grid; column-gap: 1.25rem; row-gap: 3rem; }
@media (min-width: 40rem) { .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 48rem) { .process-steps { margin-top: 6rem; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process-steps > li { border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.process-steps .dot { display: block; }
.process-steps .step { margin-top: 2.5rem; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.process-steps .copy { margin-top: 1rem; max-width: 32ch; font-size: .9375rem; line-height: 1.625; color: rgb(244 245 247 / .7); }
.together { display: grid; gap: 2.5rem; padding-block: 6rem; }
@media (min-width: 48rem) { .together { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 8rem; } .together > .span-3 { grid-column: span 3 / span 3; } }
.together-head { display: flex; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 48rem) { .together-head { gap: 2rem; } }
.together-star { margin-top: .1em; width: 3rem; height: 3rem; flex-shrink: 0; }
@media (min-width: 48rem) { .together-star { width: 5rem; height: 5rem; } }
.together-body { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .together-body { grid-template-columns: repeat(3, minmax(0, 1fr)); } .together-body > .wide { grid-column: span 2 / span 2; } .together-body > .full { grid-column: span 3 / span 3; } }
.together-body p { max-width: 40ch; font-size: .9375rem; line-height: 1.625; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Contact ---------- */
.contact-main { display: grid; gap: 4rem; border-top: 1px solid var(--line); padding-top: 2.5rem; padding-bottom: 6rem; }
@media (min-width: 48rem) { .contact-main { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 8rem; } .contact-main > .span-3 { grid-column: span 3 / span 3; } }
.contact-aside > div + div { margin-top: 2.5rem; }
.contact-aside ul { margin-top: .75rem; font-size: .875rem; line-height: 1.25rem; text-transform: uppercase; }
.contact-aside ul > li + li { margin-top: 1.25rem; }
@media (min-width: 48rem) { .contact-aside ul > li + li { margin-top: .25rem; } }
.contact-aside .ext { display: inline-flex; align-items: center; gap: .375rem; }
.contact-time { margin-top: .75rem; font-size: .875rem; line-height: 1.25rem; }
.copy-email { text-align: left; }
.copy-email .link-line { font-size: clamp(1.75rem, 3vw, 3rem); letter-spacing: -.03em; }
.copy-email:hover .link-line { background-size: 100% 1px; }
.copy-email .label { margin-top: .5rem; display: block; color: var(--muted); }
@keyframes tool-tilt { 0% { transform: rotate(0) scale(1); } 45% { transform: rotate(-22deg) scale(1.3); } 75% { transform: rotate(8deg) scale(1.15); } to { transform: rotate(-10deg) scale(1.2); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); background: var(--ink); padding-top: 5rem; color: var(--paper); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-cta { grid-column: span 2 / span 2; } }
.footer-big { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -.025em; }
.footer-big-arrow { width: 2rem; height: 2rem; }
@media (min-width: 48rem) { .footer-big { font-size: 3rem; line-height: 1; } .footer-big-arrow { width: 2.5rem; height: 2.5rem; } }
.footer-list { margin-top: 1rem; font-size: .875rem; line-height: 1.25rem; text-transform: uppercase; }
.footer-list > li + li { margin-top: 1.25rem; }
@media (min-width: 48rem) { .footer-list > li + li { margin-top: .25rem; } }
.footer-list .ext { display: inline-flex; align-items: center; gap: .375rem; }
.footer-wordmark { margin-top: 5rem; margin-bottom: 1.5rem; white-space: nowrap; line-height: .8; overflow: hidden; }
.footer-wordmark > span { display: inline-block; padding-top: .04em; }
.footer-role { display: none; }
@media (min-width: 48rem) { .footer-wordmark { margin-bottom: 2rem; } .footer-role { display: block; } }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line-dark); padding-block: 1rem; color: var(--muted); }
.footer-privacy { transition: color .15s cubic-bezier(.4, 0, .2, 1), background-size .5s var(--ease-out-expo); }
.footer-privacy:hover { color: var(--paper); }

/* =========================================================
   Project pages (work/<slug>.html)
   Shared layout + one unique hero per project. Brand colours come from
   --brand / --brand-2 / --brand-ink set on <body>.
   ========================================================= */
.wk-hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.wk-hero .wk-hero-label { position: absolute; z-index: 6; right: var(--gutter); bottom: 2rem; display: flex; gap: 1.25rem; color: inherit; opacity: .75; }
.wk-intro { padding-top: clamp(3rem, 6vw, 5.5rem); }
.wk-title { font-size: clamp(3.5rem, 12vw, 11rem); }
.wk-intro-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .wk-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.wk-lede { max-width: 30ch; font-size: clamp(1.25rem, 2.1vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
.wk-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; align-content: start; }
.wk-meta > div { border-top: 1px solid var(--line); padding-top: .75rem; }
.wk-meta .wide { grid-column: span 2 / span 2; }
.wk-meta dt { color: var(--muted); }
.wk-meta dd { margin-top: .5rem; font-size: .9375rem; line-height: 1.5; display: flex; flex-wrap: wrap; gap: .375rem; }
.wk-meta a { display: inline-flex; align-items: center; gap: .375rem; }
.wk-two { margin-top: clamp(4rem, 8vw, 7rem); display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
@media (min-width: 48rem) { .wk-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.wk-two p.copy { margin-top: .75rem; max-width: 46ch; font-size: .9375rem; line-height: 1.625; }

.wk-chapter { padding-top: clamp(5rem, 11vw, 11rem); }
.wk-chapter-head { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .wk-chapter-head { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } .wk-chapter-head h2 { grid-column: span 2 / span 2; } }
.wk-chapter-head .label { color: var(--muted); }
.wk-chapter-head h2 { font-size: var(--text-display-l); line-height: .9; }
.wk-chapter-head p { font-size: .9375rem; line-height: 1.625; max-width: 40ch; }
.wk-media { margin-top: clamp(2.5rem, 5vw, 4rem); }
.wk-browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgb(0 0 0 / .35), 0 0 0 1px rgb(0 0 0 / .06); }
.wk-browser-bar { height: 2.25rem; display: flex; align-items: center; gap: .4rem; padding: 0 .9rem; background: #ecedf0; }
.wk-browser-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: rgb(0 0 0 / .15); }
.wk-browser-bar span { margin-left: .9rem; font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.wk-browser img { display: block; width: 100%; }
.wk-band { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(2rem, 6vw, 6rem) var(--gutter); background: var(--band, var(--brand)); color: var(--band-ink, var(--brand-ink)); }
.wk-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(.75rem, 2.5vw, 2.5rem); }
.wk-phone { position: relative; width: clamp(9rem, 19vw, 17rem); aspect-ratio: 9 / 19.4; border-radius: 15% / 7%; padding: 2.2%; background: #0b0b0c; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55), inset 0 0 0 1.5px rgb(255 255 255 / .12); flex-shrink: 0; }
.wk-phone > div { width: 100%; height: 100%; border-radius: 13% / 6%; overflow: hidden; background: #000; }
.wk-phone img { display: block; width: 100%; }
.wk-phones .wk-phone:nth-child(2n) { margin-top: clamp(2rem, 5vw, 5rem); }
.wk-phone-label { margin-top: .9rem; text-align: center; color: inherit; opacity: .7; }
.wk-shots { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .wk-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk-shots .full { grid-column: span 2 / span 2; } }
.wk-photo { position: relative; overflow: hidden; background: var(--ink); }
.wk-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.wk-points { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 48rem) { .wk-points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; } }
.wk-points li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.45; letter-spacing: -.01em; }
.wk-points .label { padding-top: .3rem; color: var(--muted); }

.wk-stats { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.25rem; }
@media (min-width: 48rem) { .wk-stats { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.wk-stats b { display: block; font-weight: 400; font-size: clamp(3.25rem, 8vw, 8rem); line-height: 1; letter-spacing: -.05em; }
.wk-stats span { display: block; margin-top: 1rem; padding-top: .75rem; border-top: 1px dashed rgb(14 14 14 / .3); font-size: .875rem; max-width: 26ch; }

.wk-palette { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (min-width: 48rem) { .wk-palette { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wk-swatch { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; border-radius: 4px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.wk-swatch b { font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -.02em; }
.wk-swatch-name { margin-top: .6rem; }
.wk-swatch-name .label { color: var(--muted); }

/* Scroll-pinned walkthrough of the live site (uses --p from data-scene) */
.wk-tour { height: 320svh; position: relative; margin-top: clamp(5rem, 11vw, 11rem); }
.wk-tour-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--tour-bg, #0e0e0e); }
.wk-tour-frame { position: relative; width: min(1100px, calc(100% - 2 * var(--gutter))); }
.wk-tour-frame .wk-browser { height: min(72svh, 640px); display: flex; flex-direction: column; }
.wk-tour-window { position: relative; flex: 1; overflow: hidden; }
.wk-tour-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(var(--p, 0) * 100%); }
.wk-tour-phone { position: absolute; right: -2%; bottom: -6%; width: clamp(8rem, 15vw, 13rem); }
.wk-tour-phone .wk-phone { width: 100%; }
.wk-tour-phone .wk-phone > div { position: relative; }
.wk-tour-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(var(--p, 0) * 100%); }
.wk-tour-cap { position: absolute; left: var(--gutter); top: 5.5rem; color: rgb(244 245 247 / .7); }

.wk-more { padding-top: clamp(5rem, 11vw, 11rem); padding-bottom: 6rem; }
@media (min-width: 48rem) { .wk-more { padding-bottom: 8rem; } }
.wk-more-grid { margin-top: 2rem; display: grid; gap: 3rem 1.25rem; }
@media (min-width: 48rem) { .wk-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Hero: PayChangu — live transaction stream ---------- */
.wk-hero--paychangu { background: radial-gradient(70% 70% at 30% 50%, #0b3a50 0%, #04121b 45%, #000 80%); color: #fff; }
.pc-lockup { position: absolute; z-index: 3; left: var(--gutter); top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 1.5rem; }
.pc-lockup img { height: clamp(3rem, 7vw, 6.5rem); }
.pc-lockup span { font-size: clamp(3.5rem, 9vw, 9rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pc-stream { position: absolute; right: var(--gutter); top: 0; bottom: 0; width: min(30rem, 42%); overflow: hidden; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.pc-stream-track { display: grid; gap: .9rem; animation: pc-scroll 22s linear infinite; }
.pc-tx { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 14px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); backdrop-filter: blur(6px); }
.pc-tx i { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #1db5f0; display: grid; place-items: center; font-style: normal; color: #00121c; font-family: var(--font-mono); font-size: .75rem; }
.pc-tx b { font-weight: 500; display: block; font-size: 1rem; }
.pc-tx small { display: block; color: rgb(255 255 255 / .55); font-size: .8rem; margin-top: .15rem; }
.pc-tx em { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: #46d17a; text-align: right; }
.pc-tx em strong { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.pc-chips { position: absolute; z-index: 3; left: var(--gutter); bottom: 6.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.pc-chips span { border-radius: 999px; border: 1px solid rgb(255 255 255 / .2); padding: .55rem 1rem; font-size: .875rem; }
.pc-chips b { color: #1db5f0; font-weight: 500; }
@keyframes pc-scroll { to { transform: translateY(-50%); } }
@media (max-width: 47.99rem) { .pc-stream { opacity: .35; width: 90%; } }

/* ---------- Hero: Changu — fan of real app screens ---------- */
.wk-hero--changu { background: radial-gradient(90% 80% at 50% 110%, #0d6b2a 0%, #034a1a 45%, #01300f 100%); color: #fff; }
.cg-word { position: absolute; z-index: 1; left: 50%; top: 13%; translate: -50% 0; font-size: clamp(5rem, 19vw, 19rem); font-weight: 600; letter-spacing: -.05em; line-height: .8; color: #f6b12b; white-space: nowrap; }
.cg-fan { position: absolute; z-index: 2; left: 50%; bottom: -14%; width: 0; height: 0; }
.cg-fan .wk-phone { position: absolute; left: 0; bottom: 0; width: clamp(9rem, 17vw, 16rem); transform-origin: 50% 160%; translate: -50% 0; animation: cg-drift 6s ease-in-out infinite alternate; }
@keyframes cg-drift { to { margin-bottom: 1.25rem; } }

/* ---------- Hero: Krivi — tilting virtual card ---------- */
.wk-hero--krivi { background: radial-gradient(80% 80% at 35% 25%, #f0ff9a 0%, #d6f84f 45%, #b9e023 100%); color: #0e0e0e; display: grid; place-items: center; }
.kv-logo { position: absolute; z-index: 3; left: 50%; top: 14%; translate: -50% 0; width: clamp(12rem, 26vw, 24rem); }
.kv-card-wrap { perspective: 1400px; margin-top: 6%; }
.kv-card { width: min(34rem, 82vw); aspect-ratio: 1.586; border-radius: 1.6rem; padding: clamp(1.25rem, 3vw, 2.25rem); color: #f4f5f7; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #2b2e35 0%, #0e0e0e 50%, #383b43 100%); box-shadow: 0 60px 120px -40px rgb(0 0 0 / .55), inset 0 1px 0 rgb(255 255 255 / .15);
  transform: rotateX(var(--ry, 8deg)) rotateY(var(--rx, -14deg)); transition: transform .5s var(--ease-out-expo); position: relative; overflow: hidden; }
.kv-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at var(--gx, 30%) var(--gy, 20%), rgb(255 255 255 / .22), transparent 60%); pointer-events: none; }
.kv-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.kv-card-top img { height: clamp(1.5rem, 3vw, 2.25rem); filter: invert(1); }
.kv-chip { width: 3.25rem; height: 2.5rem; border-radius: .5rem; background: linear-gradient(135deg, #e7e7e7, #9da0a6); }
.kv-num { font-family: var(--font-mono); font-size: clamp(1rem, 2.4vw, 1.6rem); letter-spacing: .14em; }
.kv-tags { position: absolute; z-index: 3; bottom: 5.5rem; left: 50%; translate: -50% 0; display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; width: calc(100% - 2 * var(--gutter)); }
.kv-tags span { background: #0e0e0e; color: #f4f5f7; border-radius: 999px; padding: .55rem 1rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Hero: Ulinzinga — ticket over the concert ---------- */
.wk-hero--ulinzinga { background: #000; color: #fff; }
.uz-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: brightness(.55) saturate(1.2); }
.uz-marquee { position: absolute; z-index: 2; left: 0; right: 0; top: 18%; overflow: hidden; }
.uz-marquee div { display: flex; width: max-content; gap: 3rem; animation: marquee 40s linear infinite; font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgb(255 180 0 / .8); }
.uz-ticket { position: absolute; z-index: 3; left: 50%; top: 56%; translate: -50% -50%; rotate: -4deg; display: grid; grid-template-columns: 1fr auto; width: min(40rem, 88vw); color: #0e0e0e; filter: drop-shadow(0 40px 60px rgb(0 0 0 / .5)); }
.uz-main { background: #f4f5f7; border-radius: 1.25rem 0 0 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.uz-main img { height: 2.75rem; justify-self: start; }
.uz-main b { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.uz-row { display: flex; gap: 1.75rem; }
.uz-row div .label { color: var(--muted); }
.uz-row div p { font-size: 1.4rem; letter-spacing: -.02em; }
.uz-stub { background: #ffb400; border-radius: 0 1.25rem 1.25rem 0; padding: 1.25rem; display: grid; place-items: center; border-left: 3px dashed rgb(0 0 0 / .35); writing-mode: vertical-rl; font-family: var(--font-mono); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }

/* ---------- Hero: Barbercita — bookings dropping into the week ---------- */
.wk-hero--barbercita { background: linear-gradient(rgb(0 0 0 / .07) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgb(0 0 0 / .07) 1px, transparent 1px) 0 0 / 48px 48px, #f7da0c; color: #0b0b0b; }
.bc-word { position: absolute; z-index: 3; left: var(--gutter); top: 22%; display: flex; flex-direction: column; gap: 1.25rem; }
.bc-word img { width: clamp(4rem, 8vw, 7rem); border: 6px solid #0b0b0b; }
.bc-word span { font-family: var(--font-mono); font-weight: 800; font-size: clamp(3rem, 8vw, 8rem); letter-spacing: -.05em; line-height: .9; }
.bc-sticker { position: absolute; z-index: 4; left: var(--gutter); bottom: 7rem; background: #0b0b0b; color: #f7da0c; font-family: var(--font-mono); font-weight: 700; padding: .9rem 1.4rem; rotate: -3deg; font-size: clamp(1rem, 1.6vw, 1.4rem); }
.bc-cal { position: absolute; z-index: 2; right: var(--gutter); top: 50%; translate: 0 -46%; width: min(36rem, 52%); background: #fff; border: 6px solid #0b0b0b; box-shadow: 16px 16px 0 #0b0b0b; padding: 1.25rem; }
.bc-cal-head { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; text-align: center; margin-bottom: .6rem; }
.bc-cal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.bc-slot { height: 2.6rem; border: 2px solid rgb(0 0 0 / .12); }
.bc-slot.b { background: #0b0b0b; border-color: #0b0b0b; animation: bc-drop .7s var(--ease-out-expo) both; animation-delay: var(--d, 0s); }
.bc-slot.g { background: #c9f7d5; border-color: #22a64a; animation: bc-drop .7s var(--ease-out-expo) both; animation-delay: var(--d, 0s); }
@keyframes bc-drop { 0% { opacity: 0; transform: translateY(-120%) scale(.9); } }
@media (max-width: 47.99rem) { .bc-cal { width: calc(100% - 2 * var(--gutter)); top: auto; bottom: 10rem; translate: 0 0; } .bc-word { top: 14%; } }

/* ---------- Hero: Figuro — flow builder wiring itself ---------- */
.wk-hero--figuro { background: radial-gradient(70% 60% at 50% 40%, #3b2c9a 0%, #17123a 45%, #0a0912 80%); color: #fff; }
.fg-head { position: absolute; z-index: 3; left: 50%; top: 14%; translate: -50% 0; display: flex; align-items: center; gap: 1.25rem; }
.fg-head img { width: clamp(3.5rem, 6vw, 5.5rem); border-radius: 22%; box-shadow: 0 0 80px rgb(124 104 255 / .6); }
.fg-head span { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.fg-board { position: absolute; z-index: 2; left: 50%; top: 58%; translate: -50% -50%; width: min(64rem, 92vw); height: min(28rem, 46svh); }
.fg-board svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fg-board path { fill: none; stroke: #22c55e; stroke-width: 2; stroke-dasharray: 7 7; animation: fg-flow 1.2s linear infinite; opacity: .8; }
@keyframes fg-flow { to { stroke-dashoffset: -14; } }
.fg-node { position: absolute; width: 30%; padding: 1rem 1.1rem; border-radius: 14px; background: #1f1c2c; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); animation: fg-in .8s var(--ease-out-expo) both; animation-delay: var(--d, 0s); }
.fg-node .label { color: #f6b44c; font-size: .625rem; }
.fg-node p { margin-top: .5rem; font-size: .9rem; line-height: 1.3; }
.fg-node.result { background: #f4f5f7; color: #0e0e0e; border: 0; }
.fg-node.result .label { color: #6d5cf6; }
.fg-node.result b { display: block; margin-top: .4rem; font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: -.04em; }
@keyframes fg-in { 0% { opacity: 0; transform: translateY(1.5rem) scale(.96); } }

/* ---------- Hero: Yappr — bio page building itself ---------- */
.wk-hero--yappr { background: radial-gradient(85% 85% at 30% 25%, #5be892 0%, #22c55e 45%, #0f9a45 100%); color: #04150a; }
.yp-word { position: absolute; z-index: 1; left: var(--gutter); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 1rem; }
.yp-word img { width: clamp(4rem, 7vw, 6.5rem); border-radius: 26%; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); }
.yp-word span { font-size: clamp(4rem, 12vw, 12rem); font-weight: 600; letter-spacing: -.055em; line-height: .85; }
.yp-phone { position: absolute; z-index: 3; right: 16%; top: 50%; translate: 0 -50%; width: clamp(15rem, 24vw, 21rem); aspect-ratio: 9 / 19.4; border-radius: 15% / 7%; padding: 2.4%; background: #0b0b0c; box-shadow: 0 60px 120px -30px rgb(0 0 0 / .55); }
.yp-screen { height: 100%; border-radius: 13% / 6%; background: #f4f5f7; padding: 18% 7% 7%; display: flex; flex-direction: column; align-items: center; gap: .65rem; overflow: hidden; }
.yp-ava { width: 26%; aspect-ratio: 1; border-radius: 28%; background: #0e0e0e; color: #f4f5f7; display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; }
.yp-screen h4 { font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
.yp-screen p { font-size: .72rem; color: var(--muted); text-align: center; margin-bottom: .3rem; }
.yp-link { width: 100%; display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 12px; padding: .6rem .7rem; font-size: .78rem; box-shadow: 0 6px 16px -10px rgb(0 0 0 / .3); animation: yp-pop .6s var(--ease-out-expo) both; animation-delay: var(--d, 0s); }
.yp-link i { width: 1.6rem; height: 1.6rem; border-radius: 8px; flex-shrink: 0; background: var(--c); }
@keyframes yp-pop { 0% { opacity: 0; transform: translateY(.75rem) scale(.95); } }
.yp-float { position: absolute; z-index: 4; background: #0b0b0c; color: #f4f5f7; border-radius: 16px; padding: .9rem 1.1rem; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5); animation: drift 5s ease-in-out infinite; }
.yp-float b { display: block; font-weight: 500; font-size: 1.5rem; letter-spacing: -.03em; margin-top: .2rem; }
.yp-float .label { color: #8af0b4; }
@keyframes drift { 50% { transform: translateY(-.6rem); } }
@media (max-width: 47.99rem) { .yp-phone { right: 50%; translate: 50% -40%; } .yp-word { top: 14%; translate: 0 0; } .yp-float { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .pc-stream-track, .cg-fan .wk-phone, .uz-marquee div, .bc-slot, .fg-board path, .fg-node, .yp-link, .yp-float { animation: none !important; }
}

/* =========================================================
   Turbo page swaps
   ========================================================= */
.turbo-progress-bar { height: 2px; background-color: var(--accent); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes rise { 0% { transform: translateY(105%); } }
@keyframes appear { 0% { opacity: 0; transform: translateY(.4rem); } }
@keyframes marquee { to { transform: translate(-50%); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes eq { 0% { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes pulse { 50% { opacity: .5; } }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .reel { height: 100svh; }
  .build, .services, .focus { height: auto; }
  .featured { height: 100svh; }
  .scene-sticky, .focus-sticky { position: static; height: auto; }
  .about-teaser { margin-top: 0; }
  .dot--pulse, .bars > span.eq { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
