/* ==========================================================================
   Dracortia — audio systems
   Ink + white-gold, Endfield-style instrumentation, cinematic motion.
   --------------------------------------------------------------------------
   0. Fonts / tokens          6. Hero            12. Voices
   1. Reset / base            7. Ticker          13. Contact
   2. Ambient layers          8. Section frame   14. Footer
   3. Header / nav            9. Work            15. Audio deck
   4. Buttons / rail         10. Modals          16. Motion / reveal
   5. Cursor                 11. Studio          17. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts & tokens
   -------------------------------------------------------------------------- */
@font-face { font-family:"Poppins"; src:url("../fonts/poppins/poppins-light-webfont.woff2") format("woff2"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../fonts/poppins/poppins-regular-webfont.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../fonts/poppins/poppins-medium-webfont.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../fonts/poppins/poppins-semibold-webfont.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../fonts/poppins/poppins-bold-webfont.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --ink:           #04060A;
  --ink-2:         #070A0F;
  --ink-3:         #0A0E14;
  --panel:         #0B1017;
  --panel-2:       #10161F;

  --fg:            #EEF2F7;
  --fg-2:          #A9B5C2;
  --fg-3:          #76838F;

  --steel:         #D6DEE7;
  --steel-dim:     #8E9BA8;

  --accent:        #F2CC78;
  --accent-bright: #FFE6B4;
  --accent-dim:    #B8934A;
  --gold:          #FFEFD2;
  --accent-glow:   rgba(242, 204, 120, 0.14);
  --ice:           rgba(188, 228, 236, 0.9);

  --line:          rgba(255, 255, 255, 0.085);
  --line-mid:      rgba(255, 255, 255, 0.14);
  --line-strong:   rgba(255, 255, 255, 0.24);

  --f-sans: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1320px;
}

/* --------------------------------------------------------------------------
   1. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg-2);
  font-family: var(--f-sans);
  font-size: 1.6rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }
img, video { display: block; max-width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; color: var(--fg); }
em, i { font-style: normal; }

::selection { background: var(--accent); color: #1A1206; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(2rem, 5vw, 6.4rem);
}

.section { position: relative; padding: clamp(8rem, 11vw, 14rem) 0; }
section { scroll-margin-top: 8.5rem; }

.skip-link {
  position: fixed;
  top: 1.6rem; left: 1.6rem;
  z-index: 1200;
  padding: 1rem 1.6rem;
  border: 1px solid var(--accent-dim);
  border-radius: 0.6rem;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 1.2rem;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.noscript-note {
  position: fixed;
  left: 50%; bottom: 2rem;
  z-index: 1200;
  width: min(48rem, calc(100% - 3rem));
  transform: translateX(-50%);
  padding: 1.4rem 1.8rem;
  border: 1px solid var(--line-mid);
  border-radius: 0.8rem;
  background: var(--panel);
  color: var(--fg-2);
  font-family: var(--f-mono);
  font-size: 1.1rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   2. Ambient layers
   -------------------------------------------------------------------------- */
/* boot sequence ---------------------------------------------------------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(242, 204, 120, 0.06), transparent 70%),
    var(--ink);
  animation: bootOut 0.65s 2.35s var(--ease) forwards;
}
html.booted .boot { display: none; }
.boot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.boot-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  width: min(42rem, 78vw);
}
.boot-logo { width: clamp(170px, 22vw, 270px); height: auto; opacity: 0.95; }
.boot-read { display: flex; flex-direction: column; gap: 0.55rem; width: 100%; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.boot-read b { color: var(--accent); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.2em; }
.boot-bar { width: 100%; height: 1px; background: var(--line); overflow: hidden; }
.boot-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent-dim), var(--accent-bright)); animation: bootBar 1.9s var(--ease) forwards; }
.boot-skip { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-3); }
@keyframes bootBar { to { width: 100%; } }
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 900;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation: grainShift 6s steps(6) infinite;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fx-grid {
  position: absolute;
  inset: -8%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 7.2rem 7.2rem;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(38rem circle at var(--mx, 50vw) var(--my, 38vh), #000 0%, rgba(0,0,0,.55) 48%, transparent 76%);
  mask-image: radial-gradient(38rem circle at var(--mx, 50vw) var(--my, 38vh), #000 0%, rgba(0,0,0,.55) 48%, transparent 76%);
  translate: calc(var(--nx, 0) * -14px) calc(var(--ny, 0) * -10px);
}

.fx-spot {
  position: absolute;
  top: 0; left: 0;
  width: 92rem; height: 92rem;
  margin: -46rem 0 0 -46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 204, 120, 0.11) 0%, rgba(242, 204, 120, 0.035) 36%, transparent 68%);
  transform: translate3d(var(--mx, 50vw), var(--my, 38vh), 0);
  will-change: transform;
}

.fx-glow {
  position: absolute;
  top: -30rem; left: 50%;
  width: min(140rem, 130vw); height: 80rem;
  margin-left: min(-70rem, -65vw);
  background: radial-gradient(ellipse at center, rgba(184, 147, 74, 0.10), transparent 65%);
}

.fx-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
  opacity: 0.55;
}

.fx-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 48%, rgba(2, 3, 6, 0.55) 100%),
    linear-gradient(to bottom, rgba(4, 6, 10, 0.4), transparent 18%, transparent 82%, rgba(4, 6, 10, 0.5));
}

.hud-frame {
  position: fixed;
  inset: 0;
  z-index: 650;
  pointer-events: none;
}
.hc {
  position: absolute;
  width: 2.4rem; height: 2.4rem;
  border: 0 solid rgba(255, 255, 255, 0.24);
}
.hc-tl { top: 2rem; left: 2rem; border-top-width: 1px; border-left-width: 1px; }
.hc-tr { top: 2rem; right: 2rem; border-top-width: 1px; border-right-width: 1px; }
.hc-bl { bottom: 2rem; left: 2rem; border-bottom-width: 1px; border-left-width: 1px; }
.hc-br { bottom: 2rem; right: 2rem; border-bottom-width: 1px; border-right-width: 1px; }

.hud-rule {
  position: absolute;
  left: 6rem; right: 6rem;
  height: 1px;
  opacity: 0.5;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 7.2rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.hud-rule-t { top: 2rem; }
.hud-rule-b { bottom: 2rem; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 1050;
  width: 100%; height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-dim), var(--accent-bright));
  box-shadow: 0 0 1.6rem rgba(242, 204, 120, 0.5);
}
body.is-audio .scroll-progress { animation: liveTrace 2.4s var(--ease) infinite; }
@keyframes liveTrace {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; box-shadow: 0 0 2.4rem rgba(242, 204, 120, 0.85); }
}

/* --------------------------------------------------------------------------
   3. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2.2rem clamp(2rem, 5vw, 6.4rem);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
}
.site-header.is-stuck {
  padding-block: 1.2rem;
  background: rgba(4, 6, 10, 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand { display: flex; align-items: center; gap: 1.4rem; flex: none; }
.brand img { width: clamp(88px, 8vw, 112px); height: auto; }
.brand-sig {
  position: relative;
  padding-left: 2.2rem;
  border-left: 1px solid var(--line-mid);
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  color: var(--fg-3);
}
.brand-sig::before {
  content: "";
  position: absolute;
  left: 0.8rem; top: 50%;
  width: 4px; height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.8rem var(--accent);
  opacity: 0;
  transition: opacity .3s;
}
body.is-audio .brand-sig { color: var(--accent-dim); }
body.is-audio .brand-sig::before { opacity: 1; animation: signalDot 1.4s var(--ease) infinite; }
@keyframes signalDot { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.nav { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; }
.nav:focus, .nav:focus-visible { outline: none; }
.nav-meta { display: none; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--fg-2);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a i {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--fg-3);
  transition: color .25s;
}
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active i { color: var(--accent-dim); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 1.3rem; bottom: 0.35rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }

.sfx {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 4rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  transition: color .25s, border-color .25s, background .25s;
}
.sfx svg { width: 1.6rem; height: 1.6rem; }
.sfx .sfx-wave { opacity: 0; transition: opacity .25s; }
.sfx-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); transition: background .25s, box-shadow .25s; }
.sfx:hover { color: var(--fg); border-color: var(--line-mid); }
.sfx[aria-pressed="true"] { color: var(--accent); border-color: rgba(242, 204, 120, 0.4); background: var(--accent-glow); }
.sfx[aria-pressed="true"] .sfx-wave { opacity: 1; }
.sfx[aria-pressed="true"] .sfx-dot { background: var(--accent); box-shadow: 0 0 1rem var(--accent); }

.nav-toggle {
  display: none;
  position: relative;
  width: 4.4rem; height: 4.4rem;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 1.7rem; height: 1.5px;
  margin-left: -0.85rem;
  background: var(--fg);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 1.75rem; }
.nav-toggle span:nth-child(2) { top: 2.35rem; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 2.05rem; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 2.05rem; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. Buttons, rail
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  height: 5.2rem;
  padding: 0 2.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1A1206;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 0.5rem var(--accent-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line-mid);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--accent-dim); color: var(--accent); background: var(--accent-glow); }
.btn-sm { height: 4.3rem; padding: 0 1.8rem; font-size: 1.22rem; }
.btn-lg { height: 5.8rem; padding: 0 3rem; font-size: 1.48rem; }
.btn svg { width: 1.6rem; height: 1.6rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(0.4rem); }

.rail {
  position: fixed;
  left: 2.4rem; top: 50%;
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transform: translateY(-50%);
}
.rail-line {
  position: absolute;
  left: 0.55rem; top: -2.2rem; bottom: -2.2rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-mid), transparent);
}
.rail a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  color: var(--fg-3);
  opacity: 0.55;
  transition: opacity .25s, color .25s;
}
.rail a i {
  display: grid;
  place-items: center;
  width: 1.2rem; height: 1.2rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
  font-size: 0;
  transition: background .25s, border-color .25s;
}
.rail a span {
  opacity: 0;
  transform: translateX(-0.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity .25s, transform .25s;
}
.rail a:hover, .rail a.is-active { opacity: 1; color: var(--accent); }
.rail a:hover span, .rail a.is-active span { opacity: 1; transform: none; }
.rail a.is-active i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 1rem var(--accent-glow); }

/* --------------------------------------------------------------------------
   5. Cursor
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor-dot {
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--accent);
  box-shadow: 0 0 1.2rem rgba(242, 204, 120, 0.8);
}
.cursor-ring {
  width: 3.4rem; height: 3.4rem;
  margin: -1.7rem 0 0 -1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .3s, border-radius .3s;
}
.cursor-cross {
  position: absolute;
  top: 0; left: 0;
  width: 3.4rem; height: 3.4rem;
  margin: -1.7rem 0 0 -1.7rem;
  opacity: 0;
  background:
    linear-gradient(var(--accent), var(--accent)) 50% 0 / 1px 0.7rem no-repeat,
    linear-gradient(var(--accent), var(--accent)) 50% 100% / 1px 0.7rem no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 50% / 0.7rem 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 50% / 0.7rem 1px no-repeat;
  transition: opacity .3s;
}
.cursor.is-hover .cursor-ring { width: 5.4rem; height: 5.4rem; margin: -2.7rem 0 0 -2.7rem; border-color: rgba(242, 204, 120, 0.75); }
.cursor.has-label .cursor-ring { border-color: transparent; border-radius: 0.2rem; box-shadow: inset 0 0 0 1px rgba(242,204,120,.4); }
.cursor.has-label .cursor-cross { opacity: 1; }
.cursor-label {
  position: absolute;
  top: 2.6rem; left: 2.6rem;
  padding: 0.25rem 0.55rem;
  background: var(--accent);
  color: #1A1206;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(0.3rem);
  transition: opacity .25s, transform .25s;
}
.cursor.has-label .cursor-label { opacity: 1; transform: none; }

body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor [role="button"] { cursor: none; }
body.has-cursor input,
body.has-cursor textarea { cursor: text; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 8rem;
  overflow: clip;
  isolation: isolate;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%; height: 100%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 8rem 8rem;
  -webkit-mask-image: radial-gradient(95% 80% at 50% 46%, #000 25%, transparent 82%);
  mask-image: radial-gradient(95% 80% at 50% 46%, #000 25%, transparent 82%);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(105% 80% at 22% 62%, rgba(4, 6, 10, 0.94) 0%, rgba(4, 6, 10, 0.55) 46%, transparent 76%),
    linear-gradient(to top, var(--ink) 2%, rgba(4, 6, 10, 0.42) 30%, transparent 62%);
}

.hero-hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  font-family: var(--f-mono);
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.44);
}
.hud-block { position: absolute; display: grid; gap: 0.5rem; line-height: 1.5; }
.hud-block b { color: var(--accent); font-weight: 500; }
.hud-tl { top: 11rem; left: clamp(2rem, 5vw, 6.4rem); }
.hud-tr { top: 11rem; right: clamp(2rem, 5vw, 6.4rem); text-align: right; }
.hud-side {
  position: absolute;
  top: 44%; right: 2.4rem;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.26);
  letter-spacing: 0.42em;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 3rem;
  flex: 1;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.hero-copy { position: relative; z-index: 3; max-width: 80rem; min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  margin-bottom: 2.8rem;
  padding: 0.8rem 1.6rem 0.8rem 1.3rem;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  background: rgba(6, 9, 13, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--f-mono);
  font-size: 1.02rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.pulse {
  position: relative;
  width: 0.7rem; height: 0.7rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.hero-eyebrow .eb-sep { color: var(--accent-dim); }
.pulse::after {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}

.hero-title {
  position: relative;
  font-size: clamp(4.6rem, 8.4vw, 10.6rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: #F7F9FC;
  translate: calc(var(--nx, 0) * -5px) calc(var(--ny, 0) * -4px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.09em; }
.hero-title .line > span { display: block; transform: translateY(112%); }
.js .hero-title .line > span { animation: lineUp 1.15s var(--ease-out) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .dot { color: var(--accent); margin-left: 0.02em; }
@keyframes lineUp { to { transform: none; } }

.hero-sub {
  max-width: 62rem;
  margin-top: 2.8rem;
  font-size: clamp(1.52rem, 1.5vw, 1.8rem);
  line-height: 1.78;
  color: var(--fg-2);
}
.hero-sub strong { color: var(--fg); font-weight: 500; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 3.4rem; }

.hero-note {
  margin-top: 3rem;
  font-family: var(--f-mono);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-note span { color: var(--accent-dim); margin-right: 0.6rem; }

/* audio core -------------------------------------------------------------- */
.core {
  position: relative;
  justify-self: end;
  width: min(42vw, 54rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: perspective(1100px) rotateX(var(--cry, 0deg)) rotateY(var(--crx, 0deg));
  transition: transform .6s var(--ease);
}
.core-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 204, 120, 0.18), rgba(242, 204, 120, 0.04) 46%, transparent 70%);
  filter: blur(30px);
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.core-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.core-spectrum { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.core-spin { transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite; }
.core-words-spin { transform-box: fill-box; transform-origin: center; animation: spin 150s linear infinite reverse; }
.c-dash { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.c-dash-a { stroke-dasharray: 1 8; }
.c-dash-b { stroke-dasharray: 1 14; opacity: .7; }
.c-ring { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.c-ring-dash { stroke: rgba(242, 204, 120, 0.22); stroke-dasharray: 2 12; }
.c-arc-strong { fill: none; stroke: url(#coreArcGrad); stroke-width: 2; stroke-linecap: round; }
.c-arc-soft { fill: none; stroke: rgba(242, 204, 120, 0.28); stroke-width: 1; }
.core-words {
  fill: rgba(255, 255, 255, 0.42);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.34em;
}

.core-emblem {
  position: absolute;
  z-index: 1;
  width: 46%;
  aspect-ratio: 1;
  background: linear-gradient(155deg, #FFE6B4, #B8934A);
  -webkit-mask: url("../images/LOGO.png") center / contain no-repeat;
  mask: url("../images/LOGO.png") center / contain no-repeat;
  opacity: 0.12;
  animation: emblemBreathe 7s var(--ease) infinite alternate;
}
@keyframes emblemBreathe { from { opacity: .08; transform: scale(.98); } to { opacity: .16; transform: scale(1.02); } }

.core-center {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  text-shadow: 0 0 3rem rgba(4, 6, 10, 0.9);
}
.core-k {
  font-family: var(--f-mono);
  font-size: 0.92rem;
  letter-spacing: 0.38em;
  color: var(--accent);
  padding-left: 0.38em;
}
.core-num {
  font-family: var(--f-mono);
  font-size: clamp(3.6rem, 4.6vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--fg);
}
.core-u {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--fg-3);
}
.core-level {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 2.8rem;
  margin-top: 1.2rem;
}
.core-level i {
  width: 3px;
  height: 20%;
  background: linear-gradient(to top, rgba(242, 204, 120, 0.25), var(--accent-bright));
  animation: level 1.5s var(--ease) infinite alternate;
}
.core-level i:nth-child(2n) { animation-duration: 1.1s; }
.core-level i:nth-child(3n) { animation-duration: 1.9s; }
.core-level i:nth-child(4n) { animation-duration: 0.9s; }
.core-level i:nth-child(1) { animation-delay: -.2s; }
.core-level i:nth-child(3) { animation-delay: -.5s; }
.core-level i:nth-child(5) { animation-delay: -.8s; }
.core-level i:nth-child(7) { animation-delay: -.35s; }
.core-level i:nth-child(9) { animation-delay: -.65s; }
@keyframes level { from { height: 12%; opacity: .45; } to { height: 100%; opacity: 1; } }

.core-tag {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.36);
}
.core-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 4rem; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}
.core-tag-in { left: -1.6rem; top: 40%; }
.core-tag-in::before { left: 100%; margin-left: 0.8rem; }
.core-tag-out { right: -1.2rem; bottom: 33%; }
.core-tag-out::before { right: 100%; margin-right: 0.8rem; transform: scaleX(-1); }

.core-orbit { position: absolute; inset: 4%; border-radius: 50%; animation: spin 26s linear infinite; }
.core-orbit i {
  position: absolute;
  top: 0; left: 50%;
  width: 7px; height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 1.4rem var(--accent);
}
@keyframes spin { to { rotate: 360deg; } }

/* the whole console wakes up while the reel is playing */
body.is-audio .core-spin { animation-duration: 24s; }
body.is-audio .core-orbit { animation-duration: 7s; }
body.is-audio .core-glow { transform: scale(1.08); opacity: 1; }
body.is-audio .voice-wave { opacity: 0.26; }
body.is-audio .deck-face-ring { animation-duration: 1.6s; }

/* console ---------------------------------------------------------------- */
.hero-console {
  position: relative;
  z-index: 4;
  margin-top: auto;
  padding: 2rem 0 8.2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(to top, rgba(4, 6, 10, 0.9), rgba(4, 6, 10, 0.12));
}
.console-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.hero-stats { display: flex; gap: clamp(2rem, 4vw, 5rem); flex-wrap: wrap; }
.hero-stat b {
  display: block;
  font-family: var(--f-mono);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--fg);
}
.hero-stat span {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.hero-meter { display: flex; align-items: flex-end; gap: 1rem; }
.meter-k, .meter-db {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  padding-bottom: 0.2rem;
}
.meter-bars { display: flex; align-items: flex-end; gap: 3px; height: 2.6rem; }
.meter-bars i {
  width: 4px;
  height: 40%;
  background: linear-gradient(to top, rgba(242, 204, 120, 0.18), var(--accent));
  transform-origin: bottom;
  animation: meter 1.8s var(--ease) infinite alternate;
}
.meter-bars i:nth-child(1) { height: 30%; animation-delay: -.2s; }
.meter-bars i:nth-child(2) { height: 62%; animation-delay: -.5s; }
.meter-bars i:nth-child(3) { height: 44%; animation-delay: -.8s; }
.meter-bars i:nth-child(4) { height: 78%; animation-delay: -.3s; }
.meter-bars i:nth-child(5) { height: 52%; animation-delay: -.6s; }
.meter-bars i:nth-child(6) { height: 88%; animation-delay: -.9s; }
.meter-bars i:nth-child(7) { height: 64%; animation-delay: -.4s; }
.meter-bars i:nth-child(8) { height: 36%; animation-delay: -.7s; }
.meter-bars i:nth-child(9) { height: 72%; animation-delay: -1s; }
.meter-bars i:nth-child(10) { height: 46%; animation-delay: -.25s; }
.meter-bars i:nth-child(11) { height: 58%; animation-delay: -.55s; }
.meter-bars i:nth-child(12) { height: 32%; animation-delay: -.85s; }
@keyframes meter { from { transform: scaleY(.35); opacity: .5; } to { transform: scaleY(1); opacity: 1; } }

.hero-console-right { display: flex; align-items: center; gap: 2.6rem; }
.audition {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(242, 204, 120, 0.35);
  font-family: var(--f-mono);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color .25s, border-color .25s;
}
.audition:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.audition-ico { display: flex; align-items: flex-end; gap: 2px; height: 1.2rem; }
.audition-ico i { width: 2px; height: 40%; background: currentColor; animation: eq 1s var(--ease) infinite alternate; }
.audition-ico i:nth-child(2) { height: 90%; animation-delay: -.3s; }
.audition-ico i:nth-child(3) { height: 60%; animation-delay: -.6s; }
.audition-ico i:nth-child(4) { height: 80%; animation-delay: -.15s; }
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--fg-3);
}
.scroll-cue i {
  position: relative;
  display: block;
  width: 5rem; height: 1px;
  background: var(--line-mid);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* --------------------------------------------------------------------------
   7. Ticker
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 1.7rem 0;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
}
.ticker-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-group span {
  padding: 0 2.2rem;
  font-family: var(--f-mono);
  font-size: 1.02rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}
.ticker-group i { font-style: normal; font-size: 0.75rem; color: var(--accent-dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   8. Section frame
   -------------------------------------------------------------------------- */
.sec-head { max-width: 82rem; margin-bottom: clamp(4rem, 6vw, 6.6rem); }
.sec-kicker {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  font-family: var(--f-mono);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}
.sec-kicker .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  height: 2.2rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line-mid);
  border-radius: 0.5rem;
  color: var(--accent);
  letter-spacing: 0;
}
.sec-title { font-size: clamp(3.2rem, 5.2vw, 6.2rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
.sec-lede { max-width: 62rem; margin-top: 2rem; font-size: 1.62rem; line-height: 1.8; color: var(--fg-2); }

.ghost-num {
  position: absolute;
  top: 1rem; left: -1rem;
  z-index: 0;
  font-family: var(--f-mono);
  font-size: clamp(16rem, 30vw, 36rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
  user-select: none;
}

.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.12);
  translate: calc(var(--nx, 0) * -16px) calc(var(--ny, 0) * -11px);
  animation: spin 190s linear infinite;
}
@keyframes spinDeco { to { rotate: 360deg; } }

.deco-work { top: -4rem; right: -14rem; width: min(62rem, 58vw); opacity: .55; animation: spinDeco 190s linear infinite; }
.deco-studio { right: -10rem; bottom: 8rem; width: min(34rem, 30vw); opacity: .5; animation: spinDeco 140s linear infinite reverse; }
.deco-voices { top: 8rem; right: -12rem; width: min(56rem, 50vw); opacity: .45; animation: spinDeco 210s linear infinite; }
.deco-contact { left: -16rem; bottom: -10rem; width: min(58rem, 52vw); opacity: .4; animation: spinDeco 180s linear infinite reverse; }

/* --------------------------------------------------------------------------
   9. Work
   -------------------------------------------------------------------------- */
.work { position: relative; overflow-x: clip; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.4rem, 2vw, 2.2rem);
}
.card-a { grid-column: span 7; }
.card-b { grid-column: span 5; }
.card-c { grid-column: span 12; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(165deg, #0C1219 0%, #090D13 62%, #070A0F 100%);
  cursor: pointer;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .5s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { --lift: -6px; border-color: rgba(242, 204, 120, 0.34); box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.55); }
.card.is-tilting { transition: transform .12s linear, border-color .45s var(--ease), box-shadow .45s var(--ease); }

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05070A;
}
.card-medium { aspect-ratio: 16 / 9; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.45) saturate(0.8) contrast(1.06) brightness(0.72);
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.045); filter: grayscale(0) saturate(1.02) contrast(1) brightness(0.98); }
.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0F15 1%, rgba(10, 15, 21, 0.35) 44%, transparent 78%);
  pointer-events: none;
}
.card-scan {
  position: absolute;
  left: 0; right: 0; top: -40%;
  height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(242, 204, 120, 0.16), transparent);
  opacity: 0;
  pointer-events: none;
}
.card:hover .card-scan { opacity: 1; animation: scanSweep 1.3s var(--ease) forwards; }
@keyframes scanSweep { from { top: -40%; } to { top: 118%; } }

