/* Adam Lindsay: public site */
:root {
  --ink: #0a0a0a;
  --ink-2: #161513;
  --cream: #f2eee6;    /* warm white for type */
  --paper: #121110;    /* charcoal: alternates with black */
  --gold: #c9a54c;     /* the one accent */
  --gold-hi: #e2c47c;  /* gold for small text on video */
  --rec: #ff2d2d;      /* camera REC light */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3.6vw, 56px);
  --header: 78px;
  --topbar: 36px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  /* Default theme = dark */
  --bg: var(--ink); --fg: var(--cream); --mut: #9b958a; --line: rgba(242, 238, 230, .12); --acc: var(--gold); --on-acc: #0a0a0a;
}
.theme-dark { --bg: var(--ink); --fg: var(--cream); --mut: #9b958a; --line: rgba(242, 238, 230, .12); --acc: var(--gold); --on-acc: #0a0a0a; background: var(--bg); color: var(--fg); }
.theme-paper { --bg: var(--paper); --fg: var(--cream); --mut: #9b958a; --line: rgba(242, 238, 230, .1); --acc: var(--gold); --on-acc: #0a0a0a; background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font: 400 17px/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 10001; background: var(--gold); color: #0a0a0a; padding: 12px 18px; font-weight: 600; border-radius: 999px; }
.skip:focus { top: 16px; }
.muted { color: var(--mut); }
.small { font-size: 15px; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Type ---------- */
/* Display = Archivo ExtraBold (heavy grotesk); body = Archivo Regular. */
.h-hero, .h-xl, .h-lg {
  margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; text-transform: uppercase;
}
.h-hero { font-size: clamp(3.2rem, 8.4vw, 9.2rem); line-height: .88; text-wrap: balance; }
.h-xl, .h-lg, .quote blockquote { text-wrap: balance; }
.h-xl { font-size: clamp(2.9rem, 6.8vw, 7.2rem); line-height: .9; }
.h-lg { font-size: clamp(2.5rem, 4.8vw, 5rem); line-height: .92; }
.label {
  margin: 0 0 22px; font: 600 12px/1 var(--sans); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--acc);
}
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--fg); opacity: .86; max-width: 54ch; margin: 0; }

/* Split-text word masks (built by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .14em; margin: -.06em -.04em -.14em; }
.w > span { display: inline-block; will-change: transform; }

/* Before animations run, hide what will animate in (JS reveals). Safety: show after 4s if JS never runs. */
.js:not(.no-anim) [data-split], .js:not(.no-anim) [data-fade] { visibility: hidden; animation: safety 0s 4s forwards; }
@keyframes safety { to { visibility: visible; } }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 28px; border-radius: 999px; background: var(--acc); color: var(--on-acc);
  font: 500 14px/1 var(--sans); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: none; }
.btn .icon { width: 16px; height: 16px; transition: transform .6s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 13px; }
.btn-lg { height: 58px; padding: 0 34px; }
.btn:disabled { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--sans); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .6s var(--ease);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform .6s var(--ease); }
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow:hover .icon { transform: translateX(5px); }

