/* ==========================================================================
   STATIC_ / stylesheet
   --------------------------------------------------------------------------
   01. Tokens & reset
   02. Typography primitives
   03. Atmosphere (grain, scanlines, progress, cursor)
   04. Navigation + mobile menu
   05. Hero
   06. Marquee
   07. Section shell
   08. Identity
   09. Music archive
   10. Personal archive
   11. Technology & gaming
   12. Visual records + lightbox
   13. End / footer
   14. Scroll motion
   15. Responsive + reduced-motion
   ========================================================================== */

/* 01. TOKENS & RESET ===================================================== */

:root {
  --bg: #080808;
  --bg-2: #111111;
  --text: #f2f2f2;
  --muted: #888888;
  --accent: #b6ff00;
  --line: #292929;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --pad: clamp(18px, 4vw, 68px);
  --nav-h: 68px;
  --max: 1560px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --line-strong: #3a3a3a;
}

@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/spacemono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../assets/fonts/spacemono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

ul,
ol { list-style: none; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent);
}

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

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

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb {
  background: #262626;
  border: 3px solid #080808;
}
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

.skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9800;
  transform: translateY(-120%);
  background: var(--accent);
  color: #080808;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 20px;
  transition: transform 0.25s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* 02. TYPOGRAPHY PRIMITIVES ============================================== */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.005em;
}

.accent { color: var(--accent); }

.label,
.section__num,
.section__meta,
.menu__label,
.spec__label,
.tag,
.status,
.filters,
.noscript {
  font-family: var(--mono);
  text-transform: uppercase;
}

.label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.label span { color: var(--accent); }

.noscript {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 18px 22px;
  margin-top: 24px;
}

/* 03. ATMOSPHERE ========================================================= */

.grain,
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.grain {
  background-image: url("../assets/textures/grain.svg");
  background-size: 220px 220px;
  opacity: 0.06;
  mix-blend-mode: screen;
  animation: grainShift 5s steps(5) infinite;
}

.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.018) 0 1px,
    rgba(0, 0, 0, 0) 1px 4px
  );
  opacity: 0.5;
}

@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); }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9100;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transform-origin: 0 50%;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9700;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(242, 242, 242, 0.4);
  border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    margin 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.cursor.is-active { opacity: 1; }
.cursor.is-hover .cursor__ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: var(--accent);
  background: rgba(182, 255, 0, 0.06);
}

