@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0a0a0b;
  --ink-2: #141416;
  --ivory: #efe9df;
  --dim: #9a948a;
  --line: #2a2a2d;
  --cue: #e5432d;
  --display: "Anton", "Impact", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Bricolage Grotesque", system-ui, sans-serif;
  --u: 6px;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--ink); color: var(--ivory); -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 17px; line-height: 1.5; font-variation-settings: "opsz" 14; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cue); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ivory); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(var(--u) * 3) var(--pad);
  padding-top: max(calc(var(--u) * 3), env(safe-area-inset-top));
  mix-blend-mode: normal;
}
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: .04em; }
.mark img { width: 22px; height: auto; }
.bar-cue { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.cue-label { color: var(--cue); font-weight: 600; }
#cue-num { font-weight: 600; }
.bar { transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.bar.is-solid { background: rgba(10,10,11,.92); border-bottom-color: var(--line); }
.bar-cta { justify-self: end; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--ivory); padding-bottom: 2px; }
.bar-cta:hover { color: var(--cue); border-color: var(--cue); }

/* Stage */
.stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.screen { position: absolute; inset: 0; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.layer.is-on { opacity: 1; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,10,11,.72) 0%, rgba(10,10,11,0) 22%),
    linear-gradient(to top, rgba(10,10,11,.96) 0%, rgba(10,10,11,.78) 38%, rgba(10,10,11,.25) 62%, rgba(10,10,11,0) 78%);
}
.blackout { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 2; }

.house-copy, .room-copy {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--u) * 30); z-index: 3;
}
.ask {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(46px, 7.2vw, 132px); line-height: .88; text-wrap: balance; letter-spacing: -.005em;
}
.sub { font-family: var(--body); font-weight: 400; font-variation-settings: "opsz" 48; letter-spacing: -.015em; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.25; margin-top: calc(var(--u) * 3); max-width: 22ch; }
.room-copy, .house-copy { text-shadow: 0 1px 24px rgba(0,0,0,.45); }
.room-kind { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory); opacity: .85; }
.room-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(76px, 17vw, 280px); text-wrap: balance; line-height: .84; margin-top: calc(var(--u) * 1.5); }
.room-line { font-family: var(--body); font-weight: 400; font-variation-settings: "opsz" 48; letter-spacing: -.015em; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.3; margin-top: calc(var(--u) * 2.5); max-width: 30ch; }
.room-title.is-long { font-size: clamp(54px, 10.5vw, 176px); }
.split-line { overflow: hidden; padding-bottom: .04em; }