/* Hero pill buttons */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px 0 5px; border-radius: 999px;
  border: 1px solid rgba(242,238,230,.4); color: var(--cream); background: rgba(10,10,10,.55);
  font: 600 11px/1 var(--sans); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase;
  transition: background .5s var(--ease), border-color .5s, color .5s, transform .5s var(--ease);
}
.pill-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,238,230,.14); transition: background .5s, color .5s, transform .6s var(--ease); }
.pill-icon .icon { width: 13px; height: 13px; }
.pill:hover { background: rgba(242,238,230,.14); border-color: var(--cream); }
.pill:hover .pill-icon { transform: scale(1.08); }
.pill-solid { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.pill-solid .pill-icon { background: #0a0a0a; color: var(--gold); }
.pill-solid:hover { background: var(--cream); border-color: var(--cream); color: #0a0a0a; }
.pill-solid:hover .pill-icon { background: #0a0a0a; color: var(--cream); }
[data-reel-fullscreen]:hover .pill-icon { transform: scale(1.15) rotate(90deg); }

/* ---------- Cinema mode (full-screen reel) ---------- */
/* The hero's own video goes fixed and expands; backdrop sits under it, controls above it. */
.hero.is-cinema { z-index: 9700; background: transparent; }
.hero.cinema-hide > :not(.hero-media) { opacity: 0 !important; pointer-events: none; }
.hero > .hero-frame, .hero > .hero-controls, .hero > .hero-strip, .hero > .hero-shade { transition: opacity .7s var(--ease); }
.hero-media.is-cinema { position: fixed; inset: 0; transform: none !important; cursor: pointer; will-change: clip-path; }
.hero-media.is-cinema video { position: absolute; max-width: none; object-fit: cover; will-change: transform; backface-visibility: hidden; }
.cinema-idle .hero-media.is-cinema { cursor: none; }
.cinema-backdrop { position: fixed; inset: 0; z-index: 9690; background: #050505; opacity: 0; pointer-events: none; }
.cinema-ui { position: fixed; inset: 0; z-index: 9710; pointer-events: none; color: var(--cream); }
.cinema-ui .cinema-top, .cinema-ui .cinema-bar { pointer-events: auto; }
.cinema-vf { inset: auto; --arm: 40px; --t: 2px; }
.cinema-top {
  position: absolute; left: clamp(30px, 4vw, 60px); right: clamp(30px, 4vw, 60px); top: clamp(30px, 4vw, 56px);
  display: flex; justify-content: space-between; align-items: center; transition: opacity .6s var(--ease);
}
.cinema-rec { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; color: rgba(242,238,230,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.cinema-rec b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--cream); }
.cinema-close { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; padding: 10px 6px 10px 16px; border-radius: 999px; background: rgba(10,10,10,.7); }
.cinema-close .icon { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.cinema-close:hover .icon { transform: rotate(90deg); color: var(--gold); }
.cinema-bar {
  position: absolute; left: 0; right: 0; margin: 0 auto; bottom: clamp(30px, 4vw, 56px); width: min(720px, calc(100% - 60px));
  display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(10,10,10,.78); border: 1px solid rgba(242,238,230,.14); transition: opacity .6s var(--ease);
}
.c-btn { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.c-btn:first-child { background: var(--cream); color: var(--ink); }
.c-btn:hover { background: var(--gold); color: #0a0a0a; }
.c-btn .icon { width: 14px; height: 14px; }
.c-progress { position: relative; flex: 1; height: 18px; cursor: pointer; }
.c-progress::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(242,238,230,.2); border-radius: 2px; }
.c-progress span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--gold); border-radius: 2px; transform-origin: left; transform: scaleX(0); }
.c-time { font: 500 12px/1 var(--sans); font-variant-numeric: tabular-nums; color: rgba(242,238,230,.8); white-space: nowrap; }
.cinema-ui.is-idle .cinema-top, .cinema-ui.is-idle .cinema-bar { opacity: 0; pointer-events: none; }

/* ---------- Viewfinder corners ---------- */
.vf { position: absolute; inset: 0; pointer-events: none; z-index: 3; --arm: 40px; --vf: var(--cream); --t: 1.5px; }
.vf i { position: absolute; width: var(--arm); height: var(--arm); border: 0 solid var(--vf); }
.vf i:nth-child(1) { top: 0; left: 0; border-top-width: var(--t); border-left-width: var(--t); }
.vf i:nth-child(2) { top: 0; right: 0; border-top-width: var(--t); border-right-width: var(--t); }
.vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: var(--t); border-left-width: var(--t); }
.vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: var(--t); border-right-width: var(--t); }

/* ---------- Grain + cursor ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* static: an animated full-screen layer forced a repaint of the whole page every frame */
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}
.cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-ring {
  /* Liquid glass: frosted, slightly tinted, with a bright rim and a soft specular highlight. */
  position: absolute; left: 0; top: 0; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff;
  background:
    radial-gradient(120% 90% at 30% 18%, rgba(255,255,255,.42) 0%, rgba(255,255,255,.08) 38%, rgba(255,255,255,0) 60%),
    radial-gradient(90% 90% at 70% 100%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 55%),
    rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(12px) saturate(180%) brightness(1.08); backdrop-filter: blur(12px) saturate(180%) brightness(1.08);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.65),
    inset 0 -8px 16px rgba(255,255,255,.08),
    inset 0 0 0 .5px rgba(255,255,255,.15),
    0 10px 30px rgba(0,0,0,.28);
  opacity: 0; transform: scale(.4); transition: transform .55s var(--ease), opacity .35s var(--ease);
}
.cursor.is-play .cursor-ring { opacity: 1; transform: scale(1); }
.cursor-play { width: 16px; height: 16px; margin-left: 2px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.cursor-label { font: 600 9px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; padding-left: .2em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 9800; background: var(--ink); pointer-events: none; animation: introSafety .6s 4s forwards; }
.no-intro .intro { display: none; }
@keyframes introSafety { to { opacity: 0; visibility: hidden; } }
.intro-frame { position: absolute; left: calc(50% - 150px); top: calc(50% - 85px); width: 300px; height: 170px; }
.intro-frame .vf { --arm: 26px; }
.intro-name { position: absolute; inset: 0; display: grid; place-items: center; font: 800 30px/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; color: var(--cream); }
.intro-rec { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; color: #9b958a; }
.intro-rec b { font-weight: 500; color: var(--cream); font-variant-numeric: tabular-nums; }
.intro-rec i, .rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px rgba(255,45,45,.7); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--cream); transition: transform .7s var(--ease), background .5s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled, .solid-header .site-header { background: rgba(10,10,10,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.topbar { height: var(--topbar); border-bottom: 1px solid rgba(242,238,230,.1); overflow: hidden; transition: height .5s var(--ease), opacity .4s; }
.site-header.is-scrolled .topbar { height: 0; opacity: 0; border-color: transparent; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: .02em; color: #bdb6a8; }
.topbar-social { display: flex; gap: 16px; }
.topbar-social a, .topbar-info a { transition: color .3s; }
.topbar-social a:hover, .topbar-info a:hover { color: var(--cream); }
.topbar-social .icon { width: 16px; height: 16px; }
.topbar-info { display: flex; gap: 22px; }
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark {
  position: relative; display: inline-flex; align-items: baseline; gap: .42em; padding: 6px 0;
  font: 19px/1 var(--sans); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.wm-first { font-weight: 800; color: var(--cream); }
.wm-last { font-weight: 300; color: var(--gold); }
.wordmark::after {
  content: ''; position: absolute; left: 0; right: .16em; bottom: -2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.wordmark:hover::after { transform: scaleX(1); transform-origin: left; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a:not(.btn) { position: relative; font: 500 13px/1 var(--sans); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.site-header .btn { --fg: var(--cream); --bg: var(--ink); --acc: var(--gold); --on-acc: #0a0a0a; }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; isolation: isolate; background: var(--ink); --strip: clamp(84px, 12vh, 136px); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; transition: opacity 1s var(--ease);
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, .12) 0%, rgba(10,10,10, .5) 75%),
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.05) 26%, rgba(10,10,10,.12) 58%, rgba(10,10,10,.94) 100%);
}
.hero.is-reel .hero-shade { opacity: .35; }
.hero-frame {
  position: absolute; z-index: 2; pointer-events: none;
  top: calc(var(--topbar) + var(--header) + clamp(10px, 2vh, 24px)); bottom: calc(var(--strip) + clamp(14px, 3vh, 32px));
  left: var(--gutter); right: var(--gutter);
}
.hero-frame .vf { --arm: clamp(32px, 4.6vw, 60px); }
.hud { position: absolute; top: 18px; display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,238,230,.85); }
.hud-tl { left: 22px; }
.hud-tr { right: 22px; }
.hud b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--cream); }
.hero-content {
  position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--topbar) + var(--header)); bottom: calc(var(--strip) + 90px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 calc(var(--gutter) + 24px);
  transition: opacity .8s var(--ease), transform 1s var(--ease); will-change: opacity, transform;
}
.hero.is-reel .hero-content { opacity: 0 !important; transform: translateY(-20px); pointer-events: none; }
.h-hero { max-width: 11ch; }
.hero-sub { margin: 26px auto 0; max-width: 44ch; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: rgba(242,238,230,.88); }
.hero-controls {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(var(--strip) + clamp(36px, 5vh, 58px));
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 0 var(--gutter);
}
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; height: var(--strip); overflow: hidden; z-index: 3; }
.strip-track { display: flex; width: max-content; height: 100%; animation: marquee 70s linear infinite; }
.hero-strip:hover .strip-track, .hero-strip:focus-within .strip-track { animation-play-state: paused; }
.strip-group { display: flex; gap: 3px; padding-right: 3px; height: 100%; }
.strip-item { position: relative; height: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.strip-item::after { content: ''; position: absolute; inset: 0; pointer-events: none; border: 2px solid var(--gold-hi); box-shadow: inset 0 0 32px rgba(201,165,76,.9), inset 0 0 10px rgba(226,196,124,1); opacity: 0; transition: opacity .3s var(--ease); }
.strip-item:hover::after, .strip-item:focus-visible::after { opacity: 1; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.85); transition: opacity .6s var(--ease), transform 1.2s var(--ease), filter .6s; }
.strip-item:hover img, .strip-item:focus-visible img { opacity: 1; transform: scale(1.06); filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Filmmaker profile ---------- */
.profile { position: relative; isolation: isolate; padding: clamp(80px, 9vw, 140px) 0 clamp(100px, 10vw, 150px); scroll-margin-top: 78px; }
.profile-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.work-head { position: relative; isolation: isolate; padding-top: clamp(30px, 4vw, 60px); margin-top: calc(-1 * clamp(30px, 4vw, 60px)); }
.work-head .section-bar { position: relative; z-index: 1; }
.profile-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 28px; align-items: start; }
@media (prefers-reduced-motion: reduce) { .profile-particles { display: none; } }
.profile-heading { grid-column: 1 / 11; grid-row: 1; position: relative; z-index: 1; pointer-events: none; }
.profile-role { margin: 28px 0 0; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--mut); }
.profile-title { margin: 0 0 0 -.055em; font: 800 clamp(58px, 8.2vw, 128px)/.94 var(--display); font-stretch: 112%; letter-spacing: -.055em; text-transform: uppercase; }
.profile-line { display: block; overflow: hidden; padding: .05em .06em .12em; margin: -.05em -.06em -.12em; }
.profile-line > span { display: block; }
.profile-line + .profile-line { color: var(--gold-hi); }
.profile-portrait { position: relative; grid-column: 9 / -1; grid-row: 1 / 3; margin: 48px 14px 14px 0; }
.profile-portrait::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(201,165,76,.4); pointer-events: none; }
.profile-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.65); }
.profile-copy { grid-column: 1 / 8; grid-row: 2; margin: 0; padding: 0; }
.profile-bio { margin: 0; max-width: 54ch; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; letter-spacing: -.015em; text-wrap: pretty; }
.profile-contact { margin-top: 28px; }
.profile-contact:active { transform: scale(.98); }
.profile-grid-no-photo .profile-copy { grid-column: 1 / 8; }

