/* Blake Van Treese — site styles */

:root {
  --bg: #15120f;
  --bg-raised: #1c1814;
  --cream: #f1e8d8;
  --cream-dim: #c9bfae;
  --gold: #c98a3b;
  --gold-bright: #e0a856;
  --wine: #6e2b2b;
  --line: rgba(241, 232, 216, 0.12);
  --max: 1100px;
  --header-h: 84px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@view-transition { navigation: auto; }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scrollbar-color: #3a3128 var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  counter-reset: release;
}

/* Film grain over everything, for a little analog warmth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: #15120f; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.9em;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  view-transition-name: site-header;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(21, 18, 15, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-header.scrolled::before,
.site-header.nav-open::before { opacity: 1; }

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height 0.35s var(--ease-out);
}

.site-header.scrolled .container { height: 64px; }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--cream);
  white-space: nowrap;
  transition: color 0.2s ease;
}

a.wordmark:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.main-nav ul {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active { color: var(--gold-bright); }

.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

/* ---- Hero ---- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(201, 138, 59, 0.14), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero.has-photo,
.page-hero.has-photo {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: none;
}

.hero.has-photo {
  min-height: min(94vh, 920px);
  display: flex;
  align-items: center;
}

.hero.has-photo > .container { width: 100%; }

/* Photo layer: JS-driven parallax and a slow CSS zoom share one transform */
.hero.has-photo::before,
.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: -15% 0;
  background: var(--hero-image) var(--hero-pos, center) / cover no-repeat;
  transform: translateY(var(--parallax-y, 0px)) scale(var(--hero-zoom, 1));
  animation:
    heroZoomPulse 22s ease-in-out infinite alternate,
    heroFadeIn 1.6s ease both;
  z-index: 0;
}

/* Static scrim so the fade into the page never moves with the parallax */
.hero.has-photo::after,
.page-hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 42%, rgba(21, 18, 15, 0) 0%, rgba(21, 18, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(21, 18, 15, 0.7) 0%, rgba(21, 18, 15, 0.5) 38%, rgba(21, 18, 15, 0.86) 80%, var(--bg) 100%);
}

.hero.has-photo > .container,
.page-hero.has-photo > .container {
  position: relative;
  z-index: 1;
  transform: translateY(calc(var(--parallax-y, 0px) * 0.45));
  opacity: var(--hero-fade, 1);
}

@property --hero-zoom {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@keyframes heroZoomPulse {
  from { --hero-zoom: 1; }
  to { --hero-zoom: 1.08; }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .container > *,
.page-hero .container > * {
  animation: riseIn 0.9s var(--ease-out) both;
}
.hero .container > :nth-child(1), .page-hero .container > :nth-child(1) { animation-delay: 0.15s; }
.hero .container > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: 0.28s; }
.hero .container > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: 0.42s; }
.hero .container > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: 0.56s; }

.hero h1 {
  font-size: clamp(2.9rem, 9vw, 6.2rem);
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 0.35em;
  background: linear-gradient(180deg, #fbf5e9 30%, #e3c79a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero .tagline {
  max-width: 580px;
  margin: 0 auto 2.4em;
  color: var(--cream);
  opacity: 0.88;
  font-size: 1.12rem;
  text-shadow: 0 1px 18px rgba(21, 18, 15, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 1;
  width: 28px;
  height: 56px;
  margin-left: -14px;
  opacity: calc(var(--hero-fade, 1) * 0.9);
  animation: heroFadeIn 1s ease 1.2s both;
}
.scroll-cue::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(241, 232, 216, 0.28);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: cueDrop 2.2s ease-in-out infinite;
}

@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(52px); opacity: 0; }
}

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 70% 100% at 20% 0%, rgba(201, 138, 59, 0.1), transparent 70%);
}

.page-hero.has-photo {
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
}

.page-hero.has-photo > .container { width: 100%; }

.page-hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-style: italic;
  letter-spacing: -0.01em;
}
.page-hero .lede {
  max-width: 640px;
  color: var(--cream);
  opacity: 0.85;
  font-size: 1.08rem;
  text-shadow: 0 1px 18px rgba(21, 18, 15, 0.9);
}

