/* ═══════════════════════════════════════════════════════════
   @nt — Portland. Black ground, one colour: rose.
   Display: Anton · Body: Barlow · Labels: JetBrains Mono
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink:        #060505;
  --ink-2:      #0d0b0b;
  --bone:       #efe9e4;
  --ash:        #8b817c;
  --rose:       #c8102e;
  --rose-deep:  #6b0f1a;
  --rose-glow:  rgba(200, 16, 46, .35);
  --hair:       rgba(239, 233, 228, .13);

  --display: "Anton", "Oswald", sans-serif;
  --body:    "Barlow", "Helvetica Neue", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1400px;
}

/* Anton is a single-weight condensed poster face: it wants caps, tight
   tracking and no synthetic bolding. The lyric voice — quotes, tagline,
   ticker, hook — runs in italic Barlow instead, so his words read as
   speech against the headline shouting. */
.wordmark, .next-title, .sec-head h2, .foot-mark, .artist-copy h2, .topbar .mark {
  font-weight: 400; letter-spacing: -.01em; text-transform: uppercase;
}
.t-title { font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.q p, .tagline, .pull, .hook p, .ticker-train span {
  font-family: var(--body); font-style: italic; font-weight: 600;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: clamp(1rem, .55vw + .88rem, 1.12rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--rose); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ── grain ───────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 999;
  opacity: .05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 6s steps(6) infinite;
}
@keyframes grainshift {
  0%,100% { transform: translate(0,0) }
  20% { transform: translate(-3%, 2%) }
  40% { transform: translate(2%, -3%) }
  60% { transform: translate(-2%, -2%) }
  80% { transform: translate(3%, 1%) }
}

/* ── top bar ─────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6,5,5,.92), rgba(6,5,5,0));
  transition: background .4s ease;
}
.topbar .mark {
  font-family: var(--display);
  font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
}
.topbar .mark:hover { color: var(--rose); }
.topbar nav { display: flex; gap: clamp(.9rem, 2vw, 2.2rem); }
.topbar nav a {
  font-family: var(--mono); font-size: .68rem; font-weight: 300;
  text-transform: uppercase; letter-spacing: .22em; color: var(--ash);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.topbar nav a:hover { color: var(--bone); border-color: var(--rose); }
@media (max-width: 620px) { .topbar nav a:nth-child(n+4) { display: none; } }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  padding: 0 var(--pad) clamp(4rem, 10vh, 8rem);
  overflow: hidden;
}
.hero-art {
  position: absolute; inset: 0;
  background: url("media/hero_q.jpg") 50% 50% / cover no-repeat;
  transform: scale(1.02);
  /* the roses are the only colour in the frame — let them burn */
  filter: saturate(1.26) contrast(1.08) brightness(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate, heroIn 2.4s cubic-bezier(.16,1,.3,1) both;
}
/* Scrim shaped around the type block (bottom-left) instead of a flat wash, so the
   roses on the right stay bright while the wordmark keeps something to sit on. */
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(78% 72% at 0% 82%, rgba(6,5,5,.9) 0%, rgba(6,5,5,.55) 40%, transparent 74%),
    linear-gradient(90deg, rgba(6,5,5,.45) 0%, rgba(6,5,5,.12) 34%, transparent 56%),
    linear-gradient(180deg, rgba(6,5,5,.7) 0%, rgba(6,5,5,.03) 28%, rgba(6,5,5,.12) 84%, var(--ink) 100%);
}
@media (max-width: 900px) {
  .hero-art { background-position: 72% 30%; }
  .hero-art::after { background:
    linear-gradient(180deg, rgba(6,5,5,.8) 0%, rgba(6,5,5,.12) 26%, rgba(6,5,5,.9) 62%, var(--ink) 100%); }
}
/* drift used to scale to 1.12 AND pan up 1.5%, which walked his head off the top of
   the frame over the 26s cycle — scale only now, and gently */
@keyframes heroDrift { to { transform: scale(1.07); } }
@keyframes heroIn { from { opacity: 0; transform: scale(1.16); } }