/* 04. NAVIGATION ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  /* Above the mobile menu overlay, so the wordmark and Close stay reachable. */
  z-index: 8600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.is-stuck {
  background: rgba(8, 8, 8, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.nav__mark {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  padding: 4px 0;
}

.nav__underscore {
  color: var(--accent);
  animation: underscore 2.6s steps(2, end) infinite;
}

@keyframes underscore {
  0%, 45%   { opacity: 1; }
  46%, 70%  { opacity: 0.15; }
  71%, 100% { opacity: 1; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.nav__link {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav__link span {
  font-size: 8px;
  color: #4a4a4a;
  margin-right: 6px;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active span { color: var(--accent); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.status__dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(182, 255, 0, 0.5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(182, 255, 0, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(182, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 255, 0, 0); }
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 0;
}

.nav__toggle-bars {
  display: grid;
  gap: 4px;
  width: 20px;
}

.nav__toggle-bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vh, 48px);
}

.menu__label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.menu__label span { color: var(--accent); }

.menu__nav {
  display: flex;
  flex-direction: column;
}

.menu__link {
  font-family: var(--display);
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(10px, 2vh, 18px) 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, padding-left 0.4s var(--ease);
}

.menu__link span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent);
  min-width: 22px;
}

.menu__link:hover,
.menu__link:focus-visible {
  color: var(--accent);
  padding-left: 10px;
}

.menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a5a5a;
}

/* 05. HERO =============================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + clamp(40px, 9vh, 110px)) var(--pad) clamp(28px, 5vh, 56px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: grayscale(1) contrast(1.22) brightness(0.52);
  transform: scale(1.06);
  animation: heroDrift 26s ease-out forwards;
}

@keyframes heroDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(8, 8, 8, 0.15), rgba(8, 8, 8, 0.86) 62%),
    linear-gradient(to top, #080808 2%, rgba(8, 8, 8, 0.55) 38%, rgba(8, 8, 8, 0.3) 100%),
    linear-gradient(to right, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.1) 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b9b9b9;
  margin-bottom: clamp(20px, 4vh, 40px);
}

.hero__tick {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.hero__sep { color: #4d4d4d; }

.hero__title {
  font-size: clamp(3.4rem, 11.4vw, 11.4rem);
  line-height: 0.94;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin-bottom: clamp(26px, 5vh, 52px);
  max-width: 15ch;
}

/* Each line is its own mask. Padding at the top gives the tall condensed caps
   room so the clipping edge never cuts them; the negative margin cancels that
   padding out of the layout, so the leading stays exactly as set above. */
.hero__line {
  display: block;
  overflow: hidden;
  padding-top: 0.14em;
}

/* Pull the following lines back up by the amount their mask added. Keeping the
   first line out of this avoids the negative margin collapsing into the
   heading, which would lift line one and open an uneven gap. */
.hero__line + .hero__line { margin-top: -0.14em; }

.hero__line > span {
  display: block;
  will-change: transform;
}

.hero__stop {
  display: inline-block;
  width: 0.13em;
  height: 0.13em;
  margin-left: 0.05em;
  background: var(--accent);
  vertical-align: baseline;
}

.hero__line--shift { padding-left: clamp(0px, 6vw, 110px); }

.js .hero__line > span {
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(0.12s * var(--i) + 0.15s);
}

.js .hero.is-loaded .hero__line > span { transform: translateY(0); }

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(242, 242, 242, 0.12);
  padding-top: clamp(18px, 3vh, 28px);
}

.hero__lede {
  max-width: 38ch;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.65;
  color: #b4b4b4;
}

.js .hero__eyebrow,
.js .hero__foot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease 0.55s, transform 1s var(--ease) 0.55s;
}
.js .hero.is-loaded .hero__eyebrow,
.js .hero.is-loaded .hero__foot {
  opacity: 1;
  transform: none;
}

.scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.scroll:hover { color: var(--accent); }

.scroll__line {
  position: relative;
  width: 1px;
  height: 56px;
  background: rgba(242, 242, 242, 0.18);
  overflow: hidden;
}

.scroll__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

.hero__index {
  position: absolute;
  right: var(--pad);
  top: calc(var(--nav-h) + 26px);
  z-index: 3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b6b6b;
  writing-mode: vertical-rl;
}

.hero__mark {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 14px;
  color: #4d4d4d;
  line-height: 1;
}
.hero__mark--tl { top: calc(var(--nav-h) + 8px); left: calc(var(--pad) - 2px); }
.hero__mark--br { bottom: 14px; right: calc(var(--pad) - 2px); }

/* 06. MARQUEE ============================================================ */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px 0;
  user-select: none;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__group span {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.7vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #d8d8d8;
  padding: 0 6px;
  white-space: nowrap;
}

.marquee__group i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  color: var(--accent);
  padding: 0 22px;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 07. SECTION SHELL ====================================================== */

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 132px) var(--pad);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: var(--line);
}

.section__head {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(12px, 2vw, 28px);
  padding-bottom: clamp(26px, 4vh, 44px);
}

.section__num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-top: 0.9em;
}

.section__title {
  font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.002em;
}

.section__meta {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #6f6f6f;
  text-align: right;
  max-width: 210px;
  padding-top: 0.85em;
  line-height: 1.8;
}

