/* Anthemusiq — "Iron & Smoke" */
:root {
  --soot: #11100E;
  --night: #0E0D10;
  --smoke: #1A1815;
  --ember-bg: #17140F;
  --line: #2E2A25;
  --line-soft: #24211C;
  --line-strong: #3A352E;
  --bone: #E9E1D0;
  --bone-dim: #CFC6B4;
  --ash: #A8A092;
  --ash-dim: #857D70;
  --placeholder: #5E584F;
  --brass: #B8925A;
  --brass-light: #D4B07A;
  --parchment: #D4C3A0;
  --oxblood: #7A2E2A;
  --oxblood-dark: #5C2220;
  --paper: #D8CCB2;
  --ink: #2A221B;
  --lamp: #E3A04A;

  --display: 'Anton', 'Impact', sans-serif;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --hand: 'Homemade Apple', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soot);
  color: var(--bone);
  font-family: var(--body);
  overflow-x: hidden;
}
a { color: var(--brass); }
a:hover { color: var(--brass-light); }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 12px 16px; background: var(--brass); color: var(--soot); font-weight: 700;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
}
.h-display {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 5vw, 60px); letter-spacing: 0.02em; line-height: 1.05;
}
.h-serif {
  margin: 0; font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(32px, 4.4vw, 52px);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 28px;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-brass { background: var(--brass); color: var(--soot); }
.btn-brass:hover { background: var(--brass-light); color: var(--soot); }
.btn-ghost { border-color: var(--bone); color: var(--bone); background: transparent; font-weight: 500; }
.btn-ghost:hover { border-color: var(--brass-light); color: var(--brass-light); }

/* Photos: show a labelled placeholder until the real file exists */
.photo { position: relative; background: var(--smoke); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .photo-label {
  display: none; position: absolute; inset: 0; align-items: center; justify-content: center;
  text-align: center; padding: 16px; font-family: var(--mono); font-size: 13px; color: var(--placeholder);
}
.photo.missing img { display: none; }
/* "Lamplight" grade so every photo sits in the late-night palette */
.hero-photo img { object-position: 8% 35%; filter: saturate(0.45) sepia(0.3) brightness(0.62) contrast(1.1); }
.band .photo img { object-position: 85% 0%; filter: saturate(0.5) sepia(0.35) brightness(0.62) contrast(1.08); }
.portrait img { object-position: 62% 50%; filter: sepia(0.15) contrast(1.05); }
.members-photo img { object-position: 30% 50%; filter: grayscale(0.7) sepia(0.3) brightness(0.55); }
.photo.missing .photo-label { display: flex; }

/* ---------- Nav ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--soot); position: relative; z-index: 2; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-family: var(--display); font-size: 26px; letter-spacing: 0.08em; color: var(--bone); text-decoration: none; }
.wordmark:hover { color: var(--bone); }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-links a { color: var(--ash); text-decoration: none; padding: 12px 0; }
.nav-links a:hover { color: var(--bone); }
.nav-links .nav-cta { color: var(--soot); background: var(--brass); padding: 12px 18px; font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--brass-light); color: var(--soot); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 860px; display: flex; align-items: flex-end;
  background: var(--night); border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero-photo { position: absolute; left: 0; right: 0; top: 0; height: 520px; background: var(--night); }
.hero-photo .photo-label { padding-bottom: 60px; }
.hero-fade {
  position: absolute; left: 0; right: 0; top: 0; height: 540px;
  background: linear-gradient(180deg, rgba(14, 13, 16, 0) 40%, var(--night) 100%);
}
.haze {
  position: absolute; left: -10%; right: -10%; bottom: 120px; height: 360px; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(227, 160, 74, 0.16), rgba(227, 160, 74, 0) 60%),
    radial-gradient(ellipse at 75% 80%, rgba(160, 60, 40, 0.14), rgba(160, 60, 40, 0) 55%);
  animation: haze 24s ease-in-out infinite;
}
.skyline {
  position: absolute; left: 0; right: 0; bottom: 110px; width: 100%; height: 320px;
  -webkit-box-reflect: below 0 linear-gradient(transparent 55%, rgba(255, 255, 255, 0.22));
}
.lamp-a { animation: lamp 5s infinite; }
.lamp-b { animation: lamp 7s infinite 1.3s; }
.lamp-c { animation: lamp 6s infinite 2.6s; }
.street { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, rgba(14, 13, 16, 0.55), var(--night)); }
.street-glint {
  position: absolute; bottom: 0; width: 10px; height: 110px; filter: blur(4px);
  background: linear-gradient(180deg, rgba(255, 201, 119, 0.5), rgba(255, 201, 119, 0));
}
.street-glint.g1 { left: 28.5%; }
.street-glint.g2 { left: 60.4%; }
.street-glint.g3 { left: 88.9%; }
/* Rain that drifts in and out over the street, then clears */
.rain {
  position: absolute; inset: -20%; pointer-events: none; opacity: 0; transform: rotate(9deg);
  animation: rain-cycle 75s ease-in-out -28s infinite;
}
.rain::before, .rain::after { content: ""; position: absolute; inset: 0; background-image: url(../images/rain.svg); background-repeat: repeat; }
.rain::before { background-size: 240px 320px; opacity: 0.45; animation: rain-far 0.9s linear infinite; }
.rain::after { background-size: 360px 480px; opacity: 0.3; animation: rain-near 0.6s linear infinite; }
/* Lightning: a rare double flash over the sky, only while it's raining */
.lightning {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse 120% 90% at 65% 0%, rgba(225, 232, 248, 0.85), rgba(200, 210, 235, 0.35) 45%, rgba(200, 210, 235, 0.08) 80%);
  animation: lightning 75s linear -28s infinite;
}
.grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.09; pointer-events: none; }
.hero-content {
  position: relative; padding-bottom: 64px; display: flex; flex-direction: column; gap: 22px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
.hero-title {
  margin: 0; font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(56px, 14vw, 200px); line-height: 0.86; letter-spacing: 0.01em; color: var(--bone-dim);
}
.hero-sub { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.2vw, 38px); color: var(--parchment); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; text-shadow: none; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--ember-bg); color: var(--brass-light); padding: 14px 0;
  border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  box-shadow: inset 0 3px 0 var(--ember-bg), inset 0 4px 0 rgba(184, 146, 90, 0.35), inset 0 -3px 0 var(--ember-bg), inset 0 -4px 0 rgba(184, 146, 90, 0.35);
}
.marquee-track {
  display: flex; width: max-content; gap: 36px; animation: marquee 60s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: 19px; letter-spacing: 0.1em; white-space: nowrap;
}

