/* ==========================================================================
   Xclusive Art Club
   Palette is sampled directly from the shop's logo animation: the star is warm
   pewter (#957f78), not cold steel, and the X is #b91100. Everything derives
   from those two facts.
   ========================================================================== */

:root {
  /* colour ------------------------------------------------------------- */
  --ink:        #050403;   /* page black, warm cast — sampled from the video */
  --ink-raise:  #0E0B09;   /* panels lifted off the page */
  --ink-line:   #1E1916;   /* hairlines */
  --bone:       #EDE7DF;   /* primary text */
  --ash:        #8A8079;   /* secondary text — the star's warm grey edge */
  --blood:      #C41200;   /* the X — graphic use only, 3.3:1 on ink */
  --blood-lit:  #FF3B21;   /* same hue lifted to 5.7:1, for small text */
  --flame:      #FF8A1E;   /* the flame, used sparingly */

  /* the signature: warm pewter chrome, lit by scroll --------------------- */
  /* Polished metal needs a hard horizon, not a soft ramp: pale sky, abrupt
     break, dark ground, bright lip. `--sweep` slides it as you scroll. */
  /* Two identical cycles. Only ~48% of the ramp is visible at a time, so any
     element — a 13rem headline or a one-letter name — always frames a full
     highlight-to-horizon pass instead of parking in a single flat band.
     Every stop clears 3:1 on --ink. */
  --chrome: linear-gradient(177deg,
    #8A817A  0%, #CFC7BF  7%, #FFFDFA 15%, #EFEAE4 22%,
    #6B625C 23%, #7E756D 28%, #C3BAB2 36%, #FFFFFF 42%, #9C938C 47%,
    #8A817A 50%, #CFC7BF 57%, #FFFDFA 65%, #EFEAE4 72%,
    #6B625C 73%, #7E756D 78%, #C3BAB2 86%, #FFFFFF 92%, #9C938C 97%,
    #8A817A 100%);
  --sweep: 0%;             /* driven by scroll from JS */

  /* type ---------------------------------------------------------------- */
  --f-display: 'Big Shoulders Display', 'Haettenschweiler', 'Arial Narrow', Impact, sans-serif;
  --f-body:    'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-mono:    'Chivo Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* layout -------------------------------------------------------------- */
  --shell: min(1440px, 100% - 2 * var(--gutter));
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --nav-h: 4.5rem;
}

/* ------------------------------------------------------------------ reset */

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  /* `clip`, not `hidden` — `hidden` makes body a scroll container and that
     silently breaks every `position: sticky` on the page. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, figcaption { margin: 0; }

a { color: inherit; }

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

.shell { width: var(--shell); margin-inline: auto; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Available to assistive tech, invisible on screen. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 0; left: 50%;
  translate: -50% -110%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-decoration: none;
  transition: translate 0.2s;
}
.skip:focus { translate: -50% 0; }

/* --------------------------------------------------- the chrome treatment */
/* A hard-edged pewter gradient clipped to the glyphs. `--sweep` slides the
   gradient as the page scrolls, so light travels across the letterforms. */

.chrome {
  background-image: var(--chrome);
  background-size: 100% 210%;
  background-position: 0% var(--sweep);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0.02em 0.03em rgba(0, 0, 0, 0.85));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .chrome { color: var(--bone); background: none; filter: none; }
}

/* ================================================================ preloader */

.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.7s ease 0.15s, visibility 0.7s ease 0.15s;
}
.boot[data-done] { opacity: 0; visibility: hidden; }

.boot__inner { width: min(22rem, 78vw); text-align: center; }

.boot__logo {
  width: clamp(5.5rem, 24vw, 8rem);
  height: auto;
  margin: 0 auto 1.5rem;
  animation: bootLogo 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes bootLogo {
  from { opacity: 0; transform: scale(0.82) rotate(-14deg); }
  to   { opacity: 1; transform: none; }
}

.boot__mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  --sweep: 40%;
}

.boot__rail {
  margin-top: 1.75rem;
  height: 1px;
  background: var(--ink-line);
  overflow: hidden;
}
.boot__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blood), var(--flame) 65%, #FFE07A);
  transition: width 0.25s ease-out;
}
.boot__pct { margin-top: 0.75rem; color: var(--ash); }

/* ====================================================================== nav */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav::before {
  content: '';
  position: absolute;
  inset: 0 0 -2rem 0;
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.75), transparent);
  pointer-events: none;
}
.nav__mark, .nav__links { position: relative; }

.nav__mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.rotor { width: 1.9rem; height: 1.9rem; object-fit: contain; }
.nav__wordmark { color: var(--bone); }