@media (max-width: 1100px) and (min-width: 769px) {
  .profile-grid { column-gap: 18px; }
  .profile-copy { grid-column: 1 / 8; }
}
@media (max-width: 768px) {
  .profile { padding: 72px 0 90px; scroll-margin-top: 68px; }
  .profile-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 24px; }
  .profile-heading, .profile-portrait, .profile-copy, .profile-grid-no-photo .profile-copy { grid-column: 1; grid-row: auto; }
  .profile-title { font-size: clamp(30px, 9.5vw, 72px); }
  .profile-line { white-space: nowrap; }
  .profile-role { margin-top: 20px; font-size: 12px; }
  .profile-portrait { margin: 4px 14px 14px 0; width: 78%; justify-self: end; }
  .profile-image { aspect-ratio: 5 / 6; }
  .profile-copy { max-width: none; }
  .profile-copy, .profile-grid-no-photo .profile-copy { grid-row: 2; }
  .profile-portrait { grid-row: 3; }
  .profile-bio { font-size: 20px; }
  .profile-contact { margin-top: 24px; }
}

/* ---------- Section bars ---------- */
.section-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-note { margin: 0; color: var(--mut); max-width: 34ch; }

/* ---------- Work grid ---------- */
.work { padding: clamp(20px, 4vw, 60px) 0 3px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 12px/1 var(--sans); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--mut);
  transition: color .4s, background .4s, border-color .4s;
}
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 3px; }
.tile.is-hidden { display: none; }
.tile-link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); isolation: isolate; color: var(--cream); }
.tile-media { position: absolute; inset: 0; overflow: hidden; }
.tile-media img, .tile-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-media img { transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.tile-media video { opacity: 0; transition: opacity .6s; }
.tile-link.is-previewing .tile-media video { opacity: 1; }
.tile-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,10,10,.55), rgba(10,10,10,0) 40%); transition: background .7s var(--ease), opacity .7s; }
.tile-link .vf { inset: 22px; --arm: 30px; opacity: 0; transform: scale(1.1); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.tile-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 0 40px 38px; gap: 8px;
}
.tile-info > * { transition: transform .8s var(--ease), opacity .6s; }
.tile-client { font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.tile-title { font: 800 clamp(1.7rem, 2.3vw, 2.4rem)/1 var(--display); letter-spacing: -.02em; }
.tile-view { display: none; }
.tile-link:hover .tile-shade, .tile-link:focus-visible .tile-shade { background: linear-gradient(0deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.1)); }
.tile-link:hover .tile-media img { transform: scale(1.06); }
.tile-link:hover .vf, .tile-link:focus-visible .vf { opacity: 1; transform: none; }
.tile-link:hover .tile-info > *, .tile-link:focus-visible .tile-info > * { transform: translateY(-6px); }