/* Rail */
.rail { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; border-top: 1px solid rgba(239,233,223,.22); }
.rail ol { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); }
.rail .r-name { white-space: nowrap; }
.rail li + li { border-left: 1px solid rgba(239,233,223,.22); }
.rail button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: calc(var(--u) * 2.5) calc(var(--u) * 3) calc(var(--u) * 3);
  display: grid; gap: 4px; color: var(--dim); transition: color .25s var(--ease), background-color .25s var(--ease);
}
.rail .r-num { font-size: 12px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.rail .r-name { font-family: var(--display); font-size: clamp(24px, 2.5vw, 38px); line-height: 1; text-transform: uppercase; color: var(--ivory); opacity: .55; transition: opacity .25s var(--ease); }
.rail .r-kind { font-size: 13px; line-height: 1.3; }
.rail button:hover .r-name, .rail button:focus-visible .r-name { opacity: 1; }
.rail button[aria-pressed="true"] { background: rgba(10,10,11,.55); color: var(--ivory); }
.rail button[aria-pressed="true"] .r-name { opacity: 1; }
.rail button[aria-pressed="true"] .r-num { color: var(--cue); }

/* Cue sheet */
.sheet {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: calc(var(--u) * 6) calc(var(--u) * 10);
  padding: calc(var(--u) * 14) var(--pad) calc(var(--u) * 12);
  border-bottom: 1px solid var(--line);
}
.sheet-h { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.draft { font-size: 13px; color: var(--dim); margin-top: 6px; }
.run { list-style: none; margin-top: calc(var(--u) * 4); counter-reset: run; }
.run li {
  counter-increment: run; display: grid; grid-template-columns: 56px 1fr; align-items: baseline;
  border-top: 1px solid var(--line); padding: calc(var(--u) * 2) 0;
  font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.01em;
}
.run li::before { content: counter(run, decimal-leading-zero); font-size: 13px; color: var(--cue); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.run li:last-child { border-bottom: 1px solid var(--line); }
.partners { margin-top: calc(var(--u) * 3); color: var(--dim); font-size: 15px; }
.partners b { color: var(--ivory); font-weight: 500; }

.proof { list-style: none; margin-top: calc(var(--u) * 4); display: grid; gap: calc(var(--u) * 4); }
.proof li { display: grid; grid-template-columns: 160px 1fr; gap: calc(var(--u) * 3); align-items: start; }
.proof .p-img { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-2); }
.proof .p-img.wide { aspect-ratio: 16 / 10; }
.proof .p-name { font-size: 21px; line-height: 1.2; }
.proof .p-link { display: grid; grid-template-columns: inherit; gap: inherit; grid-column: 1 / -1; text-decoration: none; }
.proof .p-link .p-img { transition: opacity .2s var(--ease); }
@media (hover: hover) {
  .proof .p-link:hover .p-img { opacity: .8; }
  .proof .p-link:hover .p-name { color: var(--cue); }
}
.proof .p-watch { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--dim); }
.proof .p-role { color: var(--dim); font-size: 15px; margin-top: 4px; }
.proof .p-role:empty { display: none; }
.proof li.no-img { grid-template-columns: 1fr; border-top: 1px solid var(--line); padding-top: calc(var(--u) * 2); }
.proof li.no-img + li.no-img { margin-top: calc(var(--u) * -2); }
.proof .p-flag { display: inline-block; margin-top: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cue); }
.sheet-cta { grid-column: 1 / -1; }

.go {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  background: #d63b26; color: #fff; border: 0; text-decoration: none; /* a shade under --cue so white text passes 4.5:1 */
  padding: 18px 26px; font-size: 17px; font-weight: 500; letter-spacing: .01em;
  transition: background-color .2s var(--ease);
}
.go::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: transform .25s var(--ease); transform-origin: left; }
.go:hover { background: #c93622; }
.go:hover::after { transform: scaleX(1.5); }

/* Company */
.company { padding: calc(var(--u) * 18) var(--pad); border-bottom: 1px solid var(--line); }
.co-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 8.5vw, 140px); line-height: .9; }
.co-h em { font-style: normal; color: var(--cue); }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 6); margin-top: calc(var(--u) * 8); max-width: 1100px; font-size: 19px; color: #d9d3c8; }

/* Brief */
.brief { padding: calc(var(--u) * 16) var(--pad) calc(var(--u) * 18); }
.brief-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 8.5vw, 140px); line-height: .9; }
form { margin-top: calc(var(--u) * 8); max-width: 1000px; display: grid; gap: calc(var(--u) * 5); }
form .go { justify-self: start; }
fieldset { border: 0; }
legend, label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
label { display: grid; gap: 10px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 5); }
input, textarea {
  background: transparent; border: 0; border-bottom: 1px solid #4a4a4f; border-radius: 0;
  padding: 10px 0; font-size: 20px; text-transform: none; letter-spacing: 0; color: var(--ivory);
}
input::placeholder, textarea::placeholder { color: #7c776f; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--cue); }
textarea { resize: vertical; }
.chips, .needs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; border: 1px solid #4a4a4f; padding: 10px 16px; font-size: 16px;
  text-transform: none; letter-spacing: 0; color: var(--ivory); transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip input:checked + span { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--cue); outline-offset: 3px; }