/* ---------- Player ---------- */
.music { position: relative; padding: 96px 0; overflow: hidden; }
.lamp-pool {
  position: absolute; pointer-events: none;
  background: radial-gradient(circle at 40% 40%, rgba(227, 160, 74, 0.11), rgba(227, 160, 74, 0) 60%);
}
.music .lamp-pool { left: -200px; top: 40px; width: 900px; height: 700px; }
.music .wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 18px;
}
.section-head > div { display: flex; flex-direction: column; gap: 6px; }
.meta { font-family: var(--mono); font-size: 14px; color: var(--ash); }
.player-grid { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; }
.now-playing { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 22px; }
.cover { aspect-ratio: 1 / 1; border: 1px solid var(--line); }
/* Vinyl: slides out from behind the cover and spins while a song plays */
.record { position: relative; }
.record .cover { position: relative; z-index: 1; box-shadow: 12px 0 30px rgba(0, 0, 0, 0.55); }
.vinyl {
  position: absolute; left: 5%; top: 5%; width: 90%; aspect-ratio: 1 / 1; border-radius: 50%;
  transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
}
.vinyl::before, .np-bar-disc {
  background:
    radial-gradient(circle, var(--oxblood) 0 15%, #0B0A0C 15.5% 17%, transparent 17.5%),
    radial-gradient(circle, transparent 0 66%, rgba(184, 146, 90, 0.18) 67% 67.6%, transparent 68.2%),
    repeating-radial-gradient(circle, #1A1815 0 2px, #2A2722 2px 3px);
}
.vinyl::before, .vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.vinyl::before { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #0B0A0C, inset 0 0 0 3px rgba(184, 146, 90, 0.25); }
.vinyl::after, .np-bar-disc::after {
  background: conic-gradient(from 0deg, transparent 0 10%, rgba(212, 176, 122, 0.3) 14%, transparent 20% 60%, rgba(212, 176, 122, 0.2) 64%, transparent 70%);
  animation: spin 1.8s linear infinite; animation-play-state: paused;
}
.is-playing .vinyl { transform: translateX(24%); }
.is-playing .vinyl::after, .np-bar.is-playing .np-bar-disc::after { animation-play-state: running; }
.np-text { display: flex; flex-direction: column; gap: 4px; }
.np-status { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--brass); }
.np-title { font-family: var(--display); font-size: 32px; letter-spacing: 0.02em; text-transform: uppercase; }
.np-artist { color: var(--ash); }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; margin: 0;
}
.progress input[type=range]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--brass) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.progress input[type=range]::-moz-range-track { height: 3px; background: var(--line); }
.progress input[type=range]::-moz-range-progress { height: 3px; background: var(--brass); }
.progress input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; background: var(--brass-light); border: none; }
.progress input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brass-light); border: none; }
.times { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--ash); }
.controls { display: flex; align-items: center; gap: 18px; }
.ctrl {
  width: 48px; height: 48px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--bone);
}
.ctrl:hover { border-color: var(--brass); }
.ctrl-play { width: 64px; height: 64px; border: none; border-radius: 50%; background: var(--brass); color: var(--soot); }
.ctrl-play:hover { background: var(--brass-light); }
.ctrl-play .icon-pause { display: none; }
.is-playing .ctrl-play .icon-pause { display: block; }
.is-playing .ctrl-play .icon-play { display: none; }
.unlock-note {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #4A3D28;
  background: var(--ember-bg); color: var(--parchment); font-size: 14px; text-decoration: none;
}
.unlock-note:hover { color: var(--bone); border-color: var(--brass); }

