/* ==========================================================================
   K6 VISUALS
   Monochrome, chrome-finished. One red: the record light.
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --ink-2: #121212;
  --ink-3: #1a1a1a;
  --fg: #f2f2f2;
  --fg-2: #b4b4b4;
  --fg-3: #767676;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --rec: #ff3b30;

  --chrome: linear-gradient(180deg, #ffffff 0%, #dcdcdc 26%, #8f8f8f 46%, #f5f5f5 53%, #bdbdbd 70%, #6e6e6e 90%, #d2d2d2 100%);
  --sheen: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(16px, 3.2vw, 44px);
  --gut: clamp(12px, 1.6vw, 24px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--ink);
  color: var(--fg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--ink);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--fg); color: var(--ink); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 24px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--fg); color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}

.chrome-text {
  background-image: var(--sheen), var(--chrome);
  background-size: 260% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.is-in .chrome-text,
.chrome-text.is-in { animation: sheen 1.8s var(--ease) 0.25s both; }
@keyframes sheen {
  from { background-position: 160% 0, 0 0; }
  to { background-position: -60% 0, 0 0; }
}

/* Line reveals */
.line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .line > span, .line.is-in > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal], html:not(.js) .line > span { opacity: 1; transform: none; }

.rec-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--rec); box-shadow: 0 0 10px rgba(255, 59, 48, 0.7);
  animation: rec 1.6s steps(1) infinite;
}
@keyframes rec { 50% { opacity: 0.25; } }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--fg-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(11, 11, 11, 0.25); }
.btn--ghost:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.btn--solid { background: var(--fg); color: var(--ink); }
.btn--solid:hover { background: #fff; transform: translateY(-2px); }
.btn--chrome {
  color: #0b0b0b; font-weight: 500;
  background-image: var(--sheen), linear-gradient(180deg, #ffffff 0%, #d6d6d6 45%, #9d9d9d 52%, #e9e9e9 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: background-position 1s var(--ease), transform 0.35s var(--ease);
}
.btn--chrome:hover { background-position: -60% 0, 0 0; transform: translateY(-2px); }
.btn__icon { font-size: 9px; }

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

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader.is-gone { display: none; }
.loader__mark { position: relative; width: clamp(110px, 14vw, 150px); opacity: 0; transform: scale(0.94); animation: loaderIn 0.9s var(--ease) 0.1s forwards; }
.loader__mark img { width: 100%; height: auto; }
.loader__sheen, .hero__sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../img/k6-logo.webp") center / contain no-repeat;
  mask: url("../img/k6-logo.webp") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.9) 50%, transparent 62%);
  background-size: 300% 100%;
  background-position: 150% 0;
  mix-blend-mode: overlay;
}
.loader__sheen { animation: logoSheen 1.4s var(--ease) 0.3s infinite; }
@keyframes loaderIn { to { opacity: 1; transform: none; } }
@keyframes logoSheen { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.loader__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; justify-content: space-between; color: var(--fg-3);
}
.loader__count { color: var(--fg); font-variant-numeric: tabular-nums; }
.loader__bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0));
}
.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   Cursor
   -------------------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor {
    position: fixed; top: 0; left: 0; z-index: 140; pointer-events: none;
    display: grid; place-items: center;
    width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%; background: var(--fg);
    mix-blend-mode: difference;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.3s, opacity 0.3s;
    will-change: transform;
  }
  .cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.2s; }
  .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .cursor.is-play { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--fg); }
  .cursor.is-play .cursor__label { opacity: 1; transition-delay: 0.1s; }
  .cursor.is-hidden { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--nav-h); padding: 0 var(--pad);
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 11, 0.72); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { justify-self: start; display: block; width: 48px; transition: transform 0.5s var(--ease); }
.nav__logo:hover { transform: rotate(-6deg) scale(1.06); }
.nav__logo img { width: 100%; height: auto; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a, .menu__links a {
  position: relative; display: inline-flex; align-items: flex-start; gap: 6px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: 19px; letter-spacing: 0.04em; line-height: 1;
}
.nav__links a .mono { font-size: 9px; color: var(--fg-3); letter-spacing: 0.04em; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__meta { justify-self: end; display: flex; align-items: center; gap: 28px; }
.nav__ig { display: inline-flex; gap: 4px; transition: color 0.3s; }
.nav__ig:hover { color: var(--fg-2); }
.nav__toggle { display: none; justify-self: end; align-items: center; gap: 12px; height: 44px; }
.nav__toggle-lines { position: relative; width: 22px; height: 10px; }
.nav__toggle-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--fg); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__toggle-lines i:first-child { top: 0; }
.nav__toggle-lines i:last-child { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:first-child { top: 4px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:last-child { top: 4px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) var(--pad) 32px;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-size: clamp(56px, 17vw, 96px); font-weight: 800; letter-spacing: -0.005em; line-height: 0.92; padding: 4px 0; border-bottom: 1px solid var(--line); }
.menu__links a .mono { font-size: 11px; color: var(--fg-3); margin-top: 8px; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) var(--pad) 120px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__chrome {
  position: absolute; inset: -12%;
  background: url("../img/chrome-03.webp") center / cover no-repeat;
  opacity: 0.11; filter: blur(26px) contrast(1.2);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.05) translate3d(-2%, -1%, 0) rotate(-2deg); }
  to { transform: scale(1.18) translate3d(2%, 2%, 0) rotate(3deg); }
}
.hero__reel { position: absolute; inset: 0; }
.hero__reel video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__reel video.is-ready { opacity: 0.55; }
.hero__spot {
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 45%), rgba(255, 255, 255, 0.075), transparent 60%);
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 46%, transparent 0%, rgba(11, 11, 11, 0.55) 70%, var(--ink) 100%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.6) 0%, transparent 22%, transparent 70%, var(--ink) 100%);
}

