/* =====================================================================
   NWELL — Official Artist Site
   v3 design system

   TYPE ROLES (3 families, strict)
     Piepie        poster voice — wordmark, oversized numerals. Nothing else.
     Fraunces      editorial voice — headlines, pull quotes.
     Space Grotesk utility voice — body, nav, labels, buttons.

   MOTION SIGNATURES (3, applied consistently)
     1. mask-rise   every headline / line rises out of a clip mask
     2. rule-draw   every hairline draws left to right
     3. settle      every image enters at 1.06 and settles to 1
   ===================================================================== */

/* Fraunces + Space Grotesk are linked from <head> — an @import here would
   be invalid after @font-face and would silently drop both families. */
@font-face {
  font-family: 'Piepie';
  src: url('../assets/Piepie.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  /* dark world */
  --ink: #08070a;
  --bg: #0a0809;
  --soft: #100c0f;
  --surface: #171015;

  /* light world (hero) */
  --bone: #efe8dc;
  --bone-deep: #e5dccd;
  --bone-line: rgba(20, 14, 18, 0.16);

  /* brand accents */
  --plum: #5b4152;
  --wine: #6e2f3f;
  --gold: #b98f4e;
  --gold-light: #e7cf9f;

  /* text */
  --cream: #f4ede1;
  --dim: rgba(244, 237, 225, 0.62);
  --faint: rgba(244, 237, 225, 0.52); /* 0.34 read at 2.7:1 — below AA */
  --line: rgba(244, 237, 225, 0.14);

  --poster: 'Piepie', 'Arial Black', sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --ui: 'Space Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --wrap: min(1240px, calc(100% - 44px));
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 16px/1.7 var(--ui);
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 12px 18px;
  font: 500 12px var(--ui);
}
.skip:focus { left: 12px; }

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

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: var(--wrap); margin-inline: auto; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* -------------------------------------------------- structural motif
   Every section is indexed. Label + drawn hairline. Used everywhere. */
.index {
  display: flex; align-items: center; gap: 16px;
  font: 500 11px var(--ui); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.index::after {
  content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.4;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease) 0.15s;
}
.is-in .index::after { transform: scaleX(1); }
.index b { font-weight: 500; color: inherit; opacity: 0.55; }

/* ------------------------------------------------------------ headlines */
.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
.h-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

/* motion 1 — mask-rise.
   The horizontal padding/negative-margin pair keeps italic and overhanging
   glyphs from being sheared off by the mask. Wrapped lines are safe: the
   mask grows with the block and the whole block travels together. */
.rise {
  display: block; overflow: hidden;
  /* Padding buys room for italic overhangs and descenders that would
     otherwise be sheared off by the mask; the negative margin keeps the
     text optically aligned with everything around it. */
  padding: 0 0.14em 0.18em;
  margin: 0 -0.14em -0.18em;
}
.rise > * {
  display: block;
  transform: translateY(135%);
  transition: transform 1.05s var(--ease);
}
.is-in .rise > * { transform: translateY(0); }
.is-in .rise:nth-of-type(2) > * { transition-delay: 0.08s; }
.is-in .rise:nth-of-type(3) > * { transition-delay: 0.16s; }
.is-in .rise:nth-of-type(4) > * { transition-delay: 0.24s; }
.is-in .rise:nth-of-type(5) > * { transition-delay: 0.32s; }

/* generic soft entrance for supporting content */
.fade {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s var(--ease-soft) 0.15s, transform 0.9s var(--ease) 0.15s;
}
.is-in .fade { opacity: 1; transform: none; }
.is-in .fade[data-d="1"] { transition-delay: 0.26s; }
.is-in .fade[data-d="2"] { transition-delay: 0.38s; }
.is-in .fade[data-d="3"] { transition-delay: 0.5s; }

/* motion 3 — image settle.
   display:block matters: .settle is applied to <a> and <span>, which are
   inline by default and would ignore overflow/aspect-ratio. */
.settle { display: block; overflow: hidden; position: relative; }
.settle img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.07);
  transition: transform 1.4s var(--ease);
}
.is-in .settle img { transform: scale(1); }

/* --------------------------------------------------------------- button */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px;
  font: 500 11px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--gold);
  position: relative; overflow: hidden;
  transition: color 0.4s var(--ease-soft);
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--ink); }
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid::before { background: var(--ink); }
.btn--solid:hover { color: var(--gold-light); }
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink::before { background: var(--ink); }
.btn--ink:hover { color: var(--bone); }

/* motion 2 — link underline draw, applied to every inline link */
.ul { position: relative; }
.ul::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.ul:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================== NAV ==== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 22px 0; pointer-events: none;
  transition: padding 0.5s var(--ease);
}
.nav.scrolled { padding: 12px 0; }

.nav__in {
  width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  pointer-events: auto;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  font: 500 13px var(--ui); letter-spacing: 0.26em;
}
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand sup { font-size: 8px; letter-spacing: 0; opacity: 0.6; }

