/* ==========================================================================
   Folding Drops — site styles
   Colours live in :root below. Change one value there and it updates everywhere.
   ========================================================================== */

/* Fonts are served from this site (assets/fonts/), trimmed to the weights and styles the
   design uses, so the page doesn't wait on a second website before it can draw. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/Fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("assets/fonts/Fraunces-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/Inter.woff2") format("woff2"); }

:root {
  --bg: #17110e;          /* page background — warm near-black */
  --bg-2: #211913;        /* cards */
  --bg-3: #2b2119;        /* hover / raised */
  --ink: #f3e9da;         /* main text — cream */
  --ink-2: #cdbda7;       /* secondary text */
  --ink-3: #93836f;       /* muted text */
  --amber: #e3a848;       /* accent — pulled from the guitar's sunburst */
  --amber-2: #f2c26c;
  --line: rgba(243, 233, 218, 0.12);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
/* Fine film grain over everything — gives the dark background some warmth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-2); }
a:hover { color: var(--amber); }
::selection { background: var(--amber); color: #1a120a; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }

section { padding: 80px 0; }
section[id] { scroll-margin-top: 80px; }
@media (max-width: 600px) { section { padding: 56px 0; } }

/* ---------- Scroll-in reveal (script.js adds .js and .in; without JS everything just shows) ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity 0.8s var(--ease) var(--d, 0s), translate 0.8s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: 0 0; transition: none; } }

/* ---------- Skip link (keyboard users) ---------- */
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--amber); color: #1a120a; padding: 8px 14px;
  border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(23, 17, 14, 0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.wordmark:hover { color: var(--amber-2); }
.nav-row nav { display: flex; gap: 22px; margin-left: auto; }
.nav-row nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.15s; }
.nav-row nav a:hover { color: var(--ink); }
@media (max-width: 600px) {
  .nav-row { gap: 8px 16px; padding: 12px 0; min-height: 0; }
  .nav-row nav { margin-left: 0; width: 100%; gap: 18px; }
  .site-header .nav-cta { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--amber); color: #1a120a;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--amber-2); color: #1a120a; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(227, 168, 72, 0.6); }
.btn span { opacity: 0.7; font-weight: 500; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(243, 233, 218, 0.22); }
.btn-ghost:hover { background: var(--bg-3); color: var(--ink); border-color: var(--ink-3); box-shadow: none; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin: 0 0 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 28px;
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .section-title { margin: 0; }
.caption { color: var(--ink-3); font-size: 0.9rem; margin: 0; letter-spacing: 0.02em; }
.meta { color: var(--ink-3); font-size: 0.9rem; margin: 0 0 20px; }
em { font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 60; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 100%;
  background: radial-gradient(50% 60% at 74% 40%, rgba(227, 168, 72, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1.05fr 0.95fr; position: relative; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2); text-decoration: none; font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.hero-chip img { width: 28px; height: 28px; border-radius: 7px; }
.hero-chip b { color: var(--ink); font-weight: 600; }
.hero-chip:hover { border-color: var(--amber); color: var(--ink); }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: 0.95;
  letter-spacing: -0.03em; margin: 0 0 22px;
  animation: rise 0.9s var(--ease) both;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; margin: 0 0 30px; animation: rise 0.9s var(--ease) 0.1s both; }
.hero .btn-row { animation: rise 0.9s var(--ease) 0.2s both; }
.hero-chip { animation: rise 0.9s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1, .lede, .hero .btn-row, .hero-chip { animation: none; } }

/* Photo styled like a tilted print, with a second "frame" behind it */
.hero-photo { margin: 0; position: relative; isolation: isolate; padding: 0 20px 20px 0; }
.hero-photo img {
  border-radius: 18px; rotate: -1.5deg;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: rotate 0.5s var(--ease);
}
.hero-photo:hover img { rotate: 0deg; }
.hero-photo::after {
  content: ""; position: absolute; inset: 20px 0 0 20px; z-index: -1;
  border: 1px solid var(--amber); border-radius: 18px; opacity: 0.55; rotate: 1.2deg;
}
@media (max-width: 800px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; max-width: 420px; }
}

/* ---------- Ticker of song titles ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: var(--bg-2); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 30px; padding: 0 15px; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-variation-settings: "SOFT" 60;
  font-size: 1.2rem; color: var(--ink-2);
}
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Latest release (blurred cover art glows behind it) ---------- */
.latest { position: relative; overflow: hidden; }
.wash {
  position: absolute; inset: -25%; width: 150%; height: 150%; max-width: none;
  object-fit: cover; filter: blur(80px) saturate(1.4); opacity: 0.32; pointer-events: none;
}
.latest::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(23, 17, 14, 0.25) 22%, rgba(23, 17, 14, 0.25) 78%, var(--bg) 100%);
}
.latest .container { position: relative; z-index: 1; }
.latest-grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 56px; align-items: center; }
.latest-art {
  border-radius: 14px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.5s var(--ease), opacity 0.8s var(--ease), translate 0.8s var(--ease);
}
.latest-art:hover { transform: scale(1.02) rotate(-0.6deg); }
.latest h2 {
  font-family: var(--font-display); font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 8px;
}
@media (max-width: 720px) {
  .latest-grid { grid-template-columns: 1fr; gap: 32px; }
  .latest-art { max-width: 340px; }
}