.card-idx {
  position: absolute;
  top: 1.3rem; left: 1.4rem;
  z-index: 3;
  padding: 0.32rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.3rem;
  background: rgba(4, 6, 10, 0.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.72);
}

.play {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 4.2rem; height: 4.2rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(4, 6, 10, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.play svg { width: 1.5rem; height: 1.5rem; margin-left: 0.2rem; }
.card:hover .play { background: var(--accent); border-color: var(--accent); color: #1A1206; transform: scale(1.08); }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
  padding: 2.4rem 2.8rem 2.6rem;
}
.card-meta {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.card-title { font-size: clamp(2.2rem, 2.4vw, 2.9rem); font-weight: 500; letter-spacing: -0.025em; }
.card-sub { font-size: 1.38rem; line-height: 1.65; color: var(--fg-3); }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.card-tags span {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.card-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 2rem;
  margin-top: 0.9rem;
  opacity: 0.5;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card-wave i {
  flex: 1;
  max-width: 5px;
  height: var(--h, 30%);
  background: linear-gradient(to top, rgba(242, 204, 120, 0.18), var(--accent));
}
.card:hover .card-wave { opacity: 0.9; }
.card:hover .card-wave i { animation: cardWave 1.15s var(--ease) infinite alternate; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes cardWave { from { transform: scaleY(.4); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1.4rem;
  font-family: var(--f-mono);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-more svg { width: 1.4rem; height: 1.4rem; transition: transform .35s var(--ease); }
.card:hover .card-more svg { transform: translateX(0.5rem); }

.card-corners {
  position: absolute;
  inset: 0.9rem;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
  --c: rgba(242, 204, 120, 0.55);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 1.3rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px 1.3rem no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1.3rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 1px 1.3rem no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 1.3rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 1px 1.3rem no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1.3rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px 1.3rem no-repeat;
}
.card:hover .card-corners { opacity: 1; }

/* wide DLA card: both cuts in one entry */
.card-media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); aspect-ratio: 21 / 8; }
.card-media-split .shot { position: relative; margin: 0; overflow: hidden; }
.card-media-split .shot img { width: 100%; height: 100%; object-fit: cover; }
.card-media-split figcaption {
  position: absolute;
  left: 1.4rem; bottom: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.card-media-split figcaption span { color: var(--accent); }
.card-body-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.4rem; align-items: end; }
.card-side { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.card-side .card-more { margin-top: 0; padding-top: 0.4rem; }

/* --------------------------------------------------------------------------
   10. Modals
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 3.2rem 2.2rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 6, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }

.modal-panel {
  position: relative;
  width: min(104rem, 100%);
  max-height: 90svh;
  overflow: auto;
  border: 1px solid var(--line-mid);
  border-radius: 1.2rem;
  background: var(--ink-2);
  box-shadow: 0 4rem 12rem rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(2rem) scale(0.985);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  overscroll-behavior: contain;
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-panel-wide { width: min(112rem, 100%); }

.modal-head { padding: 2.8rem 3.2rem 0; }
.modal-kicker {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.modal-title { margin-top: 1rem; font-size: clamp(2.8rem, 3.6vw, 4.2rem); letter-spacing: -0.03em; }
.modal-sub { margin-top: 0.8rem; color: var(--fg-3); font-family: var(--f-mono); font-size: 1.02rem; letter-spacing: 0.08em; }

.modal-player { margin-top: 2.2rem; position: relative; }
.modal-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.modal-frame { position: relative; }
.modal-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

.frame-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #05070A center / cover no-repeat;
  opacity: 1;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.frame-cover::before {
  content: "FEED / LOADING";
  position: absolute;
  left: 1.4rem; bottom: 1.2rem;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.frame-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(4, 6, 10, 0.12), rgba(4, 6, 10, 0.72)),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
}
.modal-player.is-loaded .frame-cover,
.modal-frame.is-loaded .frame-cover { opacity: 0; }

.modal-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2.4rem, 3vw, 3.4rem);
  align-items: start;
  padding: 2.2rem 3.2rem 3.2rem;
}
.modal-stage .modal-player { margin-top: 0; }
.modal-stage .tabs { padding: 0; }
.modal-stage .modal-body { padding: 0; display: block; }
.modal-stage .client-note { margin-top: 2.4rem; }
.modal-stage .dossier { gap: 1.8rem 2.4rem; }

.tabs { display: flex; gap: 0.4rem; padding: 0 3.2rem; border-bottom: 1px solid var(--line); }
.tab {
  position: relative;
  padding: 1.1rem 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  transition: color .25s;
}
.tab::after {
  content: "";
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.tab:hover { color: var(--fg-2); }
.tab.is-active { color: var(--accent); }
.tab.is-active::after { transform: none; }

.modal-body {
  display: flex;
  justify-content: space-between;
  gap: 3.4rem;
  padding: 2.6rem 3.2rem 3.2rem;
}
.modal-body-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }

.dossier { display: flex; flex-wrap: wrap; gap: 2.4rem 4rem; margin: 0; }
.dossier div { min-width: 12rem; }
.dossier dt {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 0.5rem;
}
.dossier dd { margin: 0; font-size: 1.35rem; color: var(--fg); }

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(242, 204, 120, 0.35);
  padding-bottom: 0.3rem;
}
.modal-link:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

.client-note {
  margin: 0;
  padding-left: 1.8rem;
  border-left: 1px solid rgba(242, 204, 120, 0.4);
}
.client-note blockquote {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.7;
  color: var(--fg-2);
}
.client-note blockquote b { color: var(--fg); font-weight: 500; }
.client-note figcaption { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.client-note img { width: 3.6rem; height: 3.6rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-mid); }
.client-note figcaption strong { display: block; font-size: 1.2rem; font-weight: 500; color: var(--fg); }
.client-note figcaption span span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.modal-close {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 4.2rem; height: 4.2rem;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  background: rgba(4, 6, 10, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s;
}
.modal-close:hover { background: rgba(242, 204, 120, 0.16); border-color: var(--accent-dim); }
.modal-close span {
  position: absolute;
  left: 50%; top: 50%;
  width: 1.5rem; height: 1.5px;
  margin-left: -0.75rem;
  background: var(--fg);
}
.modal-close span:nth-child(1) { transform: rotate(45deg); }
.modal-close span:nth-child(2) { transform: rotate(-45deg); }

.player-fallback { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.player-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(4, 6, 10, 0.05), rgba(4, 6, 10, 0.8));
}
.pf-play {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  width: 8rem; height: 8rem;
  margin: -4rem 0 0 -4rem;
  border-radius: 50%;
  background: var(--accent);
}
.pf-play::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  margin: -1.4rem 0 0 -0.6rem;
  border-left: 2.2rem solid #1A1206;
  border-top: 1.4rem solid transparent;
  border-bottom: 1.4rem solid transparent;
}
.pf-note {
  position: absolute;
  left: 0; right: 0; bottom: 1.6rem;
  z-index: 2;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* --------------------------------------------------------------------------
   11. Studio
   -------------------------------------------------------------------------- */
.studio { position: relative; overflow-x: clip; }
.studio-emblem {
  position: absolute;
  left: -18rem; bottom: -8rem;
  z-index: 0;
  width: 58rem; height: 58rem;
  background: linear-gradient(150deg, rgba(255, 230, 180, 0.9), rgba(184, 147, 74, 0.4));
  -webkit-mask: url("../images/LOGO.png") center / contain no-repeat;
  mask: url("../images/LOGO.png") center / contain no-repeat;
  opacity: 0.055;
  animation: spin 400s linear infinite;
  pointer-events: none;
}

.studio-grid {
  display: grid;
  grid-template-columns: 36rem minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.portrait { position: sticky; top: 10rem; }
.portrait-orb { position: relative; aspect-ratio: 1; }
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 130deg, rgba(242, 204, 120, 0.9), rgba(242, 204, 120, 0.06) 26%, rgba(242, 204, 120, 0.02) 48%, rgba(242, 204, 120, 0.7) 74%, rgba(242, 204, 120, 0.95));
  -webkit-mask: radial-gradient(circle, transparent 0 67%, #000 68% 69.2%, transparent 70%);
  mask: radial-gradient(circle, transparent 0 67%, #000 68% 69.2%, transparent 70%);
  animation: spin 24s linear infinite;
}
.orb-ticks {
  position: absolute;
  inset: -1.4rem;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.32) 0 0.5deg, transparent 0.5deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 68%, #000 68.4% 69%, transparent 69.4%);
  mask: radial-gradient(circle, transparent 0 68%, #000 68.4% 69%, transparent 69.4%);
  opacity: 0.5;
  animation: spin 90s linear infinite reverse;
}
.portrait-frame {
  position: absolute;
  inset: 2.6rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: inset 0 0 6rem rgba(0, 0, 0, 0.6);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.03); }
.portrait-duotone {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(242, 204, 120, 0.22), transparent 42%, rgba(50, 110, 130, 0.18));
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.portrait-scan {
  position: absolute;
  left: -10%; right: -10%; top: 0;
  height: 26%;
  background: linear-gradient(to bottom, transparent, rgba(255, 230, 180, 0.16), transparent);
  animation: portraitScan 6.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes portraitScan {
  0% { transform: translateY(-120%); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: .8; }
  100% { transform: translateY(460%); opacity: 0; }
}
.orb-sat { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.orb-sat::before {
  content: "";
  position: absolute;
  top: -0.2rem; left: 50%;
  width: 0.9rem; height: 0.9rem;
  margin-left: -0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1.6rem var(--accent);
}
.orb-cross {
  position: absolute;
  inset: -3rem;
  opacity: 0.35;
  background:
    linear-gradient(var(--line-mid), var(--line-mid)) 50% 0 / 1px 1.6rem no-repeat,
    linear-gradient(var(--line-mid), var(--line-mid)) 50% 100% / 1px 1.6rem no-repeat,
    linear-gradient(var(--line-mid), var(--line-mid)) 0 50% / 1.6rem 1px no-repeat,
    linear-gradient(var(--line-mid), var(--line-mid)) 100% 50% / 1.6rem 1px no-repeat;
}

.portrait-id { margin-top: 3.2rem; text-align: center; }
.pid-k { font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.26em; color: var(--accent); }
.pid-n { margin-top: 0.8rem; font-size: 2rem; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.pid-r { margin-top: 0.4rem; font-family: var(--f-mono); font-size: 0.92rem; letter-spacing: 0.08em; color: var(--fg-3); }

.portrait-data {
  margin: 2.4rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
}
.portrait-data div { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: 0.85rem; }
.portrait-data dt { color: var(--fg-3); letter-spacing: 0.16em; text-transform: uppercase; }
.portrait-data dd { margin: 0; color: var(--fg-2); }
.portrait-data dd.is-open { color: var(--accent); }
.portrait-data dd.is-open::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 0.8rem var(--accent);
}

.prose p { margin-bottom: 1.8rem; font-size: 1.58rem; line-height: 1.9; color: var(--fg-2); }
.prose p.lead { margin-bottom: 2rem; font-size: 2.15rem; line-height: 1.5; color: var(--fg); letter-spacing: -0.02em; }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}
.service {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.38rem;
  color: var(--fg-2);
  overflow: hidden;
  transition: color .3s, padding-left .3s;
}
.service i { font-family: var(--f-mono); font-size: 0.9rem; color: var(--accent); }
.service b {
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .5s var(--ease);
}
.service:hover { color: var(--fg); padding-left: 0.5rem; }
.service:hover b { width: 100%; }

.chain { margin-top: clamp(6rem, 9vw, 10rem); padding-top: 3.6rem; border-top: 1px solid var(--line); }
.chain-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.chain-k { font-family: var(--f-mono); font-size: 0.9rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.chain-note { max-width: 52rem; font-size: 1.34rem; color: var(--fg-3); }

.chain-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 4.2rem;
}
.chain-nodes::before {
  content: "";
  position: absolute;
  left: 0; right: 25%; top: 0.62rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-mid) 8%, var(--line-mid) 92%, transparent);
}
.chain-node { position: relative; padding-top: 3.2rem; }
.chain-dot {
  position: absolute;
  top: 0.1rem; left: 0;
  width: 1.1rem; height: 1.1rem;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  background: var(--ink);
}
.chain-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  animation: nodePulse 3.2s var(--ease) infinite;
}
@keyframes nodePulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chain-idx { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.18em; color: var(--accent); }
.chain-node h3 { margin-top: 0.5rem; font-size: 1.9rem; font-weight: 500; }
.chain-node p { margin-top: 0.5rem; font-size: 1.24rem; line-height: 1.6; color: var(--fg-3); }
.chain-pulse {
  position: absolute;
  top: 0.35rem; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 1.4rem var(--accent);
  animation: chainTravel 7s linear infinite;
}
@keyframes chainTravel {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 75%; opacity: 0; }
}

/* signal lab ------------------------------------------------------------- */
.lab { margin-top: clamp(6rem, 9vw, 10rem); padding-top: 3.4rem; border-top: 1px solid var(--line); scroll-margin-top: 9rem; }
.lab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.lab-title { margin-top: 0.8rem; font-size: clamp(2.6rem, 4vw, 4.4rem); letter-spacing: -0.035em; line-height: 1; }
.lab-dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1rem var(--accent);
  animation: statusPulse 2.4s var(--ease) infinite;
}

.lab-body {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2.4rem, 4vw, 4.8rem);
  align-items: stretch;
  margin-top: 3.4rem;
}
.lab-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
.lab-pad {
  position: relative;
  aspect-ratio: 1;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.028), rgba(0, 0, 0, 0.22));
  text-align: left;
  overflow: hidden;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .12s var(--ease), box-shadow .3s var(--ease);
}
.lab-pad::before {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  transition: border-color .25s;
}
.lab-pad .pad-idx { position: relative; z-index: 1; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--fg-3); }
.lab-pad .pad-note { position: absolute; left: 0.7rem; bottom: 0.55rem; z-index: 1; font-family: var(--f-mono); font-size: 1rem; color: var(--fg); }
.lab-pad > i {
  position: absolute;
  right: 0.7rem; bottom: 0.72rem;
  width: 1.5rem; height: 1px;
  background: var(--line-mid);
  transition: width .3s var(--ease), background .3s;
}
.lab-pad:hover { border-color: rgba(242, 204, 120, 0.34); background: var(--accent-glow); }
.lab-pad:hover::before { border-color: rgba(242, 204, 120, 0.18); }
.lab-pad:hover > i { width: 2.4rem; background: var(--accent); }
.lab-pad.is-hit {
  border-color: var(--accent);
  background: rgba(242, 204, 120, 0.13);
  transform: scale(0.975);
  box-shadow: inset 0 0 2.4rem rgba(242, 204, 120, 0.12), 0 0 2rem rgba(242, 204, 120, 0.14);
}
.lab-pad.is-hit .pad-note { color: var(--accent-bright); }
.lab-pad:focus-visible { outline-offset: 2px; }

