/* SG Dietz site — dark mode, mirroring the Bandzoogle "encore" theme */

/* ===== Animations ===== */

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

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

@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.06) translate(-1.5%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}

@keyframes underlineGrow {
  from { width: 0; }
  to   { width: 60px; }
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes goldShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Scroll-reveal: initial hidden state */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion preference: disable animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== End animations ===== */


:root {
  /* Bandzoogle palette extracted from existing site */
  --bg:        #000000;            /* pure black like Bandzoogle */
  --bg-alt:    #0d0d0d;            /* very dark gray for cards */
  --bg-card:   #141414;            /* lifted card surface */
  --ink:       #dddddd;            /* hsl(0,0%,86%) page-title-color */
  --ink-soft:  #aaaaaa;            /* secondary text */
  --ink-mute:  #777777;            /* tertiary / muted */
  --gold:      #c4b482;            /* hsl(48,28%,62%) — primary accent */
  --gold-dark: #877b58;            /* hsl(48,20%,44%) — sub-menu bg */
  --gold-soft: rgba(196, 180, 130, 0.15);
  --rule:      #1f1f1f;
  --rule-gold: rgba(196, 180, 130, 0.35);
  --max-w: 1100px;
  --radius: 6px;
  --shadow:    0 4px 18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cabin", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: #d8c89a; text-decoration: underline; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Suez One", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 500; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-align: center;
  font-weight: 500;
}
h3 {
  font-size: 1.2rem;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

strong { color: #efe4c0; font-weight: 700; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.brand:hover { text-decoration: none; color: var(--gold); }
.nav-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.75rem;
}
.nav-links a {
  color: #ffffff;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-links a[aria-current="page"] {
  color: var(--gold);
}

/* ---------- Hero (letterbox + blurred backdrop, à la Bandzoogle) ---------- */
.hero {
  position: relative;
  margin: 0;
  padding: 0;
  max-width: none;
}
.hero-stage {
  position: relative;
  width: 100%;
  height: clamp(420px, 80vh, 820px);
  overflow: hidden;
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(28px) brightness(0.55) saturate(1.05);
  transform: scale(1.15);
  z-index: 0;
}
.hero-stage picture {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
}
.hero-banner {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  animation: kenBurns 18s ease-in-out infinite;
}
.hero-bg {
  animation: kenBurns 24s ease-in-out infinite reverse;
}
.hero-text {
  text-align: center;
  padding: 2.2rem 1.25rem 0.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  animation: fadeIn .8s ease-out both;
}
.hero-text h1 {
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .1s both;
}
.hero-text .tagline {
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .35s both;
}
.hero-text h1 {
  margin-bottom: 0.3em;
  font-style: italic;
}
.amp { color: var(--gold); }
.tagline {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
section {
  max-width: var(--max-w);
  margin: 4rem auto;
  padding: 0 1.25rem;
}
.bio {
  text-align: center;
  max-width: 760px;
}
.bio p {
  font-size: 1.08rem;
  margin: 0.7em 0;
  color: var(--ink);
}
.bio .clock-line {
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
  margin-top: 1.5em;
}

/* ---------- Songs ---------- */
.songs h2,
.video h2,
.streaming h2,
.signup h2,
.faq h2 {
  margin-bottom: 2rem;
  color: var(--ink);
}
.songs h2::after,
.video h2::after,
.streaming h2::after,
.faq h2::after,
.messaging h2::after,
.bio h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.6em auto 0;
  animation: underlineGrow 1s cubic-bezier(.2,.7,.2,1) .3s both;
}
/* Animated nav-link underline */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease, left .25s ease;
}
.nav-links a:hover::after {
  width: 100%;
  left: 0;
}
.nav-links a[aria-current="page"]::after {
  width: 100%; left: 0;
}

/* 5-card grid: 3 on top, 2 centered below on desktop. 2-2-1 (last centered) on tablet. 1-col on mobile. */
.song-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}
.song-card { grid-column: span 2; }
.song-card:nth-child(4) { grid-column: 2 / span 2; }
.song-card:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 880px) {
  .song-grid { grid-template-columns: repeat(4, 1fr); }
  .song-card,
  .song-card:nth-child(4) { grid-column: span 2; }
  .song-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 540px) {
  .song-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .song-card,
  .song-card:nth-child(4),
  .song-card:nth-child(5) { grid-column: auto; }
}

.song-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-card) 0%, #0a0a0a 100%);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.song-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(196, 180, 130, 0);
  transition: box-shadow .25s ease;
}
.song-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.song-card:hover::before {
  box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(196, 180, 130, 0.18);
}
.song-card picture, .song-card img {
  width: 100%;
}
.song-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.song-meta { padding: 1.1rem 1.2rem 1.3rem; }
.song-meta h3 { margin: 0 0 0.3rem; color: var(--gold); }
.song-meta p { margin: 0 0 0.7rem; color: var(--ink-soft); font-size: 0.95rem; }
.listen { color: var(--gold); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Video ---------- */
.video .subhead {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: -0.5rem 0 1.5rem;
}
.video-frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  border: 1px solid var(--rule);
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Streaming list ---------- */
.streaming-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  justify-content: center;
}
.streaming-list a {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all .15s ease;
}
.streaming-list a:hover {
  background: var(--gold);
  color: #000;
  text-decoration: none;
}