.petals { position: absolute; inset: 0; pointer-events: none; }
.petals i {
  position: absolute; top: -8vh; left: var(--x);
  width: 9px; height: 13px; border-radius: 60% 40% 55% 45%;
  background: linear-gradient(160deg, var(--rose), var(--rose-deep));
  opacity: .0;
  animation: fall var(--s) linear var(--d) infinite;
}
@keyframes fall {
  0%   { opacity: 0; transform: translate3d(0,0,0) rotate(0deg); }
  8%   { opacity: .75; }
  85%  { opacity: .5; }
  100% { opacity: 0; transform: translate3d(6vw, 112vh, 0) rotate(540deg); }
}

.hero-copy { position: relative; z-index: 2; max-width: 62ch; }
.hero-copy > * { animation: rise 1s cubic-bezier(.16,1,.3,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .35s }
.hero-copy > *:nth-child(2) { animation-delay: .5s }
.hero-copy > *:nth-child(3) { animation-delay: .78s }
.hero-copy > *:nth-child(4) { animation-delay: .92s }
.hero-copy > *:nth-child(5) { animation-delay: 1.06s }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
/* safety net: if the animation clock never runs (some headless/preview renderers
   strand delayed animations at their `from` state), never leave the hero blank */
body.anim-done .hero-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ?flat — everything settled, no motion. For screenshots and link previews.
   The hero is pinned to a cinematic ratio so a full-page capture stays representative. */
body.flat .hero { min-height: min(58vw, 100svh); }
body.flat .hero-copy > *, body.flat .reveal {
  opacity: 1 !important; transform: none !important;
  animation: none !important; transition: none !important;
}

.overline {
  font-family: var(--mono); font-size: .7rem; font-weight: 300;
  text-transform: uppercase; letter-spacing: .34em; color: #ff3348;
  /* it sits over the city bokeh — without this it disappears into the lights */
  text-shadow: 0 0 8px rgba(6,5,5,1), 0 0 22px rgba(6,5,5,1), 0 1px 3px rgba(6,5,5,1);
  margin-bottom: 1.2rem;
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(4.5rem, 14vw, 13rem);
  line-height: .88; letter-spacing: -.01em;
  text-shadow: 0 0 90px rgba(0,0,0,.85);
}
.tagline {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2.4rem); line-height: 1.25;
  color: var(--bone);
  /* Anton has almost no descender room — without real space here the tagline
     crowds the wordmark and reads as part of the name */
  margin: clamp(1.6rem, 4vh, 3rem) 0 1.1rem;
}
.hero-sub { color: #cfc6c0; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.btn {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em;
  padding: .95rem 1.6rem; border: 1px solid var(--hair);
  background: transparent; color: var(--bone); cursor: pointer;
  transition: background .28s, border-color .28s, color .28s, transform .28s;
}
.btn:hover { transform: translateY(-2px); }
.btn-rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-rose:hover { background: #e01536; box-shadow: 0 12px 40px -12px var(--rose-glow); }
.btn-ghost:hover { border-color: var(--bone); }

.scrollcue {
  position: absolute; right: var(--pad); bottom: 2.4rem; z-index: 2;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ash);
  display: flex; align-items: center; gap: .7rem;
}
.scrollcue span {
  width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--rose));
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: .3; transform: scaleX(.6); transform-origin: right } 50% { opacity: 1; transform: scaleX(1) } }

/* ── ticker ──────────────────────────────────────────────── */
.ticker { border-block: 1px solid var(--hair); padding: 1.1rem 0; background: var(--ink-2); overflow: hidden; }
.ticker-row { display: flex; overflow: hidden; }
.ticker-train {
  display: flex; align-items: center; gap: 1.6rem;
  white-space: nowrap; flex: 0 0 auto;
  animation: slide 48s linear infinite;
  padding-right: 1.6rem;
}
.ticker-row.rev .ticker-train { animation-direction: reverse; }
.ticker-row + .ticker-row { margin-top: .5rem; }
.ticker-train span {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.05rem, 2.1vw, 1.7rem); color: #b9afa9;
}
.ticker-train b { color: var(--rose); font-size: .9rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── sections ────────────────────────────────────────────── */
.section { padding: clamp(5rem, 12vh, 9rem) var(--pad); max-width: var(--maxw); margin-inline: auto; }
.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.kicker {
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .3em; color: var(--rose); margin-bottom: 1rem;
}
.sec-head h2, .artist-copy h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.035em;
}
.sec-note { color: var(--ash); margin-top: 1.3rem; max-width: 54ch; }