.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__links a {
  color: var(--bone);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav__links a:hover { border-bottom-color: currentColor; }
.nav__cta { color: var(--flame); }

@media (max-width: 34rem) {
  .nav__wordmark { display: none; }
}

/* ---------------------------------------------------------------- rail */

.rail {
  position: fixed;
  top: 0; right: 0;
  z-index: 99;
  width: 2px;
  height: 100vh;
  background: rgba(237, 231, 223, 0.07);
  pointer-events: none;
}
.rail__fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--blood), var(--flame) 70%, #FFE07A);
}

/* =================================================================== hero */

.hero { height: 420vh; position: relative; }

.hero__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #000;
}

.hero__canvas,
.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__fallback { object-fit: cover; }

/* The bottom stop has to land on exactly --ink so the last row of video pixels
   matches the page and the hero dissolves into THE WORK with no visible seam.
   It starts late (68%) to keep the fade off the artists' faces. */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 42%, rgba(5, 4, 3, 0.85) 100%),
    linear-gradient(180deg,
      rgba(5, 4, 3, 0.7) 0%,
      transparent 22%,
      transparent 68%,
      rgba(5, 4, 3, 0.55) 86%,
      var(--ink) 100%);
  pointer-events: none;
}

.hero__eyebrow {
  position: absolute;
  left: var(--gutter);
  bottom: calc(var(--gutter) + 0.25rem);
  color: var(--ash);
  line-height: 1.9;
}

.hero__title {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(92vw, 74rem);
  margin: 0;
  display: grid;
  gap: 0.02em;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 15.5vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  /* `translate` holds the centring; `transform` carries the scroll motion, so
     the two never fight over the same property. */
  transform: translateY(var(--rise, 0)) scale(var(--push, 1));
}
.hero__title > span { display: block; }

/* Portrait viewports letterbox the frame — the type drops into the black
   band underneath rather than sitting on top of the artists. */
.hero__stage.is-letterbox .hero__title {
  top: var(--media-bottom, 60%);
  translate: -50% 0;
  margin-top: clamp(1rem, 4vh, 2.5rem);
  font-size: clamp(3rem, 14vw, 6rem);
}

/* Artist name tags, pinned over each person once the camera lands. */
.hero__tags { position: absolute; inset: 0; pointer-events: none; }
.hero__tag {
  position: absolute;
  translate: -50% -100%;
  padding: 0.4rem 0.7rem 0.35rem;
  color: var(--bone);
  background: rgba(5, 4, 3, 0.55);
  border: 1px solid rgba(237, 231, 223, 0.28);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  opacity: 0;
}
.hero__tag::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 1px; height: 1.4rem;
  background: linear-gradient(180deg, rgba(237, 231, 223, 0.45), transparent);
}

.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--gutter) + 0.25rem);
  color: var(--ash);
  overflow: hidden;
}
.hero__cue span {
  display: block;
  animation: cue 2.4s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  45%      { transform: translateY(105%); opacity: 0; }
  46%      { transform: translateY(-105%); opacity: 0; }
}

/* =================================================================== work */

/* Tight at both ends on purpose — the video fades to --ink and the services
   ticker picks up almost immediately underneath it, and the first artist
   follows close behind the grid. The artist section brings its own ~120px of
   clearance (nav padding plus centring), so a big pad here just doubles up. */
.work { position: relative; padding-block: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4.5vh, 4rem); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ink-line);
  padding-block: 0.9rem;
  margin-bottom: clamp(4rem, 10vh, 7rem);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  padding-right: 2rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
}
.marquee__track i { color: var(--blood-lit); font-style: normal; padding-inline: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.work__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 8vh, 5.5rem);
}
@media (min-width: 56rem) {
  .work__head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; }
}

.work__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 13vw, 11rem);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.work__note { color: var(--ash); max-width: 34ch; padding-bottom: 0.6rem; }

.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
}
@media (min-width: 44rem) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .work__grid { grid-template-columns: repeat(3, 1fr); } }

.work__col {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-content: start;
  will-change: transform;
}

.card { display: grid; gap: 0.75rem; }

.card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  background:
    radial-gradient(90% 70% at 50% 30%, #221A16 0%, #120D0B 72%);
  border: 1px solid var(--ink-line);
  overflow: hidden;
}
.card[data-ratio="1/1"] .card__frame { aspect-ratio: 1 / 1; }
.card[data-ratio="3/4"] .card__frame { aspect-ratio: 3 / 4; }

/* Corner ticks — reads as a registration mark on a stencil. */
.card__frame::before,
.card__frame::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid rgba(237, 231, 223, 0.22);
}
.card__frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.card__frame::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.card__ghost {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: rgba(237, 231, 223, 0.14);
  line-height: 1;
}