.nav__links {
  display: flex; gap: 34px; list-style: none; margin: 0; padding: 0;
  font: 500 11px var(--ui); letter-spacing: 0.14em; text-transform: uppercase;
}
.nav__links a { position: relative; padding: 6px 0; opacity: 0.68; transition: opacity 0.3s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after,
.nav__links .active::after { transform: scaleX(1); transform-origin: left; }
.nav__links .active { opacity: 1; }
.nav__links sup { font-size: 8px; opacity: 0.5; margin-left: 3px; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border: 1px solid currentColor;
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft);
}

/* nav adapts to the tone of the section behind it */
.nav[data-tone='bone'] { color: var(--ink); }
.nav[data-tone='bone'] .nav__cta:hover { background: var(--ink); color: var(--bone); }
.nav[data-tone='dark'],
.nav[data-tone='wine'] { color: var(--cream); }
.nav[data-tone='dark'] .nav__cta:hover,
.nav[data-tone='wine'] .nav__cta:hover { background: var(--cream); color: var(--ink); }
.nav.scrolled .nav__in {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 10px 14px 10px 18px;
  transition: background 0.5s var(--ease-soft);
}
.nav.scrolled[data-tone='bone'] .nav__in { background: rgba(239, 232, 220, 0.72); }
.nav.scrolled[data-tone='dark'] .nav__in { background: rgba(10, 8, 9, 0.6); }
.nav.scrolled[data-tone='wine'] .nav__in { background: rgba(60, 22, 32, 0.6); }

/* While the drawer is open the nav sits on near-black regardless of the
   section behind it, so the tone has to be overridden — otherwise the
   close icon is ink-on-ink and effectively invisible. */
.nav.menu-open { color: var(--cream); }
.nav.menu-open .nav__in {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav.menu-open .menu { color: var(--cream); }

.menu { display: none; width: 40px; height: 34px; position: relative; color: inherit; }
.menu span, .menu::before, .menu::after {
  content: ''; display: block; position: absolute; left: 9px;
  width: 22px; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.35s var(--ease), opacity 0.2s;
}
.menu::before { top: 11px; }
.menu span { top: 17px; }
.menu::after { top: 23px; }
.menu[aria-expanded='true']::before { top: 17px; transform: rotate(45deg); }
.menu[aria-expanded='true'] span { opacity: 0; }
.menu[aria-expanded='true']::after { top: 17px; transform: rotate(-45deg); }

.mobile {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 28px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  /* visibility is delayed on close so the wipe can finish playing */
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.mobile.open {
  clip-path: inset(0 0 0 0); visibility: visible;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0s;
}
.mobile a {
  font: 500 clamp(34px, 10vw, 58px)/1.25 var(--display);
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  display: flex; align-items: baseline; gap: 14px;
}
.mobile a i {
  font: 500 11px var(--ui); font-style: normal;
  letter-spacing: 0.2em; color: var(--gold);
}

/* ============================================================= HERO ==== */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bone);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
}

/* video-ready: drop a <source> into .hero__video and it takes over */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: none;
}
.hero.has-video .hero__video { display: block; }
.hero.has-video::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(239,232,220,.86), rgba(239,232,220,.5) 40%, rgba(239,232,220,.9));
}

/* registration grid — the structural motif, echoed in section rules */
.hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  --gline: rgba(20, 14, 18, 0.09);
  background-image:
    linear-gradient(90deg, var(--gline) 1px, transparent 1px),
    linear-gradient(90deg, var(--gline) 1px, transparent 1px),
    linear-gradient(180deg, var(--gline) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position: 22px 0, calc(100% - 22px) 0, 0 84px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s var(--ease-soft) 0.5s;
}
.hero.ready .hero__grid { opacity: 1; }
.hero__cross {
  position: absolute; width: 13px; height: 13px; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity 0.8s var(--ease-soft);
}
.hero.ready .hero__cross { opacity: 0.42; }
.hero__cross::before, .hero__cross::after {
  content: ''; position: absolute; background: var(--ink);
}
.hero__cross::before { left: 6px; top: 0; width: 1px; height: 100%; }
.hero__cross::after { top: 6px; left: 0; height: 1px; width: 100%; }
.hero__cross:nth-of-type(1) { top: 78px; left: 16px; transition-delay: 0.6s; }
.hero__cross:nth-of-type(2) { top: 78px; right: 16px; transition-delay: 0.68s; }
.hero__cross:nth-of-type(3) { bottom: 88px; left: 16px; transition-delay: 0.76s; }
.hero__cross:nth-of-type(4) { bottom: 88px; right: 16px; transition-delay: 0.84s; }

/* the stage: ghost wordmark → solid wordmark → figure, layered */
.hero__stage {
  position: relative; z-index: 4;
  grid-row: 1;
  display: grid;
  place-items: end center;
  min-height: 0;
}

/* ghosted wordmark, sits behind his head */
.hero__ghost {
  position: absolute; top: 13%; left: 50%; z-index: 1;
  transform: translateX(-50%);
  margin: 0; white-space: nowrap; pointer-events: none;
  font: 400 clamp(92px, 17.5vw, 258px)/0.8 var(--poster);
  letter-spacing: 0.02em;
  color: rgba(20, 14, 18, 0.07);
  opacity: 0; transition: opacity 1.6s var(--ease-soft) 0.35s;
}
.hero.ready .hero__ghost { opacity: 1; }