.lab-side { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.lab-scope {
  position: relative;
  flex: 1;
  min-height: 12rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background:
    linear-gradient(to bottom, transparent 49.6%, rgba(255,255,255,0.07) 49.6%, rgba(255,255,255,0.07) 50.4%, transparent 50.4%),
    radial-gradient(80% 100% at 50% 50%, rgba(242, 204, 120, 0.05), transparent 70%),
    #05070A;
  overflow: hidden;
}
#labScope { display: block; width: 100%; height: 100%; }
.lab-scope-k, .lab-scope-l {
  position: absolute;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.lab-scope-k { left: 1rem; top: 0.9rem; }
.lab-scope-k b { color: var(--accent); font-weight: 500; }
.lab-scope-l { right: 1rem; bottom: 0.9rem; color: rgba(255,255,255,0.28); }

.lab-controls { display: flex; flex-direction: column; gap: 0.9rem; }
.lab-run {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  height: 4.6rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(242, 204, 120, 0.42);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transition: background .25s, color .25s, border-color .25s;
}
.lab-run i {
  display: block;
  width: 0; height: 0;
  border-left: 0.62rem solid currentColor;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
}
.lab-run:hover { background: var(--accent-glow); border-color: var(--accent); }
.lab-run[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #1A1206; }
.lab-run[aria-pressed="true"] i { width: 0.66rem; height: 0.66rem; border: 0; background: currentColor; }

.lab-slider {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 3.4rem;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  cursor: pointer;
}
.lab-slider b { color: var(--accent); font-weight: 500; text-align: right; letter-spacing: 0.06em; }
.lab-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
}
.lab-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--accent-bright); border: 0; }
.lab-slider input[type="range"]::-moz-range-thumb { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--accent-bright); border: 0; }
.lab-hint { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }

@media only screen and (max-width: 940px) {
  .lab-body { grid-template-columns: 1fr; }
  .lab-scope { min-height: 10rem; flex: none; height: 10rem; }
}

@media only screen and (max-width: 480px) {
  .lab-pads { gap: 0.4rem; }
  .lab-pad { padding: 0.55rem; }
  .lab-pad .pad-note { left: 0.55rem; bottom: 0.45rem; font-size: 0.85rem; }
  .lab-pad .pad-idx { font-size: 0.55rem; }
  .lab-pad > i { display: none; }
  .lab-slider { grid-template-columns: 4.2rem minmax(0, 1fr) 3rem; gap: 0.7rem; }
}

/* --------------------------------------------------------------------------
   12. Voices
   -------------------------------------------------------------------------- */
.voices { position: relative; overflow: clip; }
.voice-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 13rem;
  padding: 0 clamp(2rem, 5vw, 6.4rem);
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.5) 45%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.5) 45%, transparent 100%);
}
.voice-wave i {
  flex: 1;
  height: var(--h, 30%);
  background: linear-gradient(to top, rgba(242, 204, 120, 0.1), var(--accent));
  animation: voiceWave 3.4s var(--ease) infinite alternate;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes voiceWave { from { transform: scaleY(.55); opacity: .5; } to { transform: scaleY(1); opacity: 1; } }
.slider {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26rem;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: end;
}
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.4rem);
  transition: opacity .65s var(--ease), transform .65s var(--ease), visibility .65s;
  pointer-events: none;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.quote-mark { font-size: 7rem; line-height: 0.55; color: var(--accent); opacity: 0.55; }