/* ---- Buttons ---- */

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.9rem 1.9rem;
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #d59848, var(--gold));
  color: #15120f;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--gold-bright), #d59848);
  box-shadow: 0 14px 30px -14px rgba(224, 168, 86, 0.65);
}
.btn-primary:hover::after { left: 130%; }

.btn-ghost {
  background: rgba(21, 18, 15, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(241, 232, 216, 0.08);
}

/* ---- Fork tiles ---- */

.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fork-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  padding: 3.2rem 3rem;
  text-decoration: none;
  color: var(--cream);
  overflow: hidden;
}

.fork-tile:not(:last-child) { border-right: 1px solid var(--line); }

.fork-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tile-image, none) var(--tile-pos, center) / cover no-repeat;
  filter: saturate(0.7) brightness(0.75);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out), filter 0.7s ease;
}

.fork-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity 0.6s ease;
}

.fork-tile.songwriter { background: #1d1010; }
.fork-tile.jazz { background: #1c160d; }

.fork-tile.songwriter::after {
  background:
    linear-gradient(160deg, rgba(110, 43, 43, 0.45), transparent 60%),
    linear-gradient(180deg, rgba(21, 18, 15, 0.25) 0%, rgba(21, 18, 15, 0.6) 50%, rgba(21, 18, 15, 0.96) 100%);
}
.fork-tile.jazz::after {
  background:
    linear-gradient(160deg, rgba(120, 82, 30, 0.4), transparent 60%),
    linear-gradient(180deg, rgba(21, 18, 15, 0.25) 0%, rgba(21, 18, 15, 0.6) 50%, rgba(21, 18, 15, 0.96) 100%);
}

.fork-tile:hover::before,
.fork-tile:focus-visible::before {
  transform: scale(1.1);
  filter: saturate(1) brightness(0.92);
}

.fork-num {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 232, 216, 0.28);
  transition: transform 0.7s var(--ease-out), -webkit-text-stroke-color 0.4s ease;
}
.fork-tile:hover .fork-num {
  transform: translateY(-8px);
  -webkit-text-stroke-color: var(--gold-bright);
}

.fork-tile .eyebrow { color: var(--gold-bright); }
.fork-tile h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); font-style: italic; margin-bottom: 0.4em; }
.fork-tile p { color: var(--cream); opacity: 0.85; margin-bottom: 1.6em; max-width: 400px; }

.fork-tile .cta {
  align-self: flex-start;
  position: relative;
  padding-bottom: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.fork-tile .cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.fork-tile:hover .cta::after { transform: scaleX(1); }

.arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.fork-tile:hover .arrow,
.btn:hover .arrow { transform: translateX(6px); }

/* ---- Marquee ---- */

.marquee {
  overflow: hidden;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
}

.marquee-group span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.2;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 232, 216, 0.4);
}
.marquee-group .dot {
  font-style: normal;
  font-size: 1rem;
  color: var(--gold);
  -webkit-text-stroke: 0;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- Sections ---- */

section { padding: 5rem 0; }
.section-border { border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { font-style: italic; font-size: 2rem; }
.section-head p { color: var(--cream-dim); }

/* ---- Featured release (home) ---- */

.feature-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 70% at 22% 50%, rgba(110, 43, 43, 0.3), transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 30%, rgba(201, 138, 59, 0.08), transparent 70%);
}

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  max-width: 940px;
}

.feature-body h2 {
  font-style: italic;
  font-size: clamp(2.2rem, 4.6vw, 3.3rem);
  margin-bottom: 0.35em;
}
.feature-body > p { color: var(--cream-dim); max-width: 460px; margin-bottom: 1.8em; }
.feature-body iframe {
  display: block;
  border: 0;
  width: 100%;
  max-width: 420px;
  height: 120px;
  border-radius: 4px;
  box-shadow: 0 24px 40px -26px rgba(0, 0, 0, 0.9);
}
.feature-body .btn { margin-top: 1.4rem; }