/* solid wordmark — the figure stands in front of it */
.hero__solid {
  position: absolute; left: -1.2%; bottom: 0; z-index: 2;
  margin: 0; white-space: nowrap; pointer-events: none;
  /* Piepie sits low in its em box (asc 1.079 / desc 0.183, cap 0.7).
     line-height 0.9 puts the baseline flush with the box bottom, so the
     wordmark rests exactly on the rail rule instead of being sliced. */
  font: 400 clamp(84px, 19.5vw, 296px)/0.9 var(--poster);
  letter-spacing: -0.012em;
  color: var(--ink);
  display: block; overflow: hidden;
  padding-inline: 0.06em; margin-inline: -0.06em;
}
.hero__solid span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.25s var(--ease) 0.55s;
}
.hero.ready .hero__solid span { transform: translateY(0); }

/* the portrait */
.hero__figure {
  position: relative; z-index: 3;
  height: min(86svh, 900px);
  margin-bottom: -1px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.5s var(--ease) 0.1s;
}
.hero.ready .hero__figure { clip-path: inset(0 0 0 0); }
/* display:contents removes the <picture> box so the <img> sizes against
   .hero__figure directly instead of an auto-height inline wrapper. */
.hero__figure picture { display: contents; }
.hero__figure img {
  height: 100%; width: auto; object-fit: contain; object-position: bottom center;
  transform: scale(1.05);
  transform-origin: bottom center;
  transition: transform 1.8s var(--ease) 0.1s;
}
.hero.ready .hero__figure img { transform: scale(1); }

/* floating meta — positioned off the stage, never overlapping his face */
.hero__meta {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
}
.hero__meta > * { pointer-events: auto; }

.hero__lede {
  position: absolute; top: 27%; left: 22px;
  max-width: 268px; margin: 0;
  font: 500 12px/1.75 var(--ui); letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(20, 14, 18, 0.78);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.9s var(--ease-soft) 0.9s, transform 0.9s var(--ease) 0.9s;
}
.hero.ready .hero__lede { opacity: 1; transform: none; }

.hero__stamp {
  position: absolute; top: 27%; right: 22px;
  margin: 0; text-align: right;
  border-top: 1px solid rgba(20, 14, 18, 0.4); padding-top: 12px;
  font: 500 11px/1.85 var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(20, 14, 18, 0.72);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.9s var(--ease-soft) 1s, transform 0.9s var(--ease) 1s;
}
.hero.ready .hero__stamp { opacity: 1; transform: none; }
.hero__stamp b { display: block; font-weight: 500; color: var(--ink); }

.hero__year {
  position: absolute; left: 22px; bottom: 30%;
  font: 500 12px var(--ui); letter-spacing: 0.2em;
  color: rgba(20, 14, 18, 0.6);
  opacity: 0; transition: opacity 0.9s var(--ease-soft) 1.1s;
}
.hero.ready .hero__year { opacity: 1; }

/* release card, top right — echoes the ZENTIX card in the reference */
.hero__card {
  position: absolute; top: 40%; right: 22px; width: 232px;
  background: var(--bone);
  border: 1px solid rgba(20, 14, 18, 0.14);
  padding: 9px 9px 0;
  box-shadow: 0 24px 60px -30px rgba(20, 14, 18, 0.5);
  opacity: 0; transform: translateY(24px) rotate(0.6deg);
  transition: opacity 0.95s var(--ease-soft) 1.15s, transform 0.95s var(--ease) 1.15s;
}
.hero.ready .hero__card { opacity: 1; transform: rotate(0.6deg); }
.hero__card:hover { transform: rotate(0deg) translateY(-4px); }
.hero__card .settle { aspect-ratio: 4 / 3; }
.hero__card img { filter: saturate(0.86) contrast(1.04); object-position: 50% 42%; }
.hero__card figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 3px 12px;
  font: 500 10px var(--ui); letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__card figcaption b { font-weight: 500; }
.hero__card figcaption i { font-style: normal; opacity: 0.5; }

/* booking card, bottom right — echoes the "Let's Talk" card */
.hero__talk {
  position: absolute; right: 22px; bottom: 74px; z-index: 6;
  display: flex; align-items: stretch; gap: 0;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 26px 60px -28px rgba(20, 14, 18, 0.7);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.95s var(--ease-soft) 1.3s, transform 0.55s var(--ease);
}
.hero.ready .hero__talk { opacity: 1; transform: none; }
.hero__talk:hover { transform: translateY(-4px); }
.hero__talk .settle { width: 62px; flex: none; }
.hero__talk .settle img { filter: saturate(0.8) contrast(1.05); }
.hero__talk div { padding: 12px 16px; display: grid; align-content: center; gap: 3px; }
.hero__talk small {
  font: 500 9px var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-light);
}
.hero__talk b { font: 500 15px var(--display); letter-spacing: -0.01em; }
.hero__talk em { font-style: normal; font-size: 11px; color: var(--dim); letter-spacing: 0.04em; }
.hero__talk i {
  align-self: center; margin-right: 12px; font-style: normal;
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft);
}
.hero__talk:hover i { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* bottom rail */
.hero__rail {
  position: relative; z-index: 7; grid-row: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: var(--wrap); margin-inline: auto;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(20, 14, 18, 0.18);
  font: 500 10px var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(20, 14, 18, 0.62);
  opacity: 0; transition: opacity 1s var(--ease-soft) 1.4s;
}
.hero.ready .hero__rail { opacity: 1; }
.hero__rail a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.hero__rail a svg { transition: transform 0.5s var(--ease); }
.hero__rail a:hover svg { transform: translateY(4px); }

/* ======================================================== DARK WORLD === */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section--soft { background: var(--soft); }

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 78px); line-height: 0.98; letter-spacing: -0.04em;
  margin: 22px 0 0;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--gold-light); }

