/* CHEMTRAILS — PNW fog, one contrail of amber */

:root {
  --bg: #0a0c10;
  --bg-2: #10141b;
  --fog: #8b95a3;
  --fog-dim: #5a6270;
  --ink: #e8ebef;
  --accent: #f0a35e;
  --accent-soft: rgba(240, 163, 94, 0.14);
  --line: rgba(139, 149, 163, 0.15);
  --display: "Unbounded", sans-serif;
  --body: "Space Grotesk", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 84px; /* room for player bar */
}

/* film grain */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(10,12,16,0.85), transparent);
  backdrop-filter: blur(2px);
}
.nav-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--fog);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--accent); }

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/banner.webp") center 30% / cover no-repeat;
  filter: saturate(0.65) brightness(0.55) blur(2px);
  transform: scale(1.06);
}
.hero-fog {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(240,163,94,0.10), transparent 60%),
    linear-gradient(to bottom, rgba(10,12,16,0.55) 0%, rgba(10,12,16,0.25) 45%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 780px; }
.hero-kicker {
  color: var(--fog);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 6.8vw, 92px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--ink);
  text-shadow: 0 0 60px rgba(240,163,94,0.25);
}
.hero-title span { color: var(--accent); }
.hero-tagline {
  margin: 26px auto 38px;
  max-width: 560px;
  color: var(--fog);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--fog-dim); font-size: 18px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #14100a; }
.btn-primary:hover { background: #ffb877; box-shadow: 0 0 32px rgba(240,163,94,0.35); }
.btn-ghost { border-color: var(--line); color: var(--fog); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* sections */
.section { max-width: 1120px; margin: 0 auto; padding: 110px 32px 40px; }
.section-head { margin-bottom: 48px; }
.section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-sub { color: var(--fog-dim); margin-top: 10px; font-size: 15px; }

/* track grid */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.track-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.track-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240,163,94,0.45);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.track-card.playing { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(0,0,0,0.5); }
.track-art { position: relative; aspect-ratio: 1; overflow: hidden; }
.track-art img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85);
  transition: transform 0.5s, filter 0.5s;
}
.track-card:hover .track-art img { transform: scale(1.05); filter: saturate(1); }
.track-art .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,12,16,0.35);
  opacity: 0; transition: opacity 0.3s;
  font-size: 40px; color: var(--ink);
  text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}
.track-card:hover .play-badge, .track-card.playing .play-badge { opacity: 1; }
.track-card.playing .play-badge { color: var(--accent); }
.track-info { padding: 16px 18px 18px; }
.track-name { font-weight: 500; font-size: 16px; letter-spacing: 0.02em; }
.track-genre { color: var(--fog-dim); font-size: 13px; margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }
.more-row { text-align: center; margin-top: 52px; }

/* merch — compact CTA band */
#merch { padding-top: 0; padding-bottom: 0; }
.merch-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(120deg, var(--bg-2), rgba(240,163,94,0.05));
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.merch-cta:hover {
  border-color: rgba(240,163,94,0.45);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}
.merch-thumbs { display: flex; flex-shrink: 0; }
.merch-thumbs img {
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-left: -16px;
  transition: transform 0.3s;
}
.merch-thumbs img:first-child { margin-left: 0; }
.merch-cta:hover .merch-thumbs img { transform: translateY(-3px); }
.merch-cta-copy { flex: 1; min-width: 0; }
.merch-cta-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.merch-cta-copy p { color: var(--fog-dim); font-size: 14.5px; margin-top: 6px; }
.merch-cta-btn { flex-shrink: 0; }
@media (max-width: 700px) {
  .merch-cta { flex-direction: column; text-align: center; gap: 18px; }
}

/* the signal — manifesto */
.section-signal { text-align: center; }
.signal-inner { max-width: 680px; margin: 0 auto; }
.signal-inner h2 { margin-bottom: 34px; }
.signal-inner p { color: var(--fog); margin-bottom: 20px; font-size: 16.5px; }
.signal-inner em { color: var(--ink); font-style: normal; font-weight: 500; }
.signal-pull {
  margin: 44px 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.signal-pull p {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(17px, 2.6vw, 23px);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.signal-pull p:last-child { margin-bottom: 0; }
.signal-thesis {
  color: var(--accent) !important;
  font-size: 18px !important;
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto !important;
}

/* support — tip jar */
.section-support { text-align: center; }
.support-inner { max-width: 520px; margin: 0 auto; }
.support-inner h2 { margin-bottom: 16px; }
.support-inner p { color: var(--fog); margin-bottom: 30px; }
.paypal-slot { max-width: 340px; margin: 0 auto; }

/* about */
.section-about { padding-bottom: 110px; }
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo img {
  width: 100%; border-radius: 14px;
  filter: saturate(0.8);
  border: 1px solid var(--line);
}
.about-text p { color: var(--fog); margin-bottom: 18px; max-width: 620px; }
.about-text h2 { margin-bottom: 26px; }
.about-sig { color: var(--accent) !important; font-style: italic; }
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
}

/* footer */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--line);
  color: var(--fog-dim); font-size: 13px; letter-spacing: 0.05em;
}
.footer-links a { color: var(--fog); text-decoration: none; margin-left: 20px; }
.footer-links a:hover { color: var(--accent); }

/* player bar */
.player[hidden] { display: none; }
.player {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 56px minmax(120px, 1fr) auto minmax(160px, 1.4fr);
  gap: 18px;
  align-items: center;
  padding: 12px 24px;
  background: rgba(13,16,22,0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.player-art { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.player-meta { display: flex; flex-direction: column; min-width: 0; }
.player-title { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-genre { color: var(--fog-dim); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.player-controls { display: flex; gap: 6px; align-items: center; }
.player-controls button {
  background: none; border: none; color: var(--fog);
  font-size: 18px; cursor: pointer; padding: 8px;
  transition: color 0.2s;
}
.player-controls button:hover { color: var(--ink); }
.player-play {
  width: 42px; height: 42px;
  border-radius: 50% !important;
  background: var(--accent) !important;
  color: #14100a !important;
  font-size: 16px !important;
  display: flex; align-items: center; justify-content: center;
}
.player-play:hover { background: #ffb877 !important; }
.player-progress { display: flex; align-items: center; gap: 12px; }
.time { color: var(--fog-dim); font-size: 12px; font-variant-numeric: tabular-nums; min-width: 36px; }
.progress-rail {
  flex: 1; height: 4px; border-radius: 2px;
  background: rgba(139,149,163,0.2);
  cursor: pointer; position: relative;
}
.progress-rail:hover { height: 6px; }
.progress-fill {
  height: 100%; width: 0%;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(240,163,94,0.5);
}
@media (max-width: 640px) {
  .player { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 10px 14px; }
  .player-progress { display: none; }
  .player-art { width: 44px; height: 44px; }
}