.f-note { font-size: 14px; color: var(--dim); }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { font-size: 16px; color: var(--ivory); min-height: 0; }
.f-status:focus { outline: none; }
.f-fallback { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.f-fallback[hidden] { display: none; }
.f-copy { background: transparent; border: 1px solid #4a4a4f; color: var(--ivory); padding: 14px 22px; font-size: 16px; border-radius: var(--r); cursor: pointer; }
.f-copy:hover { border-color: var(--ivory); }
.f-copy:focus-visible { outline: 2px solid var(--cue); outline-offset: 3px; }
.is-sent fieldset, .is-sent .f-row, .is-sent .f-wide, .is-sent .go, .is-sent .f-note, .is-sent .f-fallback, .is-sent .out { display: none; }
.is-sent .f-status { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; max-width: 34ch; border-left: 2px solid var(--cue); padding: 6px 0 6px 24px; }
.go[disabled] { opacity: .6; cursor: progress; }
.is-sending input:disabled, .is-sending textarea:disabled, .is-sending .chip { opacity: .6; }
.out { white-space: pre-wrap; font-family: var(--body); font-size: 16px; background: var(--ink-2); border-left: 2px solid var(--cue); padding: 20px 24px; }

.foot { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: calc(var(--u) * 5) var(--pad); border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot-note { margin-left: auto; }
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--ivory); }

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar { grid-template-columns: auto 1fr auto; gap: 12px; }
  .bar-cue { justify-self: center; font-size: 12px; }
  .cue-label { display: none; }
  .mark span { display: none; }
  .house-copy, .room-copy { bottom: 132px; }
  .rail ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rail ol::-webkit-scrollbar { display: none; }
  .rail li { flex: 0 0 auto; scroll-snap-align: start; }
  .rail button { padding: 14px 20px 18px; min-width: 132px; }
  .rail .r-kind { display: none; }
  .sheet { grid-template-columns: 1fr; padding-top: calc(var(--u) * 10); }
  .proof li { grid-template-columns: 96px 1fr; }
  .proof .p-img { width: 96px; }
  .co-grid, .f-row { grid-template-columns: 1fr; }
  .foot-note { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0s !important; }
}

/* Numbers + credits wall (our format: one big number, logos grouped by room) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.credits { display: grid; grid-template-columns: minmax(280px, 0.8fr) 2fr; gap: calc(var(--u) * 8); padding: calc(var(--u) * 14) var(--pad); border-bottom: 1px solid var(--line); }
.credits-lede { position: sticky; top: calc(var(--u) * 14); align-self: start; }
.big-n { font-family: var(--display); font-size: clamp(120px, 15vw, 260px); line-height: .82; color: var(--cue); font-variant-numeric: tabular-nums; }
.big-l { margin-top: calc(var(--u) * 2); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; max-width: 16ch; }
.mini { margin-top: calc(var(--u) * 6); border-top: 1px solid var(--line); }
.mini div { display: flex; align-items: baseline; gap: 14px; padding: calc(var(--u) * 1.5) 0; border-bottom: 1px solid var(--line); }
.mini-n { font-family: var(--display); font-size: 40px; line-height: 1; min-width: 2.6em; font-variant-numeric: tabular-nums; }
.mini dd { color: var(--dim); font-size: 15px; }
.wall-group + .wall-group { margin-top: calc(var(--u) * 7); }
.wall-head { display: flex; align-items: baseline; gap: 12px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 0 0 calc(var(--u) * 1.5); text-align: left; cursor: pointer; }
.wall-head .wh-num { font-size: 12px; letter-spacing: .1em; color: var(--cue); font-variant-numeric: tabular-nums; }
.wall-head .wh-name { font-family: var(--display); font-size: 30px; text-transform: uppercase; line-height: 1; }
.wall-head .wh-go { margin-left: auto; font-size: 13px; color: var(--dim); }
.wall-head:hover .wh-go, .wall-head:focus-visible .wh-go { color: var(--ivory); }
.wall-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.cell { display: grid; grid-template-rows: 92px auto; gap: 10px; padding: calc(var(--u) * 3) calc(var(--u) * 2.5) calc(var(--u) * 3) 0; border-bottom: 1px solid var(--line); }
.cell + .cell { padding-left: calc(var(--u) * 2.5); border-left: 1px solid var(--line); }
.cell:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.cell .lg { display: flex; align-items: center; }
.cell img { max-width: 78%; max-height: 52px; filter: brightness(0) invert(.92); opacity: .62; transition: opacity .25s var(--ease); }
.cell img.gray { filter: grayscale(1) brightness(1.5) contrast(1.1); }
.cell img.tall { max-height: 64px; }
.cell .c-name { font-size: 15px; line-height: 1.25; }
.cell .c-what:empty { display: none; }
.cell .c-what { font-size: 13px; line-height: 1.35; color: var(--dim); margin-top: 3px; }
@media (hover: hover) { .cell:hover img { opacity: 1; } .cell:hover .c-what { color: var(--ivory); } }
@media (max-width: 1100px) { .wall-grid { grid-template-columns: repeat(3, 1fr); } .cell:nth-child(4n + 1) { padding-left: calc(var(--u) * 2.5); border-left: 1px solid var(--line); } .cell:nth-child(3n + 1) { padding-left: 0; border-left: 0; } }
@media (max-width: 760px) {
  .credits { grid-template-columns: 1fr; padding-top: calc(var(--u) * 10); }
  .credits-lede { position: static; }
  .big-n { font-size: 34vw; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .cell:nth-child(3n + 1) { padding-left: calc(var(--u) * 2.5); border-left: 1px solid var(--line); }
  .cell:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .cell { grid-template-rows: 70px auto; }
  .cell img { opacity: .85; }
}

/* ===== Premium layer: lifted surfaces, glass, live feedback ===== */
:root { --r: 12px; --lift: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -18px rgba(0,0,0,.8), 0 2px 6px rgba(0,0,0,.4); }