.section__meta span { color: #3f3f3f; }

.section__intro {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  padding: 0 0 clamp(28px, 4vh, 44px);
}

/* 08. IDENTITY =========================================================== */

.identity {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.identity__copy p {
  font-size: 15px;
  line-height: 1.78;
  color: #a5a5a5;
  max-width: 58ch;
}

.identity__copy p + p { margin-top: 1.15em; }

.identity__lede {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  line-height: 1.45 !important;
  color: var(--text) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 1.4em !important;
  text-wrap: balance;
}

.identity__sign {
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f5f5f !important;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
  margin-top: 2em;
}

.spec {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0d0d, #080808 70%);
}

.spec__label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #6f6f6f;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

.spec__label b {
  color: var(--accent);
  font-weight: 400;
  margin-left: 4px;
}

.spec__ver { color: #5f5f5f; }

.spec__list { display: flex; flex-direction: column; }

.spec__list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas: "key name" "key desc";
  column-gap: 10px;
  row-gap: 2px;
  padding: 14px 18px;
  border-bottom: 1px solid #1c1c1c;
  transition: background 0.3s ease;
}

.spec__list li:hover { background: #101010; }

.spec__key {
  grid-area: key;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #4f4f4f;
  padding-top: 3px;
}

.spec__name {
  grid-area: name;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.spec__desc {
  grid-area: desc;
  font-size: 12px;
  line-height: 1.55;
  color: #6f6f6f;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 18px;
}

.chips li {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9a9a;
  border: 1px solid var(--line);
  padding: 5px 8px;
}

/* 09. MUSIC ============================================================== */

.music__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(26px, 4vh, 40px);
}

.feature { background: var(--bg); min-width: 0; }

.feature__media { overflow: hidden; }

.feature__media img {
  width: 100%;
  height: clamp(240px, 30vw, 400px);
  object-fit: cover;
  filter: grayscale(1) brightness(0.66) contrast(1.1);
  transition: transform 1s var(--ease), filter 0.8s ease;
}

.feature:hover .feature__media img {
  transform: scale(1.03);
  filter: grayscale(0.25) brightness(0.78) contrast(1.1);
}

.feature__cap {
  padding: clamp(18px, 2.2vw, 28px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature__cap p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #979797;
  max-width: 52ch;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid #33400f;
  background: rgba(182, 255, 0, 0.05);
  padding: 5px 9px;
}

.music__stats {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  background: var(--bg);
}

.stat {
  padding: clamp(16px, 2vw, 26px);
  border-top: 1px solid #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.35s ease;
}

.stat:first-child { border-top: 0; }
.stat:hover { background: #0e0e0e; }

.stat__n {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.9;
  color: var(--text);
}

.stat__n span {
  font-size: 0.42em;
  color: #4a4a4a;
  margin-left: 4px;
  vertical-align: super;
}

.stat__l {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f6f6f;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.stat__l b {
  font-weight: 400;
  color: #3f3f3f;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.filter {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 15px;
  transition: color 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
}

.filter:hover { color: var(--text); border-color: var(--line-strong); }

.filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #080808;
}

.filter__count {
  font-size: 8px;
  opacity: 0.55;
  margin-left: 5px;
}

.filters__note {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4f4f4f;
  min-height: 1.2em;
  margin-bottom: 18px;
}

.tracks { border-bottom: 1px solid var(--line); }

.track {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1.35fr) minmax(0, 1.1fr) 132px 62px 30px;
  align-items: center;
  gap: 16px;
  padding: 18px 10px 18px 0;
  border-top: 1px solid var(--line);
  transition: background 0.35s ease, padding-left 0.4s var(--ease);
}

.track::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.track:hover { background: #0d0d0d; padding-left: 14px; }
.track:hover::before { transform: scaleY(1); }

.track__num {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #4f4f4f;
  white-space: nowrap;
}

.track__artist {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.9vw, 1.65rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.3s ease;
}

.track:hover .track__artist { color: var(--accent); }

.track__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a8a8a;
  line-height: 1.5;
}

.track__genre {
  justify-self: start;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
  border: 1px solid #242424;
  padding: 4px 7px;
  white-space: nowrap;
}

.track__tempo {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #5a5a5a;
  text-align: right;
  white-space: nowrap;
}

.track__arrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.track:hover .track__arrow { opacity: 1; transform: none; }

.tracks__empty {
  border: 1px solid var(--line);
  padding: clamp(30px, 5vw, 56px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6f6f;
  text-align: center;
}

/* 10. PERSONAL ARCHIVE =================================================== */

.archive__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.arc {
  --arc-pad: clamp(18px, 2.2vw, 30px);
  grid-column: span 4;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--arc-pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  background: var(--bg);
  transition: background 0.4s ease;
}

.arc:hover { background: #0d0d0d; }

.arc--w5 { grid-column: span 5; }
.arc--w6 { grid-column: span 6; }
.arc--w7 { grid-column: span 7; }
.arc--w12 { grid-column: span 12; }

.arc__media {
  margin: calc(var(--arc-pad) * -1);
  margin-bottom: 4px;
  overflow: hidden;
}

.arc__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: grayscale(1) brightness(0.62) contrast(1.1);
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}

.arc:hover .arc__media img {
  transform: scale(1.04);
  filter: grayscale(0.3) brightness(0.75) contrast(1.1);
}

.arc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5f5f5f;
}

.arc__ref { color: var(--accent); }

.arc__cat {
  border: 1px solid #242424;
  padding: 3px 6px;
  color: #777;
}

.arc__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.arc__desc {
  font-size: 13px;
  line-height: 1.7;
  color: #8b8b8b;
  max-width: 48ch;
}

.arc__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4f4f4f;
  padding-top: 10px;
}

.arc__dot {
  width: 4px;
  height: 4px;
  background: #2f2f2f;
  display: inline-block;
  margin-right: 6px;
  transition: background 0.3s ease;
}

.arc:hover .arc__dot { background: var(--accent); }

/* 11. TECHNOLOGY ========================================================= */

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.module {
  background: var(--bg);
  padding: clamp(20px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
  transition: background 0.4s ease;
}

.module:hover { background: #0d0d0d; }

.module__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a5a5a;
  padding-bottom: 14px;
  border-bottom: 1px solid #1c1c1c;
}

.module__bar span:first-child { color: var(--accent); }

.module h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 0.92;
}

.module p {
  font-size: 13px;
  line-height: 1.72;
  color: #8b8b8b;
}

.module__list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid #1c1c1c;
}

.module__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f5f5f;
}

.module__list li span:last-child { color: #b5b5b5; }

.tech__visual {
  position: relative;
  margin-top: clamp(26px, 4vh, 44px);
  border: 1px solid var(--line);
  overflow: hidden;
}

.tech__visual img {
  width: 100%;
  height: clamp(220px, 30vw, 400px);
  object-fit: cover;
  filter: grayscale(1) brightness(0.6) contrast(1.15);
  transition: filter 0.8s ease, transform 1.2s var(--ease);
}

.tech__visual:hover img {
  filter: grayscale(0.35) brightness(0.72) contrast(1.15);
  transform: scale(1.02);
}

.tech__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0));
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.tech__cap-ref { color: var(--accent); }

