/* =========================================================
   Thisshit Studio — UI direction: CATHEDRAL EDITORIAL
   ========================================================= */

/* ---------- Fonts (licensed local webfonts) ---------- */

@font-face {
  font-family: "Graphik XCond";
  src: url("assets/fonts/GraphikXCond-Super.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Graphik XCond";
  src: url("assets/fonts/GraphikXCond-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --black: #000000;
  --near: #060606;
  --paper: #f2efe8;
  --dim: rgba(242, 239, 232, 0.56);
  --faint: rgba(242, 239, 232, 0.28);
  --hair: rgba(242, 239, 232, 0.16);

  --gold: #a57f3c;
  --gold-lit: #d3ab60;
  --gold-deep: #5d4720;
  --gold-hair: rgba(165, 127, 60, 0.42);

  --display: "Graphik XCond", "Haettenschweiler", "Impact",
             "Arial Narrow", "Helvetica Neue", sans-serif;
  --text: "Graphik", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 4.5rem);
  --s1: clamp(0.5rem, 1vw, 0.75rem);
  --s2: clamp(1rem, 2vw, 1.5rem);
  --s3: clamp(1.75rem, 3.5vw, 3rem);
  --s4: clamp(3rem, 7vw, 6rem);
  --s5: clamp(5rem, 12vw, 11rem);

  --head-h: clamp(3.75rem, 6vw, 5.25rem);
  --slow: 900ms cubic-bezier(0.16, 0.84, 0.32, 1);
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--text);
  font-size: clamp(0.9rem, 0.55vw + 0.78rem, 1.0625rem);
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

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

:focus-visible {
  outline: 1px solid var(--gold-lit);
  outline-offset: 6px;
}

::selection {
  background: var(--gold-deep);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--black);
}

.skip:focus { left: 0; }

/* ---------- Shared editorial atoms ---------- */

.display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.kicker,
.plate__note,
.fineprint,
.numeral,
.lang,
.procession,
.head__nav,
.artist__meta dt,
.good__price,
.good__sizes,
.foot__h,
.hero__cue {
  font-family: var(--text);
  font-size: clamp(0.625rem, 0.28vw + 0.56rem, 0.75rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.kicker {
  color: var(--dim);
  display: flex;
  gap: 0.9em;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.kicker__dot { color: var(--gold); }

.numeral {
  color: var(--gold);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}

.lede {
  max-width: 34ch;
  margin-inline: auto;
  color: var(--dim);
  text-align: center;
  text-wrap: balance;
}

.fineprint {
  color: var(--faint);
  text-align: center;
  line-height: 1.9;
  max-width: 44ch;
  margin-inline: auto;
}

/* Symmetric rule title: hairlines flanking a condensed word */
.rule-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: min(56rem, 88vw);
  margin-inline: auto;
  text-indent: 0.16em;
}

.rule-title::before,
.rule-title::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hair));
}

.rule-title::after { transform: scaleX(-1); }

/* ---------- Nave axis ---------- */

.axis {
  position: fixed;
  inset: 0 auto 0 50%;
  width: 1px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.axis__line,
.axis__progress {
  position: absolute;
  inset: 0 0 auto 0;
  width: 1px;
}

.axis__line {
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(242, 239, 232, 0.09) 12%,
    rgba(242, 239, 232, 0.09) 88%,
    transparent 100%
  );
}

.axis__progress {
  height: 0;
  background: linear-gradient(180deg, transparent, var(--gold));
  transition: height 120ms linear;
}

/* ---------- Header ---------- */

.head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--head-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 500ms ease, border-color 500ms ease,
              backdrop-filter 500ms ease;
}

.head.is-sealed {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--hair);
}

.head__row {
  width: 100%;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s2);
}

.head__mark img {
  width: clamp(4.5rem, 6vw, 6.25rem);
  height: auto;
}

.head__nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
  justify-content: center;
}

.head__nav a {
  color: var(--dim);
  padding-block: 0.5rem;
  position: relative;
  transition: color 300ms ease;
}

.head__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transition: right 400ms cubic-bezier(0.16, 0.84, 0.32, 1);
}

.head__nav a:hover,
.head__nav a:focus-visible { color: var(--paper); }

.head__nav a:hover::after { right: 0; }

.head__acts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: var(--faint);
}

.lang__btn {
  letter-spacing: 0.2em;
  color: var(--faint);
  transition: color 250ms ease;
}

.lang__btn.is-on { color: var(--gold-lit); }

.lang__btn:hover { color: var(--paper); }

/* ---------- Calls to action ---------- */