.vinyl {
  position: relative;
  width: clamp(220px, 30vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 34px 36px rgba(0, 0, 0, 0.65));
}

.vinyl-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 62%, rgba(0, 0, 0, 0.35) 62.3% 63%, transparent 63.3%),
    radial-gradient(circle, transparent 0 82%, rgba(0, 0, 0, 0.35) 82.3% 83%, transparent 83.3%),
    repeating-radial-gradient(circle, #0b0908 0 1.2px, #1b1714 1.2px 2.6px);
  box-shadow: inset 0 0 0 1px rgba(241, 232, 216, 0.08);
  animation: spin 10s linear infinite;
}

.vinyl-label {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  text-align: center;
  color: #2a1a0a;
  background: radial-gradient(circle at 35% 30%, #e9bd76, var(--gold) 55%, #9c6522);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.45);
}
.vinyl-label::after {
  content: "";
  position: absolute;
  inset: 44%;
  border-radius: 50%;
  background: var(--bg);
}
.vinyl-label b,
.vinyl-label small {
  position: absolute;
  left: 0;
  right: 0;
}
.vinyl-label b { top: 16%; }
.vinyl-label small { bottom: 19%; }
.vinyl-label b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(0.6rem, 1.15vw, 0.82rem);
  line-height: 1.1;
}
.vinyl-label small {
  font-size: clamp(0.4rem, 0.7vw, 0.52rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Light catching the grooves: stays put while the disc turns */
.vinyl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 30deg,
    transparent 0deg,
    rgba(255, 244, 224, 0.14) 28deg,
    transparent 58deg,
    transparent 180deg,
    rgba(255, 244, 224, 0.1) 208deg,
    transparent 238deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 0 19.5%, #000 20%);
  mask-image: radial-gradient(circle, transparent 0 19.5%, #000 20%);
  pointer-events: none;
}

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

/* ---- Cards with a cursor-following glow ---- */

.release,
.signup-box,
.coming-soon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.release::before,
.signup-box::before,
.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 168, 86, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.release:hover,
.signup-box:hover,
.coming-soon:hover {
  border-color: rgba(224, 168, 86, 0.35);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}

.release:hover::before,
.signup-box:hover::before,
.coming-soon:hover::before { opacity: 1; }

/* ---- Release list / embeds ---- */

.release {
  counter-increment: release;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2.8rem;
  align-items: start;
  padding: 2.4rem;
  margin-bottom: 2rem;
  background: linear-gradient(160deg, rgba(36, 28, 16, 0.6), rgba(21, 18, 15, 0.2));
}

.release:last-child { margin-bottom: 0; }

.release-embed iframe {
  display: block;
  width: 100%;
  max-width: 350px;
  border-radius: 4px;
}

.release-info::before {
  content: counter(release, decimal-leading-zero);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 168, 86, 0.55);
}

.release-info h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-style: italic; }
.release-info .meta {
  color: var(--gold-bright);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
.release-info p { color: var(--cream-dim); }
.release-info .btn { margin-top: 0.6rem; }

.release-single {
  max-width: 350px;
  margin: 0 auto;
}
.release-single iframe {
  display: block;
  border-radius: 4px;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}

.coming-soon {
  max-width: 720px;
  margin: 3.5rem auto 0;
  padding: 3rem 2.5rem;
  text-align: center;
  border-style: dashed;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(110, 43, 43, 0.22), transparent 70%);
}
.coming-soon h3 { font-style: italic; font-size: 1.7rem; margin-bottom: 0.4em; }
.coming-soon p { color: var(--cream-dim); margin-bottom: 1.4em; }

/* ---- Email signup ---- */

.signup {
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(201, 138, 59, 0.16), transparent 70%),
    var(--bg-raised);
}

.signup-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 3.2rem 2.6rem;
  text-align: center;
  background: rgba(21, 18, 15, 0.55);
}

.signup-box h2 { font-style: italic; font-size: clamp(2rem, 4vw, 2.6rem); }
.signup-box p { color: var(--cream-dim); }