.lede { max-width: 46ch; color: var(--dim); margin: 26px 0 0; font-size: 17px; }

/* --- session block ------------------------------------------------ */
.session__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
}
.session__numeral {
  font: 400 clamp(120px, 17vw, 250px)/0.72 var(--poster);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(185, 143, 78, 0.42);
  margin: 40px 0 0;
  display: block;
}
.session__photo { aspect-ratio: 4 / 5; }
.session__photo::after {
  content: '08 / 09 / 26';
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  font: 500 10px var(--ui); letter-spacing: 0.18em; color: var(--cream);
  background: rgba(8, 7, 10, 0.55); padding: 6px 9px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* --- records ------------------------------------------------------ */
.records { margin-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line); }
.record {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.1fr) 130px;
  gap: 28px; align-items: baseline;
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--line);
  /* isolate creates the stacking context the z-index:-1 wash needs, so it
     sits behind the row's content but in front of the section background */
  position: relative; isolation: isolate;
  transition: padding-left 0.6s var(--ease);
}
.record::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(185, 143, 78, 0.07), transparent 62%);
  opacity: 0; transition: opacity 0.6s var(--ease-soft);
}
.record:hover { padding-left: 20px; }
.record:hover::before { opacity: 1; }
.record__no {
  font: 400 34px/1 var(--poster); color: var(--gold); opacity: 0.55;
  transition: opacity 0.5s var(--ease-soft);
}
.record:hover .record__no { opacity: 1; }
.record h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.035em;
  margin: 0;
}
.record p { margin: 0; color: var(--dim); font-size: 15px; }
.record__tag {
  justify-self: end; white-space: nowrap;
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(185, 143, 78, 0.36);
  padding: 7px 11px;
}

/* --- pull quote ---------------------------------------------------- */
.pull {
  padding: clamp(96px, 14vw, 190px) 0;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(91, 65, 82, 0.34), transparent 58%),
    radial-gradient(80% 70% at 92% 100%, rgba(110, 47, 63, 0.26), transparent 60%),
    var(--bg);
}
/* lines are broken by hand, so no max-width — a ch cap would force a second
   wrap inside each mask and knock the rhythm out */
.pull blockquote {
  margin: 0;
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(31px, 6.2vw, 92px); line-height: 1.04; letter-spacing: -0.045em;
}
.pull blockquote b { font-weight: 500; font-style: normal; color: var(--gold-light); }
.pull cite {
  display: flex; align-items: center; gap: 14px; margin-top: 42px;
  font: 500 11px var(--ui); font-style: normal;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.pull cite::before { content: ''; width: 54px; height: 1px; background: currentColor; }

/* --- frame gallery ------------------------------------------------- */
.frames {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  align-items: end;
}
.frame { position: relative; display: block; margin: 0; }
.frame:nth-child(1) { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.frame:nth-child(2) { grid-column: 6 / 10; aspect-ratio: 3 / 4; margin-bottom: 8%; }
.frame:nth-child(3) { grid-column: 10 / 13; aspect-ratio: 3 / 4; }
.frame .settle { position: absolute; inset: 0; }
.frame figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--ease-soft), transform 0.45s var(--ease);
}
.frame::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(8, 7, 10, 0.6), transparent 45%);
  opacity: 0; transition: opacity 0.45s var(--ease-soft);
}
.frame:hover::after, .frame:hover figcaption { opacity: 1; transform: none; }
.frame:hover img { transform: scale(1.045); }

/* --- closing ------------------------------------------------------- */
.closing {
  padding: clamp(96px, 13vw, 170px) 0;
  background: var(--wine);
  position: relative; overflow: hidden;
}
.closing::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 82% 12%, rgba(185, 143, 78, 0.3), transparent 55%);
}
.closing .wrap { position: relative; }
.closing h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(42px, 7.4vw, 110px); line-height: 0.94; letter-spacing: -0.05em;
  margin: 24px 0 40px; max-width: 14ch;
}
.closing h2 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.closing .index { color: var(--gold-light); }

/* --- footer -------------------------------------------------------- */
.footer { padding: 74px 0 34px; background: var(--ink); }
.footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 26px; padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.footer__links {
  display: flex; flex-wrap: wrap; gap: 28px;
  font: 500 11px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim);
}
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 15px; border: 1px solid var(--line);
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream);
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft),
              border-color 0.4s var(--ease-soft);
}
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { flex: none; }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 22px;
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
}

/* ================================================== SESSION FOOTAGE ==== */

/* full-bleed cinematic band — the one moment on the page that breaks the
   wrap and runs edge to edge */