.cta {
  font-family: var(--text);
  font-weight: 500;
  font-size: clamp(0.625rem, 0.28vw + 0.56rem, 0.75rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0.95em 1.9em;
  border: 1px solid var(--gold-hair);
  color: var(--gold-lit);
  text-indent: 0.26em;
  position: relative;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 100% 0%;
  transition: color 400ms ease, border-color 400ms ease,
              background-size 520ms cubic-bezier(0.16, 0.84, 0.32, 1);
}

.cta:hover,
.cta:focus-visible {
  color: var(--black);
  border-color: var(--gold);
  background-size: 100% 100%;
}

.cta--line {
  color: var(--paper);
  border-color: var(--hair);
  background-image: linear-gradient(var(--paper), var(--paper));
}

.cta--line:hover,
.cta--line:focus-visible { border-color: var(--paper); }

.cta--xl {
  padding: 1.35em 3.6em;
  font-size: clamp(0.6875rem, 0.4vw + 0.6rem, 0.9375rem);
}

.cta--wide { padding-inline: 3.2em; }

.head__book { padding: 0.8em 1.5em; }

/* ---------- Mobile veil ---------- */

.burger {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.burger__bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--paper);
  transition: transform 400ms ease, opacity 300ms ease;
}

.burger__label {
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.burger .burger__bar + .burger__bar { margin-top: 5px; }

.burger[aria-expanded="true"] .burger__bar:first-child {
  transform: translateY(3px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__bar:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: var(--head-h) var(--gut) var(--s4);
  text-align: center;
}

.veil[hidden] { display: none; }

.veil__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.veil__nav a {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.75rem, 15vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.veil__note {
  color: var(--faint);
  font-size: 0.8125rem;
  max-width: 30ch;
}

/* ---------- I — Hero: fullscreen sticky scroll-scrub ----------
   Scroll drives one bounded track; the stage pins for its length.
   JS writes --hero-* on .hero; every value below has a settled
   default so the scene is complete without script. */

.hero {
  position: relative;
  --hero-lead: 1;
  --hero-lead-y: 0;
  --hero-seal: 1;
  --hero-seal-s: 1;
  --hero-cue: 1;
  --hero-dim: 0;
}

.hero__track {
  position: relative;
  width: 100%;
  height: 340vh;
  height: 340svh;
}

.hero__stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: calc(var(--head-h) + var(--s3)) var(--gut) var(--s4);
  text-align: center;
}

.hero__media,
.hero__still {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__still { display: none; }

/* Keeps the fixed header and the brand mark legible over footage. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.2) 18%, transparent 40%),
    radial-gradient(118% 78% at 50% 46%, transparent 30%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, transparent 34%);
}

.hero__scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: var(--hero-dim);
}

/* Title and mark share one optical centre so they cross-fade in place. */
.hero__lead {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(72rem, calc(100% - var(--gut) * 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  opacity: var(--hero-lead);
  transform: translate3d(-50%, calc(-50% + var(--hero-lead-y) * 1rem), 0);
  will-change: opacity, transform;
}

.hero__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.78;
  letter-spacing: -0.015em;
  font-size: clamp(2.75rem, 11vw, 9rem);
  display: flex;
  flex-direction: column;
}

.hero__word--wide {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  letter-spacing: 0.02em;
}

/* The mark assembles in the last third, over the still-dominant footage. */
.hero__seal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  opacity: var(--hero-seal);
  transform: translate3d(-50%, -50%, 0) scale(var(--hero-seal-s));
  will-change: opacity, transform;
}

.hero__logo {
  width: min(28rem, 66vw);
  height: auto;
  filter: drop-shadow(0 0 56px rgba(0, 0, 0, 0.92));
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4svh, 3rem);
  z-index: 2;
  transform: translateX(-50%);
  opacity: var(--hero-cue);
  color: var(--faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero__cue-rule {
  width: 1px;
  height: clamp(2rem, 5vh, 3.5rem);
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* Single first-paint settle; nothing here competes with scroll transforms. */
body {
  opacity: 1;
  transition: opacity 900ms ease;
}

body.is-loading { opacity: 0; }

/* ---------- II — Reliquary: monumental statue sequence ----------
   Same contract as the hero: one bounded track, one sticky stage,
   JS writes --st-* on .reliquary, defaults describe the settled peak. */

.reliquary {
  position: relative;
  --st-rise: 0;
  --st-scale: 1;
  --st-op: 1;
  --st-bright: 1;
  --st-contrast: 1;
  --st-beam: 1;
  --st-veil: 1;
  --st-word: 1;
  --st-word-y: 0;
}

.reliquary__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding: var(--s5) var(--gut) var(--s4);
  text-align: center;
}

.reliquary__track {
  position: relative;
  width: 100%;
  height: 320vh;
  height: 320svh;
}

.reliquary__stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  text-align: center;
}

.reliquary__beam {
  position: absolute;
  top: -18%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  width: min(46rem, 96vw);
  height: 112%;
  opacity: var(--st-beam);
  background: radial-gradient(
    56% 46% at 50% 0%,
    rgba(165, 127, 60, 0.2),
    transparent 72%
  );
  pointer-events: none;
}

/* Framed from the crown down: the top offset keeps the head clear of the
   sealed header, the height keeps the outstretched arms inside the frame. */
.reliquary__statue {
  position: absolute;
  top: clamp(1.25rem, 4.5svh, 3.5rem);
  left: 50%;
  z-index: 1;
  display: block;
  transform-origin: 50% 22%;
  transform:
    translate3d(-50%, calc(var(--st-rise) * 1svh), 0)
    scale(var(--st-scale));
  opacity: var(--st-op);
  filter: brightness(var(--st-bright)) contrast(var(--st-contrast));
  mix-blend-mode: screen;
  will-change: transform, opacity, filter;
}

.reliquary__statue img {
  display: block;
  width: auto;
  max-width: none;
  height: 97vh;
  height: 97svh;
}

/* The GLB scene sits in the still's place and stays at zero until global.js
   reports a fully loaded model. Crossfade only — both layers are absolute,
   so the swap moves no other pixel. */
.reliquary__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 700ms linear;
}

.reliquary__scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.reliquary.is-3d .reliquary__scene { opacity: 1; }

.reliquary.is-3d .reliquary__statue {
  opacity: 0;
  transition: opacity 700ms linear;
}

/* Darkness the figure rises out of; also the reading ground for the manifesto. */
.reliquary__veil {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 46svh;
  opacity: var(--st-veil);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 32%,
    rgba(0, 0, 0, 0.92) 60%,
    var(--black) 74%
  );
  pointer-events: none;
}

.manifesto {
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 9svh, 6rem);
  z-index: 3;
  width: min(44rem, 88vw);
  transform: translate3d(-50%, calc(var(--st-word-y) * 1rem), 0);
  opacity: var(--st-word);
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
  font-size: clamp(1.125rem, 3.4vw, 2.5rem);
  text-wrap: balance;
  will-change: opacity, transform;
}