/* Swap these out for the real photos — one <img> per .card__frame. */
.card__slot { color: rgba(237, 231, 223, 0.32); }

/* A frame holding a real photo is just a window: drop the centring grid and
   the registration ticks, which only exist to dress the empty state. */
.card__frame:has(img) { display: block; }
.card__frame:has(img)::before,
.card__frame:has(img)::after { display: none; }

.card__frame picture { display: block; width: 100%; height: 100%; }
.card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card__frame img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .card__frame img { transition: none; }
  .card:hover .card__frame img { transform: none; }
}

.card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ash);
  border-top: 1px solid var(--ink-line);
  padding-top: 0.7rem;
}
.card figcaption b { color: var(--bone); font-weight: 500; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-in] { opacity: 1; transform: none; }

/* ================================================================ artists */

.artist { position: relative; height: 230vh; }

.artist__stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: var(--nav-h) clamp(3rem, 8vh, 5rem);
}

/* Below the two-column breakpoint the stacked layout is taller than the
   viewport, so pinning it would strand the bottom half. Let it scroll. */
@media (max-width: 60rem) {
  .artist { height: auto; }
  .artist__stage { position: static; min-height: 0; padding-block: clamp(4rem, 10vh, 6rem); }
}

.artist__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .artist__grid { grid-template-columns: 1.05fr 0.85fr; }
  /* Mirror the track sizes too, or the flipped section hands the photo the
     wide column and squeezes the text. */
  .artist--flip .artist__grid  { grid-template-columns: 0.85fr 1.05fr; }
  .artist--flip .artist__text  { order: 2; }
  .artist--flip .artist__media { order: 1; }
}

.artist__eyebrow { color: var(--blood-lit); margin-bottom: 1.25rem; }

.artist__name {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  transform-origin: 20% 50%;
  will-change: transform;
}

/* The nameplate rule. It runs out to the column edge and turns with the name,
   so a one-letter name like P still holds the width instead of floating. */
.artist__name::after {
  content: '';
  flex: 1 1 auto;
  align-self: flex-end;
  height: 2px;
  margin-bottom: 0.2em;
  background: linear-gradient(90deg, var(--ash), rgba(138, 128, 121, 0.08));
}

/* spec table — the years count is the one number that carries real weight */
.spec {
  display: grid;
  gap: 0.65rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--ink-line);
  margin-bottom: 1.75rem;
  max-width: 30rem;
}
.spec > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.spec dt { color: var(--ash); }
.spec dd { margin: 0; color: var(--bone); }
.spec dd b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 0.8;
  letter-spacing: 0;
  color: var(--bone);
}
.spec--open { color: var(--flame); }

.artist__bio {
  max-width: 44ch;
  color: #C7BFB7;
  margin-bottom: 2rem;
}

.artist__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.artist__media {
  position: relative;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.artist__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.06);
  will-change: transform;
}
.artist__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 3, 0.55));
  pointer-events: none;
}

/* =================================================================== book */

.book { padding-top: clamp(5rem, 14vh, 10rem); }

.book__eyebrow { color: var(--ash); margin-bottom: 1.5rem; }

.book__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(4rem, 17vw, 15rem);
  line-height: 0.78;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.book__lead { max-width: 46ch; color: var(--ash); margin-bottom: 2.5rem; }

.book__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(4rem, 10vh, 7rem); }

/* =================================================================== form */

.form {
  /* Makes the native date picker and its calendar icon render dark. */
  color-scheme: dark;
  max-width: 54rem;
  margin-bottom: 3rem;
}

.form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 40rem) {
  .form__row { grid-template-columns: repeat(2, 1fr); }
  .form__row--3 { grid-template-columns: repeat(3, 1fr); }
}

.field { display: grid; gap: 0.5rem; margin: 0 0 1.25rem; }
.form__row .field { margin-bottom: 0; }

.field label,
.fieldset legend {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #2A2320;
  border-radius: 8px;
  background: var(--ink-raise);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder,
.field textarea::placeholder { color: #6B625C; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #40352F; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 2px;
  border-color: transparent;
}

.field [aria-invalid='true'] { border-color: var(--blood-lit); }

.field__error {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--blood-lit);
}
.field__error:empty { display: none; }

.fieldset {
  margin: 0 0 1.75rem;
  padding: 1.5rem 0 0;
  border: 0;
  border-top: 1px solid var(--ink-line);
}
.fieldset legend { padding: 0; }
.fieldset__hint {
  margin: 0.75rem 0 1.25rem;
  max-width: 46ch;
  font-size: 0.9375rem;
  color: var(--ash);
}

/* ------------------------------------------------------------ file picker */