.cinema {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78svh;
  overflow: hidden;
  background: var(--ink);
}
.cinema img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.8s var(--ease);
}
.is-in .cinema img { transform: scale(1); }
/* Optional motion layer. The still underneath is the poster and the
   fallback: the video only fades up once it is actually playing, so a
   blocked autoplay or reduced-motion just leaves the photograph. */
.cinema__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s var(--ease-soft);
}
.cinema.playing .cinema__video { opacity: 1; }

.cinema::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(0deg, rgba(8,7,10,.86), rgba(8,7,10,.12) 42%, rgba(8,7,10,.5)),
    linear-gradient(90deg, rgba(8,7,10,.6), transparent 46%);
}
.cinema__meta {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  width: var(--wrap); margin-inline: auto;
  padding-bottom: clamp(24px, 4vw, 52px);
}
.cinema__meta h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 68px); line-height: 0.98; letter-spacing: -0.045em;
  margin: 18px 0 0; max-width: 15ch;
}
.cinema__meta h2 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.cinema__stamp {
  /* clears the fixed nav, which overlaps the top of the band */
  position: absolute; top: clamp(96px, 9vw, 118px); right: 0; z-index: 3;
  width: var(--wrap); left: 0; margin-inline: auto;
  text-align: right;
  font: 500 10px/1.9 var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream);
}

/* the footage is vertical phone video, so it lives in a vertical frame
   rather than being stretched behind something */
.vclip {
  position: relative; margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}
.vclip video, .vclip img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.vclip figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 13px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(8, 7, 10, 0.9);
}
.vclip figcaption b { font-weight: 500; }
.vclip__live { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); }
.vclip__live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.vclip::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,7,10,.7), transparent 34%);
}

.session__split {
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(28px, 5vw, 76px); align-items: start;
  margin-top: clamp(44px, 6vw, 84px);
}
/* a 9:16 clip at full column width is ~870px tall and leaves the opposite
   column empty — cap it and give the text column a still to sit on */
.session__split .vclip { max-width: 380px; margin-left: auto; }
.session__still { margin: clamp(26px, 3vw, 40px) 0 0; }
.session__still .settle { aspect-ratio: 3 / 2; }
.session__still figcaption {
  margin-top: 12px;
  font: 500 10px var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}

/* --- the room: musicians ------------------------------------------- */
.room {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.room figure { margin: 0; position: relative; }
.room .settle { aspect-ratio: 3 / 2; }
.room figcaption {
  margin-top: 12px;
  font: 500 10px var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}
.room figure:hover figcaption { color: var(--gold); }
.room figure:hover img { transform: scale(1.05); }
.room__wide { grid-column: 1 / -1; margin-top: clamp(12px, 1.6vw, 22px); }
.room__wide .settle { aspect-ratio: 21 / 9; }

/* ===================================================== INNER PAGES ===== */

/* --- page header, dark variant ------------------------------------- */
.page-top {
  padding: clamp(132px, 16vw, 210px) 0 clamp(50px, 6vw, 84px);
  position: relative; overflow: hidden;
  background:
    radial-gradient(85% 120% at 88% -10%, rgba(91, 65, 82, 0.4), transparent 58%),
    var(--bg);
}
.page-top h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(52px, 9vw, 132px); line-height: 0.92; letter-spacing: -0.05em;
  margin: 22px 0 0; max-width: 13ch;
}
.page-top h1 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.page-top .lede { margin-top: 30px; }
/* the 3N mark as a recurring watermark, not just a nav logo */
.page-top__mark {
  position: absolute; right: -4%; top: 8%; width: min(30vw, 380px);
  opacity: 0.05; pointer-events: none; filter: grayscale(1);
}

/* --- page header, bone variant (About) ----------------------------- */
.page-top--bone {
  background: var(--bone); color: var(--ink);
  padding-bottom: 0;
  overflow: visible;   /* the portrait has to hang past the band */
}
.page-top--bone .index { color: #7d5f2d; } /* #8a6a33 read at 4.1:1 on bone */
.page-top--bone .lede { color: rgba(20, 14, 18, 0.72); }
.page-top--bone h1 em { color: #7d5a30; }
.bone-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px); align-items: end;
}
.bone-grid > div:first-child { padding-bottom: clamp(50px, 7vw, 96px); }
/* the portrait hangs past the bone band into the dark section below */
.bone-portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5;
  margin-bottom: clamp(-110px, -9vw, -60px); z-index: 2;
}
.bone-portrait .settle { position: absolute; inset: 0; }
.bone-portrait figcaption {
  position: absolute; left: 0; bottom: -34px;
  font: 500 10px var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244, 237, 225, 0.62);
}

/* --- facts ---------------------------------------------------------- */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px);
}
.facts div { padding: 26px 22px 24px 0; border-bottom: 1px solid var(--line); }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts dt {
  font: 500 10px var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.facts dd {
  margin: 14px 0 0;
  font: 400 clamp(34px, 4.4vw, 62px)/0.9 var(--poster);
  letter-spacing: -0.02em; color: var(--cream);
}

/* --- bio ------------------------------------------------------------ */
.bio { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 90px); }
.bio p { margin: 0 0 22px; color: var(--dim); font-size: 17px; max-width: 58ch; }
.bio p:first-of-type { color: var(--cream); font-size: 20px; line-height: 1.6; }

