/*
  Haurun — "wow" edition.
  Same palette as the album cover (near-black, antique gold, the flower's electric blue → violet),
  plus motion: a living flower that wilts as you scroll, a record that slides out of its sleeve,
  word-by-word reveals and slow crossfades. All motion is switched off for people who ask
  their system to reduce motion, and the page still reads fine with JavaScript turned off.
*/

:root {
  --color-page-background: #050508;
  --color-panel-background: #0b0b10;
  --color-hairline: #1b1a23;
  --color-gold: #b39355;
  --color-gold-bright: #e9d39c;
  --color-gold-dim: #4d3f25;
  --color-text: #d9d3e3;
  --color-text-muted: #948ea2;
  --color-flower-blue: #3d55ff;
  --color-flower-violet: #9a85ff;
  --color-flower-lavender: #e3d6ff;

  --font-display: "Cormorant Garamond", "Didot", "Bodoni 72", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-body: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

  --content-max-width: 1080px;
  --frame-corner-radius: 22px;
  --ease-dreamy: cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem; /* so the fixed nav doesn't cover section headings */
}

body {
  margin: 0;
  background: var(--color-page-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Faint film grain over everything. No blend mode on purpose: blending a full-screen layer
   makes the browser re-blend the whole page on every scroll frame. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='grain'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23grain)'/></svg>");
}

a {
  color: var(--color-flower-violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-text);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-flower-violet);
  outline-offset: 3px;
  border-radius: 6px;
}

img {
  max-width: 100%;
  height: auto;
}

.small-caps-label {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ======================= Fixed decorative layers ======================= */

/* Thin gold line across the top that fills as you scroll (main.js sets the scale) */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-gold-dim), var(--color-gold), var(--color-flower-violet));
  pointer-events: none;
}

/* A soft violet light that follows the mouse (desktop only, added by main.js) */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 105, 255, 0.09), rgba(61, 85, 255, 0.03) 40%, transparent 65%);
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
}

.cursor-glow.is-visible {
  opacity: 1;
}

/* ======================= Navigation ======================= */

.top-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid transparent;
  transition: background-color 0.6s ease, border-color 0.6s ease, padding 0.6s ease;
}

/* Once you scroll, the bar turns to frosted glass and the small logo appears */
.top-navigation.is-scrolled {
  padding: 0.7rem 1.5rem;
  background: rgba(5, 5, 8, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(77, 63, 37, 0.45);
}

.top-navigation-mark {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  line-height: 0;
}

.top-navigation-mark img {
  width: 104px;
}

.top-navigation.is-scrolled .top-navigation-mark {
  opacity: 1;
  visibility: visible;
}

.top-navigation-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.9rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.top-navigation-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-navigation-links a:hover {
  color: var(--color-gold-bright);
}

/* ======================= Hero: the living flower ======================= */

.bloom-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 5.5rem 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 58%, #0d0b1c 0%, var(--color-page-background) 70%);
}

.bloom-canvas,
.bloom-glow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* The glow is a tiny, pre-blurred copy of the flower (made in main.js) that the browser simply
   stretches to full size. Far cheaper than a CSS blur on a layer that changes every frame. */
/* --flower-visibility (1 → 0) is set on the hero by main.js as the pinned flower fades away. */
.bloom-canvas {
  opacity: var(--flower-visibility, 1);
}

.bloom-glow-canvas {
  /* a dim, deep bloom so the dark between the petals shows, as on the cover */
  opacity: calc(0.5 * var(--flower-visibility, 1));
}

/* With motion allowed, main.js pins the flower to the screen (.is-flower-pinned) and the page
   scrolls over it, so the wilting carries on deeper into the page. 100vh rather than svh: on a
   phone that's the full height with the address bar tucked away, so falling petals reach the edge. */
.bloom-hero.is-flower-pinned .bloom-canvas,
.bloom-hero.is-flower-pinned .bloom-glow-canvas {
  position: fixed;
  inset: 0 0 auto 0;
  height: 100vh;
  min-height: 640px;
}