.quote {
  margin: 1.4rem 0 0;
  font-size: clamp(2rem, 2.7vw, 3.1rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.quote b { font-weight: 500; color: #fff; }
.byline { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.6rem; }
.byline img { width: 4.6rem; height: 4.6rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-mid); }
.byline strong { display: block; font-size: 1.36rem; font-weight: 500; color: var(--fg); }
.byline > span > span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.slider-side { display: flex; flex-direction: column; gap: 2.4rem; }
.slider-index { display: flex; flex-direction: column; }
.slider-index button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-align: left;
  color: var(--fg-3);
  transition: color .25s, padding-left .25s;
}
.slider-index button:last-child { border-bottom: 1px solid var(--line); }
.slider-index button span { color: var(--accent-dim); }
.slider-index button:hover { color: var(--fg-2); padding-left: 0.5rem; }
.slider-index button[aria-current="true"] { color: var(--accent); }
.slider-index button[aria-current="true"] span { color: var(--accent); }

.slider-nav { display: flex; align-items: center; gap: 0.8rem; }
.slider-nav button {
  display: grid;
  place-items: center;
  width: 4.4rem; height: 4.4rem;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  color: var(--fg-2);
  transition: border-color .3s, color .3s, background .3s;
}
.slider-nav button:hover { border-color: var(--accent-dim); color: var(--accent); background: var(--accent-glow); }
.slider-nav svg { width: 1.5rem; height: 1.5rem; }
.slider-count {
  margin-left: 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--fg-3);
}
.slider-count b { color: var(--accent); font-weight: 500; }