/* --- press gallery (varied tiles + lightbox) ------------------------ */
.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.gallery figure { margin: 0; position: relative; }
.gallery button {
  display: block; width: 100%; position: absolute; inset: 0;
  overflow: hidden; cursor: zoom-in;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; pointer-events: none;
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease);
}
.gallery figure::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 7, 10, 0.66), transparent 42%);
  opacity: 0; transition: opacity 0.4s var(--ease-soft);
}
.gallery figure:hover::after, .gallery figure:hover figcaption,
.gallery button:focus-visible + figcaption { opacity: 1; transform: none; }
/* Nine frames, deliberately unequal — wide cinematic bands breaking up
   tighter portrait tiles, with a stagger so no two rows sit on the same
   baseline. */
.gallery figure:nth-child(1) { grid-column: 1 / 8;  aspect-ratio: 16 / 9; }
.gallery figure:nth-child(2) { grid-column: 8 / 13; aspect-ratio: 4 / 5; align-self: end; }
.gallery figure:nth-child(3) { grid-column: 1 / 5;  aspect-ratio: 4 / 5; }
.gallery figure:nth-child(4) { grid-column: 5 / 9;  aspect-ratio: 4 / 5; align-self: end; }
.gallery figure:nth-child(5) { grid-column: 9 / 13; aspect-ratio: 3 / 4; }
.gallery figure:nth-child(6) { grid-column: 1 / 6;  aspect-ratio: 3 / 2; align-self: end; }
.gallery figure:nth-child(7) { grid-column: 6 / 13; aspect-ratio: 16 / 9; }
.gallery figure:nth-child(8) { grid-column: 1 / 5;  aspect-ratio: 4 / 5; }
.gallery figure:nth-child(9) { grid-column: 5 / 13; aspect-ratio: 21 / 9; align-self: end; }

.lightbox {
  border: 0; padding: 0; max-width: 100vw; max-height: 100dvh;
  width: 100%; height: 100%; background: rgba(8, 7, 10, 0.94);
}
.lightbox::backdrop { background: rgba(8, 7, 10, 0.9); }
.lightbox img {
  max-width: min(92vw, 1100px); max-height: 82dvh;
  margin: auto; object-fit: contain;
}
.lightbox form { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 44px; height: 44px; border: 1px solid var(--line); color: var(--cream);
  display: grid; place-items: center;
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}
.lightbox__close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  font: 500 10px var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dim);
}

/* --- discography ---------------------------------------------------- */
.disc { border-top: 1px solid var(--line); }
.disc__row {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) 150px;
  gap: clamp(20px, 3vw, 46px); align-items: center;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  position: relative; isolation: isolate;
  transition: padding-left 0.6s var(--ease);
}
.disc__row::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(185, 143, 78, 0.08), transparent 58%);
  opacity: 0; transition: opacity 0.55s var(--ease-soft);
}
.disc__row:hover { padding-left: 24px; }
.disc__row:hover::before { opacity: 1; }
.disc__no {
  font: 400 clamp(52px, 6vw, 96px)/0.8 var(--poster);
  color: transparent; -webkit-text-stroke: 1px rgba(185, 143, 78, 0.5);
  transition: color 0.5s var(--ease-soft);
}
.disc__row:hover .disc__no { color: rgba(185, 143, 78, 0.16); }
.disc__row h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 62px); line-height: 1; letter-spacing: -0.045em;
  margin: 0 0 10px;
}
.disc__row p { margin: 0; color: var(--dim); font-size: 16px; max-width: 46ch; }
.disc__meta { justify-self: end; text-align: right; }
.disc__meta span {
  display: block;
  font: 500 10px var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.disc__meta small {
  display: block; margin-top: 8px;
  font: 500 10px var(--ui); letter-spacing: 0.14em; color: var(--faint);
}
.note {
  margin-top: clamp(38px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid var(--line);
  font: 500 11px/1.9 var(--ui); letter-spacing: 0.1em;
  color: var(--faint); max-width: 62ch;
}

/* --- track: one song, one frame, one lyric -------------------------- */
.track {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3.4vw, 56px);
  align-items: center;
  padding: clamp(38px, 5vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}
.track:first-of-type { border-top: 1px solid var(--line); }
/* alternate which side the frame sits on so the page has a rhythm */
.track:nth-of-type(even) .track__frame { order: -1; }
.track:nth-of-type(even) { grid-template-columns: minmax(0, 1.05fr) 84px minmax(0, 1fr); }
.track:nth-of-type(even) .track__no { order: 0; }

.track__no {
  font: 400 clamp(44px, 5vw, 76px)/0.8 var(--poster);
  color: transparent; -webkit-text-stroke: 1px rgba(185, 143, 78, 0.5);
  align-self: start;
}
.track h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4.2vw, 58px); line-height: 0.98; letter-spacing: -0.045em;
  margin: 0;
}
.track__lyric {
  margin: 22px 0 0; padding-left: 18px;
  border-left: 1px solid rgba(185, 143, 78, 0.45);
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; letter-spacing: -0.02em;
  color: var(--gold-light);
}
.track__lyric small {
  display: block; margin-top: 10px;
  font: 500 9px var(--ui); font-style: normal;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
}
.track p.track__note { margin: 20px 0 0; color: var(--dim); font-size: 16px; max-width: 42ch; }
.track__status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  padding: 9px 14px; border: 1px solid rgba(185, 143, 78, 0.36);
  font: 500 10px var(--ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.track__status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.track__frame { position: relative; margin: 0; }
.track__frame .settle { aspect-ratio: 16 / 9; }
.track__frame:hover img { transform: scale(1.04); }
.track__frame figcaption {
  margin-top: 12px;
  font: 500 10px var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}

/* --- events --------------------------------------------------------- */
.event {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
  border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 56px);
}
/* these two beat the generic `.event p` colour rule below */
.event .event__date {
  font: 400 clamp(96px, 13vw, 190px)/0.76 var(--poster);
  letter-spacing: -0.03em; color: transparent;
  -webkit-text-stroke: 1px rgba(185, 143, 78, 0.45);
  margin: 0 0 24px; max-width: none;
}
.event h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.045em;
  margin: 0 0 18px;
}
.event p { color: var(--dim); margin: 0 0 30px; max-width: 44ch; }
.event__photo { position: relative; aspect-ratio: 4 / 5; margin: 0; }
.event__photo .settle { position: absolute; inset: 0; }
.event .event__tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 500 10px var(--ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); max-width: none;
}
.event__tag::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
}
.empty {
  border-top: 1px solid var(--line); padding-top: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.empty h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 62px); line-height: 1; letter-spacing: -0.045em;
  margin: 20px 0 0;
}
.empty p { color: var(--dim); margin: 0; max-width: 40ch; }