/* The pinned flower's rise as a scroll-driven animation, so it moves in step with the browser's own
   scrolling (main.js adds .has-css-flower-rise where supported, and sets both variables in px).
   The canvases are taller by the full rise, so falling petals still reach the bottom of the screen. */
.bloom-hero.has-css-flower-rise .bloom-canvas,
.bloom-hero.has-css-flower-rise .bloom-glow-canvas {
  height: calc(max(100vh, 640px) + var(--flower-max-rise, 0px));
  animation: pinned-flower-rise linear both;
  animation-timeline: scroll(root block); /* after the shorthand, which would reset it */
  animation-range: 0px var(--flower-wilt-distance, 100vh);
}

@keyframes pinned-flower-rise {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-1 * var(--flower-max-rise, 0px))); }
}

/* The page content scrolls over the pinned flower. */
main,
.page-footer {
  position: relative;
  z-index: 1;
}

/* Falling petals fade into the dark instead of being cut off at the bottom of the hero.
   A plain gradient on top is much cheaper than masking an animated canvas. */
.bloom-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 5, 8, 0), var(--color-page-background) 92%);
}

/* A pinned flower would see this fade sweep up across it like a curtain; the petals fade out and
   fall off the bottom of the screen on their own instead. */
.bloom-hero.is-flower-pinned::after {
  display: none;
}

.bloom-hero-content,
.bloom-hero-footer {
  position: relative;
  z-index: 2;
}

.bloom-hero-logo {
  margin: 0;
  line-height: 0;
}

.bloom-hero-logo img {
  width: min(74vw, 440px);
  filter: drop-shadow(0 0 24px rgba(154, 133, 255, 0.32));
}

.bloom-hero-tagline {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.bloom-hero-album-line {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.listen-button-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* Gold-outlined buttons that light up violet */
.glow-button {
  display: inline-block;
  padding: 0.72rem 1.55rem;
  border: 1px solid var(--color-gold);
  border-radius: var(--frame-corner-radius);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(5, 5, 8, 0.55); /* solid tint, not frosted glass: blurring the live flower behind four buttons every frame was costly */
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-dreamy);
}

.glow-button:hover {
  color: var(--color-text);
  border-color: var(--color-flower-violet);
  background: rgba(154, 133, 255, 0.14);
  box-shadow: 0 0 26px rgba(61, 85, 255, 0.4), inset 0 0 12px rgba(154, 133, 255, 0.15);
  transform: translateY(-2px);
}

.glow-button-solid {
  background: linear-gradient(135deg, rgba(154, 133, 255, 0.18), rgba(61, 85, 255, 0.1));
}

/* "Scroll" with a gold line and a glowing drop of light that keeps running down it */
.scroll-cue {
  position: relative;
  z-index: 3; /* always above the hero's bottom fade */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  transition: color 0.3s ease, opacity 0.35s ease;
}

.scroll-cue:hover {
  color: var(--color-gold-bright);
}

/* Faded out quickly once the visitor starts scrolling (main.js), before the rising flower reaches it. */
.scroll-cue.is-dismissed {
  opacity: 0;
  pointer-events: none;
}

.scroll-cue.is-dismissed .scroll-cue-line::after {
  animation-play-state: paused; /* no need to keep animating the drip while it's invisible */
}

/* The track: brighter at the top, fading downwards, so it reads clearly on the dark hero */
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(179, 147, 85, 0.75), rgba(179, 147, 85, 0.12));
  /* clip the drop top and bottom, but let its glow spill sideways */
  clip-path: inset(0 -8px 0 -8px);
}

/* The drop: a short bright streak with a soft gold glow */
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -16px;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(233, 211, 156, 0), var(--color-gold-bright));
  box-shadow: 0 0 8px rgba(233, 211, 156, 0.85), 0 0 16px rgba(154, 133, 255, 0.45);
  animation: scroll-cue-drip 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scroll-cue-drip {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(68px); opacity: 0; }
}