/* ── tracklist ───────────────────────────────────────────── */
.tracklist { list-style: none; border-top: 1px solid var(--hair); }
.track {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto 5rem;
  align-items: center; gap: 1.2rem;
  padding: 1.5rem .6rem; border-bottom: 1px solid var(--hair);
  cursor: pointer; position: relative;
  transition: background .35s, padding-left .35s;
}
.track::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--rose); transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.track:hover { background: rgba(239,233,228,.03); padding-left: 1.4rem; }
.track:hover::before, .track.is-active::before { transform: scaleY(1); }
.track.is-active { background: rgba(200,16,46,.07); }

.t-num {
  font-family: var(--display); font-size: 2.6rem; font-weight: 400;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(239,233,228,.35);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.track:hover .t-num, .track.is-active .t-num { color: var(--rose); -webkit-text-stroke-color: var(--rose); }

.t-main { min-width: 0; }
.t-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.4rem, 3.1vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em;
  display: block;
}
.t-blurb { color: var(--ash); font-size: .92rem; margin-top: .25rem; }

.t-wave { display: flex; align-items: flex-end; gap: 2px; height: 26px; opacity: .38; }
.t-wave i { width: 2px; background: var(--bone); border-radius: 1px; }
.track.is-active .t-wave { opacity: 1; }
.track.is-active .t-wave i { background: var(--rose); animation: bounce 1.1s ease-in-out infinite; }
.track.is-active.is-paused .t-wave i { animation-play-state: paused; }
@keyframes bounce { 0%,100% { transform: scaleY(.55) } 50% { transform: scaleY(1.35) } }
@media (max-width: 760px) { .t-wave { display: none; } .track { grid-template-columns: 3rem 1fr 4rem; } }

.t-time { font-family: var(--mono); font-size: .78rem; color: var(--ash); text-align: right; }

/* ── bars / quotes ───────────────────────────────────────── */
.bars { position: relative; }
.bars::before {
  content: ""; position: absolute; right: -6%; top: 6%;
  width: min(46vw, 620px); aspect-ratio: 1;
  background: url("media/rose_plate.jpg") center/cover no-repeat;
  opacity: .16; filter: saturate(1.2) contrast(1.1);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
          mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  pointer-events: none;
}
.quote-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.q {
  border-left: 1px solid var(--hair); padding: 1.4rem 0 1.4rem 1.6rem;
  transition: border-color .4s, transform .4s;
}
.q:hover { border-left-color: var(--rose); transform: translateX(4px); }
.q p {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.36;
}
.q cite {
  display: block; margin-top: 1rem; font-style: normal;
  font-family: var(--mono); font-size: .66rem; text-transform: uppercase;
  letter-spacing: .24em; color: var(--rose);
}
.q cite span { color: var(--ash); }
.q-lead { grid-column: 1 / -1; border-left-color: var(--rose); }
.q-lead p { font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.18; font-weight: 600; }
@media (min-width: 900px) { .q-wide { grid-column: span 2; } }