.hud { position: absolute; inset: calc(var(--nav-h) + 8px) var(--pad) 96px; pointer-events: none; color: var(--fg-2); }
.hud__corner { position: absolute; width: 22px; height: 22px; border-color: rgba(255, 255, 255, 0.35); border-style: solid; border-width: 0; }
.hud__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud__rec { position: absolute; top: 18px; left: 34px; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.hud__spec { position: absolute; top: 18px; right: 34px; color: var(--fg-3); }

.hero__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(44px, 7vh, 76px); text-align: center; }
.hero__heading { line-height: 0; }
.hero__logo {
  position: relative; display: block;
  width: min(62vw, 54vh, 500px);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.hero__logo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65));
  -webkit-box-reflect: below -2px linear-gradient(transparent 84%, rgba(255, 255, 255, 0.08));
}
.hero__sheen { animation: logoSheen 2.4s var(--ease) 1.2s infinite; animation-play-state: paused; }
.is-ready .hero__sheen { animation-play-state: running; }
.hero__logo { opacity: 0; translate: 0 30px; scale: 0.96; transition: transform 0.8s var(--ease), opacity 1.4s var(--ease), translate 1.6s var(--ease), scale 1.6s var(--ease); }
.is-ready .hero__logo { opacity: 1; translate: 0 0; scale: 1; }
html:not(.js) .hero__logo { opacity: 1; translate: 0 0; scale: 1; }

.hero__tag {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(15px, 1.5vw, 20px); letter-spacing: 0.22em; color: var(--fg-2);
}
.hero__tag .line { display: inline-block; }
.hero__tag .line > span { transition-delay: calc(0.5s + var(--i, 0) * 0.08s); }
.hero__tag-sep { color: var(--fg-3); opacity: 0; transition: opacity 1s 1s; }
.is-ready .hero__tag-sep { opacity: 1; }
.is-ready .hero__tag .line > span { transform: none; }

.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.hero__foot > :first-child { justify-self: start; }
.hero__foot > :last-child { justify-self: end; color: var(--fg-3); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: var(--fg-2); }
.scroll-cue__line { position: relative; width: 1px; height: 38px; background: var(--line-2); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--fg); animation: scrollcue 2s var(--ease-in-out) infinite; }
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(96px, 13vw, 200px) var(--pad) 0; }
.section-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: var(--gut);
  padding-bottom: clamp(32px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.section-head__idx { align-self: start; color: var(--fg-3); padding-top: 0.6em; }
.section-head__title { font-size: clamp(64px, 11.5vw, 196px); text-align: center; }
.section-head__side { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.section-head__note { grid-column: 3; justify-self: end; color: var(--fg-3); }

/* --------------------------------------------------------------------------
   Work — grid
   -------------------------------------------------------------------------- */
.work__count { color: var(--fg-3); }
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.view-toggle button { height: 30px; padding: 0 14px; border-radius: 999px; color: var(--fg-3); transition: color 0.3s, background-color 0.3s; }
.view-toggle button:hover { color: var(--fg); }
.view-toggle button.is-active { background: var(--fg); color: var(--ink); }

.work__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut); row-gap: clamp(56px, 8vw, 132px);
}
.card { grid-column: 1 / -1; }
.card:nth-child(5n + 1) { grid-column: 1 / span 7; }
.card:nth-child(5n + 2) { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 240px); }
.card:nth-child(5n + 3) { grid-column: 2 / span 4; }
.card:nth-child(5n + 4) { grid-column: 7 / span 6; margin-top: clamp(60px, 9vw, 160px); }
.card:nth-child(5n + 5) { grid-column: 1 / -1; }
.card:nth-child(5n + 2) .card__media,
.card:nth-child(5n + 3) .card__media { aspect-ratio: 4 / 5; }
.card:nth-child(5n + 5) .card__media { aspect-ratio: 21 / 9; }

.card__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--ink-2);
  border-radius: 2px;
  isolation: isolate;
  container-type: inline-size;
}
.card__media img, .card__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.card__poster { transform: scale(1.02); transition: transform 1.6s var(--ease), filter 1s var(--ease); filter: grayscale(0.15) brightness(0.86); }
.card__poster.is-art { filter: brightness(0.66) contrast(1.4); }
.card__preview { opacity: 0; transition: opacity 0.6s var(--ease); }
.card.is-playing .card__preview { opacity: 1; }
.card:hover .card__poster, .card:focus-within .card__poster { transform: scale(1.08); filter: grayscale(0) brightness(1); }
.card:hover .card__poster.is-art, .card:focus-within .card__poster.is-art { filter: brightness(0.86) contrast(1.4); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%, transparent 55%, rgba(0, 0, 0, 0.6) 100%); z-index: 1; }

.card__ghost {
  position: absolute; left: 0; right: 0; bottom: -0.08em; z-index: 1;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: min(calc(90cqi / (var(--len, 10) * 0.5)), 30cqi); line-height: 0.8; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  transition: transform 1.4s var(--ease), -webkit-text-stroke-color 0.6s;
  pointer-events: none;
}
.card:hover .card__ghost { transform: translateY(-6%); -webkit-text-stroke-color: rgba(255, 255, 255, 0.5); }

.card__hud { position: absolute; inset: 16px; z-index: 2; pointer-events: none; }
.card__hud .hud__corner { width: 16px; height: 16px; opacity: 0; transition: transform 0.7s var(--ease), opacity 0.4s; }
.card__hud .hud__corner--tl { transform: translate(-10px, -10px); }
.card__hud .hud__corner--tr { transform: translate(10px, -10px); }
.card__hud .hud__corner--bl { transform: translate(-10px, 10px); }
.card__hud .hud__corner--br { transform: translate(10px, 10px); }
.card:hover .card__hud .hud__corner, .card:focus-within .card__hud .hud__corner { opacity: 1; transform: none; }
.card__tag, .card__tc { position: absolute; z-index: 3; color: var(--fg); }
.card__tag { top: 18px; left: 20px; display: inline-flex; align-items: center; gap: 8px; }
.card__tc { top: 18px; right: 20px; color: var(--fg-2); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 0.4s; }
.card:hover .card__tc { opacity: 1; }
.card__play {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  display: none; align-items: center; gap: 10px;
}
.card__play-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--ink); font-size: 9px; padding-left: 2px; }
@media (hover: none), (pointer: coarse) {
  .card__play { display: inline-flex; }
  .card__tc { display: none; }
}