/* 12. VISUAL RECORDS ===================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
}

.shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0c0c;
  height: clamp(230px, 26vw, 400px);
  cursor: crosshair;
  grid-column: span 4;
}

.shot--s4 { grid-column: span 4; }
.shot--s5 { grid-column: span 5; }
.shot--s6 { grid-column: span 6; }
.shot--s7 { grid-column: span 7; }
.shot--s12 { grid-column: span 12; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.66) contrast(1.08);
  transition: transform 1.1s var(--ease), filter 0.7s ease;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.92) 0%,
    rgba(8, 8, 8, 0.25) 45%,
    rgba(8, 8, 8, 0) 75%
  );
  pointer-events: none;
}

.shot__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 16px 16px 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.shot__info { min-width: 0; }

.shot__ref {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.shot__title {
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.shot__meta {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f8f8f;
  margin-top: 6px;
}

.shot__expand {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 242, 242, 0.3);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.shot:hover .shot__expand,
.shot:focus-visible .shot__expand {
  background: var(--accent);
  border-color: var(--accent);
  color: #080808;
}

.shot__btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.shot__btn:focus-visible { outline-offset: -4px; }

@media (hover: hover) {
  .shot img { filter: grayscale(1) brightness(0.62) contrast(1.1); }
  .shot:hover img {
    transform: scale(1.045);
    filter: grayscale(0.15) brightness(0.92) contrast(1.06);
  }
  .shot__body { transform: translateY(6px); transition: transform 0.5s var(--ease); }
  .shot:hover .shot__body { transform: none; }
}

.shot--slot {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      45deg,
      #0b0b0b 0 9px,
      #080808 9px 18px
    );
  border: 1px dashed #2c2c2c;
  cursor: default;
}

.shot--slot .slot__inner {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.slot__plus {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.slot__title {
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  text-transform: uppercase;
  color: #a0a0a0;
  line-height: 1;
}

.slot__note {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4f4f4f;
}

.gallery__empty {
  grid-column: span 12;
  border: 1px dashed #2c2c2c;
  padding: clamp(40px, 8vw, 100px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 56px);
  background:
    repeating-linear-gradient(
      45deg,
      #0a0a0a 0 9px,
      #080808 9px 18px
    );
}

.gallery__empty-n {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.8;
  color: #1e1e1e;
  letter-spacing: -0.02em;
}

.gallery__empty-t {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}

.gallery__empty-p {
  font-size: 13px;
  line-height: 1.7;
  color: #7d7d7d;
  max-width: 46ch;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: #060606;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(52px, 6vw, 72px) clamp(10px, 3vw, 40px) clamp(16px, 3vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-height: 100%;
}

.lightbox__frame {
  display: flex;
  justify-content: center;
  min-height: 0;
}

.lightbox__frame img {
  max-width: 100%;
  max-height: 66svh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #222;
  filter: grayscale(0.15) contrast(1.02);
}

.lightbox__cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: end;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.lightbox__ref {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.lightbox__title {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1;
}

.lightbox__desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: #8f8f8f;
  max-width: 52ch;
}

.lightbox__meta,
.lightbox__count {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f5f5f;
  white-space: nowrap;
}

.lightbox__meta {
  grid-column: 3;
  grid-row: 1;
  text-align: right;
}

.lightbox__count {
  grid-column: 3;
  grid-row: 2;
  text-align: right;
  color: var(--accent);
}

.lightbox__nav {
  width: clamp(42px, 5vw, 60px);
  height: clamp(42px, 5vw, 60px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 16px;
  color: #b5b5b5;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lightbox__nav:hover {
  color: #080808;
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox__close {
  position: absolute;
  top: clamp(14px, 2vw, 24px);
  right: clamp(10px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b5b5b5;
  border: 1px solid var(--line);
  padding: 9px 13px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.lightbox__close:hover { color: var(--accent); border-color: var(--accent); }

/* 13. END / FOOTER ======================================================= */