/* --- contact -------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.paths { border-top: 1px solid var(--line); margin: 0; }
.path {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.55s var(--ease);
}
.path:hover { padding-left: 14px; }
.path b {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: 23px; letter-spacing: -0.02em;
}
.path small {
  display: block; margin-top: 5px;
  font: 500 11px var(--ui); letter-spacing: 0.1em; color: var(--dim);
}
.path i {
  font-style: normal; flex: none;
  width: 38px; height: 38px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gold);
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft),
              border-color 0.4s var(--ease-soft);
}
.path:hover i { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label {
  font: 500 10px var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 2px; color: var(--cream); font: 400 17px var(--ui);
  transition: border-color 0.4s var(--ease-soft);
}
.field select { color: var(--cream); }
.field select option { background: var(--surface); color: var(--cream); }
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.field .err {
  font: 500 11px var(--ui); letter-spacing: 0.06em; color: #e08a7a;
  min-height: 0; display: none;
}
.field[data-invalid] input,
.field[data-invalid] select,
.field[data-invalid] textarea { border-bottom-color: #e08a7a; }
.field[data-invalid] .err { display: block; }
.form__sent {
  display: none; align-items: center; gap: 14px; padding: 20px 22px;
  border: 1px solid rgba(185, 143, 78, 0.5); color: var(--gold-light);
  font: 500 12px var(--ui); letter-spacing: 0.1em;
}
.form.is-sent .form__sent { display: flex; }

/* --- 404 ------------------------------------------------------------ */
.notfound {
  min-height: 100svh; background: var(--bone); color: var(--ink);
  display: grid; place-items: center; text-align: center; padding: 120px 22px 80px;
}
.notfound h1 {
  font: 400 clamp(120px, 30vw, 380px)/0.82 var(--poster);
  letter-spacing: -0.02em; margin: 0;
}
.notfound p {
  margin: 8px 0 34px;
  font: 500 12px var(--ui); letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(20, 14, 18, 0.7);
}

/* ========================================================= RESPONSIVE == */
@media (max-width: 1100px) {
  .hero__card { width: 194px; top: 44%; }
  .record { grid-template-columns: 62px minmax(0, 1fr) 120px; }
  .record p { grid-column: 2 / 4; margin-top: 8px; }
}