.drop {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: 2rem 1.5rem;
  border: 1px dashed #3A322D;
  border-radius: 12px;
  background: var(--ink-raise);
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.drop.is-over { border-color: var(--flame); background: #17110D; }
.drop.is-full { opacity: 0.55; }
.drop.is-busy { opacity: 0.6; pointer-events: none; }

/* Carries values but never shown — honeypot and the per-file upload slots. */
.hidden-fields { display: none; }

/* The input stays focusable but invisible; the label is the visible control. */
.drop__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.drop__input:focus-visible + .drop__label { outline: 2px solid var(--flame); outline-offset: 6px; }

.drop__label { display: grid; gap: 0.35rem; pointer-events: none; }
.drop__strong {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
}
.drop__hint {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.thumb {
  position: relative;
  width: 5.5rem;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 4, 3, 0.8);
  color: var(--bone);
  font-size: 0.7rem;
  cursor: pointer;
  transition: background 0.2s;
}
.thumb__remove:hover { background: var(--blood); }

/* ------------------------------------------------------------- status bar */

.form__status {
  margin-bottom: 1.75rem;
  padding: 0.9rem 1.15rem;
  border-left: 2px solid var(--ash);
  border-radius: 0 8px 8px 0;
  background: var(--ink-raise);
  font-size: 0.9375rem;
  color: var(--bone);
}
.form__status[data-kind='ok'] { border-left-color: var(--flame); }
.form__status[data-kind='error'] { border-left-color: var(--blood-lit); }

.book__alt {
  margin-bottom: clamp(4rem, 10vh, 7rem);
  font-size: 0.9375rem;
  color: var(--ash);
}
.book__alt a { color: var(--bone); text-underline-offset: 4px; }
.book__alt a:hover { color: var(--flame); }

/* One pill used everywhere a link is an action — artist sections and the
   booking block both. `position: relative` contains the .sr-only spans. */
.btn {
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--flame); border-color: var(--flame); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(237, 231, 223, 0.3);
}
.btn--ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }

/* Leaves the site — the arrow says so, and it lifts on hover. */
.btn__out {
  display: inline-block;
  margin-left: 0.55em;
  transition: translate 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--out:hover .btn__out { translate: 0.15em -0.15em; }

.book__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ink-line);
}
@media (min-width: 48rem) { .book__info { grid-template-columns: repeat(3, 1fr); } }
.book__info dt { color: var(--blood-lit); margin-bottom: 0.75rem; }
.book__info dd { margin: 0; color: var(--ash); line-height: 2; }
.book__info a { color: var(--ash); text-underline-offset: 4px; transition: color 0.25s; }
.book__info a:hover { color: var(--flame); }

.foot {
  margin-top: clamp(4rem, 10vh, 7rem);
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ash);
}
.foot a { color: var(--ash); text-underline-offset: 4px; transition: color 0.25s; }
.foot a:hover { color: var(--flame); }

/* ============================================================ legal pages */

/* Standalone pages have no pinned hero to sit under, so they start below the
   fixed nav rather than behind it. */
.page { padding-top: var(--nav-h); }

.legal { padding-top: clamp(3rem, 8vh, 5.5rem); }

.legal .shell { max-width: 46rem; margin-inline: auto; }

.legal__eyebrow { color: var(--ash); margin-bottom: 1.5rem; }

.legal__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.25rem, 12vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  --sweep: 35%; /* static: there's no scroll engine on this page */
}

.legal__lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: #C7BFB7;
  margin-bottom: 1rem;
}

.legal__section {
  padding-top: 2.25rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--ink-line);
}

.legal__section h2 {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blood-lit);
  margin-bottom: 1rem;
}

.legal__section p,
.legal__section li { color: var(--ash); }
.legal__section p + p { margin-top: 1rem; }
.legal__section strong { color: var(--bone); font-weight: 500; }

.legal__section ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}
.legal__section li::marker { color: var(--blood-lit); }
.legal__section ul + p { margin-top: 1rem; }

.legal a { color: var(--bone); text-underline-offset: 4px; transition: color 0.25s; }
.legal a:hover { color: var(--flame); }
.legal .btn:hover { color: var(--ink); }

.legal__back { margin: clamp(3rem, 8vh, 5rem) 0 0; }

/* ================================================================== grain */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ======================================================= reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero { height: 100svh; }
  .hero__title { opacity: 1; }
  .hero__cue span { animation: none; }
  .hero__tag { opacity: 1; }

  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }

  .artist { height: auto; }
  .artist__stage { position: static; min-height: 0; padding-block: clamp(4rem, 10vh, 7rem); }
  .artist__name { transform: none !important; }
  .artist__media { clip-path: none !important; }
  .artist__media img { transform: none !important; }
  .work__col { transform: none !important; }
}