/* ── artist ──────────────────────────────────────────────── */
.artist { background: var(--ink-2); max-width: none; }
.artist-grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
@media (max-width: 900px) { .artist-grid { grid-template-columns: 1fr; } }
.artist-art { position: sticky; top: 6rem; }
.artist-art img {
  width: 100%; display: block; filter: grayscale(.25) contrast(1.08);
  border: 1px solid var(--hair);
}
.artist-art figcaption {
  font-family: var(--mono); font-size: .64rem; text-transform: uppercase;
  letter-spacing: .2em; color: var(--ash); margin-top: .8rem;
}
.artist-copy h2 { font-size: clamp(1.8rem, 3.7vw, 3.1rem); line-height: 1.08; margin-bottom: 1.8rem; }
.artist-copy p { color: #c4bbb5; margin-bottom: 1.15rem; max-width: 62ch; }
.artist-copy em { color: var(--bone); font-style: italic; }
.pull {
  font-family: var(--display); font-style: italic; color: var(--bone) !important;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.35;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 1.4rem 0; margin: 2rem 0 !important;
}
.facts { margin-top: 2.2rem; display: grid; gap: .85rem; }
.facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--hair); }
.facts dt { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .2em; color: var(--rose); padding-top: .28rem; }
.facts dd { color: #c4bbb5; }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: .2rem; } }

/* ── next ────────────────────────────────────────────────── */
.next { position: relative; text-align: center; }
.next-inner { max-width: 60ch; margin-inline: auto; }
.next .kicker { color: var(--rose); }
.next-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(3.2rem, 12vw, 9rem); line-height: .84; letter-spacing: -.045em;
  margin: .6rem 0 1.6rem;
  background: linear-gradient(180deg, var(--bone) 22%, #d9c9c6 62%, var(--rose) 118%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.next-note { margin-inline: auto; }
.hook {
  margin: 3rem auto 0; max-width: 46ch; padding: 2.4rem 1.6rem;
  border: 1px solid var(--hair); background: rgba(200,16,46,.045);
}
.hook p {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem); line-height: 1.62;
}
.hook p span { color: var(--rose); }
.hook cite {
  display: block; margin-top: 1.4rem; font-style: normal;
  font-family: var(--mono); font-size: .64rem; text-transform: uppercase;
  letter-spacing: .22em; color: var(--ash);
}
.status {
  margin-top: 2rem; font-family: var(--mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .24em; color: var(--ash);
  display: inline-flex; align-items: center; gap: .6rem;
}
.status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--rose);
  box-shadow: 0 0 0 0 var(--rose-glow); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }

/* ── footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--hair);
  padding: clamp(3rem, 8vh, 5rem) var(--pad) 8rem;
}
.foot-grid {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 2rem;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; text-align: left; } }
footer h3 {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .24em; color: var(--ash);
  margin-bottom: .7rem;
}
.mailto {
  font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  border-bottom: 1px solid var(--rose); padding-bottom: 2px;
}
.mailto:hover { color: var(--rose); }
.foot-mark {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(3rem, 9vw, 6rem); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(239,233,228,.22); text-align: center;
}
.foot-meta { text-align: right; font-family: var(--mono); font-size: .66rem; color: var(--ash); letter-spacing: .12em; }
@media (max-width: 800px) { .foot-meta { text-align: left; } .foot-mark { text-align: left; } }

/* ── player ──────────────────────────────────────────────── */
.player[hidden] { display: none; }
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: grid; grid-template-columns: auto minmax(0, 15rem) 1fr auto auto;
  align-items: center; gap: clamp(.7rem, 2vw, 1.4rem);
  padding: .8rem var(--pad);
  background: rgba(9,7,7,.93); backdrop-filter: blur(18px);
  border-top: 1px solid var(--rose);
  animation: playerIn .45s cubic-bezier(.16,1,.3,1) both;
}
@keyframes playerIn { from { transform: translateY(100%); } }
.p-btn {
  width: 44px; height: 44px; flex: 0 0 auto;
  border: 1px solid var(--hair); background: transparent; color: var(--bone);
  font-size: .9rem; cursor: pointer; border-radius: 50%;
  transition: background .25s, border-color .25s, color .25s;
}
.p-btn:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.p-meta { display: flex; flex-direction: column; min-width: 0; }
.p-title {
  font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p-year { font-family: var(--mono); font-size: .6rem; letter-spacing: .2em; color: var(--ash); text-transform: uppercase; }
.p-scrub { cursor: pointer; padding: .9rem 0; }
.p-scrub:focus-visible { outline: 1px solid var(--rose); outline-offset: 4px; }
.p-bar { height: 3px; background: rgba(239,233,228,.16); position: relative; }
.p-fill { height: 100%; width: 0; background: var(--rose); position: relative; }
.p-fill::after {
  content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--rose);
  box-shadow: 0 0 12px var(--rose-glow);
}
.p-time { font-family: var(--mono); font-size: .7rem; color: var(--ash); white-space: nowrap; }
.p-time b { color: var(--bone); font-weight: 500; }
.p-close { width: 34px; height: 34px; font-size: .75rem; }
@media (max-width: 700px) {
  .player { grid-template-columns: auto 1fr auto; row-gap: .2rem; }
  .p-scrub { grid-column: 1 / -1; padding: .5rem 0 .2rem; }
  .p-time { font-size: .62rem; }
  .p-close { display: none; }
}

/* keep the sticky player from covering the footer */
body.playing { padding-bottom: 5.5rem; }

/* ── reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
