:root {
  --bg: #0a0908;
  --bg-2: #12100e;
  --ink: #efe9df;
  --muted: #8f877c;
  --line: rgba(239, 233, 223, 0.14);
  --ember: #ff5a1f;
  --ember-2: #ff8a3d;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--ember); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--ember); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

main { overflow-x: clip; width: 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--gutter);
}
.loader-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.loader-word { font-size: clamp(1rem, 2vw, 1.4rem); color: var(--muted); letter-spacing: -0.02em; }
.loader-count { font-size: clamp(5rem, 22vw, 20rem); font-weight: 200; line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.loader-bar { height: 1px; background: var(--line); margin-top: 24px; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--ember); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 800; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ember); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(239, 233, 223, 0.5);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .4s, border-color .4s;
}
.cursor-label { font-size: 13px; font-weight: 500; color: var(--bg); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); white-space: nowrap; }
.cursor.is-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ember); border-color: var(--ember); }
.cursor.is-label .cursor-label { opacity: 1; transform: scale(1); }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(239, 233, 223, 0.08); border-color: rgba(239, 233, 223, 0.8); }
.cursor.is-down .cursor-ring { transform-origin: center; scale: .8; }
.cursor.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [role="button"] { cursor: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -10%; z-index: 700; pointer-events: none; opacity: .07;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  mix-blend-mode: normal;
}
.logo { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.04em; display: inline-block; }
.logo sup { font-size: .55em; color: var(--ember); margin-left: 2px; }
.nav-pill {
  display: flex; gap: 4px; padding: 5px;
  background: rgba(18, 16, 14, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-pill a { padding: 8px 16px; border-radius: 999px; font-size: .9rem; color: rgba(239, 233, 223, .75); transition: background-color .35s, color .35s; }
.nav-pill a:hover { background: rgba(239, 233, 223, .1); color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 500; font-size: .92rem;
}
.nav-cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }

/* ---------- Split text helpers ---------- */
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; }
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 96px var(--gutter) 32px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; }
.hero-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(10, 9, 8, 0) 0%, rgba(10, 9, 8, .55) 70%, rgba(10, 9, 8, .95) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, .5) 0%, rgba(10, 9, 8, 0) 30%, rgba(10, 9, 8, 0) 55%, rgba(10, 9, 8, .9) 100%);
}
.hero-top, .hero-title, .hero-bottom { position: relative; z-index: 2; }
.hero-top { display: flex; justify-content: space-between; gap: 24px; }
.hero-kicker { margin: 0; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(239, 233, 223, .7); }
.hero-title {
  grid-row: 3;
  margin: 0; width: 100%;
  font-size: clamp(3.4rem, 11.5vw, 13rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -0.055em;
}
.hero-line { display: block; }
.hero-line:nth-child(2) { text-align: right; }
.hero-title .serif { color: var(--ember); letter-spacing: -0.03em; padding-right: .06em; }
.hero-bottom { grid-row: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 32px; }
.hero-lede { margin: 0; max-width: 42ch; color: rgba(239, 233, 223, .78); font-size: clamp(.95rem, 1.1vw, 1.08rem); }
.scroll-hint { display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.scroll-hint i { position: relative; width: 1px; height: 48px; background: var(--line); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ember); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(80px, 12vw, 180px) 0; overflow: hidden; }
.marquee-row { display: flex; white-space: nowrap; will-change: transform; }
.marquee-row--alt { margin-top: .1em; }
.marquee-track { display: flex; align-items: center; gap: .35em; padding-right: .35em; font-size: clamp(3rem, 9vw, 9rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; flex-shrink: 0; }
.marquee-row--alt .marquee-track { color: transparent; -webkit-text-stroke: 1px rgba(239, 233, 223, .45); }
.marquee-row--alt .marquee-track .serif { color: var(--ink); -webkit-text-stroke: 0; }
.marquee-track .serif { font-weight: 400; }
.spark { display: inline-block; width: .42em; height: .42em; flex-shrink: 0; background: var(--ember); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(40px, 8vw, 120px) var(--gutter) clamp(120px, 16vw, 240px); }
.manifesto-text {
  margin: 0 auto; max-width: 1400px;
  font-size: clamp(2rem, 5.2vw, 5.4rem);
  font-weight: 400; line-height: 1.08; letter-spacing: -0.045em;
}
.manifesto-text .mw { opacity: .12; transition: none; }
.pill {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: .82em; margin: 0 .12em;
  border-radius: 999px; overflow: hidden;
  transform: translateY(-.06em);
}
.pill video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reel ---------- */
.reel { padding: 0 var(--gutter) clamp(120px, 16vw, 220px); display: flex; justify-content: center; }
.reel-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-2);
  border-radius: 20px;
  will-change: transform;
}
.reel-frame video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.reel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: clamp(16px, 2.4vw, 32px);
  font-size: clamp(1.4rem, 3.6vw, 3.6rem); letter-spacing: -0.04em;
  background: linear-gradient(0deg, rgba(10, 9, 8, .7), transparent);
}