.tracklist { flex: 999 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.tracklist li { border-bottom: 1px solid var(--line-soft); }
.track {
  width: 100%; min-height: 54px; display: flex; align-items: center; gap: 18px; padding: 0 14px;
  border: none; border-left: 3px solid transparent; background: transparent; color: var(--bone);
  text-align: left; cursor: pointer;
}
.track:hover { background: #16140F; }
.track[aria-current="true"] { background: var(--smoke); border-left-color: var(--brass); }
.track-num { width: 28px; font-family: var(--mono); font-size: 14px; color: var(--ash-dim); }
.track[aria-current="true"] .track-num { color: var(--brass); }
.track-title { flex: 1 1 auto; font-size: 17px; font-weight: 500; }
.track-time { font-family: var(--mono); font-size: 14px; color: var(--ash); }
.track-lock { color: var(--ash-dim); flex: none; }
.eq { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.eq span { width: 3px; height: 4px; background: var(--brass); }
.is-playing .track[aria-current="true"] .eq { display: flex; }
.is-playing .track[aria-current="true"] .eq span { animation: eq 0.9s ease-in-out infinite; }
.is-playing .track[aria-current="true"] .eq span:nth-child(2) { animation-duration: 0.7s; animation-delay: 0.2s; }
.is-playing .track[aria-current="true"] .eq span:nth-child(3) { animation-duration: 1.1s; animation-delay: 0.1s; }

/* ---------- Courtyard teaser ---------- */
.courtyard { padding: 0 0 96px; }
.courtyard .wrap { display: flex; flex-direction: column; gap: 28px; }
.panel { border: 1px solid var(--line); background: #14120F; padding: 28px; }
.courtyard-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.courtyard-grid > div:first-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.points-grid { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.point { padding: 14px; border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.point b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--brass-light); }
.point span { font-size: 14px; color: var(--bone-dim); }
.fine { flex: 1 1 100%; font-size: 13px; color: var(--ash-dim); margin: 0; }
.h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: 0.02em; }
.lead { margin: 0; font-size: 15px; line-height: 1.6; color: var(--bone-dim); }

/* The Courtyard comment wall */
.yard { display: flex; flex-direction: column; gap: 18px; }
.yard [hidden] { display: none !important; }
.yard-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.yard select, .yard input, .yard textarea {
  font: inherit; color: var(--bone); background: #14120F; border: 1px solid var(--line-strong); border-radius: 0;
}
.yard select { min-height: 44px; padding: 0 12px; font-family: var(--serif); font-style: italic; font-size: 17px; }
.yard select:focus, .yard input:focus, .yard textarea:focus { outline: 2px solid var(--brass-light); outline-offset: 1px; border-color: var(--brass); }
.yard-points {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 18px;
  border: 1px solid var(--line-strong); background: #14120F;
}
.yard-points b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--brass-light); }
.yard-points #yard-rank { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--parchment); }
.yard-next { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--ash); }
.yard-points.bump b { animation: bump 0.6s ease-out; }
.yard-rank { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); border: 1px solid var(--line-strong); padding: 2px 6px; }
.yard-form { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--brass); background: var(--ember-bg); }
.yard-name { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--parchment); }
.yard input { min-height: 44px; padding: 0 12px; max-width: 320px; }
.yard textarea { width: 100%; padding: 12px; resize: vertical; min-height: 90px; line-height: 1.5; }
.yard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yard-count { font-family: var(--mono); font-size: 13px; color: var(--ash-dim); }
.yard-msg { margin: 0; min-height: 1em; font-size: 14px; color: var(--parchment); }
.yard-msg:empty { display: none; }
.yard-msg.is-bad { color: #E0A89A; }
.yard-gate { margin: 0; padding: 14px 16px; border: 1px solid #4A3D28; background: var(--ember-bg); color: var(--parchment); font-size: 15px; }
.yard-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.yard-item { padding: 16px 0; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; }
.yard-item.is-mine { border-left: 3px solid var(--brass); padding-left: 14px; }
.yard-head { display: flex; align-items: baseline; gap: 12px; }
.yard-who { font-family: var(--display); font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--brass-light); }
.yard-when { font-family: var(--mono); font-size: 12px; color: var(--ash-dim); }
.yard-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--bone-dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.yard-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.react {
  min-height: 36px; min-width: 64px; padding: 0 12px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--bone); font-family: var(--mono); font-size: 14px; cursor: pointer;
}
.react:hover { border-color: var(--brass); }
.react[aria-pressed="true"] { border-color: var(--brass); background: rgba(184, 146, 90, 0.16); }
.yard-tools { margin-left: auto; display: flex; gap: 4px; }
.yard-tool { min-height: 36px; padding: 0 10px; border: none; background: transparent; color: var(--ash); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.yard-tool:hover { color: var(--bone); }
.yard-empty { margin: 0; font-family: var(--serif); font-style: italic; color: var(--ash); }
.yard-more { align-self: flex-start; }

/* ---------- Iron rail ---------- */
.rail { display: block; width: 100%; height: 48px; opacity: 0.4; }

/* ---------- Listen ---------- */
.listen { padding: 96px 0; }
.listen .wrap { display: flex; flex-direction: column; gap: 32px; }
.listen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); background: var(--smoke); }
.service iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; background: var(--soot); }
.service iframe.apple-embed { height: 450px; }
.service-card {
  height: 352px; border: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 18px;
  align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--ash);
}
.service-card .h3 { color: var(--bone); }
.service a.more { font-weight: 500; }