@media (max-width: 900px) {
  :root { --wrap: min(1240px, calc(100% - 32px)); }
  .nav__links, .nav__cta { display: none; }
  .menu { display: block; }

  .hero { grid-template-rows: 1fr auto; }
  /* On a phone the figure is nearly viewport-wide, so a wordmark at the
     foot of the stage would sit entirely behind him. The decorative ghost
     is dropped and the real <h1> takes over its slot behind his head —
     same picture, but the heading stays a heading. */
  .hero__ghost { display: none; }
  .hero__solid {
    top: 30%; bottom: auto; left: 50%; transform: translateX(-50%);
    font: 400 clamp(78px, 22vw, 200px)/0.92 var(--poster);
    letter-spacing: 0.02em;
    color: rgba(20, 14, 18, 0.085);
    z-index: 1;
  }

  /* pad the stage so his hands clear the booking card below */
  .hero__stage { padding-bottom: 66px; }
  /* deliberately wider than the viewport: his shoulders leave the frame
     instead of stopping inside it, which is what kills the "cut" read */
  .hero__figure { height: min(62svh, 540px); }
  /* dissolve the base of the portrait instead of ending it on a hard cut */
  .hero__figure::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
    background: linear-gradient(to top, var(--bone), rgba(239, 232, 220, 0));
    pointer-events: none;
  }
  .hero__lede {
    top: 104px; left: 20px; right: 46%; max-width: none;
    font-size: 10px; line-height: 1.75; letter-spacing: 0.08em;
  }
  .hero__stamp { top: 104px; right: 20px; font-size: 10px; }
  .hero__year { display: none; }
  .hero__card { display: none; }
  .hero__talk { right: 20px; bottom: 62px; }
  .hero__talk .settle { width: 48px; }
  .hero__talk div { padding: 9px 12px; }
  .hero__talk i { width: 28px; height: 28px; margin-right: 9px; }
  .hero__rail { font-size: 9px; letter-spacing: 0.16em; }
  .hero__rail span:last-child { display: none; }

  .session__grid { grid-template-columns: 1fr; }
  .session__numeral { margin-top: 22px; }
  .session__split { grid-template-columns: 1fr; }
  .cinema { aspect-ratio: 4 / 3; max-height: 62svh; }
  .cinema__meta h2 { font-size: clamp(26px, 7vw, 40px); }
  .vclip { max-width: 340px; margin-inline: auto; }
  .room { grid-template-columns: 1fr 1fr; }
  .room figure:nth-child(3) { grid-column: 1 / -1; }

  .bone-grid { grid-template-columns: 1fr; }
  .bone-grid > div:first-child { padding-bottom: 34px; }
  .bone-portrait { aspect-ratio: 3 / 2; margin-bottom: -54px; }
  .bio { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div {
    padding: 18px 0; border-left: 0; padding-left: 0;
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  }
  .facts dd { margin: 0; font-size: 34px; }
  .page-top__mark { width: 58vw; top: auto; bottom: -6%; right: -16%; }

  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery figure:nth-child(1) { grid-column: 1 / 7; aspect-ratio: 16 / 9; }
  .gallery figure:nth-child(2) { grid-column: 1 / 4; aspect-ratio: 4 / 5; }
  .gallery figure:nth-child(3) { grid-column: 4 / 7; aspect-ratio: 4 / 5; }
  .gallery figure:nth-child(4) { grid-column: 1 / 4; aspect-ratio: 4 / 5; }
  .gallery figure:nth-child(5) { grid-column: 4 / 7; aspect-ratio: 4 / 5; }
  .gallery figure:nth-child(6) { grid-column: 1 / 7; aspect-ratio: 3 / 2; }
  .gallery figure:nth-child(7) { grid-column: 1 / 7; aspect-ratio: 16 / 9; }
  .gallery figure:nth-child(8) { grid-column: 1 / 4; aspect-ratio: 4 / 5; }
  .gallery figure:nth-child(9) { grid-column: 4 / 7; aspect-ratio: 4 / 5; }

  .disc__row { grid-template-columns: 74px minmax(0, 1fr); row-gap: 14px; }
  .disc__row:hover { padding-left: 0; }
  .disc__meta { grid-column: 2; justify-self: start; text-align: left; }

  .track,
  .track:nth-of-type(even) { grid-template-columns: 58px minmax(0, 1fr); row-gap: 22px; }
  .track__no { font-size: 40px; }
  .track__frame,
  .track:nth-of-type(even) .track__frame { grid-column: 1 / -1; order: 0; }
  .event, .empty, .contact-grid { grid-template-columns: 1fr; }
  .event__photo { aspect-ratio: 3 / 2; }

  .frames { grid-template-columns: repeat(6, 1fr); }
  .frame:nth-child(1) { grid-column: 1 / 5; }
  .frame:nth-child(2) { grid-column: 5 / 7; margin-bottom: 0; }
  .frame:nth-child(3) { grid-column: 1 / 7; aspect-ratio: 16 / 10; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero__solid { top: 32%; }
  .hero__figure { height: min(56svh, 470px); }
  .hero__stamp { top: 96px; font-size: 9px; letter-spacing: 0.12em; }
  .hero__lede { top: 96px; font-size: 9px; letter-spacing: 0.08em; }
  .hero__talk { left: 20px; right: 20px; bottom: 58px; }
  .hero__talk div { flex: 1; }

  .record {
    grid-template-columns: 44px 1fr; gap: 4px 16px;
    padding: 24px 0 22px;
  }
  .record__no { font-size: 24px; }
  .record p { grid-column: 2; }
  .record__tag { grid-column: 2; justify-self: start; margin-top: 14px; }
  .record:hover { padding-left: 0; }

  .footer__links { gap: 18px; }
}

/* ==================================================== REDUCED MOTION ===
   Not "everything off" — a real alternative: content is placed, the
   entrance becomes a short opacity settle, hover states stay. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .rise > *, .hero__solid span { transform: none !important; }
  .hero__figure { clip-path: none !important; }
  .hero__figure img, .settle img { transform: none !important; }
  .index::after { transform: scaleX(1) !important; }

  .fade,
  .hero__lede, .hero__stamp, .hero__year,
  .hero__card, .hero__talk, .hero__rail,
  .hero__ghost, .hero__grid, .hero__cross {
    transform: none !important;
    animation: soft-in 0.4s var(--ease-soft) both;
  }
  .is-in .fade { opacity: 1; }

  *, *::before, *::after {
    transition-duration: 0.15s !important;
    transition-delay: 0s !important;
  }
  @keyframes soft-in { from { opacity: 0; } to { opacity: 1; } }
}