.card__meta {
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 16px;
  padding-top: 16px;
}
.card__num { color: var(--fg-3); padding-top: 0.5em; }
.card__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 3.2vw, 52px); line-height: 0.9; letter-spacing: 0;
}
.card__title span { transition: background-position 1.2s var(--ease); }
.card:hover .card__title span { background-position: -60% 0, 0 0; }
.card__sub { margin-top: 8px; color: var(--fg-2); }
.card__year { color: var(--fg-3); padding-top: 0.5em; }

/* --------------------------------------------------------------------------
   Work — index
   -------------------------------------------------------------------------- */
.work__index { border-top: 1px solid var(--line); }
.work__index li { border-bottom: 1px solid var(--line); }
.row {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 72px 24px; align-items: center; gap: var(--gut);
  padding: clamp(18px, 2vw, 28px) 0; text-align: left;
  transition: color 0.4s;
}
.row::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: -1; }
.work__index li { position: relative; isolation: isolate; }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.row:hover, .row:focus-visible { color: var(--ink); }
.row:hover .row__muted, .row:focus-visible .row__muted { color: #555; }
.row__num { padding-left: 4px; }
.row__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 84px); line-height: 0.86; transition: transform 0.6s var(--ease); }
.row:hover .row__title { transform: translateX(14px); }
.row__muted { color: var(--fg-3); transition: color 0.4s; }
.row__arrow { justify-self: end; padding-right: 4px; font-size: 18px; transition: transform 0.5s var(--ease); }
.row:hover .row__arrow { transform: rotate(45deg); }

.hover-preview {
  position: fixed; top: 0; left: 0; z-index: 80; pointer-events: none;
  width: clamp(240px, 24vw, 380px); aspect-ratio: 16 / 10;
  margin: calc(clamp(240px, 24vw, 380px) * -0.3125) 0 0 calc(clamp(240px, 24vw, 380px) * -0.5);
}
.hover-preview__inner { position: absolute; inset: 0; overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path 0.6s var(--ease); border-radius: 2px; background: var(--ink-2); }
.hover-preview.is-on .hover-preview__inner { clip-path: inset(0 0 0 0); }
.hover-preview img, .hover-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hover-preview .is-art { filter: brightness(0.8); }

.noscript-list { font-family: var(--f-display); font-size: 40px; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  margin-top: clamp(110px, 14vw, 220px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.4vw, 34px) 0;
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
.marquee__group span {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(54px, 8vw, 132px); line-height: 0.9; white-space: nowrap;
}
.marquee__group img { width: auto; height: clamp(46px, 6.4vw, 104px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Studio
   -------------------------------------------------------------------------- */
.studio__body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: clamp(48px, 6vw, 96px);
}
.studio__statement {
  grid-column: 1 / span 8;
  font-size: clamp(30px, 4vw, 64px); font-weight: 500; line-height: 1.06; letter-spacing: -0.03em;
  color: var(--fg);
}
.studio__statement em { font-style: normal; }
.studio__figure { grid-column: 9 / span 4; grid-row: 1 / span 2; align-self: start; }
.studio__frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--ink-2); }
.studio__frame img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; filter: brightness(0.72) contrast(1.3); will-change: transform; }
.studio__frame img.is-photo { filter: none; }
.studio__figure figcaption { display: flex; justify-content: space-between; padding-top: 12px; color: var(--fg-3); }
.studio__cols { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); padding-top: 28px; border-top: 1px solid var(--line); }
.studio__col .mono { display: block; color: var(--fg-3); margin-bottom: 14px; }
.studio__col p { color: var(--fg-2); font-size: 15px; max-width: 34ch; }

/* --------------------------------------------------------------------------
   Film strip (stills) — shared by landing + portfolio
   -------------------------------------------------------------------------- */
.strip { --fh: clamp(250px, 52vh, 560px); position: relative; }
.section .strip { margin-inline: calc(var(--pad) * -1); }
.strip__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad) 20px; color: var(--fg-3);
}
.strip__hint { text-align: center; }
.strip__arrows { justify-self: end; display: flex; gap: 8px; }
.strip__arrows button {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-2); border-radius: 50%; font-size: 16px; color: var(--fg);
  transition: background-color 0.3s, color 0.3s, opacity 0.3s, border-color 0.3s;
}
.strip__arrows button:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.strip__arrows button:disabled { opacity: 0.25; pointer-events: none; }

.strip__viewport {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; cursor: grab;
  outline-offset: -2px;
}
.strip__viewport::-webkit-scrollbar { display: none; }
.strip__viewport::after { content: ""; flex: 0 0 var(--pad); }
.strip__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip__viewport.is-dragging .frame__btn { pointer-events: none; }
.strip__track {
  flex: none; display: flex; margin-left: var(--pad); padding: 0 6px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 10px, rgba(232, 232, 232, 0.82) 10px 20px, transparent 20px) 0 8px / 30px 9px repeat-x,
    linear-gradient(90deg, transparent 10px, rgba(232, 232, 232, 0.82) 10px 20px, transparent 20px) 0 calc(100% - 8px) / 30px 9px repeat-x,
    #050505;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.frame { position: relative; flex: none; padding: 28px 6px 50px; scroll-snap-align: start; scroll-margin-left: var(--pad); }