/* ---------- Photo band ---------- */
.band { position: relative; height: 520px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: flex-end; }
.band .photo { position: absolute; inset: 0; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 16, 0.85) 0%, rgba(14, 13, 16, 0.2) 55%, rgba(14, 13, 16, 0.6) 100%); }
.band-glow { position: absolute; right: -100px; top: -100px; width: 600px; height: 500px; background: radial-gradient(circle, rgba(227, 160, 74, 0.14), rgba(227, 160, 74, 0) 60%); animation: lamp 7s infinite; }
.band .wrap { position: relative; padding-bottom: 56px; }
.lyric { margin: 0; max-width: 640px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9); }

/* ---------- About ---------- */
.about { padding: 96px 0; }
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-text { flex: 2 1 420px; display: flex; flex-direction: column; gap: 20px; }
.about-text p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.7; color: var(--bone-dim); }
.about-art { flex: 1 1 360px; max-width: 480px; position: relative; padding-bottom: 230px; }
.portrait { aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.portrait .photo-label { padding-bottom: 140px; }
.portrait-glow { position: absolute; left: -80px; top: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(227, 160, 74, 0.18), rgba(227, 160, 74, 0) 60%); animation: lamp 6s infinite; }
.letter { position: absolute; left: -36px; bottom: 0; width: 300px; transform: rotate(-3deg); }
.letter-paper { position: relative; padding: 30px 26px 40px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7); }
.letter-paper p { margin: 0 0 18px; font-family: var(--hand); font-size: 15px; line-height: 2; }
.letter-paper .salutation { font-size: 19px; line-height: 1.7; }
.letter-paper .signature { margin: 0; font-size: 17px; text-align: right; }
/* Lucky: a snapshot of the teddy bear from the cover, taped to the letter */
.lucky {
  position: absolute; right: -58px; top: -86px; width: 132px; margin: 0; padding: 8px 8px 0;
  background: #EFE7D6; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6); transform: rotate(8deg);
}
.lucky img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; filter: sepia(0.25) saturate(0.85) contrast(1.05); }
.lucky figcaption { padding: 4px 0 6px; font-family: var(--hand); font-size: 14px; color: var(--ink); text-align: center; }
.lucky-tape { position: absolute; left: 50%; top: -10px; width: 56px; height: 18px; margin-left: -28px; background: rgba(216, 204, 178, 0.6); transform: rotate(-6deg); }
.tape { position: absolute; left: 50%; top: -12px; width: 90px; height: 24px; margin-left: -45px; background: rgba(216, 204, 178, 0.55); transform: rotate(2deg); }

