/* GOAT//herd — "Evidence Room"
   Design tokens, layout and motion per the campaign handoff. */

/* ── Fonts ───────────────────────────────────────────────────────────────────
   Newsreader and Archivo, self-hosted: no request leaves this origin, so no
   third party sees a visitor. Latin and Latin-ext subsets only; unicode-range
   means a browser fetches just the subset it needs. Both faces are licensed
   under the SIL Open Font License 1.1 — see assets/fonts/OFL-*.txt. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/archivo-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/archivo-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-300-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-300-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/newsreader-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #0B0B0A;
  --bg-secondary: #141413;
  --surface: #242321;
  --text-primary: #EEE9E1;
  --text-secondary: #D8D0C4;
  --text-muted: #77726B;
  --meta-dim: #8A847B;

  --font-display: Newsreader, Georgia, "Times New Roman", serif;
  --font-ui: Archivo, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 72px);
  --grid-gap: clamp(24px, 4vw, 56px);
  --section-pad-y: clamp(96px, 16vh, 200px);

  --rule: rgba(119, 114, 107, 0.22);
  --border-idle: rgba(216, 208, 196, 0.5);
  --border-hover: rgba(238, 233, 225, 0.9);
  --button-hover-bg: rgba(216, 208, 196, 0.07);
}

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

html, body { margin: 0; padding: 0; background: var(--bg); overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

p, h1, figure, figcaption { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 300ms ease, border-color 300ms ease, background 300ms ease;
}
a:hover { opacity: 0.62; }

a:focus-visible,
button:focus-visible { outline: 1px solid var(--text-secondary); outline-offset: 4px; }

::selection { background: var(--meta-dim); color: var(--text-primary); }

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Shared type ─────────────────────────────────────────────────────────── */

.label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta--label { margin-top: 22px; font-size: 11px; }