/* Frosted top bar */
.bar.is-solid { background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }

/* Stage lifts into a card as the page scrolls */
.stage { transform-origin: 50% 0; will-change: transform; }
.stage.is-card { border-radius: var(--r); }

/* Rail: sliding active marker */
.rail { --mx: 0px; --mw: 0px; }
.rail::after { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: var(--mw); transform: translateX(var(--mx)); background: var(--cue); transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; opacity: 0; }
.rail.has-active::after { opacity: 1; }

/* Raised logo tiles: tilt toward the pointer, specular sheen */
.wall-grid { perspective: 900px; gap: 10px; padding-top: 10px; }
.cell { position: relative; border: 0 !important; padding: calc(var(--u) * 3) !important; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); transform: translate3d(0,0,0) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .45s var(--ease), background-color .3s, box-shadow .45s var(--ease); }
.cell::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(240px circle at var(--px,50%) var(--py,0%), rgba(255,255,255,.10), transparent 60%); }
.cell[data-href] { cursor: pointer; }
.cell .c-play { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); opacity: .0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease); }
.cell .c-play::after { content: ""; border-left: 8px solid var(--ivory); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
@media (hover: hover) {
  .cell:hover { box-shadow: var(--lift); background-color: rgba(255,255,255,.03); transform: translate3d(0,-6px,0) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); }
  .cell:hover::before { opacity: 1; }
  .cell[data-href]:hover .c-play { opacity: 1; transform: scale(1); }
}
.cell:active { transform: translate3d(0,-2px,0) scale(.985); }
.cell:focus-visible { outline: 2px solid var(--cue); outline-offset: 2px; }
.wall-grid { grid-auto-rows: 1fr; }
.wall-head { border-bottom: 0; }

/* Proof cards: raised, clickable into the player */
.proof .p-link { border-radius: var(--r); padding: 10px; margin: -10px; transition: background-color .3s, box-shadow .45s var(--ease), transform .45s var(--ease); }
.proof .p-img { border-radius: calc(var(--r) - 4px); }
@media (hover: hover) { .proof .p-link:hover { background: rgba(255,255,255,.04); box-shadow: var(--lift); transform: translateY(-3px); } }