/* ---------- Track lists ---------- */
.tracklist { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: track; }
.tracklist li {
  counter-increment: track; display: flex; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
  break-inside: avoid;
}
.tracklist li::before {
  content: counter(track, decimal-leading-zero);
  color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 0.78rem; min-width: 1.7em;
}
.tracklist li span { flex: 1; }
.tracklist time { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.tracklist.two-col { columns: 2; column-gap: 36px; }
@media (max-width: 560px) { .tracklist.two-col { columns: 1; } }

/* ---------- Spotify player ---------- */
.player { margin-top: 56px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.player iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; display: block; background: #1c1917; }

/* ---------- Discography ---------- */
.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.release {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.js .release.reveal {
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s,
              opacity 0.8s var(--ease) var(--d, 0s), translate 0.8s var(--ease) var(--d, 0s);
}
.release:hover { transform: translateY(-5px); border-color: rgba(227, 168, 72, 0.45); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.9); }
.release-art { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform 0.6s var(--ease); }
.release:hover .release-art { transform: scale(1.035); }
.release-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; background: var(--bg-2); position: relative; }
.release h3 { font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 40; font-size: 1.35rem; line-height: 1.2; margin: 0; }
.release .meta { margin: 0; }
.release details { margin-top: 4px; font-size: 0.9rem; }
.release summary { cursor: pointer; color: var(--amber-2); font-weight: 500; list-style: none; user-select: none; }
.release summary::-webkit-details-marker { display: none; }
.release summary::after { content: " ↓"; opacity: 0.7; }
.release details[open] summary::after { content: " ↑"; }
.release .tracklist { margin: 10px 0 0; }
.release .tracklist li { padding: 6px 0; font-size: 0.875rem; }
.release .links { margin: auto 0 0; padding-top: 14px; font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 16px; }
.release .links a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); transition: color 0.15s, border-color 0.15s; }
.release .links a:hover { color: var(--amber-2); border-color: var(--amber-2); }
@media (max-width: 900px) { .release-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .release-grid { gap: 12px; }
  .release-body { padding: 12px 12px 14px; }
  .release h3 { font-size: 1.1rem; }
}

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.about .section-title { margin-bottom: 8px; }
.about p { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; margin: 0 0 20px; line-height: 1.7; }
.about p.caption { font-size: 0.9rem; margin: 0; }
.about p strong { color: var(--ink); font-weight: 600; }
.about p em { color: var(--ink); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Shows ---------- */
.shows { border-top: 1px solid var(--line); }
.empty {
  background: var(--bg-2); border: 1px dashed var(--ink-3); border-radius: var(--radius);
  padding: 28px 32px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px;
}
.empty p { margin: 0; font-size: 1.05rem; }
.show-list { list-style: none; margin: 0; padding: 0; }
.show-list li {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.show-list .date { font-family: var(--font-display); font-size: 1.25rem; color: var(--amber-2); }
.show-list .venue { font-weight: 600; display: block; overflow-wrap: anywhere; }
.show-list .city { color: var(--ink-3); display: block; font-size: 0.9rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .show-list li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: auto -10% -40%; height: 90%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(227, 168, 72, 0.14), transparent 70%);
  pointer-events: none;
}
.contact .container { max-width: 640px; position: relative; }
.contact .section-title { margin-bottom: 12px; }
.contact p { color: var(--ink-2); font-size: 1.05rem; margin: 0 auto 26px; max-width: 46ch; }
.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.social a {
  display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: 0.9rem; transition: border-color 0.15s, color 0.15s;
}
.social a:hover { border-color: var(--amber); color: var(--ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--ink-3); font-size: 0.85rem; }
footer .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Updates (posted from /admin) ---------- */
.updates { border-top: 1px solid var(--line); }
.update-list { display: grid; gap: 16px; max-width: 760px; }
.update { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.update time { display: block; color: var(--amber); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.update h3 { font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 40; font-size: 1.45rem; line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.01em; }
.update p { margin: 0 0 10px; color: var(--ink-2); }
.update p:last-child { margin: 0; }
.update a { color: var(--amber-2); word-break: break-word; }

/* ---------- Live show rows ---------- */
.show-list .date small { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.contact .contact-alt { margin-top: -6px; }