.button {
  display: inline-block;
  border: 1px solid var(--border-idle);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  padding: 14px 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover {
  opacity: 1;
  border-color: var(--border-hover);
  background: var(--button-hover-bg);
}

/* Release-state indicator, not a control: it reads "pre-save" before the
   release and "listen" after, and is deliberately inert — the pre-save links
   beside it are what a visitor acts on. */
.button--static {
  cursor: default;
  color: var(--text-muted);
  border-color: rgba(216, 208, 196, 0.28);
}
.button--static:hover {
  opacity: 1;
  border-color: rgba(216, 208, 196, 0.28);
  background: transparent;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.shell { max-width: var(--shell); width: 100%; margin: 0 auto; }

.section { padding: var(--section-pad-y) var(--gutter); }
.section--motion { padding-block: clamp(96px, 14vh, 180px); }
.section--evidence { padding: clamp(96px, 14vh, 180px) var(--gutter) clamp(80px, 12vh, 160px); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.grid--end { align-items: end; }
.grid--center { align-items: center; }

.col-1-7  { grid-column: 1 / span 7; }
.col-9-12 { grid-column: 9 / span 4; }
.col-3-9  { grid-column: 3 / span 7; }
.col-2-5  { grid-column: 2 / span 4; }
.col-8-11 { grid-column: 8 / span 4; }
.col-6-11 { grid-column: 6 / span 6; }
.col-1-5  { grid-column: 1 / span 5; }
.col-7-12 { grid-column: 7 / span 6; }
.col-4-7  { grid-column: 4 / span 4; }

/* ── Media frames ────────────────────────────────────────────────────────── */

.media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-9x16 { aspect-ratio: 9 / 16; }

/* Awaiting the campaign shoot: until an asset loads, the frame states its brief. */
.media:not([data-loaded]) img,
.media:not([data-loaded]) video { opacity: 0; }
.media:not([data-loaded])::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meta-dim);
  border: 1px solid var(--rule);
}

/* The hero is a decorative full-bleed layer — it waits as a dark field rather
   than printing its brief across the title. */
.media--hero:not([data-loaded])::after { content: none; }

/* The grade belongs in the image files; these are the prototype stand-ins. */
.media--hero     { filter: saturate(0.12) contrast(1.06) brightness(0.62); }
.media--fragment { filter: none; } /* graded in the file; the red velvet must survive */
.media--ev1      { filter: saturate(0.12) contrast(1.08) brightness(0.86); }
.media--ev2      { filter: saturate(0.12) contrast(1.10) brightness(0.80); }
.media--ev3      { filter: saturate(0.10) contrast(1.04) brightness(0.90); }
.media--ev4      { filter: saturate(0.12) contrast(1.06) brightness(0.84); }

/* ── Fixed header ────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px clamp(20px, 4vw, 64px);
  mix-blend-mode: difference;
  animation: gh-in 1200ms 2600ms ease both;
}
.site-header__mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.site-header__meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ── 01 Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 72px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
  animation: gh-in 1600ms 500ms ease both, gh-drift 34s 2s ease-in-out infinite;
}
.hero__bg-media { position: absolute; inset: 0; }
.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 45%,
    rgba(11, 11, 10, 0.35) 0%,
    rgba(11, 11, 10, 0.82) 60%,
    #0B0B0A 100%);
}

.hero__title, .hero__action { position: relative; z-index: 2; }

.hero__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  animation: gh-rise 900ms 1200ms var(--ease) both;
}
.hero__line {
  margin-top: clamp(18px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 26px;
  animation: gh-rise 900ms 2000ms var(--ease) both;
}
.hero__track {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.1;
  color: var(--text-secondary);
}
.hero__action {
  align-self: end;
  padding-bottom: clamp(40px, 7vh, 84px);
  animation: gh-rise 900ms 2800ms var(--ease) both;
}

/* ── 02 Fragment ─────────────────────────────────────────────────────────── */

.fragment__text { padding-bottom: clamp(20px, 6vh, 72px); }

.lyric {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ── 03 Release ──────────────────────────────────────────────────────────── */

.release__name {
  margin-top: clamp(28px, 5vh, 56px);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.release__track {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.2;
  color: var(--text-secondary);
}
.release__date { margin-top: 14px; }

.release__actions {
  margin-top: clamp(32px, 5vh, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ── 04 Motion artefact ──────────────────────────────────────────────────── */

.motion__well {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
}
.motion__drift {
  position: absolute;
  inset: 0;
  filter: saturate(0.1) contrast(1.05) brightness(0.8);
  animation: gh-drift 26s ease-in-out infinite;
}

.fragment-audio {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.fragment-audio .button { padding: 13px 22px; }
.fragment-audio__timer {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--meta-dim);
  font-variant-numeric: tabular-nums;
}

/* ── 05 Statement ────────────────────────────────────────────────────────── */

.statement {
  max-width: 520px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ── 06 Evidence ─────────────────────────────────────────────────────────── */

.evidence {
  margin-top: clamp(40px, 8vh, 90px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(56px, 12vh, 140px) var(--grid-gap);
}
.evidence__item--end { align-self: end; }
.evidence__item--raised { margin-top: clamp(-120px, -10vh, 0px); }

.evidence figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meta-dim);
}
[data-show-captions="false"] .evidence figcaption { display: none; }

/* ── 07 Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  padding: clamp(56px, 8vh, 96px) var(--gutter) 44px;
  border-top: 1px solid var(--rule);
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 48px;
}
.site-footer__mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--text-secondary);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.site-footer__legal {
  margin-top: clamp(40px, 6vh, 72px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--meta-dim);
}
.site-footer__legal nav { display: flex; gap: 20px; }

/* ── Motion ──────────────────────────────────────────────────────────────── */

@keyframes gh-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gh-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes gh-drift {
  0%   { transform: scale(1.02) translateY(0); }
  50%  { transform: scale(1.05) translateY(-8px); }
  100% { transform: scale(1.02) translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
[data-reveal][data-reveal-delay="180"] { transition-delay: 180ms; }
[data-reveal][data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .grid > *,
  .evidence > * {
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .statement { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── 404 ─────────────────────────────────────────────────────────────────── */

.notfound {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: var(--section-pad-y) var(--gutter);
}
.notfound__inner { animation: gh-in 1200ms 200ms ease both; }
.notfound__mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--text-secondary);
}
.notfound__code { margin-top: clamp(40px, 8vh, 80px); }
.notfound__line {
  margin-top: 18px;
  margin-bottom: clamp(32px, 5vh, 52px);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
  color: var(--text-secondary);
}

/* ── Legal pages ─────────────────────────────────────────────────────────── */

.legal {
  padding: clamp(72px, 12vh, 140px) var(--gutter) clamp(56px, 8vh, 96px);
  animation: gh-in 900ms ease both;
}
.legal .shell { max-width: 640px; margin: 0; }
@media (min-width: 861px) {
  .legal .shell { margin-left: clamp(0px, 8vw, 160px); }
}
.legal__back {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}
.legal__title {
  margin-top: clamp(48px, 9vh, 96px);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.legal__date { margin-top: 14px; }
.legal__lead {
  margin-top: clamp(32px, 5vh, 52px);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.4;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.legal__heading {
  margin-top: clamp(36px, 6vh, 60px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.legal p:not(.legal__lead):not(.legal__date) {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.legal p a {
  border-bottom: 1px solid rgba(216, 208, 196, 0.35);
  padding-bottom: 1px;
}
.legal__return { margin-top: clamp(48px, 8vh, 88px); }