.slider-progress { height: 1px; background: var(--line); overflow: hidden; }
.slider-progress i {
  display: block;
  width: 100%; height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}
.slider-progress i.is-running { animation: slideProgress 9s linear forwards; }
.slider.is-paused .slider-progress i { animation-play-state: paused; }
@keyframes slideProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow-x: clip; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 37rem;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-form {
  position: relative;
  padding: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(170deg, rgba(16, 22, 31, 0.72), rgba(8, 11, 16, 0.9));
}
.form-corners {
  position: absolute;
  inset: 0.8rem;
  pointer-events: none;
  --c: rgba(242, 204, 120, 0.45);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 1.4rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 0 / 1px 1.4rem no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1.4rem 1px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 1px 1.4rem no-repeat;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { position: relative; margin-bottom: 1.4rem; }
.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field label i { font-style: normal; color: var(--accent-dim); }
.field input,
.field textarea {
  width: 100%;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.018);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 1.46rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 15rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line-mid); }
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent-dim);
  background: rgba(242, 204, 120, 0.035);
  box-shadow: 0 0 0 0.35rem var(--accent-glow);
}
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-foot { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.2rem; }
.form-note { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }

.contact-aside { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-card {
  padding: 2.2rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel);
}
.cc-k {
  margin-bottom: 1rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-card .line {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.3rem;
  color: var(--fg-2);
}
.contact-card .line:last-child { border-bottom: 0; }
a.line { transition: color .25s, padding-left .25s; }
a.line:hover { color: var(--accent); padding-left: 0.4rem; }
.cc-status .status-line { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 0 0.9rem; font-size: 1.36rem; color: var(--fg); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(242, 204, 120, .5); animation: statusPulse 2.4s var(--ease) infinite; }
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 204, 120, .45); }
  70%, 100% { box-shadow: 0 0 0 0.9rem rgba(242, 204, 120, 0); }
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 8vw, 8rem) 0 3rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(7, 10, 15, 0.6), var(--ink-2));
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: end;
  gap: 4rem;
}
.foot-brand img { width: clamp(150px, 15vw, 200px); height: auto; opacity: 0.92; }
.foot-brand p { margin-top: 1.4rem; font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }

.foot-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.foot-nav a { font-family: var(--f-mono); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); transition: color .25s; }
.foot-nav a:hover { color: var(--accent); }

.foot-osc { min-width: 20rem; }
.foot-osc-k { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--fg-3); }
.foot-osc-wave { display: flex; align-items: center; gap: 3px; height: 3rem; margin-top: 1rem; }
.foot-osc-wave i { width: 2px; height: 30%; background: var(--accent-dim); animation: osc 1.6s var(--ease) infinite alternate; }
.foot-osc-wave i:nth-child(2n) { height: 70%; animation-duration: 1.1s; }
.foot-osc-wave i:nth-child(3n) { height: 45%; animation-duration: 2s; }
.foot-osc-wave i:nth-child(5n) { height: 90%; animation-duration: .9s; }
@keyframes osc { from { transform: scaleY(.25); opacity: .4; } to { transform: scaleY(1); opacity: .9; } }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 4.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  font-size: 1.16rem;
  color: var(--fg-3);
}
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 3.9rem; height: 3.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg-3);
  transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-glow); transform: translateY(-2px); }