.frame__btn { display: block; cursor: inherit; border-radius: 1px; }
.frame__img { position: relative; display: block; height: var(--fh); aspect-ratio: var(--ar); overflow: hidden; background: var(--ink-3); }
.frame__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) brightness(0.9);
  transition: transform 1.4s var(--ease), filter 0.6s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
.frame__btn:hover .frame__img img, .frame__btn:focus-visible .frame__img img { transform: scale(1.045); filter: none; }
.frame__meta {
  position: absolute; left: 6px; right: 6px; bottom: 24px;
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 10px; color: rgba(255, 255, 255, 0.42); white-space: nowrap; overflow: hidden;
}
.frame__meta span:nth-child(2) { color: rgba(255, 255, 255, 0.78); overflow: hidden; text-overflow: ellipsis; }

.strip__scrub { position: relative; height: 30px; margin: 22px var(--pad) 0; cursor: pointer; touch-action: none; }
.strip__scrub::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 11px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 14px);
}
.strip__scrub::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.strip__fill { position: absolute; left: 0; top: 50%; z-index: 1; width: 100%; height: 1px; background: var(--fg); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.strip__head { position: absolute; top: 0; bottom: 0; z-index: 2; left: calc(var(--prog, 0) * 100%); width: 1px; background: var(--rec); }
.strip__head::before {
  content: ""; position: absolute; top: -4px; left: -6px; width: 13px; height: 10px; background: var(--rec);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.service {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.service__num { grid-column: 1 / span 1; color: var(--fg-3); }
.service__name {
  grid-column: 2 / span 6;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(36px, 5.2vw, 92px); line-height: 0.88;
  transition: transform 0.7s var(--ease), color 0.5s;
}
.service__name { position: relative; z-index: 2; }
.service__desc { grid-column: 9 / span 4; color: var(--fg-2); font-size: 15px; max-width: 40ch; position: relative; z-index: 2; }
.service__img {
  position: absolute; z-index: 1; top: 50%; left: 56%;
  width: clamp(140px, 13vw, 220px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px;
  transform: translate(-50%, -50%) rotate(-4deg) scale(0.9);
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 0.7s var(--ease), transform 0.9s var(--ease);
  pointer-events: none;
}
.service:hover .service__img { clip-path: inset(0 0 0 0); transform: translate(-50%, -50%) rotate(3deg) scale(1); }
.service:hover .service__name { transform: translateX(16px); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__title { font-size: clamp(96px, 21vw, 360px); line-height: 0.8; margin-bottom: clamp(48px, 6vw, 96px); }
.contact__title .line:last-child { padding-left: 12vw; }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 56px; }
.contact__intro { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.contact__intro p { color: var(--fg-2); font-size: 17px; max-width: 38ch; }
.contact__ig { color: var(--fg-3); transition: color 0.3s; }
.contact__ig:hover { color: var(--fg); }

.form { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.field__label { color: var(--fg-3); transition: color 0.3s; }
.field:focus-within .field__label { color: var(--fg); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 6px 0 12px; outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field select option { background: var(--ink-2); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, #fff, #8f8f8f, #fff);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 6px; }
.form__status { color: var(--fg-2); }
.form__status.is-error { color: var(--rec); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: clamp(120px, 15vw, 240px) var(--pad) 28px; overflow: hidden; }
.footer__mark {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(80px, 19.5vw, 400px); line-height: 0.76; letter-spacing: -0.01em;
  padding-bottom: clamp(20px, 2.4vw, 36px);
  border-bottom: 1px solid var(--line);
}
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; color: var(--fg-2); }
.footer__row a { transition: color 0.3s; }
.footer__row a:hover { color: var(--fg); }

/* --------------------------------------------------------------------------
   Player
   -------------------------------------------------------------------------- */
.player {
  position: fixed; inset: 0; z-index: 160;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px;
  padding: 20px var(--pad) 26px;
  background: rgba(6, 6, 6, 0.97);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.player.is-open { opacity: 1; }
.player__top { display: flex; justify-content: space-between; align-items: center; height: 44px; color: var(--fg-2); }
.player__close { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px; transition: color 0.3s; }
.player__close:hover { color: var(--fg); }
.player__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.player__frame {
  position: relative; width: min(100%, calc((100vh - 230px) * 16 / 9)); aspect-ratio: 16 / 9;
  background: #000; overflow: hidden; border-radius: 2px;
  transform: scale(0.97); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.6s var(--ease);
}
.player.is-open .player__frame { transform: none; opacity: 1; }
.player__frame video, .player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__frame iframe { opacity: 0; transition: opacity 0.6s var(--ease); }
.player__frame iframe.is-loaded { opacity: 1; }
.player__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--fg-3); }
.player__frame--image { width: min(100%, calc((100vh - 230px) * var(--ar))); aspect-ratio: var(--ar); background: transparent; }
.player__frame--image img { width: 100%; height: 100%; object-fit: contain; }
.player__pending { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.player__pending img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) blur(2px); transform: scale(1.04); }
.player__pending-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px; }
.player__pending-body .display { font-size: clamp(44px, 7vw, 120px); }
.player__pending-body p { color: var(--fg-2); }
.player__info { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.player__title { font-size: clamp(36px, 5vw, 76px); }
.player__meta { color: var(--fg-2); margin-top: 10px; }
.player__nav { display: flex; gap: 8px; }
.player__nav button { height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; transition: background-color 0.3s, color 0.3s; }
.player__nav button:hover { background: var(--fg); color: var(--ink); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__meta .status { display: none; }
  .service__desc { grid-column: 8 / span 5; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__meta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__logo { width: 42px; }

  .section-head { grid-template-columns: 1fr auto; }
  .section-head__idx { grid-column: 1; grid-row: 1; }
  .section-head__title { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .section-head__side { grid-column: 2; grid-row: 1; flex-direction: row; align-items: center; }
  .section-head__note { grid-column: 2; grid-row: 1; }

  .studio__statement, .studio__cols { grid-column: 1 / -1; }
  .studio__figure { grid-column: 1 / -1; grid-row: auto; }
  .studio__frame { aspect-ratio: 16 / 10; }

  .contact__intro, .form { grid-column: 1 / -1; }

  .row { grid-template-columns: 40px minmax(0, 1fr) 64px 20px; }
  .row__artist, .row__type { display: none; }
}

@media (max-width: 760px) {
  .work__grid { row-gap: 56px; }
  .card, .card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .card:nth-child(n) .card__media { aspect-ratio: 16 / 11; }

  .hud { inset: calc(var(--nav-h) + 4px) 12px 88px; }
  .hud__spec { display: none; }
  .hud__rec { left: 28px; top: 14px; }
  .hero { padding-bottom: 110px; }
  .hero__logo { width: min(72vw, 360px); }
  .hero__foot { grid-template-columns: 1fr auto; bottom: 22px; }
  .hero__foot > :last-child { display: none; }
  .hero__tag { gap: 2px 10px; letter-spacing: 0.16em; }

  .studio__cols { grid-template-columns: 1fr; gap: 28px; }

  .strip { --fh: clamp(220px, 46vh, 400px); }
  .strip__bar { grid-template-columns: 1fr auto; }
  .strip__hint { display: none; }

  .service { grid-template-columns: 36px minmax(0, 1fr); row-gap: 10px; }
  .service__num { grid-column: 1; align-self: start; padding-top: 0.6em; }
  .service__name { grid-column: 2; }
  .service__desc { grid-column: 2; }
  .service__img { display: none; }

  .contact__title .line:last-child { padding-left: 0; }
  .form__row { grid-template-columns: 1fr; gap: 26px; }

  .footer__row { flex-direction: column; gap: 12px; }
  .player__info { flex-direction: column; align-items: flex-start; }
  .player__frame { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { animation: none; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   K6 VISUALS — v2 pages
   Video hero slider, project pages, services, FAQ, contact.
   Layered on top of base.css (tokens, nav, cards, strip, player, footer).
   ========================================================================== */

.btn--sm { height: 40px; padding: 0 18px; font-size: 11px; }
.nav__meta { gap: 18px; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu__links a[aria-current="page"] { color: var(--fg-2); }

/* --------------------------------------------------------------------------
   Hero slider (home)
   -------------------------------------------------------------------------- */
.hs {
  --tabs-h: 92px;
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  background: #050505;
}
.hs__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hs__cover {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
}
@supports (height: 100svh) {
  .hs__cover { width: max(100vw, 177.78svh); height: max(100svh, 56.25vw); }
}
.hs__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.2s var(--ease), transform 11s linear;
}
.hs__poster.is-active { opacity: 1; transform: scale(1); }
.hs__yt { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; }
.hs__yt.is-playing { opacity: 1; }
.hs__yt iframe {
  position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; border: 0;
  transform: translate(-50%, -50%) scale(1.3);
}
.hs__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.08) 24%, rgba(5, 5, 5, 0.12) 52%, rgba(5, 5, 5, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0) 60%);
}

.hs__top {
  position: absolute; top: calc(var(--nav-h) + 14px); left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  color: var(--fg-2);
}
.hs__h1 { max-width: 46ch; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.hs__h1 strong { color: var(--fg); font-weight: 500; }
.hs__rec { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.hs__body { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--tabs-h) + clamp(30px, 6vh, 64px)); height: 0; }
.slide {
  position: absolute; left: 0; bottom: 0; width: min(100%, 1180px);
  visibility: hidden; opacity: 0;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.slide.is-active { visibility: visible; opacity: 1; transition: opacity 0.8s var(--ease) 0.1s, visibility 0s; }
.slide__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--fg-2); margin-bottom: 16px; }
.slide__meta .rec-dot { margin-right: 4px; }
.slide__title { display: block; }
.slide__artist {
  display: block; margin-bottom: 8px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 2.3vw, 34px); letter-spacing: 0.04em; line-height: 1;
}
.slide__song { display: block; font-size: clamp(64px, 11.4vw, 210px); line-height: 0.82; }
.slide__song .line > span { transition-delay: 0.12s; }
.slide.is-active .line > span { transform: none; }
.slide__credit { margin-top: 18px; color: var(--fg-2); }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hs__ctrl {
  position: absolute; right: var(--pad); bottom: calc(var(--tabs-h) + clamp(30px, 6vh, 64px));
  display: flex; gap: 8px;
}
.hs__ctrl button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 46px; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(5, 5, 5, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.hs__ctrl button:hover, .hs__ctrl button[aria-pressed="true"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }

.hs__tabs {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--tabs-h);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.65) 100%);
}
.hs__tab {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 7px;
  padding: 0 20px; text-align: left; color: var(--fg-3);
  border-left: 1px solid var(--line);
  transition: color 0.3s, background-color 0.3s;
}
.hs__tab:first-child { padding-left: var(--pad); border-left: 0; }
.hs__tab:hover { color: var(--fg-2); background: rgba(255, 255, 255, 0.03); }
.hs__tab.is-active { color: var(--fg); }
.hs__tab-title {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(14px, 1.3vw, 19px); letter-spacing: 0.03em; line-height: 1.05;
}
.hs__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.hs__bar i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }

/* --------------------------------------------------------------------------
   Intro (home)
   -------------------------------------------------------------------------- */
.intro__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px; }
.intro__statement { grid-column: 1 / span 9; font-size: clamp(30px, 4vw, 64px); font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; }
.intro__statement em { font-style: normal; }
.intro__text { grid-column: 1 / span 6; color: var(--fg-2); font-size: 17px; max-width: 60ch; }
.intro__text strong { color: var(--fg); font-weight: 500; }
.intro__links { grid-column: 8 / span 5; align-self: end; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* --------------------------------------------------------------------------
   Work cards (real posters)
   -------------------------------------------------------------------------- */
.card { position: relative; }
.card__media { cursor: pointer; }
.card__poster { filter: brightness(0.82) saturate(0.95); }
.card:hover .card__poster, .card:focus-within .card__poster { filter: brightness(1) saturate(1); }
.card__play {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 16px 0 6px; border-radius: 999px;
  background: rgba(5, 5, 5, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); color: var(--fg);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.card__play-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: var(--ink); font-size: 8px; padding-left: 2px; }
.card:hover .card__play, .card:focus-within .card__play { opacity: 1; transform: none; }
.card__play:hover { background: var(--fg); color: var(--ink); }
.card__tc { right: auto; left: 20px; top: auto; bottom: 18px; }
@media (hover: none), (pointer: coarse) {
  .card__play { opacity: 1; transform: none; }
}
.card__title a { color: inherit; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card__media, .card__play { z-index: 3; }
.card__meta { position: relative; }
.card__credit { margin-top: 6px; color: var(--fg-3); }
.work-more { display: flex; justify-content: center; padding-top: clamp(56px, 7vw, 110px); }

/* --------------------------------------------------------------------------
   Inner page header
   -------------------------------------------------------------------------- */
.page-head { padding: calc(var(--nav-h) + clamp(44px, 7vw, 110px)) var(--pad) clamp(36px, 4vw, 60px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--fg-3); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--fg); }
.page-kicker { color: var(--fg-2); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.page-title { font-size: clamp(56px, 10.5vw, 180px); line-height: 0.84; }
.page-title small { display: block; font-size: 0.3em; line-height: 1; margin-bottom: 0.25em; letter-spacing: 0.03em; font-weight: 700; color: var(--fg); }
.page-lede { margin-top: clamp(22px, 3vw, 36px); max-width: 60ch; color: var(--fg-2); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Project page
   -------------------------------------------------------------------------- */
.yt {
  position: relative; display: block; width: calc(100% - 2 * var(--pad)); margin: 0 var(--pad);
  aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 2px; cursor: pointer;
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78); transition: transform 1.4s var(--ease), filter 0.6s var(--ease); }
.yt:hover img { transform: scale(1.025); filter: brightness(0.95); }
.yt__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: clamp(84px, 9vw, 124px); aspect-ratio: 1; border-radius: 50%;
  color: #0b0b0b; font-size: clamp(18px, 1.8vw, 26px); padding-left: 0.2em;
  background-image: linear-gradient(180deg, #ffffff 0%, #d6d6d6 45%, #9d9d9d 52%, #e9e9e9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.5s var(--ease);
}
.yt:hover .yt__btn { transform: translate(-50%, -50%) scale(1.06); }
.yt__label { position: absolute; left: 20px; bottom: 18px; color: var(--fg); }
.yt__corner { position: absolute; top: 18px; right: 20px; color: var(--fg-2); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing { cursor: default; }

.details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px; padding: clamp(48px, 6vw, 96px) var(--pad) 0; }
.details__text { grid-column: 1 / span 7; }
.details__text p { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.5; color: var(--fg); margin-bottom: 1em; }
.details__text p + p { color: var(--fg-2); font-size: 17px; }
.details__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.credits { grid-column: 9 / span 4; border-top: 1px solid var(--line); align-self: start; }
.credits div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits dt { color: var(--fg-3); padding-top: 3px; }
.credits dd { margin: 0; color: var(--fg); font-size: 15px; }
.credits a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.credits a:hover { text-decoration-color: var(--fg); }

.pager { display: grid; grid-template-columns: 1fr 1fr; margin: clamp(80px, 10vw, 150px) var(--pad) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px) 0; transition: color 0.3s; }
.pager a:last-child { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: 20px; }
.pager a:first-child { padding-right: 20px; }
.pager .mono { color: var(--fg-3); }
.pager strong { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4vw, 64px); line-height: 0.9; }
.pager a:hover strong { color: var(--fg-2); }

/* --------------------------------------------------------------------------
   Prose / FAQ
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--fg-2); font-size: 17px; line-height: 1.65; }
.prose p { margin-bottom: 1.1em; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 0.5em; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1px; background: var(--fg-3); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a, .faq__a a, .intro__text a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.prose a:hover, .faq__a a:hover, .intro__text a:hover { text-decoration-color: var(--fg); }
.prose h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4vw, 60px); line-height: 0.9; margin: 1.4em 0 0.5em; color: var(--fg); }
.prose h3 { font-weight: 500; font-size: 20px; margin: 1.4em 0 0.4em; color: var(--fg); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px; }
.split__aside { grid-column: 1 / span 3; color: var(--fg-3); }
.split__main { grid-column: 4 / span 9; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: clamp(18px, 2vw, 26px) 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--f-body); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -0.01em; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; margin-top: 4px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--fg); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 0 clamp(20px, 2.4vw, 30px); max-width: 72ch; color: var(--fg-2); font-size: 17px; line-height: 1.65; }
.faq__a p + p { margin-top: 0.8em; }
.faq-group + .faq-group { margin-top: clamp(56px, 7vw, 96px); }
.faq-group__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: 0.9; margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 28px 36px 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.step .mono { color: var(--fg-3); }
.step h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); line-height: 0.95; margin: 14px 0 10px; }
.step p { color: var(--fg-2); font-size: 15px; max-width: 38ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { padding: clamp(110px, 14vw, 220px) var(--pad) 0; text-align: center; }
.cta-band__title { font-size: clamp(80px, 15vw, 280px); line-height: 0.8; }
.cta-band p { margin: 28px auto 0; max-width: 50ch; color: var(--fg-2); font-size: 17px; }
.cta-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* --------------------------------------------------------------------------
   Footer (v2)
   -------------------------------------------------------------------------- */
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gut); padding: 34px 0 10px; }
.footer__cols h2 { font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.footer__cols li { margin-bottom: 8px; }
.footer__cols a { color: var(--fg-2); transition: color 0.3s; font-size: 15px; }
.footer__cols a:hover { color: var(--fg); }
.footer__about { color: var(--fg-2); font-size: 15px; max-width: 40ch; }
.footer__about strong { color: var(--fg); font-weight: 500; }

/* --------------------------------------------------------------------------
   Player additions
   -------------------------------------------------------------------------- */
.player__links { display: flex; gap: 8px; flex-wrap: wrap; }
.player__links a { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; transition: background-color 0.3s, color 0.3s; }
.player__links a:hover { background: var(--fg); color: var(--ink); }
.player__right { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hs__tab-title { font-size: 14px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro__statement, .intro__text, .intro__links { grid-column: 1 / -1; }
  .intro__links { justify-content: flex-start; }
  .details__text, .credits { grid-column: 1 / -1; }
  .split__aside, .split__main { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .step:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .hs { --tabs-h: 64px; min-height: 560px; }
  .hs__h1 { max-width: 30ch; }
  .hs__rec { display: none; }
  .hs__tab { padding: 0 10px; align-items: center; }
  .hs__tab:first-child { padding-left: 10px; }
  .hs__tab-title { display: none; }
  .hs__ctrl { bottom: auto; top: calc(var(--nav-h) + 8px); right: var(--pad); }
  .hs__ctrl [data-hs-prev], .hs__ctrl [data-hs-next] { display: none; }
  .hs__ctrl button { height: 38px; min-width: 38px; padding: 0 12px; }
  .hs__top { right: calc(var(--pad) + 170px); }
  .slide__song { font-size: clamp(54px, 17vw, 110px); }
  .slide__ctas .btn { height: 44px; padding: 0 18px; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(2n) { padding-left: 0; border-left: 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .card__tc { display: none; }
  .yt { width: 100%; margin: 0; border-radius: 0; }
}

/* --------------------------------------------------------------------------
   Passcode gate (html.gated is set in <head> before first paint)
   -------------------------------------------------------------------------- */
.gate { display: none; }
html.gated, html.gated body { overflow: hidden; }
html.gated .loader { display: none !important; }
.cursor { z-index: 400; }
.gated .gate, .gate.is-open {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 24px var(--pad);
  background: #050505; color: var(--fg); isolation: isolate; overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.gate.is-open { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s var(--ease-in-out); pointer-events: none; }
.gate__bg {
  position: absolute; inset: -12%; z-index: -2;
  background: url("../img/chrome-03.webp") center / cover no-repeat;
  opacity: 0.13; filter: blur(26px) contrast(1.2);
  animation: drift 28s ease-in-out infinite alternate;
}
.gate::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, transparent 0%, rgba(5, 5, 5, 0.55) 65%, #050505 100%);
}
.gate .hud { position: absolute; inset: 24px var(--pad); pointer-events: none; }
.gate__top, .gate__foot {
  position: absolute; left: calc(var(--pad) + 34px); right: calc(var(--pad) + 34px);
  display: flex; justify-content: space-between; gap: 16px; color: var(--fg-3);
}
.gate__top { top: 42px; }
.gate__top .rec { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); }
.gate__foot { bottom: 42px; justify-content: center; }
.gate__foot a { color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.gate__foot a:hover { color: var(--fg); }

.gate__box {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(14px, 2.4vh, 22px);
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}
.gate.is-granted .gate__box { transform: scale(0.96); }
.gate.is-open .gate__box { opacity: 0; transform: scale(0.92) translateY(-20px); }
.gate__logo { width: clamp(96px, 12vw, 140px); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)); }
.gate__kicker { color: var(--fg-2); }
.gate__title { font-size: clamp(52px, 8vw, 116px); line-height: 0.84; }

.gate__field { position: relative; display: block; margin-top: 6px; cursor: text; }
.gate__cells { display: flex; gap: clamp(8px, 1.2vw, 14px); }
.gate__cell {
  position: relative; display: grid; place-items: center;
  width: clamp(58px, 7vw, 82px); aspect-ratio: 3 / 4;
  border: 1px solid var(--line-2); border-radius: 4px; background: rgba(255, 255, 255, 0.025);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: 1;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.gate__cell.is-filled { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.05); }
.gate__cell.is-current { border-color: var(--fg); }
.gate__cell.is-current::after {
  content: ""; position: absolute; left: 50%; top: 26%; bottom: 26%; width: 2px; margin-left: -1px;
  background: var(--fg); animation: rec 1.1s steps(1) infinite;
}
.gate__input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; outline: none; background: transparent; color: transparent; caret-color: transparent;
  font-size: 16px; letter-spacing: 3em; text-indent: -999px; cursor: text;
  -webkit-appearance: none; appearance: none;
}
.gate__input::selection { background: transparent; }
.gate__field:focus-within .gate__cells { outline: 1px solid rgba(255, 255, 255, 0.18); outline-offset: 8px; border-radius: 6px; }
.gate.is-wrong .gate__cells { animation: gateShake 0.45s var(--ease); }
.gate.is-wrong .gate__cell { border-color: var(--rec); }
.gate.is-granted .gate__cell { background: var(--fg); color: var(--ink); border-color: var(--fg); }
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(9px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}
.gate__btn { margin-top: 4px; }
.gate__status { min-height: 1.4em; color: var(--fg-2); }
.gate__status.is-error { color: var(--rec); }

@media (max-width: 760px) {
  .gate .hud { inset: 14px; }
  .gate__top { top: 30px; left: 30px; right: 30px; }
  .gate__top span:last-child { display: none; }
  .gate__foot { bottom: 30px; left: 20px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gate.is-open { transition: none; display: none; }
}

/* --------------------------------------------------------------------------
   K6 Vault — 3D set tour
   -------------------------------------------------------------------------- */
.vault { position: relative; margin: 0 var(--pad); background: #050505; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.vault__stage { position: relative; height: min(78vh, 860px); min-height: 460px; background: #060505; overflow: hidden; }
.vault__canvas, .vault__labels { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.vault__canvas { display: block; touch-action: none; cursor: grab; outline: none; }
.vault__canvas:active { cursor: grabbing; }
.vault__labels { pointer-events: none; }
.vault__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s var(--ease); }
.vault.is-live .vault__poster { opacity: 0; pointer-events: none; }
.vault__fallback { display: none; position: absolute; left: 20px; bottom: 20px; z-index: 3; padding: 10px 14px; background: rgba(5, 5, 5, 0.75); color: var(--fg-2); border-radius: 3px; }
.vault.is-fallback .vault__fallback { display: block; }
.vault.is-fallback .vault__caption, .vault.is-fallback .vault__console { display: none; }

.vault__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: var(--fg-2); }
.vault__hud .hud__corner { position: absolute; }
.vault__hud .hud__corner--tl { top: 16px; left: 16px; } .vault__hud .hud__corner--tr { top: 16px; right: 16px; }
.vault__hud .hud__corner--bl { bottom: 16px; left: 16px; } .vault__hud .hud__corner--br { bottom: 16px; right: 16px; }
.vault__tag { position: absolute; top: 28px; left: 46px; color: var(--fg); }
.vault__rev { position: absolute; top: 46px; left: 46px; color: #7fd3c9; }
.vault__rec { position: absolute; top: 28px; right: 46px; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }

.vault__loading { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 22px; background: rgba(5, 5, 5, 0.72); border-radius: 3px; color: var(--fg-2); }
.vault__bar { display: block; width: 180px; height: 2px; background: var(--line-2); overflow: hidden; }
.vault__bar i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); transition: transform 0.3s; }

.vault__caption {
  position: absolute; left: 46px; bottom: 40px; z-index: 2; max-width: min(520px, 70%);
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.vault__caption .mono { color: var(--fg-2); }
.vault__caption strong { font-size: clamp(36px, 4.2vw, 64px); line-height: 0.88; font-weight: 800; }
.vault__caption span:last-child { color: var(--fg-2); font-size: 15px; }
.vault__fs {
  position: absolute; right: 30px; bottom: 30px; z-index: 3; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 5, 5, 0.5); color: var(--fg);
  transition: background-color 0.3s, color 0.3s;
}
.vault__fs:hover { background: var(--fg); color: var(--ink); }

.vault__console {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: start;
  padding: 16px 18px 14px; border-top: 1px solid var(--line); background: #0a0909;
}
.vault__shots, .vault__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vault__opts { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.vault__group > .mono { color: var(--fg-3); margin-right: 6px; min-width: 40px; }
.vault__console button {
  height: 36px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.vault__console button .mono { font-size: 10px; color: var(--fg-3); }
.vault__console button:hover { color: var(--fg); border-color: var(--fg-2); }
.vault__console button[aria-current="true"], .vault__console button[aria-pressed="true"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.vault__console button[aria-current="true"] .mono, .vault__console button[aria-pressed="true"] .mono { color: #555; }
.vault__play { background: rgba(255, 59, 48, 0.12); border-color: rgba(255, 59, 48, 0.55) !important; color: var(--fg) !important; }
.vault__play[aria-pressed="true"] { background: var(--rec) !important; color: #fff !important; }
.vault__hint { grid-column: 1 / -1; color: var(--fg-3); }

.vault-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: #c9f3ee; background: rgba(4, 18, 17, 0.78); border: 1px solid rgba(47, 181, 168, 0.65);
  padding: 4px 8px; border-radius: 3px;
}
.vault-label.is-panel { color: #9fe2d9; background: rgba(4, 18, 17, 0.6); }
.vault-label.is-note { color: #7fd3c9; border-style: dashed; }

.vault:fullscreen { margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; }
.vault:fullscreen .vault__stage { flex: 1; height: auto; }

.spec-note { margin-top: 28px; padding: 20px 22px; border: 1px solid rgba(47, 181, 168, 0.4); border-radius: 3px; background: rgba(47, 181, 168, 0.05); color: var(--fg-2); font-size: 15px; }
.spec-note strong { color: #7fd3c9; font-weight: 500; }

.vault-teaser__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #060505; }
.vault-teaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.6s; filter: brightness(0.9); }
.vault-teaser__media:hover img { transform: scale(1.03); filter: brightness(1); }
.vault-teaser__btn { position: absolute; left: 24px; bottom: 22px; }
.vault-teaser__tag { position: absolute; left: 24px; top: 20px; color: var(--fg-2); }
.vault-teaser__text { margin-top: 22px; max-width: 62ch; color: var(--fg-2); font-size: 17px; }

@media (max-width: 900px) {
  .vault__console { grid-template-columns: 1fr; }
  .vault__opts { align-items: flex-start; }
}
@media (max-width: 760px) {
  .vault { margin: 0; border-left: 0; border-right: 0; border-radius: 0; }
  .vault__stage { height: 70svh; min-height: 420px; }
  .vault__tag, .vault__rev { left: 30px; }
  .vault__rec { display: none; }
  .vault__caption { left: 24px; bottom: 74px; max-width: calc(100% - 48px); }
  .vault__caption span:last-child { font-size: 13px; }
  .vault__fs { right: 18px; bottom: 18px; }
  .vault__shots { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
  .vault__shots::-webkit-scrollbar { display: none; }
  .vault__console button { flex: none; }
}
