@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("assets/fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 400; font-display: swap; src: url("assets/fonts/martian-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 500; font-display: swap; src: url("assets/fonts/martian-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #fff;
  --ink: #0b0b0c;
  --red: #6f0e1f;
  --red-text: #a8283b;
  --grey: #6b6b6b;
  --line: #0b0b0c;
  --pad: clamp(16px, 2.4vw, 40px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: "Inter", system-ui, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.45; overflow-x: hidden; }
::selection { background: var(--red); color: #fff; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.mono { font-family: "Martian Mono", ui-monospace, monospace; font-weight: 400; font-size: 12px; letter-spacing: 0.02em; line-height: 1.5; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
h2 { font-weight: 500; font-size: clamp(44px, 9vw, 150px); line-height: 0.9; letter-spacing: -0.055em; text-transform: uppercase; }
h2 sup { font-size: 13px; letter-spacing: 0; vertical-align: top; position: relative; top: 0.3em; margin-left: 4px; }
h3 { font-weight: 500; }
.lead { max-width: 52ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; }
section { padding: clamp(72px, 11vw, 150px) var(--pad); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 5vw, 64px); }
.viewall { color: inherit; }
.filters { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.filters button { padding: 8px 0; min-height: 40px; color: var(--grey); transition: color 160ms; }
.filters button:hover, .filters button.on { color: var(--red-text); }
.viewall:hover { color: var(--red-text); }

/* reveal on scroll (only when JS is running) */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* page progress + cursor */
.progress { position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 60; pointer-events: none; }
#progress { display: block; height: 100%; background: var(--red); transform-origin: left center; transform: scaleX(0); }
.cursor { position: fixed; left: 0; top: 0; width: 28px; height: 28px; z-index: 200; pointer-events: none; opacity: 0; mix-blend-mode: difference; will-change: transform, width, height; transition: opacity 200ms; }
.cursor.on { opacity: 1; }
.cursor i { position: absolute; width: 9px; height: 9px; border: 0 solid #fff; transition: width 320ms var(--ease-out), height 320ms var(--ease-out); }
.cursor i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cursor i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.cursor i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cursor i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.cursor b { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; transition: opacity 200ms; }
.cursor.lock i { width: 18px; height: 18px; }
.cursor.lock b { opacity: 0; }
@media (hover: none) { .cursor { display: none; } }

/* header */
.top { position: fixed; z-index: 50; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: 16px var(--pad) 34px; color: var(--ink); background: linear-gradient(var(--paper) 55%, rgba(255, 255, 255, 0)); transition: color 200ms var(--ease-out); }
.top.on-dark { color: #fff; background: linear-gradient(var(--ink) 55%, rgba(11, 11, 12, 0)); }
.top.on-red { color: #fff; background: linear-gradient(#6f0e1f 55%, rgba(111, 14, 31, 0)); }
.logo { font-weight: 500; font-size: 22px; letter-spacing: -0.04em; line-height: 1; }
.logo sup { font-size: 10px; vertical-align: top; margin-left: 2px; }
.nav { display: flex; gap: clamp(32px, 8vw, 140px); font-family: "Martian Mono", monospace; font-size: 12px; text-transform: uppercase; line-height: 1.6; }
.nav a { display: inline-block; transition: transform 200ms var(--ease-out); }
.nav a:hover { transform: translateX(4px); }
.nav sup { font-size: 9px; }
.where { justify-self: end; text-align: right; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; justify-self: end; min-height: 44px; color: inherit; }
.menu { position: fixed; z-index: 40; inset: 0; background: var(--paper); padding: 96px var(--pad) var(--pad); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity 200ms var(--ease-out); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
.menu li a { display: flex; align-items: baseline; gap: 16px; font-weight: 500; font-size: clamp(40px, 10vw, 100px); letter-spacing: -0.05em; line-height: 1.04; text-transform: uppercase; transition: transform 200ms var(--ease-out); }
.menu li a i { font-style: normal; font-family: "Martian Mono", monospace; font-size: 12px; letter-spacing: 0; color: var(--red-text); }
.menu li a:hover { transform: translateX(14px); }

/* hero: free 3D ring */
.hero { padding: 0; height: 340vh; position: relative; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.h-left, .h-right, .h-tag, .scroll, .h-read, .h-frame { position: absolute; z-index: 5; }
.h-left { left: var(--pad); top: 50%; }
.h-right { right: var(--pad); top: 50%; text-align: right; }
.h-read { left: var(--pad); top: calc(50% + 34px); color: var(--red-text); font-variant-numeric: tabular-nums; }
.h-frame { right: var(--pad); top: calc(50% + 34px); text-align: right; font-variant-numeric: tabular-nums; }
.h-frame b { font-weight: 400; color: var(--red-text); }
.h-tag { left: var(--pad); bottom: 28px; color: var(--grey); }
.scroll { left: 50%; bottom: 28px; transform: translateX(-50%); transition: color 160ms; color: #fff; mix-blend-mode: difference; }

.h-pick { left: 50%; bottom: 62px; transform: translateX(-50%); z-index: 7; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; color: #fff; mix-blend-mode: difference; pointer-events: none; white-space: nowrap; transition: opacity 200ms var(--ease-out); }
.h-pick i { font-style: normal; opacity: 0.7; }
@media (hover: none) { .h-pick { display: none; } }
.ghost { position: absolute; left: 50%; top: 33%; z-index: 1; transform: translate(-50%, -50%); width: min(84vw, 1560px, 135vh); aspect-ratio: 3.4 / 1; pointer-events: none; will-change: transform; }
.ghost canvas, .foot .big canvas { display: none; width: 100%; height: 100%; }
.ghost.gl canvas, .foot .big.gl canvas { display: block; }
.ghost canvas { opacity: 0.96; }
.ghost span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 31vw; line-height: 0.8; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(111, 14, 31, 0.42); white-space: nowrap; }
.foot .big.gl span { display: none; }
/* no outlined fallback flash: it only appears if the chrome has not started after 3.5 s (no WebGL) */
.js .foot .big:not(.gl) span { opacity: 0; animation: fbshow 0.4s 3.5s forwards; }
@keyframes fbshow { to { opacity: 1; } }
.foot .big.gl canvas { animation: chromein 900ms var(--ease-out) both; }
@keyframes chromein { from { opacity: 0; transform: scale(0.985); } }
.vf { position: absolute; inset: 92px var(--pad) 70px; z-index: 4; pointer-events: none; }
.vf i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink); opacity: 0.55; }
.vf i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.vf i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.vf b { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; opacity: 0.35; background: linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat; }
.badge { position: absolute; z-index: 6; right: calc(var(--pad) + 8px); bottom: 56px; width: clamp(96px, 9vw, 148px); height: auto; animation: spin 22s linear infinite; pointer-events: none; }
.badge text { font-family: "Martian Mono", monospace; font-size: 11.6px; letter-spacing: 0.08em; fill: var(--ink); }
.badge circle { fill: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.stage { position: absolute; inset: 0; z-index: 3; perspective: 2100px; perspective-origin: 50% 46%; touch-action: pan-y; cursor: grab; }
.stage:active { cursor: grabbing; }
.ring { --ring-w: clamp(190px, 29vw, 460px); --w: var(--ring-w); position: absolute; left: 50%; top: 48%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.c { position: absolute; left: 0; top: calc(var(--w) * -0.625); width: var(--w); height: calc(var(--w) * 1.25); background: #fff; transform-origin: 0 50%; transform: rotateY(calc(var(--i) * 36deg)); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.c { transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.c img { width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; transition: filter 360ms var(--ease-out); }
.stage.pick { cursor: pointer; }
.ring.hov .c img { filter: brightness(0.62) saturate(0.8); }
.ring.hov .c.hot { transform: rotateY(calc(var(--i) * 36deg)) translateZ(34px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); }
.ring.hov .c.hot img { filter: none; }

/* work: masonry wall, no empty holes */
.grid { column-count: 5; column-gap: clamp(10px, 1.2vw, 18px); }
.grid > li { break-inside: avoid; margin-bottom: clamp(26px, 2.6vw, 40px); }
.grid > li[hidden] { display: none; }
.g { display: block; position: relative; }
.im { display: block; width: 100%; overflow: hidden; background: #e8e8e8; position: relative; }
.im img, .im video { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.im video { position: absolute; inset: 0; }
@media (hover: hover) { .g:hover .im img { transform: scale(1.05); } .g:hover .cap b { color: var(--red); } .g:hover .cap .nm { color: var(--red); } }
.cap { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; margin-top: 12px; align-items: baseline; }
.cap b { grid-row: 1 / span 2; font-weight: 400; color: var(--red-text); transition: color 160ms; padding-top: 3px; }
.cap .nm { font-weight: 500; font-size: clamp(15px, 1.35vw, 19px); letter-spacing: -0.025em; line-height: 1.1; text-transform: uppercase; }
.cap .ct { font-style: normal; color: var(--grey); font-size: 11px; margin-top: 4px; text-transform: none; letter-spacing: 0; }
.tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 8px; background: var(--paper); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); pointer-events: none; }
.im::before, .im::after { content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; border: 0 solid #fff; opacity: 0; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); pointer-events: none; }
.im::before { right: 10px; top: 10px; border-right-width: 2px; border-top-width: 2px; transform: translate(-6px, 6px); }
.im::after { right: 10px; bottom: 10px; border-right-width: 2px; border-bottom-width: 2px; transform: translate(-6px, -6px); }
@media (hover: hover) { .g:hover .tag { opacity: 1; transform: none; } .g:hover .im::before, .g:hover .im::after { opacity: 1; transform: none; } }
.g:focus-visible .tag { opacity: 1; transform: none; }
.note { color: var(--grey); margin-top: 40px; max-width: 70ch; text-transform: none; }

/* graphic tiles inside the wall */
.tile { display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 18px; position: relative; overflow: hidden; transition: background 300ms var(--ease-out), color 300ms var(--ease-out); }
.tile b { font-weight: 500; }
.tile-red { background: var(--red); color: #fff; }
.tile-red b { font-size: clamp(96px, 11vw, 190px); letter-spacing: -0.08em; line-height: 0.8; }
.tile-ink { background: var(--ink); color: #fff; }
.tile-ink ul { display: grid; gap: 0; }
.tile-ink li { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.28); padding: 8px 0; font-size: 15px; }
.tile-ink li::after { content: "\2192"; color: var(--red-text); }
.tile-badge { border: 2px solid var(--ink); align-items: center; justify-content: center; }
.tile-badge svg { position: absolute; inset: 8%; width: 84%; height: 84%; animation: spin 26s linear infinite reverse; }
.tile-badge text { font-family: "Martian Mono", monospace; font-size: 11.4px; letter-spacing: 0.08em; fill: var(--ink); }
.tile-badge b { color: var(--red); font-size: clamp(28px, 3vw, 46px); }
.tile-cta { border: 2px solid var(--ink); justify-content: space-between; }
.tile-cta b { font-size: clamp(34px, 3.8vw, 64px); letter-spacing: -0.05em; line-height: 0.92; text-transform: uppercase; }
.tile-cta i { font-style: normal; font-size: clamp(40px, 4vw, 66px); line-height: 1; color: var(--red-text); align-self: flex-end; transition: transform 300ms var(--ease-out); }
@media (hover: hover) { .tile-cta:hover { background: var(--red); color: #fff; border-color: var(--red); } .tile-cta:hover i { color: #fff; transform: translate(6px, -6px); } }
.tile-grid { border: 2px solid var(--ink); background-image: linear-gradient(rgba(11, 11, 12, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 12, 0.12) 1px, transparent 1px); background-size: 28px 28px; }
.tile-grid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid var(--red); border-radius: 50%; }
.tile-quote { background: #f2eeed; justify-content: space-between; }
.tile-quote p { font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.045em; line-height: 1; text-transform: uppercase; }
.tile-quote .mono { color: var(--red-text); }

/* ticker */
.ticker { overflow: hidden; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 20px 0; }
.tk { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); width: max-content; will-change: transform; }
.tk span { font-weight: 500; font-size: clamp(48px, 9vw, 140px); letter-spacing: -0.05em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.tk i { width: clamp(14px, 2vw, 28px); height: clamp(14px, 2vw, 28px); background: var(--red); flex: none; }

/* reel */
.reel { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: clamp(32px, 6vw, 96px); align-items: center; background: #6f0e1f; color: #fff; }
.reel .mono { color: #e9cdd3; margin-bottom: 20px; }
.reel .lead { margin-top: 28px; color: #f4e6e9; }
.reel-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 44px; }
.reel-meta li { color: #e9cdd3; margin: 0; }
.reel-meta b { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: clamp(34px, 4vw, 62px); letter-spacing: -0.06em; line-height: 0.9; color: #fff; margin-bottom: 8px; }
.phone { width: 100%; aspect-ratio: 9 / 16; max-height: 84vh; justify-self: center; background: #0b0b0c; box-shadow: 0 30px 60px rgba(11, 11, 12, 0.35); }
.phone video { width: 100%; height: 100%; object-fit: cover; }

/* frames: pinned horizontal rail */
.frames { padding: 0; height: 520vh; position: relative; background: var(--ink); color: #fff; }
.frames-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.frames-head { position: absolute; left: var(--pad); right: var(--pad); top: clamp(78px, 9vh, 110px); z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.frames-head h2 { font-size: clamp(40px, 6.4vw, 104px); }
.frames-head p { color: var(--red-text); font-variant-numeric: tabular-nums; }
.rail { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(150px, 22vh, 230px) var(--pad) 70px; width: max-content; height: 100%; will-change: transform; }
.fr { flex: none; height: min(60vh, 680px); display: flex; flex-direction: column; gap: 12px; }
.fr img { height: calc(100% - 30px); width: auto; max-width: none; object-fit: cover; background: #1a1a1c; }
.fr figcaption { color: #b9b9bd; }
.fr figcaption b { font-weight: 400; color: var(--red-text); margin-right: 8px; }
.fr.intro { width: min(42vw, 520px); justify-content: flex-end; }
.fr.intro .mono { color: var(--red-text); margin-bottom: 16px; }
.fr .big { font-size: clamp(24px, 3vw, 46px); letter-spacing: -0.04em; line-height: 1.04; text-transform: uppercase; }
.fr.end { width: min(36vw, 460px); gap: 28px; }
.cta { align-self: flex-start; padding: 14px 0; color: #fff; border-bottom: 2px solid var(--red-text); transition: color 160ms, border-color 160ms; }
.cta:hover { color: var(--red-text); }
.frames-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 32px; height: 2px; background: rgba(255, 255, 255, 0.2); }
#frameBar { display: block; height: 100%; background: var(--red-text); transform-origin: left center; transform: scaleX(0); }

/* services */
.srow { position: relative; border-top: 2px solid var(--line); display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr); gap: 24px; align-items: end; padding: 22px 0 0; }
.srow:last-child { border-bottom: 2px solid var(--line); }
.sbtn { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; height: clamp(130px, 13vw, 190px); padding-bottom: 18px; }
.sbtn .n { color: var(--red-text); }
.sbtn .t { font-weight: 500; font-size: clamp(26px, 3.6vw, 56px); letter-spacing: -0.05em; line-height: 0.95; text-transform: uppercase; transition: color 160ms; }
.sbtn .sub { color: var(--grey); }
.sbtn:hover .t { color: var(--red-text); }
.strip { display: flex; gap: 8px; height: clamp(130px, 13vw, 190px); margin-bottom: 18px; overflow: hidden; }
.strip img { height: 100%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; flex: none; background: #e8e8e8; transition: transform 500ms var(--ease-out); }
.strip img:nth-child(2) { aspect-ratio: 4 / 5; }
.strip img:nth-child(3) { aspect-ratio: 1 / 1; }
@media (hover: hover) { .srow:hover .strip img { transform: translateY(-6px); } .srow:hover .strip img:nth-child(2n) { transform: translateY(6px); } }
.sdesc { grid-column: 1 / -1; max-width: 66ch; padding: 6px 0 30px; font-size: clamp(16px, 1.3vw, 20px); }
.sdesc[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { border: 1.5px solid var(--ink); padding: 6px 11px; }

/* process (dark) */
.process { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.8; }
.process > :not(.silk) { position: relative; z-index: 1; }
.steps { position: relative; padding-left: clamp(22px, 3vw, 44px); }
.pline { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.16); }
#pline { display: block; width: 100%; height: 100%; background: var(--red-text); transform-origin: top center; transform: scaleY(0); }
.step { display: grid; grid-template-columns: clamp(80px, 11vw, 190px) 1fr auto; gap: clamp(14px, 3vw, 48px); align-items: start; padding: clamp(28px, 4vw, 54px) 0; border-top: 1px solid rgba(255, 255, 255, 0.24); opacity: 0.3; transition: opacity 500ms var(--ease-out); }
.step.on { opacity: 1; }
.step:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.step .n { font-family: "Inter", sans-serif; font-weight: 500; font-size: clamp(48px, 7.4vw, 124px); letter-spacing: -0.07em; line-height: 0.8; text-transform: none; color: var(--red-text); }
.step h3 { font-size: clamp(26px, 4vw, 64px); letter-spacing: -0.05em; line-height: 0.95; text-transform: uppercase; margin-bottom: 14px; }
.step p { max-width: 58ch; color: #cfcfd3; font-size: clamp(16px, 1.3vw, 20px); }
.step .tag { position: static; opacity: 1; transform: none; pointer-events: auto; background: none; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); padding: 6px 10px; white-space: nowrap; }

/* needs / get */
.needs { border-bottom: 2px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.col h3 { padding-bottom: 14px; border-bottom: 2px solid var(--line); margin-bottom: 8px; color: var(--red-text); }
.check li { position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid rgba(11, 11, 12, 0.2); display: grid; gap: 6px; }
.check li::before { content: ""; position: absolute; left: 0; top: 24px; width: 20px; height: 20px; border: 2px solid var(--ink); transition: background 400ms var(--ease-out), border-color 400ms; }
.check li::after { content: ""; position: absolute; left: 7px; top: 27px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 300ms var(--ease-out) 150ms; }
.check li.in::before, .got li::before { background: var(--red); border-color: var(--red); }
.check li.in::after, .got li::after { transform: rotate(45deg) scale(1); }
.check b { font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.04em; text-transform: uppercase; line-height: 1; }
.check span { max-width: 52ch; color: #3b3b3d; font-size: clamp(15px, 1.2vw, 18px); }

/* about */
.about { border-top: 2px solid var(--line); }
.about-head { display: flex; justify-content: space-between; margin-bottom: 36px; }
.manifesto { font-weight: 500; font-size: clamp(30px, 5.2vw, 82px); line-height: 1.0; letter-spacing: -0.045em; text-transform: uppercase; }
.manifesto .ch { opacity: 0.16; }
.manifesto .ch.on { opacity: 1; }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 48px); margin-top: clamp(48px, 7vw, 96px); }
.method article { border-top: 2px solid var(--line); padding-top: 16px; display: grid; gap: 14px; align-content: start; }
.method .mono { color: var(--red-text); }
.method h3 { font-size: clamp(30px, 4vw, 64px); letter-spacing: -0.055em; line-height: 0.92; text-transform: uppercase; }
.method p { max-width: 36ch; color: #3b3b3d; }
.facts { display: flex; flex-wrap: wrap; gap: 24px 64px; margin: 64px 0; }
.facts dt { color: var(--grey); }
.facts dd { font-weight: 500; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.04em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 2px solid var(--line); padding-top: 18px; }
.stats li { display: flex; flex-direction: column; gap: 14px; }
.stats .num { font-weight: 500; font-size: clamp(64px, 12vw, 180px); letter-spacing: -0.07em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.stats .mono:first-child { color: var(--red-text); }

/* faq */
.qa { border-bottom: 2px solid var(--line); }
.qa button { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; width: 100%; padding: 24px 0; border-top: 2px solid var(--line); transition: padding-left 240ms var(--ease-out); }
.qa .t { font-weight: 500; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -0.045em; line-height: 1.02; text-transform: uppercase; }
.qa .n { color: var(--red-text); }
.qa button[aria-expanded="true"] .n { color: var(--red); }
@media (hover: hover) { .qa button:hover { padding-left: 16px; } }
.ans { padding: 0 0 28px 106px; }
.ans[hidden] { display: none; }
.ans p { max-width: 60ch; font-size: clamp(16px, 1.3vw, 20px); }

/* contact */
.contact { border-top: 2px solid var(--line); }
.contact .lead { margin-bottom: 48px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; max-width: 980px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: "Martian Mono", monospace; font-size: 12px; text-transform: uppercase; }
.form .wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font-family: "Inter", sans-serif; font-weight: 500; font-size: 18px; text-transform: none; border: 0; border-bottom: 2px solid var(--line); border-radius: 0; background: transparent; padding: 10px 0; min-height: 44px; color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--red); }
.send { grid-column: 1 / -1; justify-self: start; padding: 16px 0; min-height: 48px; font-size: 14px; transition: color 160ms, transform 160ms var(--ease-out); }
.send:hover { color: var(--red-text); }
.send:active { transform: scale(0.97); }
.status { grid-column: 1 / -1; min-height: 1.5em; color: var(--red-text); text-transform: none; }

/* footer */
.foot { padding: 64px var(--pad) 28px; border-top: 2px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.foot .big { display: block; width: min(100%, 1500px); aspect-ratio: 3.4 / 1; position: relative; font-weight: 500; font-size: clamp(88px, 25vw, 380px); letter-spacing: -0.07em; line-height: 0.8; text-transform: uppercase; transition: color 300ms var(--ease-out); }
.foot .big:hover { color: var(--red); }
.quote { margin-top: 48px; font-weight: 500; font-size: clamp(18px, 2vw, 28px); letter-spacing: -0.03em; }
.foot .small { margin-top: 28px; color: var(--grey); max-width: 90ch; text-transform: none; }

/* viewer */
.viewer { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: #000; color: #fff; }
.viewer::backdrop { background: #000; }
.viewer[open] { display: grid; grid-template-rows: 1fr auto auto; }
.v-close { position: absolute; right: var(--pad); top: 16px; z-index: 2; font-family: "Martian Mono", monospace; font-size: 12px; text-transform: uppercase; color: #fff; min-height: 44px; }
.v-stage { display: grid; place-items: center; padding: 64px var(--pad) 8px; min-height: 0; }
.v-stage video, .v-stage img { max-height: 100%; max-width: 100%; object-fit: contain; }
.v-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--pad); }
.v-nav { font-family: "Martian Mono", monospace; font-size: 12px; text-transform: uppercase; color: #fff; min-height: 44px; }
.v-note { color: #aaa; text-align: center; padding-bottom: 16px; }


/* direct the shot: live 3D set */
.direct { background: var(--ink); color: #fff; padding-top: clamp(40px, 6vw, 80px); }
.d-stage { position: relative; height: min(78vh, 760px); min-height: 420px; background: radial-gradient(ellipse at 50% 40%, #1a1114, #0b0b0c 70%); overflow: hidden; }
.d-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; outline-offset: -3px; }
.d-stage canvas:active { cursor: grabbing; }
.d-stage canvas { opacity: 0; transition: opacity 900ms var(--ease-out); }
.d-stage canvas.live { opacity: 1; }
.d-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.d-flash.go { animation: dflash 420ms var(--ease-out); }
@keyframes dflash { 0% { opacity: 0.55; } 100% { opacity: 0; } }
.d-vf { position: absolute; inset: 22px; pointer-events: none; }
.d-vf i { position: absolute; width: 26px; height: 26px; border: 0 solid #fff; opacity: 0.7; }
.d-vf i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.d-vf i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.d-vf i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.d-vf i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.d-vf b { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: 0.4; background: linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat; }
.d-rec { position: absolute; left: 52px; top: 44px; pointer-events: none; font-variant-numeric: tabular-nums; }
.d-rec em { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red-text); margin-right: 8px; animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.d-read { position: absolute; right: 52px; top: 44px; pointer-events: none; text-align: right; font-variant-numeric: tabular-nums; }
.d-read div { display: flex; gap: 14px; justify-content: flex-end; }
.d-read dt { color: rgba(255, 255, 255, 0.5); }
.d-read dd { min-width: 8ch; color: #fff; }
.d-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.d-lab { position: absolute; left: 0; top: 0; opacity: 0; display: flex; flex-direction: column; gap: 1px; padding: 6px 9px; color: #fff; background: rgba(11, 11, 12, 0.46); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; white-space: nowrap; will-change: transform, opacity; transition: opacity 180ms linear; }
.d-lab b { font-weight: 500; } .d-lab i { font-style: normal; color: rgba(255, 255, 255, 0.62); }
.d-lab.hot { border-color: var(--red-text); }
.d-ctrl .sliders { gap: 6px 26px; }
.d-ctrl label { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.5); }
.d-ctrl input[type=range] { -webkit-appearance: none; appearance: none; width: clamp(90px, 10vw, 150px); height: 22px; background: transparent; cursor: pointer; }
.d-ctrl input[type=range]::-webkit-slider-runnable-track { height: 2px; background: rgba(255, 255, 255, 0.35); }
.d-ctrl input[type=range]::-moz-range-track { height: 2px; background: rgba(255, 255, 255, 0.35); }
.d-ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; background: var(--red-text); border: 0; border-radius: 0; }
.d-ctrl input[type=range]::-moz-range-thumb { width: 12px; height: 12px; background: var(--red-text); border: 0; border-radius: 0; }
.d-ctrl input[type=range]:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
.d-hint { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); color: rgba(255, 255, 255, 0.55); pointer-events: none; }
.d-ctrl { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 20px 0 6px; }
.d-ctrl .grp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.d-ctrl .grp > span { color: rgba(255, 255, 255, 0.5); min-width: 4.5ch; }
.d-ctrl button { color: #fff; min-height: 44px; padding: 0 2px; transition: color 160ms, transform 160ms var(--ease-out); text-transform: uppercase; }
.d-ctrl button:hover, .d-ctrl button.on { color: var(--red-text); }
.d-ctrl button:active { transform: scale(0.96); }
.d-ctrl button b { font-weight: 400; }
.d-note { max-width: 60ch; color: #bdbdc2; padding-top: 6px; font-size: clamp(15px, 1.2vw, 18px); }
.direct.nogl .d-stage { display: none; } .direct.nogl .d-ctrl, .direct.nogl .d-note { display: none; }
@media (max-width: 700px) { .d-rec { left: 40px; } .d-read { right: 40px; } .d-read div:nth-child(n+4) { display: none; } .d-stage { height: 62vh; } }

@media (max-width: 1100px) { .grid { column-count: 4; } }
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto; }
  .nav, .where { display: none; }
  .menu-btn { display: block; }
  .grid { column-count: 3; }
  .srow { grid-template-columns: 1fr; }
  .sbtn { height: auto; gap: 18px; }
  .strip { height: 150px; overflow-x: auto; margin-bottom: 22px; }
  .scroll { display: none; }
  .reel { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .form { grid-template-columns: 1fr; }
  .ans { padding-left: 0; }
  .qa button { grid-template-columns: 52px 1fr; }
  .h-left, .h-right { top: auto; bottom: 64px; }
  .badge { bottom: 100px; }
  .h-read, .h-frame { display: none; }
  .two, .method { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step .tag { grid-column: 2; justify-self: start; }
  .reel-meta { grid-template-columns: repeat(3, auto); gap: 12px 24px; }
}
@media (max-width: 600px) {
  .grid { column-count: 2; }
  .badge { width: 84px; bottom: 100px; }
  .ghost { top: 34%; width: 94vw; }
  .vf { inset: 84px var(--pad) 64px; }
  .fr { height: min(54vh, 520px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0ms !important; animation: none !important; }
  .manifesto .ch { opacity: 1; }
  .js .foot .big:not(.gl) span { opacity: 1; }
  .js .rv { opacity: 1; transform: none; }
}

/* tilt on wall tiles, magnetic buttons */
@media (hover: hover) {
  .im { perspective: 900px; }
  .g .im > img { will-change: transform; }
  .g.tilt .im > img { transition: transform 120ms linear; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.05); }
  .mag { transition: transform 260ms var(--ease-out), color 160ms; will-change: transform; }
}

/* glass control panel over the 3D stage */
.d-stage .d-ctrl { position: absolute; left: 52px; bottom: 46px; z-index: 3; flex-direction: column; gap: 4px; width: min(344px, calc(100% - 104px)); padding: 14px 16px 12px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.08)); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.45); }
.d-stage .d-ctrl .grp { gap: 0 10px; flex-wrap: wrap; }
.d-stage .d-ctrl .grp > span { min-width: 5ch; }
.d-stage .d-ctrl button { min-height: 32px; font-size: 11px; }
.d-stage .d-ctrl .sliders { flex-direction: column; align-items: stretch; gap: 0; padding-top: 4px; }
.d-stage .d-ctrl label { justify-content: space-between; min-height: 28px; }
.d-stage .d-ctrl input[type=range] { width: 62%; }
.d-lab { border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.d-hint { left: auto; right: 52px; transform: none; }
@media (max-width: 900px) {
  .d-stage { height: auto; min-height: 0; overflow: visible; background: none; }
  .d-stage canvas { position: relative; display: block; height: 62vh; background: radial-gradient(ellipse at 50% 40%, #1a1114, #0b0b0c 70%); }
  .d-stage .d-ctrl { position: static; width: auto; margin-top: 12px; }
  .d-vf, .d-rec, .d-read, .d-hint { z-index: 2; }
  .d-stage .d-ctrl input[type=range] { width: 55%; }
  .d-vf { inset: 22px 22px auto 22px; height: calc(62vh - 44px); }
  .d-hint { white-space: nowrap; top: calc(62vh - 34px); bottom: auto; left: 50%; right: auto; transform: translateX(-50%); }
}

@media (pointer: coarse) { .d-ctrl input[type=range]:focus-visible, .d-stage canvas:focus-visible { outline: none; } .d-ctrl input[type=range] { height: 30px; } }

/* phones: no live backdrop blur over moving WebGL or scrolling content (it is re-blurred every frame) */
@media (pointer: coarse), (max-width: 900px) {
  .d-lab { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 10, 12, 0.78); }
  .d-stage .d-ctrl { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, rgba(40, 32, 35, 0.94), rgba(24, 19, 21, 0.94)); }
}

/* hero intro: the 2D-canvas liquid fill (.gfill) shows first; the WebGL chrome crossfades in over it once its first frame is drawn */
.ghost { aspect-ratio: 3.4 / 1; }
.ghost canvas.gfill { display: block; position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 800ms var(--ease-out) 120ms; }
.ghost.gl canvas.gfill { opacity: 0; }
.ghost.gl canvas:not(.gfill) { animation: chromein 800ms var(--ease-out) both; }
.ghost.glfill canvas.gfill { display: none; }
.ghost.glfill canvas:not(.gfill) { animation: none; }
/* screen-reader-only text (real H1 for the canvas wordmark) */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* H1 is the visible tagline: neutralise UA heading styles */
h1.h-tag { margin: 0; font-size: 12px; font-weight: 400; }

/* language switch + studio page links (SEO pages) */
.lsw a { padding: 0 2px; transition: color 160ms; }
.lsw a[aria-current="true"] { color: var(--red-text); }
.lsw a:hover { color: var(--red-text); }
.menu-foot .lsw { display: inline-block; margin-bottom: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 22px 0 6px; border-top: 2px solid var(--line); margin-top: 8px; }
.foot-links b { font-weight: 400; color: var(--red-text); width: 100%; }
.foot-links a { transition: color 160ms; }
.foot-links a:hover { color: var(--red-text); }