.footer-social svg { width: 1.6rem; height: 1.6rem; }

/* --------------------------------------------------------------------------
   15. Audio deck
   -------------------------------------------------------------------------- */
.deck {
  position: fixed;
  left: 2.4rem; bottom: 2.4rem;
  z-index: 700;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.deck-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.6rem; height: 5.6rem;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-bright), var(--accent) 55%, var(--accent-dim));
  color: #1A1206;
  box-shadow: 0 1rem 3.4rem rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 230, 180, 0.3);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.deck-face:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.65), 0 0 3rem rgba(242, 204, 120, 0.25); }
.deck-face svg { width: 2.2rem; height: 2.2rem; }
.deck-face .ico-play { margin-left: 0.2rem; }
.deck-face .ico-pause { display: none; }
.deck.is-playing .deck-face .ico-play { display: none; }
.deck.is-playing .deck-face .ico-pause { display: block; }
.deck-face-ring {
  position: absolute;
  inset: -0.5rem;
  border: 1px solid rgba(242, 204, 120, 0.4);
  border-radius: 50%;
  animation: deckRing 3.4s var(--ease) infinite;
}
@keyframes deckRing {
  0% { transform: scale(.92); opacity: .7; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}
.deck.is-playing .deck-face-ring { animation-duration: 1.6s; }
.deck-face-eq { position: absolute; bottom: 0.65rem; left: 50%; display: flex; gap: 2px; height: 0.8rem; transform: translateX(-50%); }
.deck-face-eq i { width: 2px; height: 30%; background: rgba(26, 18, 6, 0.6); animation: eq .8s var(--ease) infinite alternate; animation-play-state: paused; }
.deck.is-playing .deck-face-eq i { animation-play-state: running; }
.deck-face-eq i:nth-child(2) { height: 80%; animation-delay: -.2s; }
.deck-face-eq i:nth-child(3) { height: 50%; animation-delay: -.4s; }
.deck-face-eq i:nth-child(4) { height: 70%; animation-delay: -.1s; }

.deck-panel {
  position: relative;
  width: 34rem;
  max-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-mid);
  border-radius: 1.3rem;
  background: rgba(8, 12, 18, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-1rem) scale(.98);
  transform-origin: left bottom;
  transition: max-width .45s var(--ease), opacity .3s var(--ease), transform .35s var(--ease), padding .45s var(--ease), visibility .45s;
}
.deck.is-open .deck-panel {
  max-width: 34rem;
  padding: 1.7rem 1.8rem 1.9rem;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.deck-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-right: 3rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.deck-head span:last-child { color: var(--fg-3); }
.deck-now { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.9rem; padding-right: 2rem; }
.deck-now b { font-size: 1.42rem; font-weight: 500; color: var(--fg); }
.deck-now span { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--fg-3); }
.deck-yt {
  align-self: flex-start;
  margin-top: 0.45rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
}
.deck-yt:hover { color: var(--accent); border-color: var(--accent-dim); }
.deck-yt[hidden] { display: none; }

.deck-wave { display: flex; align-items: center; justify-content: space-between; gap: 0; height: 2.6rem; margin-top: 1.1rem; }
.deck-wave i { flex: 0 0 2px; height: var(--h, 40%); background: linear-gradient(to top, rgba(242, 204, 120, 0.3), var(--accent)); opacity: .55; transform-origin: center; }
.deck.is-playing .deck-wave i { animation: deckWave var(--dur, 1s) var(--ease) infinite alternate; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes deckWave { from { transform: scaleY(.28); opacity: .35; } to { transform: scaleY(1); opacity: 1; } }

.deck.is-signal .deck-state { color: var(--accent); }
.deck.is-signal .deck-head span:last-child { color: var(--accent); }
.deck.is-playing.is-signal .deck-progress i { animation: liveBar 2.8s var(--ease) infinite; }
@keyframes liveBar {
  0%, 100% { opacity: .35; transform: scaleX(.35); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

.deck-row { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.6rem; }
.deck-row > button {
  display: grid;
  place-items: center;
  width: 3.4rem; height: 3.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg-2);
  transition: color .25s, border-color .25s, background .25s;
}
.deck-row > button:hover { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-glow); }
.deck-row > button svg { width: 1.4rem; height: 1.4rem; }
.deck-row .deck-play {
  width: 4.6rem; height: 4.6rem;
  border-color: var(--accent);
  background: var(--accent);
  color: #1A1206;
}
.deck-row .deck-play:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #1A1206; }
.deck-row .deck-play svg { width: 1.8rem; height: 1.8rem; }
.deck-row .deck-play .ico-pause { display: none; }
.deck.is-playing .deck-row .deck-play .ico-play { display: none; }
.deck.is-playing .deck-row .deck-play .ico-pause { display: block; }
.deck-time { margin-left: auto; font-family: var(--f-mono); font-size: 0.8rem; color: var(--fg-3); }

.deck-foot { display: flex; align-items: center; gap: 0.8rem; margin-top: 1rem; }
.deck-foot > button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--fg-3); }
.deck-foot > button:hover { color: var(--accent); }
.deck-foot svg { width: 1.5rem; height: 1.5rem; }
.deck-foot .ico-vol-off { display: none; }
.deck.is-muted .deck-foot .ico-vol-on { display: none; }
.deck.is-muted .deck-foot .ico-vol-off { display: block; }
.deck-vol {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 65%, rgba(255,255,255,0.14) 65%, rgba(255,255,255,0.14) 100%);
  cursor: pointer;
}
.deck-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 1rem; height: 1rem; border-radius: 50%; background: var(--accent-bright); border: 0; }
.deck-vol::-moz-range-thumb { width: 1rem; height: 1rem; border-radius: 50%; background: var(--accent-bright); border: 0; }
.deck-state { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--fg-3); white-space: nowrap; }
.deck.is-error .deck-state { color: #E8A58A; }

.deck-progress { height: 2px; margin-top: 1.1rem; background: var(--line); overflow: hidden; }
.deck-progress i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .4s linear; }

.deck-close {
  position: absolute;
  top: 1rem; right: 1rem;
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  color: var(--fg-3);
}
.deck-close:hover { color: var(--accent); }
.deck-close svg { width: 1.3rem; height: 1.3rem; }

.deck-mount { position: fixed; right: 0; bottom: 0; z-index: 1; width: 320px; height: 180px; overflow: hidden; opacity: 0.001; pointer-events: none; border: 0; }