.signup-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input[type="email"] {
  flex: 1 1 260px;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.signup-form input[type="email"]::placeholder { color: var(--cream-dim); opacity: 0.7; }
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(224, 168, 86, 0.16);
}

.signup-form button {
  font-family: var(--font-body);
  cursor: pointer;
}

.signup-note {
  font-size: 0.8rem;
  color: var(--cream-dim);
  margin-top: 0.9rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}
.form-status.success { display: block; color: var(--gold-bright); }
.form-status.error { display: block; color: #e08787; }

/* ---- About ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}

/* Offset gold frame peeking out behind the portrait */
.about-photo::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: 4px;
  opacity: 0.7;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 40px 60px -40px rgba(0, 0, 0, 0.9);
}

.about-grid > div:last-child > p:first-child {
  font-size: 1.14rem;
  color: var(--cream);
}
.about-grid > div:last-child > p:first-child::first-letter {
  float: left;
  padding: 0.08em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 3.9rem;
  line-height: 0.82;
  color: var(--gold-bright);
}
.about-grid > div:last-child > p { color: var(--cream-dim); }

.instrument-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.instrument-list li {
  border: 1px solid var(--line);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--cream-dim);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}
.instrument-list li:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.about-secondary {
  max-width: 420px;
  margin: 5rem auto 0;
  text-align: center;
}
.about-secondary img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 60px -40px rgba(0, 0, 0, 0.9);
  transform: rotate(-1.6deg);
  transition: transform 0.6s var(--ease-out);
}
.about-secondary:hover img { transform: rotate(0deg) scale(1.02); }
.about-secondary p {
  margin: 1.4rem 0 0;
  color: var(--cream-dim);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
}

/* ---- Follow links ---- */

.follow-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.spotify-note {
  max-width: 520px;
  margin: 1.4rem auto 0;
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.88rem;
}

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

.site-footer {
  position: relative;
  padding: 3rem 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 168, 86, 0.5), transparent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  text-decoration: none;
  color: var(--cream-dim);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold-bright); }

.footer-copy {
  color: var(--cream-dim);
  font-size: 0.82rem;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(224, 168, 86, 0.5);
  background: rgba(21, 18, 15, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold-bright);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease-out),
    visibility 0.3s,
    background 0.2s ease,
    color 0.2s ease;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--gold);
  color: #15120f;
}

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

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(21, 18, 15, 0.97);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0.25s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1rem 24px; }
  .main-nav a::after { display: none; }

  .fork { grid-template-columns: 1fr; }
  .fork-tile { min-height: 380px; padding: 2.6rem 24px; }
  .fork-tile:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }

  .feature { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .feature-body > p,
  .feature-body iframe { margin-left: auto; margin-right: auto; }

  .release { grid-template-columns: 1fr; padding: 1.6rem; }
  .release-embed iframe { max-width: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo::after { inset: 12px -10px -12px 10px; }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; }
  section { padding: 3.8rem 0; }
  .hero .eyebrow::before,
  .hero .eyebrow::after { width: 24px; }
  .signup-box { padding: 2.4rem 1.4rem; }
  .coming-soon { padding: 2.4rem 1.4rem; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-zoom.in-view {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger.in-view { transition-delay: var(--reveal-delay, 0ms); }

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

  .hero.has-photo::before,
  .page-hero.has-photo::before {
    animation: none;
    transform: none;
  }
  .hero.has-photo > .container,
  .page-hero.has-photo > .container {
    transform: none;
    opacity: 1;
  }
  .hero .container > *,
  .page-hero .container > *,
  .scroll-cue,
  .scroll-cue::after,
  .marquee-track,
  .vinyl-disc { animation: none; }

  .reveal,
  .reveal-zoom {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fork-tile::before,
  .fork-num,
  .btn,
  .btn-primary::after,
  .about-secondary img,
  .instrument-list li { transition: none; }
  .fork-tile:hover::before { transform: scale(1.02); }
  .btn:hover,
  .instrument-list li:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