/* ======================= Sections ======================= */

.page-section {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem 1rem;
}

.section-kicker {
  margin: 0 0 0.5rem;
  text-align: center;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 2.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
  /* gold that catches a little violet light */
  background: linear-gradient(180deg, var(--color-gold-bright), var(--color-gold) 55%, #8c7140);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(154, 133, 255, 0.18));
}

/* ---------- Reveal on scroll (only when main.js is running) ---------- */

/* Only opacity and movement: the browser can animate those without redrawing. (A blur here
   looked nice but redrew whole paragraphs on every frame, right while you were scrolling.) */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1.2s var(--ease-dreamy),
    transform 1.2s var(--ease-dreamy);
  transition-delay: calc(var(--reveal-order, 0) * 110ms);
}

.js-enabled .reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ======================= Music ======================= */

.album-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

/* The sleeve sits on top; the record starts hidden behind it and slides out to the right */
.vinyl-stage {
  position: relative;
  width: 70%;
  aspect-ratio: 1 / 1;
}

.vinyl-sleeve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: 4px;
  box-shadow: 0 0 90px rgba(120, 90, 255, 0.24), 0 26px 50px rgba(0, 0, 0, 0.75);
}

.vinyl-record {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 94%;
  height: 94%;
  z-index: 1;
  transition: transform 1.8s var(--ease-dreamy) 0.35s;
}

.js-enabled .vinyl-stage.is-revealed .vinyl-record,
html:not(.js-enabled) .vinyl-record {
  transform: translateX(42%);
}

/* Grooves are a fine repeating radial gradient; a thin dark ring frames the label */
.vinyl-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31.5%, #030305 32% 33.2%, transparent 33.6%),
    repeating-radial-gradient(circle, #0b0b10 0 1.2px, #17161e 1.6px 2.8px),
    #0a0a0d;
  box-shadow: 0 0 0 1px #1d1c26, 0 22px 50px rgba(0, 0, 0, 0.75);
  animation: spin-record 6.5s linear infinite;
  animation-play-state: paused;
}

.js-enabled .vinyl-stage.is-revealed .vinyl-disc {
  animation-play-state: running;
}

/* The centre label shows the flower from the cover */
.vinyl-label {
  position: absolute;
  inset: 33.5%;
  border-radius: 50%;
  background: url("images/wilting-within-cover-800.jpg") 50% 53% / 260% no-repeat;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}

/* spindle hole */
.vinyl-label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7%;
  height: 7%;
  margin: -3.5% 0 0 -3.5%;
  border-radius: 50%;
  background: var(--color-page-background);
}

/* The light on the record doesn't spin with it, which is what makes it read as a real disc */
.vinyl-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 25deg,
      transparent 0deg 22deg,
      rgba(255, 255, 255, 0.07) 38deg,
      transparent 60deg 195deg,
      rgba(154, 133, 255, 0.08) 214deg,
      transparent 238deg 360deg);
}

@keyframes spin-record {
  to { transform: rotate(360deg); }
}

.album-release-line {
  margin-top: 0;
  color: var(--color-text-muted);
}

/* ---------- The journey bar + tracklist ---------- */

.journey {
  margin: 1.75rem 0 1.5rem;
}

.journey-header {
  display: flex;
  justify-content: space-between;
}

/* The journey bar doubles as the album's timeline once our player is running (main.js) */
.journey-bar {
  position: relative;
  display: flex;
  gap: 3px;
  height: 10px;
  margin: 0.7rem 0 0.9rem;
  border-radius: 3px;
}

.js-enabled .journey-bar {
  cursor: pointer;
}

.journey-bar:focus-visible {
  outline: 2px solid var(--color-flower-violet);
  outline-offset: 4px;
}

/* The gold line that fills the bar as the album plays, with a bright playhead at its tip.
   main.js sets --album-progress (0 → 1). */