/* ---------- Members ---------- */
.members { position: relative; padding: 40px 0 104px; overflow: hidden; }
.members-glow { position: absolute; left: 50%; top: -120px; width: 1000px; height: 520px; margin-left: -500px; pointer-events: none; background: radial-gradient(ellipse at 50% 30%, rgba(227, 160, 74, 0.16), rgba(227, 160, 74, 0) 65%); animation: lamp 8s infinite; }
.members-frame { position: relative; padding: 8px; border: 1px solid var(--brass); box-shadow: 0 0 80px rgba(227, 160, 74, 0.12); }
.members-inner { position: relative; overflow: hidden; padding: 48px 36px; border: 1px solid #5A4A30; background: var(--ember-bg); display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; }
.members-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; }
.members-photo .photo-label { align-items: flex-start; justify-content: flex-end; font-size: 12px; color: #4E483F; }
.members-shade { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; background: linear-gradient(90deg, var(--ember-bg) 0%, rgba(23, 20, 15, 0.55) 60%, rgba(23, 20, 15, 0.75) 100%); }
.members-copy { position: relative; flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.members-copy ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--bone-dim); font-size: 17px; }
.members-cta { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.members-cta .soon { font-family: var(--display); font-size: 40px; }
.members-cta small { font-size: 13px; color: var(--ash); }

/* ---------- Ivy creeping in at the edges ---------- */
.ivy { position: absolute; width: 120px; height: 330px; pointer-events: none; z-index: 2; }
.ivy svg { width: 100%; height: 100%; overflow: visible; transform-origin: 50% 0; }
.ivy.lit svg { animation: sway 9s ease-in-out 4s infinite; }
.ivy-stem { fill: none; stroke: #4A4430; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ivy-branch { stroke-width: 1.6; }
.ivy-leaf { fill: #33402A; transform: scale(0); opacity: 0; }
.ivy-leaf-light { fill: #4C5A36; }
.ivy-vein { fill: none; stroke: rgba(20, 22, 14, 0.6); stroke-width: 0.8; }
.ivy.lit .ivy-stem { animation: ivy-draw 3s ease-out forwards; }
.ivy.lit .ivy-branch { animation-delay: 1.2s; }
.ivy.lit .ivy-leaf { animation: ivy-leaf 0.7s ease-out forwards; }
.ivy-hero { left: 0; top: -14px; }
.ivy-hero-r { right: 12px; top: -14px; transform: scaleX(-1) scale(0.75); transform-origin: 50% 0; }
.ivy-band { right: 6%; bottom: -10px; transform: scaleY(-1); }
.ivy-about { right: -34px; top: -26px; transform: scaleX(-1) scale(0.8); transform-origin: 50% 0; }
.music, .courtyard, .listen, .shop, .site-footer { position: relative; }
.courtyard > .wrap, .listen > .wrap, .shop > .wrap, .site-footer > .wrap { position: relative; z-index: 3; }
.ivy-l, .ivy-r { z-index: 1; }
.ivy-l { left: 0; top: -12px; }
.ivy-r { right: 0; top: -12px; transform: scaleX(-1); }
.ivy-up { top: auto; bottom: -10px; transform: scaleY(-1); }
.ivy-r.ivy-up { transform: scale(-1, -1); }
.ivy-short { height: 230px; }
.ivy-members { right: -30px; top: -24px; transform: scaleX(-1) scale(0.85); transform-origin: 50% 0; z-index: 3; }

/* ---------- Lamplight: sections warm up as they scroll into view ---------- */
.reveal-on .reveal { opacity: 0; }
.reveal-on .reveal.lit { animation: light-up 1.3s ease-out both; }

/* ---------- Smoke drifting up the screen ---------- */
.smoke { position: fixed; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.smoke span {
  position: absolute; bottom: -30%; width: 70vw; height: 60vh; opacity: 0;
  background: radial-gradient(closest-side, rgba(215, 205, 185, 0.26), rgba(215, 205, 185, 0.12) 45%, rgba(215, 205, 185, 0) 100%);
  animation: smoke-rise 26s ease-in-out infinite;
}
.smoke span:nth-child(1) { left: -15%; }
.smoke span:nth-child(2) { left: 30%; animation-duration: 34s; animation-delay: -12s; }
.smoke span:nth-child(3) { left: 60%; animation-duration: 30s; animation-delay: -20s; }
.smoke span:nth-child(4) { left: 10%; width: 50vw; animation-duration: 22s; animation-delay: -8s; }
.smoke span:nth-child(5) { left: 45%; width: 55vw; animation-duration: 28s; animation-delay: -4s; }

/* ---------- Gas-lamp glow following the mouse ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: radial-gradient(circle, rgba(255, 201, 119, 0.09), rgba(227, 160, 74, 0.04) 35%, rgba(227, 160, 74, 0) 65%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.6s;
}
.cursor-glow.on { opacity: 1; animation: lamp 6s infinite; }

/* ---------- Now Playing bar ---------- */
.np-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 0 12px 12px;
  transform: translateY(120%); transition: transform 0.45s ease; pointer-events: none;
}
.np-bar.show { transform: none; pointer-events: auto; }
.np-bar-inner {
  max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 12px;
  background: var(--ember-bg); border: 1px solid var(--brass);
  box-shadow: inset 0 0 0 3px var(--ember-bg), inset 0 0 0 4px rgba(184, 146, 90, 0.35), 0 12px 40px rgba(0, 0, 0, 0.7);
}
.np-bar-disc { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.np-bar-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.np-bar-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--bone); }
.np-bar-text:hover { color: var(--bone); }
.np-bar-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--brass); }
.np-bar-title { font-family: var(--serif); font-style: italic; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-bar .ctrl { width: 44px; height: 44px; flex: none; }
.np-bar .ctrl-play { width: 48px; height: 48px; }
.np-bar.is-playing .ctrl-play .icon-pause { display: block; }
.np-bar.is-playing .ctrl-play .icon-play { display: none; }
body.has-np-bar { padding-bottom: 84px; }

/* ---------- Film look over the whole page ---------- */
/* Each layer sits on its own so it can blend with the page underneath. */
.film { position: fixed; inset: 0; pointer-events: none; z-index: 8; }
/* Warm highlights, cool shadows, like graded film */
.film-tone { mix-blend-mode: soft-light; background: linear-gradient(180deg, rgba(255, 186, 110, 0.35), rgba(70, 110, 125, 0.3)); }
/* Darker corners, with a faint projector flicker */
.film-vignette {
  background: radial-gradient(ellipse 120% 100% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.42) 100%);
  animation: film-flicker 7s steps(1) infinite;
}
/* Moving grain, jumping a few times a second */
.film-grain {
  inset: -60px; opacity: 0.16; mix-blend-mode: overlay;
  background: url(../images/film-grain.png) repeat; background-size: 160px 160px;
  animation: film-grain 0.5s steps(1) infinite;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--ash); }