/* Buttons: magnetic + press */
.go { border-radius: var(--r); will-change: transform; }
.go:active { transform: scale(.97) !important; }
.chip span { border-radius: var(--r); }

/* In-page player (lightbox) */
.player { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 4vw; }
.player[hidden] { display: none !important; }
.player-bg { position: absolute; inset: 0; background: rgba(6,6,7,.62); -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%); }
.player-card { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: calc(var(--r) + 4px); overflow: hidden; background: #000; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
.player-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-meta { position: relative; width: min(1200px, 100%); display: flex; align-items: baseline; gap: 16px; margin-top: 16px; }
.player-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.6vw, 40px); line-height: 1; }
.player-sub { color: var(--dim); font-size: 15px; }
.player-ext { margin-left: auto; font-size: 14px; color: var(--dim); }
.player-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ivory); font-size: 22px; cursor: pointer; }
.player-close:hover { background: rgba(255,255,255,.2); }
.player-wrap { position: relative; display: grid; justify-items: center; width: 100%; }
@media (prefers-reduced-motion: reduce) { .cell, .proof .p-link, .stage { transition: none !important; transform: none !important; } }

/* ===== The fall: a sticky perspective camera that drops through the Kinjaz world ===== */
.fall { position: relative; height: 280vh; }
.fall-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1000px; perspective-origin: 50% 46%; background: radial-gradient(120% 90% at 50% 40%, #141416 0%, #0a0a0b 58%, #050506 100%); }
.fall-cam { position: absolute; inset: 0; transform-style: preserve-3d; }
.fall-layer { position: absolute; left: 50%; top: 50%; width: min(1200px, 92vw); height: min(680px, 78svh); transform-style: preserve-3d; transform: translate3d(-50%, -50%, 0); display: grid; place-content: center; text-align: center; will-change: transform, opacity; }
.fall-frame { position: absolute; left: 50%; top: 50%; width: 86vw; height: 80svh; border: 1px solid rgba(239,233,223,.16); transform: translate3d(-50%,-50%,0); pointer-events: none; will-change: transform, opacity; }
.fall-frame:nth-of-type(3n) { border-color: rgba(229,67,45,.35); }
.fall-frame span { position: absolute; top: 10px; left: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,233,223,.45); }
.f-cue { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cue); margin-bottom: 18px; }
.f-big { font-family: var(--display); text-transform: uppercase; font-size: clamp(90px, 15vw, 250px); line-height: .86; position: relative; z-index: 2; }
.f-red { color: var(--cue); }
.f-line { margin: 22px auto 0; max-width: 30ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; color: #d9d3c8; position: relative; z-index: 2; }
.f-photo { position: absolute; left: calc(50% + var(--x)); top: calc(50% + var(--y)); width: var(--w); aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); transform: translate(-50%, -50%); opacity: .9; }
.fall-progress { position: absolute; left: var(--pad); bottom: 28px; width: 120px; height: 2px; background: rgba(239,233,223,.15); }
.fall-progress span { display: block; height: 100%; width: 0; background: var(--cue); }

/* ===== The turn: pinned horizontal track through the industries ===== */
.turn { position: relative; }
.turn-pin { height: 100svh; overflow: hidden; display: flex; align-items: center; }
.turn-track { display: flex; gap: 28px; padding: 0 var(--pad); will-change: transform; }
.turn-intro { flex: 0 0 min(560px, 80vw); align-self: center; }
.turn-intro h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(64px, 8vw, 140px); line-height: .88; }
.turn-intro h2 span { color: var(--cue); }
.panel { position: relative; flex: 0 0 min(70vw, 980px); height: min(74svh, 640px); border-radius: calc(var(--r) + 6px); overflow: hidden; background: #000; box-shadow: var(--lift); transform-origin: 50% 100%; }
.panel video, .panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,.95) 0%, rgba(8,8,9,.55) 42%, rgba(8,8,9,.05) 75%); pointer-events: none; }
.panel-copy { position: absolute; left: 36px; right: 36px; bottom: 32px; z-index: 2; display: grid; gap: 10px; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
.panel-num { font-size: 12px; letter-spacing: .12em; color: var(--ivory); font-weight: 600; }
.panel-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(56px, 7vw, 120px); line-height: .86; }
.panel-kind { color: #d9d3c8; font-size: 16px; }
.panel-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 10px; }
.panel-logos img { height: 26px; max-width: 120px; object-fit: contain; filter: brightness(0) invert(.92); opacity: .8; }
.panel-logos img.gray { filter: grayscale(1) brightness(1.5); }
.panel-go { justify-self: start; margin-top: 10px; background: rgba(239,233,223,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ivory); border: 0; border-radius: 999px; padding: 12px 20px; font-size: 15px; cursor: pointer; transition: background-color .25s; }
.panel-go:hover { background: rgba(239,233,223,.22); }