.manifesto__line--two { color: var(--gold-lit); }

/* ---------- III — Artists ---------- */

.artists {
  padding-block: var(--s5) 0;
}

.artists__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding-inline: var(--gut);
}

.artist {
  min-height: 100svh;
  padding: var(--s5) var(--gut);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid rgba(242, 239, 232, 0.07);
  position: relative;
}

.artists .artist:first-of-type { border-top: 0; }

.artist__index {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--gold);
  margin-bottom: var(--s2);
}

.artist__name {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 15vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin-bottom: -0.42em;
  position: relative;
  z-index: 0;
  color: var(--paper);
}

/* Plate: the empty reliquary frame standing in for missing photography */
.plate {
  position: relative;
  z-index: 1;
  background: var(--near);
  border: 1px solid var(--gold-hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  overflow: hidden;
}

.plate::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(242, 239, 232, 0.06);
  border-radius: inherit;
  pointer-events: none;
}

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    70% 55% at 50% 42%,
    rgba(165, 127, 60, 0.13),
    transparent 72%
  );
  pointer-events: none;
}

.plate__mono {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}

.plate__note { color: var(--faint); }

.artist__plate {
  width: min(24rem, 66vw);
  aspect-ratio: 3 / 4;
  border-radius: 50vw 50vw 2px 2px;
}

.artist__meta {
  margin-top: var(--s3);
  display: flex;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  justify-content: center;
  flex-wrap: wrap;
}

.artist__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 12ch;
}

.artist__meta dt { color: var(--gold); }

.artist__meta dd { color: var(--dim); font-size: 0.9375rem; }

.artist .cta { margin-top: var(--s3); }

/* ---------- IV — Booking ---------- */

.booking {
  padding: var(--s5) var(--gut);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  text-align: center;
  border-top: 1px solid rgba(242, 239, 232, 0.07);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(165, 127, 60, 0.09), transparent 70%);
}

.booking__title {
  font-size: clamp(3.5rem, 18vw, 14rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

.procession {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: clamp(1rem, 3.5vw, 3rem);
  color: var(--dim);
}

.procession li {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  position: relative;
}

.procession li + li::before {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 3.5vw, 3rem) * -0.5);
  top: 0.45em;
  width: 1px;
  height: 0.9em;
  background: var(--gold-hair);
}