/* --------------------------------------------------------------------------
   16. Motion / reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  translate: 0 2.4rem;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.reveal.is-in { opacity: 1; translate: none; }

.hero-eyebrow, .hero-sub, .hero-cta, .hero-note {
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) forwards;
}
.hero-eyebrow { animation-delay: .15s; }
.hero-sub { animation-delay: .45s; }
.hero-cta { animation-delay: .58s; }
.hero-note { animation-delay: .7s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(1.6rem); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1240px) {
  .rail { display: none; }
  .deck { left: 2rem; bottom: 2rem; }
}

@media only screen and (max-width: 1100px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.4rem;
    padding: 10rem 3rem 5rem;
    margin: 0;
    background: rgba(4, 6, 10, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  .brand, .header-actions { position: relative; z-index: 3; }
  .nav.is-open a {
    padding: 1.7rem 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 2.2rem;
    color: var(--fg);
  }
  .nav.is-open a i { font-size: 1rem; }
  .nav.is-open .nav-meta {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 3rem;
    font-family: var(--f-mono);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-3);
  }
  .nav.is-open .nav-meta span:last-child { color: var(--accent-dim); }
  .nav.is-open::before {
    content: "";
    position: absolute;
    right: -9rem; bottom: -9rem;
    width: 38rem; height: 38rem;
    background: linear-gradient(150deg, rgba(255, 230, 180, 1), rgba(184, 147, 74, 0.5));
    -webkit-mask: url("../images/LOGO.png") center / contain no-repeat;
    mask: url("../images/LOGO.png") center / contain no-repeat;
    opacity: 0.05;
    pointer-events: none;
  }
  .nav.is-open::after {
    content: "NAVIGATION / DRC—01";
    position: absolute;
    left: 3rem; top: 11rem;
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    color: var(--fg-3);
  }
  body.is-locked .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4, 6, 10, 0.97); }
  body.is-locked .header-actions .btn { display: none; }

  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .core { width: min(44vw, 44rem); }
  .studio-grid { grid-template-columns: 30rem minmax(0, 1fr); gap: 4rem; }
  .portrait { top: 9rem; }
}

@media only screen and (max-width: 1100px) and (max-height: 620px) {
  .nav.is-open { justify-content: flex-start; padding-top: 9rem; overflow-y: auto; }
  .nav.is-open::after { display: none; }
  .nav.is-open a { padding: 1.1rem 0; font-size: 1.9rem; }
  .nav.is-open .nav-meta { margin-top: 1.6rem; }
}

@media only screen and (max-width: 940px) {
  .core { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 6rem; }
  .hero-title { font-size: clamp(4.4rem, 11.5vw, 8.6rem); }
  .hero-copy { max-width: 68rem; }
  .hero-hud .hud-side { display: none; }
  .console-inner { flex-wrap: wrap; gap: 2rem; }
  .hero-meter { display: none; }
  .hero-console { padding-bottom: 8.6rem; }

  .work-grid { grid-template-columns: 1fr; }
  .card-a, .card-b, .card-c { grid-column: 1 / -1; }
  .card-media { aspect-ratio: 16 / 9; }
  .card-media-split { aspect-ratio: 16 / 9; }

  .studio-grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 32rem; margin-inline: auto; }
  .services { margin-top: 3.4rem; }

  .slider { grid-template-columns: 1fr; gap: 3rem; }
  .slider-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
  .slider-index { flex-direction: row; flex: 1; min-width: 100%; border-top: 1px solid var(--line); }
  .slider-index button { flex: 1; border-top: 0; border-bottom: 0; border-right: 1px solid var(--line); padding: 0.9rem 0.4rem; }
  .slider-index button:last-child { border-bottom: 0; border-right: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-status { grid-column: 1 / -1; }

  .footer-top { grid-template-columns: 1fr auto; }
  .foot-osc { grid-column: 1 / -1; }
}

@media only screen and (max-width: 760px) {
  .header-actions .btn { display: none; }
  .brand-sig { display: none; }
  .site-header { padding: 1.6rem 2rem; }
  .hero { padding-top: 6.4rem; }
  .hero-inner { padding-top: 4.6rem; padding-bottom: 2rem; }
  .hero-title { font-size: clamp(4rem, 14vw, 7rem); }
  .hero-sub { margin-top: 2.2rem; font-size: 1.5rem; }
  .hero-cta { margin-top: 2.6rem; }
  .hero-note { margin-top: 2.2rem; font-size: .86rem; letter-spacing: .1em; }
  .hero-eyebrow { font-size: .88rem; letter-spacing: .08em; }
  .eb-est { display: none; }
  .hero-hud { font-size: .8rem; letter-spacing: .14em; }
  .hud-tl { top: 8.6rem; }
  .hud-tr { top: 8.6rem; }
  .hud-tr span:first-child { display: none; }
  .hud-side { display: none; }

  .hero-stats { gap: 2rem; }
  .hero-stat b { font-size: 1.7rem; }
  .hero-console { padding: 1.6rem 0 7.4rem; }
  .hero-console-right { width: 100%; justify-content: space-between; }
  .scroll-cue { display: none; }

  .card-media-split { grid-template-columns: 1fr; aspect-ratio: 16 / 10; }
  .card-media-split .shot:last-of-type { display: none; }
  .card-media-split::after {
    content: "+ 1 more cut inside";
    position: absolute;
    right: 1.2rem; bottom: 1.2rem;
    z-index: 3;
    font-family: var(--f-mono);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .card-body { padding: 2rem 2.2rem 2.2rem; }
  .card-body-split { grid-template-columns: 1fr; gap: 1.4rem; }

  .chain-nodes { grid-template-columns: 1fr 1fr; gap: 2.6rem 2rem; }
  .chain-nodes::before { display: none; }
  .chain-node { padding-top: 2.6rem; }
  .chain-pulse { display: none; }
  .services { grid-template-columns: 1fr; gap: 0; }

  .quote { font-size: clamp(1.9rem, 5.4vw, 2.5rem); }
  .quote-mark { font-size: 5.4rem; }
  .slider-side { gap: 1.4rem; }
  .slider-index button { font-size: .78rem; letter-spacing: .04em; }

  .contact-form { padding: 2.2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-aside { grid-template-columns: 1fr; }
  .cc-status { grid-column: auto; }
  .form-foot { gap: 1.2rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2.6rem; }
  .foot-osc { grid-column: auto; }
  .footer-bottom { gap: 1.4rem; padding-bottom: 7rem; }

  .deck { left: 1.2rem; bottom: 1.2rem; }
  .deck-face { width: 5rem; height: 5rem; }
  .deck-panel { width: calc(100vw - 8.6rem); max-width: 34rem; }
  .deck.is-open .deck-panel { max-width: 34rem; }

  .modal { padding: 0; }
  .modal-panel { max-height: 100svh; height: 100svh; border-radius: 0; border: 0; }
  .modal-head { padding: 2.2rem 2rem 0; }
  .modal-body, .modal-body-split { display: block; padding: 2rem; }
  .modal-body-split .client-note { margin-top: 2.4rem; }
  .modal-stage { display: block; padding: 2rem; }
  .modal-stage .modal-body { padding: 0; }
  .modal-stage .client-note { margin-top: 2.4rem; }
  .tabs { padding: 0 1.4rem; }
  .tab { padding: 1rem 1.1rem; }
  .modal-close { top: 1rem; right: 1rem; }
}

@media only screen and (max-width: 480px) {
  .wrap { padding-inline: 1.8rem; }
  .hero-title { font-size: clamp(3.7rem, 15vw, 5.6rem); }
  .hero-eyebrow { font-size: .82rem; letter-spacing: .04em; padding-right: 1rem; }
  .hero-stat span { font-size: .8rem; }
  .hero-stat b { font-size: 1.5rem; }
  .hero-console-right { gap: 1rem; }
  .audition { font-size: .8rem; letter-spacing: .12em; }
  .sec-title { font-size: clamp(2.9rem, 9vw, 4rem); }
  .sec-lede { font-size: 1.45rem; }
  .service { font-size: 1.26rem; gap: 1rem; }
  .chain-node h3 { font-size: 1.6rem; }
  .byline img { width: 4rem; height: 4rem; }
  .slider-index button span { display: none; }
  .btn-lg { height: 5.2rem; padding: 0 2.2rem; font-size: 1.35rem; }
  .form-note { font-size: .68rem; }
}

@media only screen and (min-width: 941px) and (max-height: 820px) {
  .hero-title { font-size: clamp(4.2rem, 7.4vw, 8.6rem); }
  .hero-inner { padding-top: 2rem; padding-bottom: 1rem; }
  .hero-sub { margin-top: 2rem; font-size: 1.42rem; }
  .hero-cta { margin-top: 2.2rem; }
  .hero-note { display: none; }
  .hero-console { padding-bottom: 9rem; }
  .core { width: min(38vw, 44rem); }
}

@media (hover: none) {
  .fx-grid {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.22;
  }
  .card { transform: none; }
  .card:hover { --lift: 0; }
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; translate: none; }
  .hero-eyebrow, .hero-sub, .hero-cta, .hero-note { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .slide { transition: none; }
  .slider-progress i { animation: none; }
  .cursor { display: none; }
  .deco, .studio-emblem { animation: none; }
  .boot { display: none !important; }
}

/* print */
@media print {
  .fx, .grain, .hud-frame, .site-header, .rail, .cursor, .deck, .ticker, .deco, .studio-emblem, .scroll-progress { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .contact-card, .contact-form, .modal-panel { border-color: #ccc; background: #fff; }
}