@media (max-width: 760px) {
  .fall { height: 240vh; }
  .fall-stage { perspective: 800px; }
  .f-photo { width: calc(var(--w) * 1.9); left: calc(50% + var(--mx, 0%)); top: calc(50% + var(--my, 0%)); }
  .turn-swipe .turn-intro { scroll-snap-align: start; }
  .turn-swipe .turn-pin { height: auto; padding: 60px 0; overflow: visible; display: block; }
  .turn-swipe .turn-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .turn-swipe .turn-track::-webkit-scrollbar { display: none; }
  .turn-intro { flex-basis: 70vw; }
  .panel { flex-basis: 84vw; height: 68svh; }
  .turn-swipe .panel { scroll-snap-align: center; }
  .panel-copy { left: 20px; right: 20px; bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .fall { height: auto; } .fall-stage { position: relative; height: auto; perspective: none; overflow: visible; }
  .fall-cam { position: relative; } .fall-layer { position: relative; left: auto; top: auto; transform: none !important; opacity: 1 !important; margin: 0 auto; padding: 80px 0; height: auto; }
  .f-photo, .fall-frame, .fall-progress { display: none; }
}
.big-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(56px, 6vw, 104px) !important; line-height: .9 !important; max-width: none !important; }

/* Smooth scroll (Lenis): keep the player's YouTube controls clickable */
.lenis.lenis-smooth .player iframe { pointer-events: auto; }


/* Intro test (?intro=1): KINJAZ lights up like a dimmer as the page loads, hits once, then the house splits open */
.intro { display: none; }
html.is-intro .intro { display: block; position: fixed; inset: 0; z-index: 60; --p: 0; color: var(--ivory); cursor: pointer; }
html.is-intro, html.is-intro body { overflow: hidden; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; transition: transform .85s cubic-bezier(.76, 0, .18, 1); }
.intro-top { top: 0; } .intro-bot { bottom: 0; }
.intro.is-open .intro-top { transform: translateY(-101%); }
.intro.is-open .intro-bot { transform: translateY(101%); }
.intro-lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: calc(var(--u) * 3); transition: transform .5s var(--ease), opacity .2s; }
.intro-mark { width: clamp(40px, 4.6vw, 70px); height: auto; opacity: calc(.12 + .88 * var(--p)); transition: filter .25s; }
.intro-word { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(92px, 22vw, 380px); line-height: .8; letter-spacing: -.005em; }
.iw-base { color: rgba(239, 233, 223, .07); }
.iw-fill { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); }
.intro-cue, .intro-pct { position: absolute; bottom: calc(var(--u) * 4); transition: opacity .2s; }
.intro-cue { left: var(--pad); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 8px; align-items: baseline; }
.intro-pct { right: var(--pad); font-family: var(--display); font-size: clamp(40px, 5vw, 76px); line-height: 1; text-align: right; min-width: 3.2ch; }
.intro-pct small { font-size: .45em; margin-left: .08em; vertical-align: top; }
.intro.is-hit .iw-fill { clip-path: none; }
.intro-word { transition: filter .25s; }
.intro.is-hit .intro-word { filter: drop-shadow(0 0 22px rgba(239, 233, 223, .45)) drop-shadow(0 0 60px rgba(229, 67, 45, .3)); }
.intro.is-hit .intro-mark { filter: drop-shadow(0 0 18px rgba(239, 233, 223, .7)); }
.intro.is-hit .intro-lock { transform: scale(1.025); }
.intro.is-open .intro-lock, .intro.is-open .intro-cue, .intro.is-open .intro-pct { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .intro-half, .intro-lock { transition: opacity .3s !important; } .intro.is-open .intro-half { transform: none; opacity: 0; } }
@media (max-width: 760px) { .intro-word { font-size: 28vw; } .intro-cue .cue-label { display: inline; } }