/* ---------- Section titles ---------- */
.section-title { margin: 0; font-size: clamp(2.4rem, 6vw, 6.2rem); font-weight: 400; line-height: .98; letter-spacing: -0.05em; }
.section-title .serif { color: var(--ember); }

/* ---------- Work (horizontal) ---------- */
.work { position: relative; }
.work-pin { height: 100svh; display: flex; align-items: center; overflow: hidden; }
.work-head {
  position: absolute; top: 100px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  z-index: 2; pointer-events: none;
}
.work-head .section-title { font-size: clamp(2rem, 4.2vw, 4.4rem); max-width: 16ch; }
.work-note { margin: 0; color: var(--muted); max-width: 28ch; }
.work-progress { position: absolute; left: 0; right: 0; bottom: -24px; height: 1px; background: var(--line); }
.work-progress i { display: block; height: 100%; width: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }
.work-track {
  display: flex; gap: clamp(16px, 2.2vw, 36px);
  padding: 0 var(--gutter);
  padding-left: 38vw;
  margin-top: 150px;
  will-change: transform;
}
.card { flex: 0 0 auto; width: clamp(260px, min(30vw, calc((100svh - 330px) * 0.75)), 460px); perspective: 900px; }
.card-media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px;
  background: var(--bg-2);
  transform-style: preserve-3d; will-change: transform;
}
.card-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.card:hover .card-media video { transform: scale(1.02); }
.card-glare {
  position: absolute; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%);
  opacity: 0; transition: opacity .4s; pointer-events: none; will-change: transform;
}
.card:hover .card-glare { opacity: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.card-meta h3 { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; }
.card-meta p { margin: 0; color: var(--muted); font-size: .85rem; text-align: right; }
.card-meta p span { display: block; color: var(--ember-2); }

/* ---------- Industries ---------- */
.industries { position: relative; padding: clamp(120px, 16vw, 240px) var(--gutter); }
.industries-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }
.industries-head .section-title { max-width: 18ch; }
.industries-note { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.ind-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ind {
  position: relative; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px;
  padding: clamp(16px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line);
}
.ind::before { content: ""; position: absolute; inset: 0; background: var(--ember); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.ind-n { font-family: var(--mono); font-size: .8rem; color: var(--muted); transition: color .4s; }
.ind-name {
  position: relative; display: inline-block;
  font-size: clamp(1.8rem, 5vw, 5rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1;
  transition: transform .7s var(--ease);
}
.ind-tag { color: var(--muted); font-size: .95rem; transition: color .4s, transform .7s var(--ease); }
.ind-list:hover .ind { opacity: .35; }
.ind-list .ind { transition: opacity .5s; }
.ind-list .ind:hover { opacity: 1; }
.ind:hover .ind-name { transform: translateX(clamp(12px, 2vw, 32px)); }
.ind:hover .ind-tag { color: var(--ink); transform: translateX(-8px); }
.ind:hover .ind-n { color: var(--ember); }
.hint-touch { display: none; }
.hint-narrow { display: none; }
@media (max-width: 900px) and (hover: hover) and (pointer: fine) { .hint-narrow { display: inline; } }
@media (hover: none), (pointer: coarse) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}
.ind-media { grid-column: 1 / -1; height: 0; overflow: hidden; border-radius: 14px; transition: height .6s var(--ease), margin .6s var(--ease); }
.ind-media video { width: 100%; height: 100%; object-fit: cover; }
.ind.is-open .ind-media { height: 64vw; max-height: 420px; margin-top: 8px; }
.ind.is-open .ind-name { color: var(--ember); }
.floater {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: clamp(200px, 20vw, 320px); aspect-ratio: 3 / 4;
  margin: calc(clamp(200px, 20vw, 320px) * -0.66) 0 0 calc(clamp(200px, 20vw, 320px) * -0.5);
  visibility: hidden;
}
.floater-inner { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; transform: scale(0); }
.floater video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.floater video.is-active { opacity: 1; }

/* ---------- Portal ---------- */
.portal-pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.portal-frame { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 50%; will-change: transform; }
.portal-frame video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.portal-words {
  position: relative; z-index: 2; width: 100%;
  display: flex; justify-content: space-between; padding: 0 var(--gutter);
  font-size: clamp(3rem, 12vw, 13rem); font-weight: 300; letter-spacing: -0.06em; line-height: 1;
  pointer-events: none;
}
.portal-w-r { color: var(--ember); }
.portal-caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 6vw, 72px); z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  opacity: 0;
}
.portal-big { margin: 0; font-size: clamp(2.4rem, 7vw, 7.5rem); letter-spacing: -0.055em; line-height: .95; font-weight: 400; text-shadow: 0 10px 60px rgba(0, 0, 0, .5); }
.portal-small { margin: 0; max-width: 34ch; color: rgba(239, 233, 223, .85); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }

/* ---------- Toolkit (stack) ---------- */
.toolkit { padding: clamp(120px, 16vw, 240px) var(--gutter) clamp(60px, 8vw, 120px); }
.toolkit-head { margin-bottom: clamp(40px, 6vw, 80px); }
.stack { display: grid; gap: 40px; }
.stack-card {
  position: sticky; top: 90px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px);
  min-height: min(76svh, 720px);
  padding: clamp(20px, 3vw, 40px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  transform-origin: center top;
  will-change: transform;
}
.stack-card:nth-child(2) { top: 110px; }
.stack-card:nth-child(3) { top: 130px; }
.stack-card:nth-child(4) { top: 150px; }
.stack-shade { position: absolute; inset: -1px; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; z-index: 2; }
.stack-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.stack-n { font-family: var(--mono); color: var(--ember); font-size: .85rem; }
.stack-copy h3 { margin: auto 0 0; font-size: clamp(2.2rem, 4.6vw, 4.6rem); font-weight: 400; letter-spacing: -0.05em; line-height: .95; }
.stack-copy p { margin: 0; color: var(--muted); max-width: 36ch; font-size: 1.05rem; }
.stack-media { border-radius: 18px; overflow: hidden; min-height: 280px; }
.stack-media video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Spin (scroll-scrubbed video) ---------- */
.spin-pin { position: relative; height: 100svh; overflow: hidden; background: #000; }
.spin-pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.spin-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.spin-copy { position: absolute; z-index: 2; }
.spin-copy-l { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.spin-kicker { margin: 0 0 16px; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spin-title { margin: 0; font-size: clamp(2.6rem, 6.2vw, 6.8rem); font-weight: 400; line-height: .95; letter-spacing: -0.05em; }
.spin-title .serif { color: var(--ember); }
.spin-copy-r { right: var(--gutter); bottom: 64px; max-width: 30ch; text-align: right; }
.spin-copy-r p { margin: 8px 0 0; color: rgba(239, 233, 223, .75); }
.spin-deg { display: block; font-size: clamp(3rem, 8vw, 8.5rem); font-weight: 200; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.spin-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; height: 1px; background: var(--line); z-index: 2; }
.spin-bar i { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }

/* ---------- Lab (bento) ---------- */
.lab { padding: clamp(120px, 14vw, 220px) var(--gutter); }
.lab-head { margin-bottom: clamp(40px, 6vw, 80px); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(280px, 34vh));
  grid-auto-flow: dense;
}
.tile { position: relative; overflow: hidden; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.tile-particles { grid-column: span 2; grid-row: span 2; background: #050404; }
.tile-magnet { grid-column: span 1; grid-row: span 1; }
.tile-scramble { grid-column: span 1; grid-row: span 1; }
.tile-spot { grid-column: span 2; grid-row: span 1; }
.tile-label { position: absolute; left: 20px; bottom: 18px; right: 20px; pointer-events: none; z-index: 3; }
.tile-label h3 { margin: 0; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; }
.tile-label p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.magnet-stage { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 40px; }
.magnet-btn {
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--ember); color: var(--bg);
  font-weight: 600; font-size: 1rem;
  box-shadow: 0 20px 60px -10px rgba(255, 90, 31, .5);
}
.magnet-btn span { display: inline-block; pointer-events: none; }
.tile-scramble { display: grid; place-items: center; padding: 20px 20px 64px; }
.scramble { margin: 0; font-family: var(--mono); font-size: clamp(1.1rem, 1.7vw, 1.6rem); text-align: center; color: var(--ink); }
.tile-spot .spot-base, .tile-spot .spot-reveal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-spot .spot-base { filter: grayscale(1) brightness(.45); }
.tile-spot .spot-reveal { clip-path: circle(0px at 50% 50%); }

/* ---------- Contact ---------- */
.contact { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: clamp(100px, 12vw, 180px) var(--gutter); }
.contact-media { position: absolute; inset: 0; }
.contact-media video { width: 100%; height: 100%; object-fit: cover; }
.contact-wash { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 9, 8, .35) 30%, rgba(10, 9, 8, .45) 70%, var(--bg) 100%); }
.contact-inner { position: relative; z-index: 2; text-align: center; max-width: 1400px; width: 100%; }
.contact-kicker { margin: 0 0 20px; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(239, 233, 223, .75); }
.contact-title { margin: 0; font-size: clamp(3rem, 10vw, 11rem); font-weight: 300; line-height: .92; letter-spacing: -0.06em; }
.contact-line { display: block; }
.contact-title .serif { color: var(--ember); }
.contact-copy { margin: 32px auto 0; max-width: 52ch; color: rgba(239, 233, 223, .85); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.contact-email {
  position: relative; display: inline-block; margin-top: 28px;
  font-size: clamp(1.5rem, 4.4vw, 4.2rem); font-weight: 500; letter-spacing: -0.04em;
  font-family: var(--sans);
}
.contact-email::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ember); transform: scaleX(.15); transform-origin: left; transition: transform .8s var(--ease); }
.contact-email:hover::after, .contact-email:focus-visible::after, .contact-email.is-flash::after { transform: scaleX(1); }
.contact-email.is-flash { animation: email-flash 2.4s var(--ease); }
@keyframes email-flash {
  0% { color: var(--ink); }
  15% { color: var(--ember); text-shadow: 0 0 40px rgba(255, 90, 31, .55); }
  60% { color: var(--ember); text-shadow: 0 0 24px rgba(255, 90, 31, .3); }
  100% { color: var(--ink); text-shadow: none; }
}
.contact-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 999px; font-weight: 500; font-size: 1rem; }
.btn span { display: inline-block; pointer-events: none; }
.btn-ember { background: var(--ember); color: #140803; }
.btn-ghost { background: rgba(10, 9, 8, .7); color: var(--ink); border: 1px solid rgba(239, 233, 223, .35); }
.copy-toast { min-height: 1.5em; margin: 16px 0 0; color: var(--ember-2); font-family: var(--mono); font-size: .85rem; }

/* ---------- Footer ---------- */
.footer { padding: 40px var(--gutter) 24px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer-row a { color: var(--ink); }
.to-top { display: inline-block; }
.footer-word { margin: 24px 0 0; font-size: 18vw; font-weight: 600; letter-spacing: -0.075em; line-height: .78; text-align: center; color: var(--ink); white-space: nowrap; }
.footer-legal { margin: 20px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 950; background: rgba(5, 4, 4, .94); display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal video { width: min(1400px, 100%); max-height: 86svh; border-radius: 16px; background: #000; }
.modal-close { position: absolute; top: 20px; right: var(--gutter); padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-pill { display: none; }
  .hero-top { flex-direction: column; gap: 6px; }
  .hero-kicker-r { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-line:nth-child(2) { text-align: left; }
  .reel-frame { border-radius: 16px; }
  .work-pin { height: auto; display: block; padding: 120px 0 40px; }
  .work-head { position: relative; top: auto; left: auto; right: auto; padding: 0 var(--gutter); margin-bottom: 32px; }
  .work-progress { display: none; }
  .work-track { margin-top: 0; padding-left: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .work-track::-webkit-scrollbar { display: none; }
  .card { width: min(76vw, 400px, calc((100svh - 220px) * 0.75)); min-width: 240px; scroll-snap-align: start; }
  .work-track { padding-right: var(--gutter); scroll-padding-left: var(--gutter); }
  .work-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
  .work-track.is-dragging .card { pointer-events: none; }
  .ind { grid-template-columns: 36px 1fr; }
  .ind-tag { grid-column: 2; }
  .stack-card { grid-template-columns: 1fr; top: 76px; min-height: auto; }
  .stack-card:nth-child(2) { top: 88px; }
  .stack-card:nth-child(3) { top: 100px; }
  .stack-card:nth-child(4) { top: 112px; }
  .stack-media { aspect-ratio: 16 / 10; min-height: 0; }
  .stack-copy h3 { margin-top: 12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 240px; }
  .tile-particles { grid-column: span 2; grid-row: span 2; }
  .tile-spot { grid-column: span 2; }
  .spin-video { transform: scale(1); }
  .magnet-btn { width: 96px; height: 96px; font-size: .9rem; }
  .magnet-stage { padding-bottom: 56px; }
  .spin-copy-l { top: 96px; transform: none; }
  .spin-copy-r { bottom: 56px; }
}
@media (max-width: 520px) {
  .nav-cta span:last-child { font-size: .85rem; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile-particles { grid-column: span 1; grid-row: span 2; }
  .tile-spot { grid-column: span 1; }
  .card-meta { flex-direction: column; gap: 2px; }
  .card-meta p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .nav-cta-dot, .scroll-hint i::after { animation: none; }
  .manifesto-text .mw { opacity: 1; }
  .portal-caption { opacity: 1; }
  .portal-words { opacity: 0; }
}