.section--end {
  padding-bottom: clamp(50px, 8vh, 90px);
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 6vh, 64px);
}

.end__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.end__title {
  font-size: clamp(2.9rem, 10vw, 8.6rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.end__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line);
  padding-top: clamp(22px, 3vh, 32px);
}

.end__col { display: flex; flex-direction: column; gap: 12px; }

.end__mail {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  align-self: flex-start;
  transition: color 0.3s ease, border-color 0.3s ease;
  word-break: break-word;
}

.end__mail:hover { color: var(--accent); border-color: var(--accent); }

.end__small {
  font-size: 12.5px;
  line-height: 1.65;
  color: #6f6f6f;
  max-width: 34ch;
}

.end__list { display: flex; flex-direction: column; gap: 8px; }

.end__list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a5a5a;
  border-bottom: 1px solid #181818;
  padding-bottom: 8px;
}

.end__list li span:last-child { color: #b0b0b0; text-align: right; }

.end__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.end__top {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 11px 16px;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s var(--ease);
}

.end__top:hover { color: var(--accent); border-color: #3d3d3d; gap: 20px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 18px var(--pad) 22px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4f4f4f;
}

.footer__mid { color: #3a3a3a; }

/* 14. SCROLL MOTION ====================================================== */

[data-reveal] { transition-delay: var(--d, 0ms); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Wipe reveal for framed images: an opaque cover slides down as the element
   enters view. A cover is used instead of clip-path because a fully clipped
   element reports an empty intersection box and would never reveal itself. */
.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
  position: relative;
}

.js [data-reveal="mask"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #080808;
  pointer-events: none;
  transform-origin: bottom center;
  transition: transform 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal="mask"].is-in::after { transform: scaleY(0); }

/* Generated rows and cards. A keyframe animation is used instead of the
   transition above so every element keeps its own hover transitions. */
.js [data-reveal-row] { opacity: 0; }

.js [data-reveal-row].is-in {
  animation: riseIn 0.75s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Images drift against the scroll direction. The extra scale keeps the frame
   covered so the movement never exposes an edge; the offset itself is set by
   js/main.js as --plx, so nothing moves without JavaScript. */
[data-parallax] {
  translate: 0 var(--plx, 0px);
  scale: 1.08;
}

/* Section rules draw in from the left the first time a section is reached. */
.js .section::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.25s var(--ease);
}

.js .section.is-in::before { transform: scaleX(1); }

.progress span { box-shadow: 0 0 12px rgba(182, 255, 0, 0.35); }

/* 15. RESPONSIVE & REDUCED MOTION ======================================== */

@media (max-width: 1180px) {
  .nav__links { gap: 14px; }
  .nav__link span { display: none; }
  .track { grid-template-columns: 48px minmax(0, 1.3fr) minmax(0, 1fr) 116px 56px 24px; gap: 12px; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 62px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .identity { grid-template-columns: 1fr; gap: 40px; }
  .identity__copy { max-width: 66ch; }
  .modules { grid-template-columns: 1fr; }
  .module { min-height: 0; }
  .music__top { grid-template-columns: 1fr; }
  .music__stats { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { border-top: 0; border-left: 1px solid #1e1e1e; }
  .stat:first-child { border-left: 0; }
  .arc { grid-column: span 6; }
  .arc--w12 { grid-column: span 12; }
  .end__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section__head {
    grid-template-columns: 1fr auto;
    grid-template-areas: "num meta" "title title";
    row-gap: 14px;
  }
  .section__num { grid-area: num; padding-top: 0; }
  .section__meta { grid-area: meta; padding-top: 0; }
  .section__title { grid-area: title; }
  .hero__index { display: none; }
  .track {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    grid-template-areas:
      "num artist tempo"
      "num note note"
      "num genre genre";
    row-gap: 8px;
    padding: 16px 4px 16px 0;
  }
  .track__num { grid-area: num; align-self: start; padding-top: 4px; }
  .track__artist { grid-area: artist; }
  .track__note { grid-area: note; font-size: 10px; }
  .track__tempo { grid-area: tempo; font-size: 9px; }
  .track__genre { grid-area: genre; justify-self: start; }
  .track__arrow { display: none; }
  .track:hover { padding-left: 10px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lightbox__nav { position: absolute; bottom: 12px; width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
  .lightbox { padding-bottom: 68px; }
  .lightbox__cap { grid-template-columns: 1fr; gap: 10px; }
  .lightbox__meta { grid-column: 1; grid-row: auto; text-align: left; }
  .lightbox__count { grid-column: 1; grid-row: auto; text-align: left; }
  .lightbox__frame img { max-height: 52svh; }
  .arc { grid-column: span 12; min-height: 0; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; --nav-h: 58px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__title { font-size: clamp(2.8rem, 14vw, 5.2rem); max-width: none; line-height: 0.94; }
  .hero__line--shift { padding-left: 0; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero__lede { max-width: 32ch; }
  .scroll__line { height: 36px; }
  .hero__mark--tl { display: none; }
  .marquee__group i { padding: 0 14px; }
  .music__stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid #1e1e1e; flex-direction: row; align-items: center; }
  .stat:first-child { border-top: 0; }
  .stat__l { flex-direction: column; gap: 2px; text-align: right; }
  .gallery { gap: 6px; }
  .shot, .shot--s4, .shot--s5, .shot--s7 { grid-column: span 6; height: 46vw; }
  .shot--s6, .shot--s12, .shot--slot { grid-column: span 12; }
  .shot--slot { height: 34vw; min-height: 130px; }
  .gallery__empty { grid-template-columns: 1fr; gap: 18px; }
  .end__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__mid { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.5rem, 14.6vw, 4rem); }
  .section__title { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .shot, .shot--s4, .shot--s5, .shot--s7 { grid-column: span 12; height: 64vw; }
  .shot--slot { height: 40vw; }
  .lightbox__close span { display: none; }
  .nav__toggle-label { display: none; }
  .lightbox__cap { gap: 8px; }
  .menu__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@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;
  }
  .js .hero__line > span,
  .js [data-reveal],
  .js [data-reveal-row],
  .js .hero__eyebrow,
  .js .hero__foot {
    transform: none !important;
    opacity: 1 !important;
  }
  .js [data-reveal="mask"]::after { display: none !important; }
  .js [data-reveal-row] { animation: none !important; }
  [data-parallax] { translate: none !important; }
  .hero__media img { transform: scale(1.02); }
  .cursor { display: none; }
  .grain { animation: none; }
  .marquee__track { animation: none; }
  .scroll__line::after { display: none; }
}