/* The journey (10/13): the rooms' track rides inside the fall stage, so depth → sideways is one continuous move */
.fall-stage .turn-track.in-journey { position: absolute; top: 0; left: 0; height: 100%; align-items: center; z-index: 2; }
#turn.is-empty { display: none; }

/* Reduced motion / no JS motion: the rooms are a swipe carousel at EVERY width (review 10/13: desktop could not reach rooms 2-6) */
.turn-swipe .turn-pin { height: auto; padding: 60px 0; overflow: visible; display: block; }
.turn-swipe .turn-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.turn-swipe .turn-track::-webkit-scrollbar { display: none; }
.turn-swipe .turn-intro { scroll-snap-align: start; }
.turn-swipe .panel { scroll-snap-align: center; }
html.is-intro .intro { touch-action: none; }

/* Review 10/13: a clipped stage can't be scrolled by focus (overflow:hidden still can) */
.fall-stage { overflow: clip; }

/* 10/13 his notes: "Turn right." becomes an arrow (same red as the rooms' arrow), nudging the way to go */
.f-arrow { color: var(--cue); line-height: 0; margin-top: 30px; }
.f-arrow svg { width: clamp(110px, 11vw, 170px); height: auto; overflow: visible; animation: f-nudge 1.8s ease-in-out infinite; }
@keyframes f-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) { .f-arrow svg { animation: none; } }
/* ...and the room cards are lifted by their shadow (no movement): a hairline edge + a deep, soft shadow that reads on black */
.panel { box-shadow: 0 0 0 1px rgba(239,233,223,.08), 0 1px 0 rgba(255,255,255,.10) inset, 0 28px 60px -18px rgba(0,0,0,.95), 0 70px 120px -40px rgba(0,0,0,.85); }
/* 10/13: the centred card may come forward a touch, but evenly from its centre: it must never read as rising */
.fall-stage .panel { transform-origin: 50% 50%; }
/* Wall cells with no clean logo: the name set as a wordmark, same weight as the logos */
.cell .lg-word { font-family: Anton, sans-serif; font-size: 22px; line-height: 1; letter-spacing: .04em; color: var(--ivory); opacity: .62; transition: opacity .25s var(--ease); max-width: 90%; }
@media (hover: hover) { .cell:hover .lg-word { opacity: 1; } }

/* Fitted logos (logo-fit.js): the box is the mark itself, so every logo carries the same visual weight */
.lgbox { display: block; flex: none; overflow: hidden; zoom: var(--logo-k, 1); }
.cell, .cell .lg { min-width: 0; }
.wall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cell .lgbox img, .p-tile .lgbox img { display: block; max-width: none; max-height: none; }
.p-tile { display: grid; place-items: center; --logo-k: .92; }
.p-tile .lgbox img { filter: brightness(0) invert(.92); opacity: .72; }
.p-tile .lgbox img.gray { filter: grayscale(1) brightness(1.5) contrast(1.1); }
.p-tile-word { font-family: var(--display); font-size: 20px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--ivory); opacity: .72; text-align: center; padding: 0 10px; }
@media (max-width: 760px) { .p-tile { --logo-k: .56; } .p-tile-word { font-size: 13px; } }
@media (max-width: 700px) { .cell { --logo-k: .8; } }

/* In-page cue labels off (10/20: read as leftover text; the top-bar cue ticker carries the idea) */
.f-cue { display: none; }