.site-footer .wordmark { font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { padding: 8px 0; }

/* ---------- Shop ---------- */
.shop { padding: 0 0 96px; }
.shop .wrap { display: flex; flex-direction: column; gap: 28px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.shop-grid:empty { display: none; }
.shop-item {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--bone);
  border: 1px solid var(--line); background: var(--smoke); transition: border-color .2s, transform .2s;
}
.shop-item:hover, .shop-item:focus-visible { border-color: var(--brass); transform: translateY(-3px); color: var(--bone); }
.shop-pic { aspect-ratio: 1 / 1; background: var(--soot); overflow: hidden; }
.shop-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-info { display: flex; justify-content: space-between; gap: 12px; padding: 16px 16px 4px; }
.shop-name { font-family: var(--display); font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; }
.shop-price { font-family: var(--mono); color: var(--brass-light); white-space: nowrap; }
.shop-buy { padding: 0 16px 16px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.shop-empty { margin: 0; font-family: var(--serif); font-style: italic; color: var(--ash); }

/* ---------- Motion ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@keyframes lamp { 0%, 100% { opacity: .9; } 8% { opacity: .78; } 10% { opacity: .95; } 46% { opacity: .85; } 48% { opacity: 1; } 70% { opacity: .88; } }
@keyframes rain-cycle { 0%, 30% { opacity: 0; } 40%, 64% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes lightning {
  0%, 44%, 44.4%, 44.8%, 45.6%, 55%, 55.3%, 56.2%, 100% { opacity: 0; }
  44.2% { opacity: 0.9; } 44.6% { opacity: 0.5; } 44.9% { opacity: 1; } 55.15% { opacity: 0.8; }
}
@keyframes rain-far { to { background-position: 0 320px; } }
@keyframes rain-near { to { background-position: 0 480px; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); color: var(--bone); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ivy-draw { to { stroke-dashoffset: 0; } }
@keyframes ivy-leaf { 0% { transform: scale(0) rotate(-25deg); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.6deg); } }
@keyframes light-up {
  0% { opacity: 0; transform: translateY(26px); filter: brightness(0.35) sepia(0.6); }
  55% { opacity: 1; filter: brightness(1.18) sepia(0.2); }
  68% { filter: brightness(0.92) sepia(0.1); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes smoke-rise {
  0% { opacity: 0; transform: translate(0, 0) scale(0.9); }
  25% { opacity: 1; }
  75% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(8vw, -75vh) scale(1.5); }
}
@keyframes film-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-37px, 21px); } 40% { transform: translate(24px, -43px); }
  60% { transform: translate(-15px, -28px); } 80% { transform: translate(41px, 33px); }
}
@keyframes film-flicker { 0%, 100% { opacity: 1; } 31% { opacity: 0.94; } 33% { opacity: 1; } 72% { opacity: 0.96; } 74% { opacity: 1; } }
@keyframes haze { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .rain, .lightning, .smoke { display: none; }
  .ivy-stem { stroke-dashoffset: 0; }
  .ivy-leaf { transform: none; opacity: 1; }
  .np-bar { transition: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hero { min-height: 720px; }
  .hero-photo { height: 420px; }
  .skyline { height: 220px; bottom: 90px; }
  .street, .street-glint { height: 90px; }
  .music, .listen, .about { padding: 64px 0; }
  .about-art { padding-bottom: 290px; }
  .letter { left: 0; width: 86%; }
  .lucky { right: -14px; top: -96px; width: 112px; }
  .ivy { width: 84px; height: 231px; }
  .ivy-hero-r { display: none; }
  /* Phones: narrow screens put the vines on top of words, so keep only the ones that hang over photos */
  .music > .ivy, .courtyard > .ivy, .listen > .ivy, .shop > .ivy, .site-footer > .ivy, .ivy-members { display: none; }
  .ivy-about { right: -6px; }
  .ivy-members { right: -10px; }
  .is-playing .vinyl { transform: translateX(12%); }
  .np-bar { padding: 0 8px 8px; }
  .members-inner { padding: 32px 22px; }
  .members-photo, .members-shade { width: 100%; opacity: 0.5; }
}

/* Inner Circle buttons: hidden until Memberstack is live, then shown by log-in state */
.ms-buttons { display: none; flex-wrap: wrap; gap: 10px; }
.members-cta.is-live .soon { display: none; }
.members-cta.is-live .ms-buttons { display: flex; }
.ms-buttons .btn { display: none; font-family: inherit; }
.members-cta.is-live:not(.is-member) .ms-show-guest,
.members-cta.is-live:not(.is-logged-in) .ms-show-out,
.members-cta.is-live.is-member .ms-show-member,
.members-cta.is-live.is-logged-in .ms-show-in { display: inline-flex; }
.is-full-member .unlock-note { display: none; }
.is-full-member .track-lock { display: none; }