/* ---------- Clients: movie theater ---------- */
.theater { padding: 0; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #1a1310 0%, #0a0807 55%, #050505 100%);
  --pile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
  --goldbar: linear-gradient(180deg, #5a4215 0%, #f3dc94 28%, #b88d3a 55%, #7a5a20 80%, #3a2a0c 100%);
}
.th-room { position: relative; }
.th-stage {
  --sw: clamp(24px, 5.2vw, 84px); /* seat width */
  --pil: clamp(18px, 3.4vw, 58px);
  position: relative; max-width: 1500px; margin: 0 auto;
  padding: clamp(70px, 8vw, 120px) clamp(16px, 5vw, 90px) clamp(40px, 5vw, 70px);
}

/* Chandelier: three tiers of glowing bulbs, hanging in front of the frieze */
.th-chandelier { position: absolute; z-index: 7; left: 50%; top: 0; width: clamp(90px, 11vw, 170px); height: clamp(80px, 9vw, 140px); transform: translateX(-50%); pointer-events: none; }
.ch-chain { position: absolute; left: 50%; top: 0; width: 2px; height: 30%; margin-left: -1px; background: linear-gradient(#3a2a0c, #b88d3a); }
.ch-tier { position: absolute; left: 50%; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,214,140,.35), transparent); }
.ch-tier::before { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 3px; margin-top: -1px; border-radius: 2px; background: var(--goldbar); }
.ch-tier-1 { top: 30%; width: 70%; height: 22%; }
.ch-tier-2 { top: 50%; width: 100%; height: 26%; }
.ch-tier-3 { top: 74%; width: 52%; height: 18%; }
.ch-tier i { --n: 12; position: absolute; left: 50%; top: 50%; width: 7px; height: 9px; margin: -7px 0 0 -3.5px; border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 40%, #fff, #ffe3a3 45%, #e0a54c);
  box-shadow: 0 0 6px 2px rgba(255,214,140,.8), 0 0 18px 4px rgba(255,180,90,.35);
  transform: translate(calc(cos(var(--k) * 360deg / var(--n)) * 48cqw), calc(sin(var(--k) * 360deg / var(--n)) * 20cqw)); }
.ch-tier { container-type: inline-size; }
.ch-tier-2 i { --n: 9; } .ch-tier-3 i { --n: 6; }

/* Proscenium frieze: dark band, gold garlands, heavy gilded beam */
.th-frieze { position: relative; z-index: 5; height: clamp(46px, 5.4vw, 84px); margin: 0 calc(var(--pil) * -.6);
  background: linear-gradient(180deg, #0c100e, #121a16 60%, #0a0d0b); border-top: 3px solid #b88d3a;
  box-shadow: 0 -1px 0 #3a2a0c, inset 0 8px 20px rgba(0,0,0,.6); }
.th-garland { position: absolute; left: 0; right: 0; top: 12%; height: 52%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3dc94'/%3E%3Cstop offset='1' stop-color='%238a6a2c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 8 Q80 50 156 8' fill='none' stroke='url(%23g)' stroke-width='5' stroke-linecap='round' stroke-dasharray='3 3'/%3E%3Cpath d='M4 8 Q80 44 156 8' fill='none' stroke='%23c9a54c' stroke-width='1.5'/%3E%3Ccircle cx='4' cy='8' r='6' fill='url(%23g)'/%3E%3Ccircle cx='156' cy='8' r='6' fill='url(%23g)'/%3E%3Cpath d='M0 8 l4 14 l4 -14' fill='%23b88d3a'/%3E%3C/svg%3E") center top / auto 100% repeat-x;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.7)); }
.th-beam-gold { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(9px, 1.1vw, 16px); background: var(--goldbar); box-shadow: 0 6px 14px rgba(0,0,0,.6), 0 0 30px rgba(243,220,148,.15); }

/* Gold-framed pilasters either side of the stage opening */
.th-arch { position: relative; z-index: 2; display: grid; grid-template-columns: var(--pil) minmax(0, 1fr) var(--pil); }
.th-pilaster { position: relative;
  background: linear-gradient(0deg, rgba(255,190,110,.28), transparent 40%), linear-gradient(90deg, #0b0b0a, #1a1814 50%, #0b0b0a);
  box-shadow: inset 0 0 0 clamp(3px, .5vw, 7px) #0e0d0b, inset 0 0 0 calc(clamp(3px, .5vw, 7px) + 2px) #c9a54c, inset 0 0 0 calc(clamp(3px, .5vw, 7px) + 6px) #0e0d0b, inset 0 0 0 calc(clamp(3px, .5vw, 7px) + 7px) rgba(201,165,76,.55), 0 0 30px rgba(0,0,0,.8); }
.th-pilaster::before, .th-pilaster::after { content: ''; position: absolute; left: -10%; right: -10%; height: clamp(8px, 1vw, 14px); background: var(--goldbar); }
.th-pilaster::before { top: 0; } .th-pilaster::after { bottom: 0; box-shadow: 0 0 20px rgba(255,190,110,.4); }

.th-opening { position: relative; overflow: hidden; background: #050404; }
.th-opening .th-screen { border-radius: 0; box-shadow: none; }
.th-opening .th-caption { left: calc(5% + clamp(14px, 2vw, 28px)); bottom: calc(clamp(10px, 1.2vw, 16px) + clamp(12px, 2vw, 24px)); }

/* Main curtain: tight pleats, lit warm from the footlights, parts when a client is chosen */
.th-drape { position: absolute; z-index: 3; top: 0; bottom: 0; width: 50.5%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 18%, transparent 40%, transparent 78%, rgba(255,110,80,.18) 100%),
    radial-gradient(90% 70% at 50% 110%, rgba(255,90,70,.28), transparent 70%),
    var(--pile) 0 0 / 120px 120px,
    repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 .6%, transparent .6% 5.3%, rgba(255,170,160,.08) 5.3% 6%, transparent 6% 9.1%),
    repeating-linear-gradient(90deg, #4a050c 0%, #8e0f1b 1%, #c81b2a 2%, #e0303c 2.5%, #b01624 3.2%, #6c0912 4.1%, #4a050c 4.6%);
  transition: transform .85s cubic-bezier(.65,0,.25,1), filter .85s ease; }
.th-drape-l { left: 0; transform-origin: 0 50%; box-shadow: 14px 0 22px rgba(0,0,0,.45); }
.th-drape-r { right: 0; transform-origin: 100% 50%; }
.th-stage:has(.th-screen.is-playing) .th-drape { transform: scaleX(.1); filter: brightness(.55); }
.th-drape-text { position: absolute; z-index: 4; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center; transition: opacity .45s, transform .6s var(--ease); }
.th-stage:has(.th-screen.is-playing) .th-drape-text { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.th-drape-text .label { margin: 0; color: #f3dc94; }
.th-title { margin: 0; font: 800 clamp(2.2rem, 6vw, 5.6rem)/.92 var(--display); font-stretch: 112%; letter-spacing: -.03em; text-transform: uppercase; color: var(--cream); text-shadow: 0 4px 0 rgba(60,0,6,.55), 0 10px 40px rgba(0,0,0,.6); }
.th-note { margin: 0; font-size: clamp(13px, 1.1vw, 16px); color: rgba(255,236,226,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.th-cue { margin: 6px 0 0; font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .22em; text-transform: uppercase; color: #f3dc94; }

/* Reviews: the star of the show. Hidden behind the curtain; sitting in a client's seat raises it on their review,
   with their film dimmed behind it as a backdrop */
.th-reviews { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(720px, 70%); max-height: 82%;
  padding: clamp(20px, 2.4vw, 36px) clamp(24px, 3.6vw, 52px) clamp(18px, 2vw, 30px); text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(32,24,17,.9) 0%, rgba(12,10,8,.92) 70%);
  border: 1px solid #3a2a0c; border-radius: 16px;
  box-shadow: inset 0 0 0 5px rgba(12,10,8,.9), inset 0 0 0 6px rgba(201,165,76,.6), 0 30px 80px rgba(0,0,0,.7), 0 0 80px rgba(255,190,110,.12);
  opacity: 0; transform: translate(-50%, calc(-50% + 10px)) scale(.985); transition: opacity .18s ease-out, transform .25s ease-out; }
.th-stage:has(.th-screen.is-playing) .th-reviews:not(.is-empty) { opacity: 1; transform: translate(-50%, -50%); transition: opacity .35s ease-out .18s, transform .55s cubic-bezier(.22,.9,.3,1) .18s; }
/* marquee bulbs round the edge */
.th-reviews::before { content: ''; position: absolute; inset: 11px; border-radius: 9px; pointer-events: none;
  --b: radial-gradient(circle, #fff3cf 0 1.5px, rgba(255,200,120,.75) 2.5px, transparent 5px);
  background: var(--b) 0 0 / 20px 10px repeat-x, var(--b) 0 100% / 20px 10px repeat-x, var(--b) 0 0 / 10px 20px repeat-y, var(--b) 100% 0 / 10px 20px repeat-y;
  animation: marquee 2.4s steps(2) infinite; }
@keyframes marquee { 50% { opacity: .55; } }
.th-reviews-head { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: clamp(8px, 1vw, 14px); }
.th-reviews-head .label { margin: 0; color: #f3dc94; }
.th-reviews-head::before, .th-reviews-head::after { content: ''; width: clamp(24px, 4vw, 60px); height: 1px; background: linear-gradient(90deg, transparent, rgba(243,220,148,.7)); }
.th-reviews-head::after { transform: scaleX(-1); }
.th-reviews .quote { transition: opacity .15s ease-out, visibility 0s .15s; transform: none; }
.th-reviews .quote.is-active { transition: opacity .3s ease-out .1s, visibility 0s; }
.th-reviews .quote-nav, .th-reviews .quote-progress { display: none; } /* the seat picks the review */
.th-reviews .fake-tag { margin-bottom: clamp(8px, 1vw, 14px); font-size: 10px; padding: 5px 9px; }
.th-reviews .quote blockquote { max-width: 26ch; margin: 0 auto clamp(10px, 1.3vw, 18px); text-indent: -.4em;
  font: 800 clamp(1.2rem, 2.3vw, 2.3rem)/1.08 var(--display); font-stretch: 105%; letter-spacing: -.03em; color: var(--cream); text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.th-reviews .quote blockquote::before, .th-reviews .quote blockquote::after { color: var(--gold); }
.th-reviews .quote figcaption { justify-content: center; align-items: center; gap: 10px; }
.th-reviews .quote figcaption::before { content: '★★★★★'; flex-basis: 100%; margin-bottom: 4px; font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.th-reviews .quote-name { font-size: 11px; color: rgba(242,238,230,.75); }
.th-reviews .quote-role { color: var(--gold); font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
/* the film steps back: dimmed backdrop, caption hidden, while a review is up */
.th-film img, .th-film video { transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.th-stage:has(.th-reviews:not(.is-empty)) .th-screen.is-playing .th-film img,
.th-stage:has(.th-reviews:not(.is-empty)) .th-screen.is-playing .th-film video { filter: brightness(.42) saturate(.75); transform: scale(1.04); }
.th-stage:has(.th-reviews:not(.is-empty)) .th-screen.is-playing .th-caption { opacity: 0 !important; }
@media (max-width: 640px) {
  .th-reviews { width: calc(100% - 24px); padding: 14px 16px 12px; }
  .th-reviews::before { inset: 5px; }
  .th-reviews-head, .th-reviews .fake-tag, .th-reviews .quote figcaption::before { display: none; }
  .th-reviews .quote blockquote { font-size: 14px; margin-bottom: 8px; }
  .th-reviews .quote-name { font-size: 9px; } .th-reviews .quote-role { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .th-reviews::before { animation: none; } }

/* Footlights along the stage lip */
.th-footlights { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: clamp(10px, 1.2vw, 16px);
  background: radial-gradient(circle, #fff6d6 0 1.5px, rgba(255,205,130,.85) 2.5px, transparent 6px) 0 50% / clamp(14px, 1.6vw, 22px) 100% repeat-x, linear-gradient(0deg, #1a120a, #2a1d0e);
  box-shadow: 0 -10px 30px rgba(255,170,90,.35); }
.th-apron { position: relative; z-index: 2; height: clamp(10px, 1.3vw, 18px); margin: 0 calc(var(--pil) * -.6); background: var(--goldbar); box-shadow: 0 10px 30px rgba(0,0,0,.7); }

.th-screen {
  position: relative; z-index: 1; aspect-ratio: 2.39 / 1; overflow: hidden; border-radius: 6px;
  background: radial-gradient(120% 120% at 50% 40%, #1c1a17 0%, #0b0a09 70%);
  box-shadow: 0 0 0 1px rgba(242,238,230,.08), 0 30px 80px rgba(0,0,0,.6), 0 0 120px rgba(242,238,230,.06);
  transition: box-shadow .8s var(--ease);
}
.th-screen.is-playing { box-shadow: 0 0 0 1px rgba(242,238,230,.12), 0 30px 80px rgba(0,0,0,.6), 0 0 160px rgba(242,238,230,.16); }
.th-idle { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; transition: opacity .5s var(--ease); animation: flicker 6s infinite; }
.th-screen.is-playing .th-idle { opacity: 0; }
@keyframes flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .82; } 94% { opacity: 1; } 96% { opacity: .9; } }
.th-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--sans); font-stretch: 118%; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.th-idle-title { margin: 0; font: 800 clamp(2rem, 5vw, 4.6rem)/.95 var(--display); font-stretch: 112%; letter-spacing: -.03em; text-transform: uppercase; }
.th-idle-sub { margin: 0; color: var(--mut); font-size: clamp(14px, 1.2vw, 17px); }
.th-film { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease-out; }
.th-film.is-active { opacity: 1; transition: opacity .6s var(--ease) .05s; }
.th-film img, .th-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-film video { opacity: 0; transition: opacity .5s; }
.th-film.is-playing video { opacity: 1; }
.th-film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 45%); }
.th-film-blank { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, #2a2620, #0b0a09 70%); }
.th-film-blank span { font: 800 clamp(1.6rem, 4vw, 3.6rem)/1 var(--display); text-transform: uppercase; color: rgba(201,165,76,.5); }
.th-caption { position: absolute; z-index: 1; left: clamp(18px, 3vw, 36px); bottom: clamp(14px, 2.4vw, 30px); display: grid; gap: 6px; transform: translateY(10px); opacity: 0; transition: transform .6s var(--ease) .15s, opacity .5s .15s; }
.th-film.is-active .th-caption { transform: none; opacity: 1; }
.th-caption-kind { font: 500 10px/1 var(--sans); font-stretch: 118%; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.th-caption-name { font: 800 clamp(1.3rem, 2.6vw, 2.4rem)/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; }
.th-caption-work { font-size: 14px; color: rgba(242,238,230,.8); }
.th-grain { position: absolute; inset: 0; pointer-events: none; opacity: .08; 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Light from the screen spills onto the seats */
.th-glow { position: relative; z-index: 0; height: clamp(26px, 3.6vw, 48px); margin: 0 6%; background: radial-gradient(60% 100% at 50% 0%, rgba(242,238,230,.10), transparent 70%); transition: opacity .8s; }
.th-stage:has(.th-screen.is-playing) .th-glow { opacity: 1.6; background: radial-gradient(60% 100% at 50% 0%, rgba(242,238,230,.18), transparent 70%); }

/* Seats: two curved rows seen from behind */
.th-seats { position: relative; z-index: 6; display: grid; gap: clamp(4px, 1vw, 12px); padding-bottom: 10px; }
.th-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(3px, .6vw, 8px); }
.th-row-back { transform: scale(.84); transform-origin: 50% 100%; filter: brightness(.6); margin-bottom: calc(var(--sw) * -.42); }
.seat {
  --o: 0; position: relative; flex: none; width: var(--sw); height: calc(var(--sw) * 1.08); display: block; border: 0; padding: 0; background: none;
  /* curve the row: ends sit higher and turn inwards */
  transform: translateY(calc(var(--o) * var(--o) * var(--sw) * -.28)) rotate(calc(var(--o) * 7deg));
  transition: transform .45s var(--ease);
}
.seat-back {
  position: absolute; inset: 0 8% 18% 8%; border-radius: 40% 40% 12% 12% / 30% 30% 10% 10%;
  background: linear-gradient(180deg, #3a1519 0%, #26090d 60%, #1a0609 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.07), inset 0 -10px 18px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.5);
  display: grid; place-items: center; overflow: hidden;
}
.seat-back::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 22%, rgba(0,0,0,.18) 22% 24%); }
.seat-arm { position: absolute; left: 0; right: 0; bottom: 6%; height: 24%; border-radius: 6px;
  background: linear-gradient(180deg, #2c2a27, #151412); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.seat-arm::before, .seat-arm::after { content: ''; position: absolute; top: -40%; width: 12%; height: 140%; border-radius: 4px; background: #1d1c1a; }
.seat-arm::before { left: 0; } .seat-arm::after { right: 0; }

/* Client seats: brand photo on the seat back, name tag on hover */
.seat-client { cursor: pointer; }
.seat-client .seat-back { background: linear-gradient(180deg, #452027 0%, #2c0e13 60%, #1e080b 100%); box-shadow: inset 0 0 0 1.5px rgba(201,165,76,.55), inset 0 -10px 18px rgba(0,0,0,.45), 0 6px 14px rgba(0,0,0,.5); }
.seat-photo { position: relative; z-index: 1; width: 64%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); background: #111; box-shadow: 0 3px 10px rgba(0,0,0,.5); transition: transform .45s var(--ease), box-shadow .45s; }
.seat-photo img { width: 100%; height: 100%; object-fit: cover; }
.seat-photo.is-logo img { object-fit: contain; padding: 14%; filter: grayscale(1) brightness(1.6); }
.seat-photo em { display: grid; place-items: center; width: 100%; height: 100%; font: 800 calc(var(--sw) * .2)/1 var(--display); font-style: normal; color: var(--gold); }
.seat-tag {
  position: absolute; z-index: 6; left: 50%; bottom: calc(100% + 14px); transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  display: grid; gap: 4px; justify-items: center; white-space: nowrap; padding: 10px 14px; border-radius: 10px;
  background: var(--cream); color: #0a0a0a; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity .3s, transform .4s var(--ease);
}
.seat-tag::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--cream); }
.seat-tag b { font: 800 14px/1 var(--sans); font-stretch: 112%; letter-spacing: .02em; text-transform: uppercase; }
.seat-tag small { font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #6b5a2e; }
.seat-client:hover, .seat-client:focus-visible, .seat-client.is-active { transform: translateY(calc(var(--o) * var(--o) * var(--sw) * -.28 - 10px)) rotate(calc(var(--o) * 7deg)); }
.seat-client:hover .seat-tag, .seat-client:focus-visible .seat-tag, .seat-client.is-active .seat-tag { opacity: 1; transform: translate(-50%, 0); }
.seat-client:hover .seat-photo, .seat-client.is-active .seat-photo { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(201,165,76,.25), 0 0 26px rgba(201,165,76,.55); }
.seat-client:focus-visible { outline: none; }
.seat-client:focus-visible .seat-photo { outline: 2px solid var(--cream); outline-offset: 3px; }
.th-hint { margin: 18px 0 0; text-align: center; font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }

@media (max-width: 640px) {
  .th-stage { padding-left: 16px; padding-right: 16px; --sw: calc((100vw - 32px - 40px) / 13.6); }
  .th-row { gap: 3px; }
  .th-opening .th-screen { aspect-ratio: 4 / 3; }
  .seat-tag { padding: 8px 10px; }
  .seat-tag b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .th-idle { animation: none; } .th-drape { transition: none; } }
.on-touch { display: none; }
@media (hover: none) { .on-hover { display: none; } .on-touch { display: inline; } }

/* ---------- Services: editing timeline ---------- */
.services { padding: 0; }
.svc-pin { position: relative; }
.svc-sticky { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); padding: clamp(100px, 11vw, 170px) 0; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.svc-monitor {
  position: relative; height: clamp(240px, 40vh, 400px); background: #0d0c0b;
  border: 1px solid var(--line); overflow: hidden;
}
.svc-monitor > .vf { inset: 16px; --arm: 22px; --vf: rgba(242,238,230,.35); }
.svc-hud { position: absolute; top: 30px; left: 34px; right: 34px; display: flex; justify-content: space-between; font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); z-index: 2; }
.svc-hud span { display: inline-flex; align-items: center; gap: 8px; }
.svc-hud b { font-weight: 500; color: var(--cream); font-variant-numeric: tabular-nums; }
.svc-slide { isolation: isolate;
  position: absolute; inset: 0; display: grid; align-content: start; justify-items: start; gap: 14px; padding: clamp(70px, 9vh, 96px) clamp(34px, 6vw, 90px) 40px;
  opacity: 0; transform: translateY(10px); transition: opacity .18s ease-out, transform .18s ease-out; pointer-events: none;
}
.svc-slide.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity .55s var(--ease) .16s, transform .7s var(--ease) .16s; }
.svc-slide .btn { position: absolute; left: clamp(34px, 6vw, 90px); bottom: clamp(30px, 5vh, 46px); --acc: var(--c); --on-acc: #0a0a0a; }
.svc-slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 85% 50%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.svc-name { margin: 0; font: 800 clamp(2.2rem, 5.4vw, 5.6rem)/.92 var(--display); font-stretch: 112%; letter-spacing: -.035em; text-transform: uppercase; }
.svc-text { margin: 0 0 6px; max-width: 46ch; color: var(--mut); font-size: clamp(15px, 1.2vw, 18px); }

.tl { position: relative; cursor: ew-resize; touch-action: pan-y; background: #0d0c0b; border: 1px solid var(--line); border-top: 0; padding: 0 0 8px; user-select: none; }
.tl-hint { font: 500 10px/1 var(--sans); font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.tl-ruler { position: relative; height: 28px; margin-left: 52px; border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, rgba(242,238,230,.18) 0 1px, transparent 1px calc(100% / 30)) bottom / 100% 6px no-repeat; }
.tl-ruler span { position: absolute; top: 8px; transform: translateX(4px); font: 500 10px/1 var(--sans); letter-spacing: .08em; color: var(--mut); font-variant-numeric: tabular-nums; }
.tl-ruler span:last-child { transform: translateX(calc(-100% - 4px)); }
.tl-track { display: flex; align-items: center; height: 44px; border-bottom: 1px solid rgba(242,238,230,.06); }
.tl-label { width: 52px; flex: none; text-align: center; font: 600 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .12em; color: var(--mut); }
.tl-lane { position: relative; flex: 1; height: 100%; }
.tl-clip {
  position: absolute; top: 6px; bottom: 6px; display: flex; align-items: center; padding: 0 12px; overflow: hidden;
  background: rgba(242,238,230,.04); border: 1px solid rgba(242,238,230,.14); border-radius: 4px; color: var(--mut);
  font: 600 11px/1 var(--sans); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; text-align: left;
  transition: background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.tl-clip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-clip:hover { color: var(--cream); }
.tl-clip { border-left: 3px solid var(--c); }
.tl-clip.is-active { background: var(--c); border-color: var(--c); color: #0a0a0a; }
.tl-wave {
  position: absolute; inset: 7px 0; border-radius: 5px; overflow: hidden; display: flex; align-items: center; padding-left: 12px;
  background: rgba(242,238,230,.04); border: 1px solid rgba(242,238,230,.1);
}
.tl-wave::before {
  content: ''; position: absolute; inset: 4px 0;
  background: repeating-linear-gradient(90deg, rgba(201,165,76,.55) 0 2px, transparent 2px 5px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q5 2 10 10 T20 10 T30 6 T40 10 T50 3 T60 10 T70 8 T80 10 T90 1 T100 10 T110 7 T120 10 T130 4 T140 10 T150 9 T160 10 T170 2 T180 10 T190 6 T200 10 L200 20 L0 20Z' fill='black'/%3E%3C/svg%3E") 0 0 / 50% 100% repeat-x;
  opacity: .3;
}
.tl-wave span { position: relative; font: 600 10px/1 var(--sans); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: 52px; width: 0; pointer-events: none; will-change: transform; z-index: 3; --p: 0; transform: translateX(calc(var(--p) * (var(--tlw, 0px)))); }
.tl-playhead::before { content: ''; position: absolute; top: 0; bottom: 0; left: -.75px; width: 1.5px; background: var(--rec); }
.tl-playhead::after { content: ''; position: absolute; top: 0; left: -8px; width: 16px; height: 18px; background: var(--rec); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
@media (max-width: 640px) {
  .svc-monitor { height: 42vh; }
  .tl-clip { padding: 0 8px; font-size: 9px; letter-spacing: .04em; }
  .tl-label { width: 34px; }
  .tl-ruler { margin-left: 34px; }
  .tl-playhead { left: 34px; }
  .svc-head .section-note { display: none; }
}

/* ---------- Testimonials ---------- */
.words { padding: clamp(100px, 11vw, 170px) 0; }
.words-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(30px, 4vw, 56px); }
.words-head .label { margin: 0; }
.quotes { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s .2s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .22s, transform .8s var(--ease) .22s, visibility 0s; }
.quote blockquote {
  margin: 0 0 40px; max-width: 24ch; font: 700 clamp(2rem, 4.2vw, 4.2rem)/1.06 var(--display); letter-spacing: -.035em;
  text-indent: -.42em;
}
.quote blockquote::before { content: '“'; }
.quote blockquote::after { content: '”'; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.quote-name { font: 600 13px/1 var(--sans); font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; }
.quote-role { color: var(--mut); font-size: 16px; }
.quote-nav { display: flex; align-items: center; gap: 10px; }
.quote-count { margin-right: 10px; font: 500 13px/1 var(--sans); font-stretch: 112%; letter-spacing: .12em; color: var(--mut); font-variant-numeric: tabular-nums; }
.quote-count b { color: var(--fg); font-weight: 600; }
.quote-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.quote-nav button:hover { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.quote-nav [data-quote-prev] .icon { transform: rotate(180deg); }
.quote-progress { height: 1px; margin-top: clamp(40px, 5vw, 70px); background: var(--line); }
.quote-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- About ---------- */
.about { padding: clamp(110px, 12vw, 180px) 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.about-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 30%; }
.about-copy .h-lg { margin-bottom: 30px; }
.about-copy p { margin: 0 0 22px; }
.skills { list-style: none; padding: 0; margin: 40px 0 30px; border-top: 1px solid var(--line); }
.skills li { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font: 800 clamp(1.6rem, 2.3vw, 2.2rem)/1 var(--display); letter-spacing: -.02em; }
.skills li::after { content: '●'; font-size: 10px; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(110px, 12vw, 180px); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 8vw, 140px); align-items: start; padding-top: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px 0;
  font: 700 clamp(1.25rem, 1.7vw, 1.6rem)/1.2 var(--display); letter-spacing: -.02em; transition: color .4s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.plus { position: relative; width: 18px; height: 18px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 60px 28px 0; color: var(--mut); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-section { padding: clamp(110px, 12vw, 180px) 0; position: relative; overflow: hidden; }
.contact-page { padding-top: calc(var(--header) + var(--topbar) + clamp(60px, 8vw, 120px)); }
.contact-head { margin-bottom: clamp(50px, 6vw, 90px); }
.contact-head .h-xl { max-width: 12ch; margin-bottom: 26px; }
.contact-body { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-block { margin-bottom: 44px; }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next li { display: flex; gap: 16px; align-items: baseline; font-size: 18px; }
.next span { font: 500 12px/1 var(--sans); font-stretch: 115%; letter-spacing: .16em; color: var(--acc); }
.contact-links, .footer-links { display: grid; gap: 10px; justify-items: start; }
.contact-links a, .footer-links a { font-size: 18px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.contact-links a:hover, .footer-links a:hover { background-size: 100% 1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field > span { font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); transition: color .3s; }
.field:focus-within > span { color: var(--acc); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  color: var(--fg); font: 400 19px/1.4 var(--sans); transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9a54c' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.field select option { background: var(--ink); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); }
.field .is-invalid, .field input:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 30px; padding: 16px 20px; border-left: 2px solid #e10600; background: rgba(229,72,58,.08); color: #f3c1ba; }
.form-status.is-success { border-color: var(--gold); background: rgba(255,255,255,.06); color: var(--cream); font: 800 clamp(1.6rem, 2.4vw, 2.3rem)/1.1 var(--display); letter-spacing: -.03em; padding: 26px 28px; }
.form.is-sent .form-grid, .form.is-sent .form-foot { display: none; }

/* Contact form as a fill-in-the-blank letter: big display type, gold blanks to write in */
.contact-body:has(.form-ml) { grid-template-columns: 1fr; gap: clamp(50px, 6vw, 80px); }
.contact-body:has(.form-ml) .contact-side { order: 2; display: flex; flex-wrap: wrap; gap: 20px 80px; padding-top: 34px; border-top: 1px solid var(--line); }
.contact-body:has(.form-ml) .contact-block { margin: 0; }
.form-ml { max-width: 1180px; }
.form-ml .ml { display: grid; gap: clamp(4px, .6vw, 10px); }
.form-ml .ml p { margin: 0; font: 800 clamp(1.6rem, 3vw, 3.1rem)/1.3 var(--display); font-stretch: 108%; letter-spacing: -.025em; color: var(--cream); }
.ml-field { display: inline-block; position: relative; vertical-align: baseline; }
.ml-field input, .ml-field select {
  font: inherit; letter-spacing: inherit; color: var(--gold); background: transparent; border: 0; border-radius: 0;
  border-bottom: 2px dashed rgba(201,165,76,.5); padding: 0 6px; margin: 0 2px; min-width: 3ch; max-width: 100%;
  transition: border-color .3s, background-color .3s, width .2s ease-out; }
.ml-field input::placeholder { color: rgba(242,238,230,.22); }
.ml-field select { appearance: none; cursor: pointer; padding-right: 1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23c9a54c' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") right 4px center / .4em no-repeat; }
.ml-field select:invalid, .ml-field select option[value=""] { color: rgba(242,238,230,.22); }
.ml-field select option { font: 400 16px/1.4 var(--sans); background: var(--ink); color: var(--cream); }
.ml-field.is-filled input, .ml-field.is-filled select { border-bottom-style: solid; border-color: var(--gold); }
.ml-field input:focus, .ml-field select:focus { outline: none; border-bottom-style: solid; border-color: var(--gold-hi, #e8c66a); background-color: rgba(201,165,76,.08); }
.ml-field input.is-invalid { border-color: #e5484d; }
.ml-soft { color: rgba(242,238,230,.45); }
.ml-idea { display: grid; gap: 12px; margin-top: clamp(30px, 4vw, 52px); }
.ml-idea > span, .ml-budget legend { font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ml-idea textarea { width: 100%; min-height: 110px; resize: vertical; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(242,238,230,.14);
  background: rgba(242,238,230,.035); color: var(--cream); font: 400 19px/1.5 var(--sans); transition: border-color .3s, background .3s; }
.ml-idea textarea::placeholder { color: rgba(242,238,230,.3); }
.ml-idea textarea:focus { outline: none; border-color: var(--gold); background: rgba(201,165,76,.05); }
.ml-idea textarea.is-invalid { border-color: #e5484d; }
.ml-budget { border: 0; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ml-budget legend { float: left; margin-right: 8px; padding: 0; }
.ml-budget label { cursor: pointer; }
.ml-budget input { position: absolute; opacity: 0; pointer-events: none; }
.ml-budget span { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(242,238,230,.16);
  font: 500 13px/1 var(--sans); color: rgba(242,238,230,.75); transition: border-color .25s, color .25s, background .25s; }
.ml-budget label:hover span { border-color: var(--gold); color: var(--cream); }
.ml-budget input:checked + span { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }
.ml-budget input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-ml .form-foot { margin-top: clamp(34px, 4vw, 54px); }
.ml-send { height: 64px; padding: 0 34px; font-size: 15px; }
.form-ml.is-sent .ml, .form-ml.is-sent .ml-idea, .form-ml.is-sent .ml-budget { display: none; }
@media (max-width: 640px) {
  .form-ml .ml p { font-size: 1.55rem; line-height: 1.45; }
  .ml-send { width: 100%; }
}

/* ---------- Project page ---------- */
.project { padding: calc(var(--header) + var(--topbar) + clamp(40px, 6vw, 90px)) 0 clamp(90px, 10vw, 150px); }
.project-inner { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
.project.is-portrait .project-inner { grid-template-columns: 1fr minmax(300px, 520px); align-items: start; }
.project:not(.is-portrait) .project-player { order: -1; }
.project-player { position: relative; width: 100%; max-height: 84vh; margin-inline: auto; background: #000; }
.project.is-portrait .project-player { position: sticky; top: calc(var(--header) + 30px); }
.project-player video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.project-player .vf { inset: -16px; --arm: 30px; --vf: var(--gold); }
.back { display: block; width: fit-content; margin-bottom: 40px; font: 500 12px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); transition: color .3s; }
.back:hover { color: var(--fg); }
.project-copy .h-xl { margin-bottom: 30px; }
.meta { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 40px 0; padding: 26px 0; border-block: 1px solid var(--line); }
.meta dt { font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); margin-bottom: 10px; }
.meta dd { margin: 0; font: 800 24px/1 var(--display); }
.project-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.project-cta p { margin: 0; font: 800 24px/1 var(--display); }
.next-project { position: relative; display: block; height: clamp(320px, 55vh, 560px); overflow: hidden; isolation: isolate; }
.next-media { position: absolute; inset: 0; z-index: -2; }
.next-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease), filter .8s; filter: grayscale(.4) brightness(.55); }
.next-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.85), rgba(10,10,10,.2)); }
.next-inner { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.next-title { display: inline-flex; align-items: center; gap: .3em; font: 800 clamp(2.4rem, 5.6vw, 5.8rem)/1 var(--display); letter-spacing: -.03em; max-width: 18ch; }
.next-title .icon { width: .5em; height: .5em; color: var(--gold); transition: transform .8s var(--ease); }
.next-project:hover .next-media img { transform: scale(1); filter: none; }
.next-project:hover .next-title .icon { transform: translateX(.2em); }

.notfound { min-height: 80vh; display: grid; align-items: center; padding: 160px 0 100px; }
.notfound .lead { margin: 24px 0 40px; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: transparent; color: var(--cream); overflow: hidden; }
.lightbox::backdrop { background: rgba(5,5,5,.985); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lbIn .6s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox-stage { display: grid; place-items: center; padding: 76px var(--gutter) 20px; min-height: 0; }
.lightbox-frame { position: relative; display: grid; place-items: center; max-width: 100%; max-height: 100%; }
.lightbox-frame .vf { inset: -14px; --arm: 26px; }
.lightbox-frame video { max-width: min(1400px, 100%); max-height: calc(100dvh - 210px); background: #000; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 18px var(--gutter) 28px; }
.lightbox-client { margin: 0 0 10px; font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.lightbox-title { margin: 0; font: 800 clamp(1.9rem, 3vw, 2.8rem)/1 var(--display); letter-spacing: -.02em; }
.lightbox-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lightbox .btn { --fg: var(--cream); --bg: var(--ink); --acc: var(--gold); --on-acc: #0a0a0a; }
.lightbox-close {
  position: absolute; top: 22px; right: var(--gutter); z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0;
}
.lightbox-close .icon { width: 22px; height: 22px; transition: transform .6s var(--ease); }
.lightbox-close:hover .icon { transform: rotate(90deg); color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(70px, 8vw, 120px); overflow: hidden; border-top: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-h { margin: 0 0 28px; font: 800 clamp(2.2rem, 3.2vw, 3.2rem)/1 var(--display); letter-spacing: -.025em; max-width: 12ch; }
.footer-label { margin: 0 0 18px; font: 500 11px/1 var(--sans); font-stretch: 115%; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: #d2ccc0; transition: color .3s; }
.site-footer ul a:hover { color: var(--cream); }
.footer-links a { font-size: 17px; }
.footer-giant { margin-top: clamp(30px, 4vw, 70px); padding: clamp(40px, 5vw, 90px) var(--gutter) 8px; line-height: .8; white-space: nowrap; text-align: center; overflow: hidden; }
.footer-name {
  position: relative; display: inline-flex; font: 800 10.7vw/.86 var(--display); letter-spacing: -.04em; text-transform: uppercase; font-stretch: 112%; color: transparent; -webkit-text-stroke: 1.5px rgba(242,238,230,.28); transform: translateY(8%);
}
.footer-letter { display: inline-block; white-space: pre; transform-origin: 50% 85%; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }

/* ---------- Responsive ---------- */
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-lead { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header: 68px; --topbar: 0px; }
  .topbar { display: none; }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 90px var(--gutter) 40px; background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
  }
  .nav a:not(.btn) { font: 800 clamp(2.6rem, 11vw, 4rem)/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; text-transform: uppercase; padding: 4px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; }
  .menu-open .nav { clip-path: inset(0); visibility: visible; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .faq-inner, .contact-body { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .project.is-portrait .project-inner { grid-template-columns: 1fr; }
  .project.is-portrait .project-player { position: relative; top: 0; max-width: 460px; order: -1; }
  .hud-tr { display: none; }
}
@media (hover: none) {
  .tile-shade { background: linear-gradient(0deg, rgba(10,10,10,.8), transparent 55%); }
  .cap-blurb { max-height: none; opacity: 1; margin-top: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wordmark { font-size: 16px; letter-spacing: .12em; }
  .hero { --strip: 76px; }
  .hero-frame .vf { --arm: 28px; }
  .hud { font-size: 10px; top: 12px; }
  .hud-tl { left: 14px; }
  .hero-content { bottom: calc(var(--strip) + 90px); }
  .hero-controls { gap: 8px; }
  .pill { height: 38px; padding: 0 14px 0 4px; font-size: 10px; }
  .pill-icon { width: 30px; height: 30px; }
  .c-time { display: none; }
  .tile-info { padding: 0 16px 16px; gap: 6px; }
  .tile-title { font-size: 1.35rem; }
  .tile-client { font-size: 9px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { aspect-ratio: 16 / 10; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr; }
  .faq-a p { padding-right: 0; }
  .words-head { flex-wrap: wrap; }
  .lightbox-frame video { max-height: calc(100dvh - 260px); }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .strip-track, .rec-dot { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Timeline transport */
.tl-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.tl-play {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 5px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--cream); font: 600 11px/1 var(--sans); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .3s, background .3s, color .3s;
}
.tl-play-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #0a0a0a; transition: transform .4s var(--ease); }
.tl-play-icon .icon { width: 11px; height: 11px; }
.tl-play:hover { border-color: var(--gold); }
.tl-play:hover .tl-play-icon { transform: scale(1.08); }
.tl.is-dragging { cursor: grabbing; }
.tl.is-dragging .tl-clip { transition: none; }

/* Starter testimonials are placeholders until Adam replaces them */
.fake-tag { display: inline-block; margin-bottom: 18px; padding: 7px 12px; border-radius: 4px; background: #e5484d; color: #fff; font: 800 12px/1 var(--sans); font-stretch: 112%; letter-spacing: .16em; }