.journey-progress {
  position: absolute;
  left: 0;
  top: -3px;
  bottom: -3px;
  width: calc(var(--album-progress, 0) * 100%);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(233, 211, 156, 0.15), rgba(233, 211, 156, 0.55));
  box-shadow: inset 0 0 0 1px rgba(233, 211, 156, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.journey-progress::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--color-gold-bright);
  box-shadow: 0 0 10px rgba(233, 211, 156, 0.9), 0 0 20px rgba(154, 133, 255, 0.6);
}

.journey.has-started .journey-progress {
  opacity: 1;
}

.journey-segment {
  border-radius: 3px;
  opacity: 0.5;
  transition: opacity 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-dreamy);
}

/* each track a step further from the flower's pale heart towards its blue edge */
.journey-segment[data-track="1"] { background: linear-gradient(90deg, #e3d6ff, #c6aaff); }
.journey-segment[data-track="2"] { background: linear-gradient(90deg, #c6aaff, #a68cff); }
.journey-segment[data-track="3"] { background: linear-gradient(90deg, #a68cff, #8a78ff); }
.journey-segment[data-track="4"] { background: linear-gradient(90deg, #8a78ff, #6d6bff); }
.journey-segment[data-track="5"] { background: linear-gradient(90deg, #6d6bff, #4f5dff); }
.journey-segment[data-track="6"] { background: linear-gradient(90deg, #4f5dff, #2f43e6); }

.journey-segment.is-highlighted {
  opacity: 1;
  transform: scaleY(1.5);
  box-shadow: 0 0 16px rgba(154, 133, 255, 0.7);
}

.journey-tracklist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-hairline);
}

.journey-tracklist li {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--color-hairline);
  border-radius: 6px;
  transition: background-color 0.3s ease;
  cursor: default;
}

.journey-tracklist li.is-highlighted {
  background: rgba(154, 133, 255, 0.07);
}

.track-number {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* The track number doubles as a play button. Which symbol shows:
     resting             → the number
     hover / keyboard    → ▶ (or ❚❚ on the playing track)
     current, paused     → ▶
     current, playing    → animated equalizer bars (❚❚ on hover)
   On touch screens (no hover) the ▶ shows instead of the number. */
.track-play-button {
  position: relative;
  flex: none;
  width: 1.8rem;
  height: 1.7em;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track-play-icon,
.track-equalizer {
  display: none;
}

/* ▶ drawn with borders */
.track-play-icon {
  width: 0;
  height: 0;
  margin-top: 0.3em;
  border-style: solid;
  border-width: 0.45em 0 0.45em 0.75em;
  border-color: transparent transparent transparent var(--color-gold-bright);
  filter: drop-shadow(0 0 6px rgba(233, 211, 156, 0.6));
}

/* ❚❚ (pause), reusing the same element on the playing track */
.journey-tracklist li.is-playing .track-play-icon {
  width: 0.7em;
  height: 0.85em;
  border: 0;
  border-left: 0.24em solid var(--color-gold-bright);
  border-right: 0.24em solid var(--color-gold-bright);
}

.journey-tracklist li:hover .track-number,
.journey-tracklist li:focus-within .track-number,
.journey-tracklist li.is-current .track-number {
  display: none;
}

.journey-tracklist li:hover .track-play-icon,
.journey-tracklist li:focus-within .track-play-icon,
.journey-tracklist li.is-current .track-play-icon {
  display: inline-block;
}

/* while it plays (and isn't hovered), the ▶/❚❚ makes way for three dancing bars */
.journey-tracklist li.is-playing:not(:hover):not(:focus-within) .track-play-icon {
  display: none;
}

.journey-tracklist li.is-playing:not(:hover):not(:focus-within) .track-equalizer {
  display: inline-flex;
}

.track-equalizer {
  align-items: flex-end;
  gap: 2px;
  height: 0.95em;
  margin-top: 0.25em;
}

.track-equalizer i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 1px;
  background: var(--color-gold-bright);
  box-shadow: 0 0 6px rgba(233, 211, 156, 0.6);
  transform-origin: bottom;
  animation: equalizer-bounce 0.9s ease-in-out infinite alternate;
}

.track-equalizer i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
.track-equalizer i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }

@keyframes equalizer-bounce {
  from { transform: scaleY(0.25); }
  to   { transform: scaleY(1); }
}

@media (hover: none) {
  .journey-tracklist li:not(.is-playing) .track-number { display: none; }
  .journey-tracklist li:not(.is-playing) .track-play-icon { display: inline-block; }
}

/* the current track: highlighted row, bright title, glowing segment */
.journey-tracklist li.is-current {
  background: rgba(154, 133, 255, 0.12);
}

.journey-tracklist li.is-current .track-title {
  color: #fff;
}

.journey-tracklist li.is-current .track-length {
  color: var(--color-gold-bright);
}

.journey-segment.is-current {
  opacity: 1;
  box-shadow: 0 0 16px rgba(154, 133, 255, 0.7);
}

.track-title {
  flex: 1;
}

.track-length {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Only shown when JavaScript is off (inside <noscript>) */
.bandcamp-player {
  display: block;
  width: 100%;
  height: 120px;
  border: 0;
  margin: 0 0 1.5rem;
  border-radius: 6px;
}

/* ---------- Album play button + "now playing" ---------- */

.album-player-controls {
  display: none; /* our player needs JavaScript */
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0 1.6rem;
}

.js-enabled .album-player-controls {
  display: flex;
}

/* A gold ring with ▶ (or ❚❚ while playing), glowing violet on hover like the other buttons */
.album-play-button {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 133, 255, 0.18), rgba(5, 5, 8, 0.6) 70%);
  cursor: pointer;
  box-shadow: 0 0 24px rgba(61, 85, 255, 0.3);
  transition: transform 0.35s var(--ease-dreamy), box-shadow 0.35s ease, border-color 0.35s ease;
}

.album-play-button:hover {
  transform: scale(1.06);
  border-color: var(--color-flower-violet);
  box-shadow: 0 0 34px rgba(154, 133, 255, 0.55);
}

.album-play-icon {
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--color-gold-bright);
}

.album-play-button.is-playing .album-play-icon {
  left: 50%;
  width: 16px;
  height: 18px;
  border: 0;
  border-left: 5px solid var(--color-gold-bright);
  border-right: 5px solid var(--color-gold-bright);
}

.album-now-playing {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.album-now-playing strong {
  display: block;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}

/* ---------- Floating mini-player ---------- */

.mini-player {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100vw - 2rem);
  padding: 0.45rem 0.6rem 0.45rem 0.45rem;
  border: 1px solid var(--color-gold-dim);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 26px rgba(61, 85, 255, 0.22);
  overflow: hidden;
  transform: translate(-50%, 160%);
  visibility: hidden;
  transition: transform 0.6s var(--ease-dreamy), visibility 0.6s;
}

.mini-player.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

.mini-player-toggle,
.mini-player-next {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.mini-player-next {
  border-color: var(--color-gold-dim);
  width: 32px;
  height: 32px;
}

/* ▶ / ❚❚ in the toggle */
.mini-player-toggle-icon {
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent var(--color-gold-bright);
}

.mini-player.is-playing .mini-player-toggle-icon {
  left: 50%;
  width: 11px;
  height: 13px;
  border: 0;
  border-left: 4px solid var(--color-gold-bright);
  border-right: 4px solid var(--color-gold-bright);
}

/* ▶| next */
.mini-player-next-icon {
  position: absolute;
  left: 46%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--color-gold);
}

.mini-player-next-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  top: -5px;
  width: 2px;
  height: 10px;
  background: var(--color-gold);
}

.mini-player-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1rem;
  text-decoration: none;
}

.mini-player-artist {
  margin-left: 0.35rem;
  color: var(--color-gold);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* a hairline of progress along the bottom edge (main.js sets --track-progress) */
.mini-player-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(var(--track-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--color-gold), var(--color-flower-violet));
}

/* ======================= About ======================= */

.statement-text {
  max-width: 900px;
  margin: 0 auto 3.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1.3;
  color: var(--color-flower-lavender);
  text-shadow: 0 0 30px rgba(154, 133, 255, 0.25);
}

/* Words drift in one after another (main.js wraps each word in .statement-word) */
.js-enabled .statement-text.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.statement-word {
  display: inline-block;
}

.js-enabled .statement-word {
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 0.9s var(--ease-dreamy),
    transform 0.9s var(--ease-dreamy);
  transition-delay: calc(var(--word-index) * 70ms);
}

.js-enabled .statement-text.is-revealed .statement-word {
  opacity: 1;
  transform: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.about-biography p:first-child {
  margin-top: 0;
}

.recommended-if-you-like {
  color: var(--color-text-muted);
  margin-top: 2rem;
}

.recommended-if-you-like .small-caps-label {
  display: block;
}

.lineup-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.lineup-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-gold-dim);
  border-radius: var(--frame-corner-radius);
  background: linear-gradient(150deg, rgba(154, 133, 255, 0.07), transparent 55%), var(--color-panel-background);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.lineup-card:hover {
  border-color: var(--color-flower-violet);
  box-shadow: 0 0 24px rgba(61, 85, 255, 0.22);
}

.lineup-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.lineup-role {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ======================= Watch ======================= */

.video-card {
  margin: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-panel-background);
  border: 1px solid var(--color-hairline);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-play preview: the thumbnail with a gold-ringed play button that glows on hover */
.video-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* also crops the black bars off YouTube's 4:3 thumbnails */
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.8s var(--ease-dreamy);
}

.video-preview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: rgba(5, 5, 8, 0.55);
  box-shadow: 0 0 30px rgba(61, 85, 255, 0.35);
  transition: transform 0.4s var(--ease-dreamy), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* the triangle */
.video-preview-play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--color-gold-bright);
  transform: translate(-50%, -50%);
}

.video-preview:hover img,
.video-preview:focus-visible img {
  opacity: 1;
  transform: scale(1.02);
}

.video-preview:hover .video-preview-play,
.video-preview:focus-visible .video-preview-play {
  transform: scale(1.08);
  border-color: var(--color-flower-violet);
  box-shadow: 0 0 40px rgba(154, 133, 255, 0.6);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* The full-album video sits in a glowing gold "theatre" frame */
.theater-video-card {
  margin-bottom: 2.25rem;
}

.theater-video-card .video-frame {
  border: 1px solid var(--color-gold-dim);
  border-radius: var(--frame-corner-radius);
  box-shadow: 0 0 0 6px rgba(5, 5, 8, 0.9), 0 0 0 7px rgba(77, 63, 37, 0.6), 0 0 110px rgba(100, 80, 255, 0.22);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.video-card figcaption {
  margin-top: 0.6rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.more-link-line {
  text-align: center;
  margin-top: 2rem;
}

/* ======================= Press ======================= */

.quote-carousel {
  max-width: 860px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* All quotes share one grid cell so the box is as tall as the longest; main.js fades between them */
.js-enabled .quote-carousel-track {
  display: grid;
}

.carousel-quote {
  margin: 0 0 2rem;
}

.js-enabled .carousel-quote {
  grid-area: 1 / 1;
  align-self: center; /* shorter quotes sit in the middle of the box, not at its top */
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition:
    opacity 1.4s var(--ease-dreamy),
    transform 1.4s var(--ease-dreamy),
    visibility 1.4s;
}

.js-enabled .carousel-quote.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.carousel-quote p {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  color: var(--color-flower-lavender);
  text-shadow: 0 0 28px rgba(154, 133, 255, 0.25);
}

.carousel-quote cite {
  font-style: normal;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* "translated from Italian" sits quietly after the outlet name */
.quote-translation-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.press-reach-line {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
}

.quote-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.quote-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.quote-carousel-dot[aria-current="true"] {
  background: var(--color-gold);
  box-shadow: 0 0 10px rgba(233, 211, 156, 0.6);
}

.press-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}

.press-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-hairline);
}

.press-outlet {
  display: block;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ======================= Contact ======================= */

.contact-section {
  text-align: center;
  padding-bottom: 6rem;
}

.contact-section p {
  margin: 0.25rem 0;
  color: var(--color-text-muted);
}

/* The address shimmers like the gold on the cover */
.contact-email a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  background: linear-gradient(100deg, var(--color-gold) 0%, var(--color-gold-bright) 18%, var(--color-gold) 36%, var(--color-flower-violet) 62%, var(--color-gold) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Plays twice when the address appears, then rests. A shimmer that runs forever repaints the text forever. */
  animation: gold-shimmer 9s ease-in-out 2;
}

.js-enabled .contact-email a {
  animation-play-state: paused;
}

.js-enabled .contact-email.is-revealed a {
  animation-play-state: running;
}

/* Instagram / Facebook / TikTok under the email address */
.social-link-row {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.social-link-row a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link-row a:hover {
  color: var(--color-gold-bright);
}

@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ======================= Footer ======================= */

.page-footer {
  position: relative;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.page-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim) 30%, var(--color-gold-dim) 70%, transparent);
}

.footer-link-row {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-link-row a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-link-row a:hover {
  color: var(--color-gold-bright);
}

.footer-credit {
  margin: 0;
}

/* ======================= Phones ======================= */

@media (max-width: 760px) {
  body {
    font-size: 1.05rem;
  }

  .album-showcase,
  .about-layout,
  .video-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .page-section {
    padding-top: 4.5rem;
  }

  .vinyl-stage {
    width: 68%;
  }

  /* tight enough that all five links fit on one line on a phone */
  .top-navigation-links {
    gap: 0.3rem 0.8rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  /* no room for the small logo next to the links on a phone */
  .top-navigation-mark {
    display: none;
  }

  /* ----- The opening screen on a phone: everything a size smaller so the flower gets its own space ----- */

  .bloom-hero {
    padding: 3.9rem 1.1rem 1.1rem;
  }

  .bloom-hero-logo img {
    width: min(64vw, 440px);
  }

  .bloom-hero-tagline {
    margin-top: 0.6rem;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    line-height: 1.8;
  }

  .bloom-hero-album-line {
    margin-bottom: 0.75rem;
    font-size: 0.86rem;
  }

  /* the four listen buttons as a tidy 2 × 2 grid */
  .listen-button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .listen-button-row .glow-button {
    display: block;
    padding: 0.62rem 0.4rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-align: center;
    white-space: nowrap;
  }

  .scroll-cue {
    margin-top: 0.9rem;
    font-size: 0.62rem;
  }

  .scroll-cue-line {
    height: 34px;
  }
}

/* ======================= Reduced motion: everything still, everything visible ======================= */

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

  .js-enabled .reveal,
  .js-enabled .statement-word,
  .js-enabled .carousel-quote,
  .vinyl-record,
  .glow-button,
  .cursor-glow {
    transition: none !important;
  }

  .js-enabled .reveal,
  .js-enabled .statement-word {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .vinyl-disc,
  .scroll-cue-line::after,
  .contact-email a,
  .track-equalizer i {
    animation: none;
  }

  /* still bars at staggered heights instead of dancing ones */
  .track-equalizer i:nth-child(1) { transform: scaleY(0.6); }
  .track-equalizer i:nth-child(2) { transform: scaleY(1); }
  .track-equalizer i:nth-child(3) { transform: scaleY(0.4); }

  .mini-player {
    transition: none;
  }

  .js-enabled .vinyl-stage .vinyl-record {
    transform: translateX(42%);
  }
}

/* keep "Oakland, California" together when the tagline wraps on a phone */
.tagline-place {
  white-space: nowrap;
}