/* ---------- Honeypot (anti-spam) — visually + a11y hidden ---------- */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; }
.faq details {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0a0a0a 100%);
  border: 1px solid var(--rule);
  border-left: 3px solid transparent;
  border-radius: 10px;
  padding: 1.1rem 1.5rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.faq details:hover {
  border-color: rgba(196, 180, 130, 0.4);
  border-left-color: var(--gold);
  transform: translateX(2px);
}
.faq details[open] {
  border-color: rgba(196, 180, 130, 0.6);
  border-left-color: var(--gold);
  background: linear-gradient(180deg, #161412 0%, #0a0a0a 100%);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  letter-spacing: 0.01em;
}
.faq details:hover summary { color: var(--gold); }
.faq details[open] summary { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 1rem;
  transition: transform .2s ease;
  flex-shrink: 0;
  width: 1.4rem;
  text-align: center;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0.9rem 0 0.2rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- Sub-pages ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; }
.page-hero {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}
.prose h2 {
  margin-top: 2.5rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
  color: var(--gold);
}
.prose h2::after { display: none; }
.prose p { font-size: 1.08rem; color: var(--ink); }
.cta-row {
  display: flex; gap: 0.85rem; flex-wrap: wrap; margin: 2.5rem 0;
}

/* ---------- Buttons ---------- */
.btn,
.signup-form button,
.contact-form button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.btn:hover,
.signup-form button:hover,
.contact-form button:hover {
  background: #d8c89a;
  border-color: #d8c89a;
  color: #000;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover {
  background: var(--gold);
  color: #000;
}

/* ---------- Signup ---------- */
.signup {
  background: var(--bg-alt);
  border: 1px solid var(--rule-gold);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  max-width: 720px;
}
.signup-promise {
  color: var(--ink-soft); margin: 0 0 1.2rem;
  font-style: italic;
}
.signup-form {
  display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
  max-width: 480px; margin: 0 auto;
}
.signup-form input[type="email"] {
  flex: 1 1 240px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 1rem;
  background: #000;
  color: var(--ink);
  font-family: inherit;
}
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft);
}
.signup-status {
  min-height: 1.4em; margin: 0.9rem 0 0;
  font-size: 0.95rem; color: var(--ink-soft);
}
.signup-status.ok { color: var(--gold); font-weight: 600; }
.signup-status.err { color: #e57373; font-weight: 600; }

/* ---------- Genre marquee (Mismatched Plaids section) ---------- */
.genre-marquee {
  position: relative;
  margin: 1.5rem -1.25rem;
  padding: 0.4rem 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.genre-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.genre-marquee:hover .genre-track {
  animation-play-state: paused;
}
.genre-pill {
  flex-shrink: 0;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(196, 180, 130, 0.45);
  border-radius: 999px;
  font-family: "Cabin", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(196,180,130,0.06) 0%, transparent 100%);
  white-space: nowrap;
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.genre-pill:hover {
  transform: translateY(-2px) scale(1.05);
  color: #f0e2b6;
  border-color: var(--gold);
  cursor: default;
}

/* ---------- Messaging buttons (contact page) ---------- */
.messaging { max-width: 880px; }
.messaging .subhead {
  text-align: center;
  color: var(--ink-soft);
  margin: -0.5rem auto 2.2rem;
  max-width: 580px;
}
.msg-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
.msg-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) {
  .msg-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .msg-grid,
  .msg-grid-3 { grid-template-columns: 1fr; }
}
.msg-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1.3rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, #0a0a0a 100%);
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}
.msg-btn::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--platform-color, var(--gold));
  transition: width .2s ease;
}
.msg-btn:hover {
  transform: translateY(-2px);
  border-color: var(--platform-color, var(--gold));
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  text-decoration: none;
}
.msg-btn:hover::before { width: 5px; }
.msg-icon {
  width: 32px; height: 32px;
  grid-row: 1 / span 2;
  color: var(--platform-color, var(--gold));
  flex-shrink: 0;
}
.msg-platform {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}
.msg-handle {
  font-family: "Cabin", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.msg-btn:hover .msg-handle { color: var(--platform-color, var(--gold)); }
.msg-btn:hover .msg-platform { color: var(--platform-color, var(--gold)); }

/* Platform colors (set per-button via CSS var) */
.msg-email     { --platform-color: #c4b482; }  /* gold (matches site) */
.msg-telegram  { --platform-color: #229ED9; }
.msg-whatsapp  { --platform-color: #25D366; }
.msg-messenger { --platform-color: #0084FF; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 5rem;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  background: #000;
}
.socials {
  list-style: none; padding: 0;
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  margin: 0 0 1.2rem;
}
.socials a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.socials a:hover { color: var(--gold); }
.contact-line { margin: 0.5rem 0; color: var(--ink-soft); }
.contact-line a { color: var(--gold); }
.copy { color: var(--ink-mute); font-size: 0.85rem; margin: 0.8rem 0 0; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 540px) {
  .nav { padding: 0.85rem 1rem; }
  .nav-links { gap: 1.2rem; font-size: 0.85rem; }
  section { margin: 2.8rem auto; }
  .hero-text { padding: 1.5rem 1rem 0; }
  h1 { font-size: 2rem; }
}