.procession__n { color: var(--gold); }

.notes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--faint);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* ---------- V — Shop ---------- */

.shop {
  padding: var(--s5) var(--gut);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  text-align: center;
  border-top: 1px solid rgba(242, 239, 232, 0.07);
}

.drop {
  margin-top: var(--s4);
  width: min(74rem, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.good {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
}

.good__plate {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: var(--s2);
}

.good__name {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.good__price { color: var(--gold); }

.good__sizes {
  display: flex;
  gap: 0.9rem;
  color: var(--faint);
  margin-top: 0.35rem;
}

.good__sizes .is-out {
  color: rgba(242, 239, 232, 0.16);
  text-decoration: line-through;
}

.shop .cta--wide { margin-top: var(--s4); }

.shop .fineprint { margin-top: var(--s2); }

/* ---------- Footer / studio ---------- */

.foot {
  padding: var(--s5) var(--gut) var(--s4);
  border-top: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  text-align: center;
}

.foot__mark {
  width: min(13rem, 44vw);
  height: auto;
  opacity: 0.85;
}

.foot__cols {
  width: min(64rem, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  align-items: start;
}

.foot__h {
  color: var(--gold);
  margin-bottom: var(--s2);
}

.foot__col p,
.foot__col li {
  color: var(--dim);
  font-size: 0.875rem;
  line-height: 2;
}

.foot__col a { transition: color 250ms ease; }

.foot__col a:hover { color: var(--paper); }

.foot__credit {
  max-width: 62ch;
  color: rgba(242, 239, 232, 0.22);
  font-size: 0.6875rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ---------- Scroll reveal ---------- */

.rise {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 1100ms ease, transform 1100ms cubic-bezier(0.16, 0.84, 0.32, 1);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .head__nav { display: none; }

  .head__row { grid-template-columns: auto 1fr; }

  .burger { display: flex; }
}

@media (max-width: 780px) {
  .drop,
  .foot__cols {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .good__plate { aspect-ratio: 3 / 4; }

  .artist__name {
    font-size: clamp(2.5rem, 17vw, 6rem);
    white-space: normal;
    margin-bottom: -0.3em;
  }

  .artist__plate { width: min(20rem, 76vw); }

  .hero__track {
    height: 300vh;
    height: 300svh;
  }

  .reliquary__track {
    height: 290vh;
    height: 290svh;
  }

  /* Portrait source: size by width so the outstretched arms never crop. */
  .reliquary__statue img {
    width: min(124vw, 86svh);
    height: auto;
  }

  .manifesto {
    bottom: clamp(2rem, 7svh, 4rem);
    font-size: clamp(1.0625rem, 4.6vw, 1.75rem);
  }

  .procession {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .procession li + li::before { display: none; }

  .axis { display: none; }
}

@media (max-width: 480px) {
  .burger__label { display: none; }

  .cta--xl { padding-inline: 2.2em; }
}

@media (min-width: 1025px) {
  .veil { display: none; }
}

/* ---------- Reduced motion ----------
   No scrub, no scroll transforms: one static fullscreen hero frame and
   one complete large statue composition, both with all their content. */

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

  body.is-loading,
  .rise {
    opacity: 1;
    transform: none;
  }

  /* Hero: unpinned, one viewport tall, poster frame instead of footage. */
  .hero__track {
    height: auto;
  }

  .hero__stage {
    position: relative;
    gap: var(--s4);
  }

  .hero__media { display: none; }

  .hero__still { display: block; }

  .hero__lead,
  .hero__seal,
  .hero__cue {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .hero__cue { display: none; }

  .hero__scrim::after { opacity: 0; }

  /* Statue: unpinned, settled at full scale, manifesto below the figure. */
  .reliquary__track { height: auto; }

  .reliquary__stage {
    position: relative;
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s3);
    padding-bottom: var(--s4);
  }

  .reliquary__beam {
    top: -8%;
    height: 90%;
  }

  .reliquary__statue,
  .manifesto {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    opacity: 1;
    filter: none;
    will-change: auto;
  }

  .reliquary__statue img {
    width: auto;
    height: min(74svh, 116vw);
  }

  /* No WebGL scene here at all: if reduced motion is turned on after the
     scene loaded, the complete static composition comes straight back. */
  .reliquary__scene { display: none; }

  .reliquary.is-3d .reliquary__statue {
    opacity: 1;
    transition: none;
  }

  .reliquary__veil { display: none; }
}
