/* ============================================================
   Old Merry Tale Jazzband — stylesheet
   Sections:
     1. Tokens & resets
     2. Navigation (desktop + mobile)
     3. Hero
     4. Section primitives
     5. About
     6. Press
     7. Band portrait & photo breaks
     8. Gigs
     9. Band (members)
    10. Videos
    11. Social
    12. CDs
    13. Contact (vCard)
    14. Modals & cookie rows
    15. Footer
    16. Reveal animation
    17. Responsive overrides
   ============================================================ */

/* ─── 1. Tokens & resets ─── */
:root {
  --blue: #1E92CC;
  --blue-dark: #1470A0;
  --off-white: #f5f5f3;
  --warm-white: #fafaf8;
  --ink: #1a1918;
  --ink-muted: #5a5855;
  --rule: rgba(26,25,24,0.1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 16px;
}

/* ─── 2. Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 56px;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
/* Transparent state — while scrolling through hero (after first scroll) */
nav.dark {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 17px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
  transition: opacity 0.4s, transform 0.4s;
}
nav.dark .nav-logo { opacity: 0; pointer-events: none; transform: translateY(-4px); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
  transition: opacity 0.4s, visibility 0.4s;
}
nav.dark .nav-links { opacity: 0; visibility: hidden; pointer-events: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
nav.dark .nav-links a { color: var(--ink-muted); padding: 4px 10px; border-radius: 3px; transition: color 0.2s; }
nav.dark .nav-links a:hover { color: var(--blue); }

/* Hamburger — only mid-hero */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 11px 13px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-hamburger:hover { background: rgba(255,255,255,1); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.nav-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform 0.3s ease, opacity 0.2s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
nav.dark .nav-hamburger { display: flex; }

/* Mobile menu — floating card from top-right */
.nav-mobile-menu {
  display: none;
  position: fixed; top: 68px; right: 16px;
  min-width: 240px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.04);
  flex-direction: column;
  padding: 10px;
  z-index: 199;
  opacity: 0; transform: translateY(-8px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.nav-mobile-menu.open { display: flex; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.nav-mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 11px 18px; border-radius: 8px;
  text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile-menu a::after {
  content: '→';
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--blue); font-weight: 400;
}
.nav-mobile-menu a:hover { color: var(--blue); background: var(--off-white); }
.nav-mobile-menu a:hover::after { opacity: 1; transform: translateX(0); }

/* ─── 3. Hero ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #d3d3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  --hero-pad-x: 48px;
  padding: 0 var(--hero-pad-x);
}
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  padding: 24px 0;
}
.hero-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.hero-stack .hero-logo-img,
.hero-stack .hero-band-img {
  display: block;
  max-width: 100%;
  min-height: 0;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-stack.hero-ready .hero-logo-img,
.hero-stack.hero-ready .hero-band-img { opacity: 1; }
.hero-stack .hero-logo-img {
  flex: 0 1 auto;
  max-height: var(--logo-size, 50%);
  mix-blend-mode: multiply;
  filter: brightness(1.15) saturate(1.25) hue-rotate(-2deg);
  position: relative;
  z-index: 1;
}
.hero-stack .hero-band-img {
  flex: 0 1 auto;
  max-height: var(--band-size, 71%);
  margin-top: var(--hero-gap, -1.5cm);
  position: relative;
  z-index: 2;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(80,80,80,0.7);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  animation: fadeFloat 2s ease-in-out infinite;
}
.hero-scroll-hint .arr {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(80,80,80,0.5);
  border-bottom: 2px solid rgba(80,80,80,0.5);
  transform: rotate(45deg);
}
@keyframes fadeFloat {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1;   transform: translateX(-50%) translateY(6px); }
}

/* ─── 4. Section primitives ─── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 100px 48px; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 48px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 1; color: var(--ink); margin-bottom: 48px;
}
.section-rule { width: 48px; height: 3px; background: var(--blue); margin-bottom: 40px; }

/* ─── 5. About ─── */
#about { background: var(--warm-white); }
.about-grid { display: grid; grid-template-columns: 1fr 280px; gap: 80px; align-items: start; }
.about-lead { font-size: 20px; font-weight: 400; font-style: italic; line-height: 1.65; color: var(--ink); margin-bottom: 28px; }
.about-text p { font-size: 16px; line-height: 1.75; color: var(--ink-muted); margin-bottom: 20px; }
.about-text em { color: var(--ink); font-style: italic; }
.about-badge-inner { border: 2px solid var(--blue); padding: 40px 32px; text-align: center; position: sticky; top: 80px; }
.about-badge-year { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 72px; line-height: 1; color: var(--blue); }
.about-badge-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); margin-top: 4px; }
.about-badge-divider { width: 32px; height: 2px; background: var(--rule); margin: 24px auto; }

/* ─── 6. Press ─── */
#press { background: var(--off-white); }
.press-featured { margin-bottom: 80px; }
.press-featured-quote {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: clamp(40px, 6vw, 80px);
  line-height: 1; color: var(--ink);
  text-wrap: pretty; margin-bottom: 12px;
}
.press-featured-source { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); }
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }
.press-card { border-top: 2px solid var(--blue); padding-top: 24px; }
.press-quote { font-size: 22px; font-weight: 300; font-style: italic; line-height: 1.5; color: var(--ink); margin-bottom: 16px; text-wrap: pretty; }
.press-source { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

/* ─── 7. Band portrait & photo breaks ─── */
.band-photo-break { width: 100%; overflow: hidden; line-height: 0; }
.band-photo-break img { width: 100%; height: auto; display: block; }
.band-photo-break--upper { background: #ffffff; }
.band-photo-break--upper img { width: 100%; height: auto; object-fit: contain; display: block; }

/* ─── 8. Gigs ─── */
#gigs { background: var(--off-white); color: var(--ink); }
#gigs .section-label { color: var(--ink-muted); }
#gigs .section-title { color: var(--ink); }
#gigs .gig-row { border-bottom: 1px solid rgba(0,0,0,0.18); transition: background 0.2s ease, padding 0.2s ease; }
#gigs .gig-row:hover { background: rgba(20,73,108,0.05); padding-left: 16px; padding-right: 16px; }
#gigs .gig-date { color: var(--blue); }
#gigs .gig-info-venue { color: var(--ink); }
#gigs .gig-info-city { color: rgba(0,0,0,0.6); }
#gigs .gig-info-note { color: var(--blue); }
#gigs .gig-year-divider { color: var(--ink); border-bottom: none; }
#gigs .gig-month-divider { color: rgba(0,0,0,0.5); }
#gigs .gig-ticket { color: var(--blue); border-color: var(--blue); }
#gigs .gig-ticket:hover { background: var(--blue); color: white; }

.gig-list { display: flex; flex-direction: column; }
.gig-row {
  display: grid; grid-template-columns: 140px 1fr auto;
  align-items: center; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.gig-row:first-child { border-top: 1px solid rgba(255,255,255,0.18); }
.gig-date { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.gig-info-venue { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 24px; color: white; line-height: 1.2; }
.gig-info-city { font-size: 15px; color: rgba(255,255,255,0.78); margin-top: 4px; }
.gig-info-note { font-size: 14px; color: var(--blue); font-style: italic; margin-top: 6px; }
.gig-month-divider { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; padding: 32px 0 8px; }
.gig-year-divider {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 48px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.55);
  padding: 48px 0 4px; border-bottom: none; line-height: 1;
}
.gig-year-divider:first-child { padding-top: 0; }
.gig-list .gig-month-divider:first-child { padding-top: 0; }
.gig-ticket {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); border: 1.5px solid var(--blue);
  padding: 8px 20px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.gig-ticket:hover { background: var(--blue); color: white; }

/* ─── 9. Band (members) ─── */
#band { background: var(--off-white); }
.band-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px; }
.band-card { text-align: center; }
.band-avatar { width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 16px; background: #e8e8e6; }
.band-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(100%); transition: filter 0.4s ease; }
.band-card:hover .band-avatar img { filter: grayscale(60%); }
.band-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.band-instrument { font-size: 13px; color: var(--blue); font-weight: 500; }

/* ─── 10. Videos ─── */
#videos { background: var(--warm-white); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.video-embed { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 12px; }

/* ─── 11. Social ─── */
#social { background: var(--blue); }
#social .section-label { color: rgba(255,255,255,0.6); }
#social .section-title { color: white; }
#social .section-rule { background: rgba(255,255,255,0.3); }
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.12); color: white;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s;
}
.social-link:hover { background: rgba(255,255,255,0.22); }

/* ─── 12. CDs ─── */
#cds { background: var(--warm-white); }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.cd-cover { aspect-ratio: 1; overflow: hidden; margin-bottom: 20px; background: #1a1918; }
.cd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cd-card:hover .cd-cover img { transform: scale(1.03); }
.cd-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.cd-price { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 14px; color: var(--blue); margin-bottom: 12px; }
.cd-tracklist { font-size: 12px; line-height: 1.8; color: var(--ink-muted); margin-bottom: 16px; }
.cd-buy {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.cd-buy:hover { opacity: 0.7; }

/* ─── 13. Contact (vCard) ─── */
#contact { background: var(--ink); color: white; }
#contact .section-title { color: white; }
#contact .section-label { color: rgba(255,255,255,0.5); }
.vcard-wrap { display: flex; justify-content: center; padding: 16px 0 32px; }
.vcard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 56px 72px; text-align: center;
  min-width: 360px; max-width: 480px; width: 100%;
}
.vcard-band { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; color: white; line-height: 1.1; margin-bottom: 8px; }
.vcard-location { font-size: 14px; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }
.vcard-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.15); margin: 28px auto; }
.vcard-name { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 18px; color: white; margin-bottom: 28px; }
.vcard-links { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.vcard-link { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.2s; }
.vcard-link:hover { color: var(--blue); }
.vcard-link svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ─── 14. Modals & cookie rows ─── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; backdrop-filter: blur(4px); }
.modal-overlay.open { display: block; }
.modal {
  display: none; position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 1001;
  background: var(--warm-white);
  width: min(640px, 92vw); max-height: 80vh;
  overflow-y: auto; padding: 48px;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0;
}
.modal.open { display: block; transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--ink-muted); transition: color 0.2s; }
.modal-close:hover { color: var(--ink); }
.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 36px;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ink); margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 2px solid var(--blue);
}
.modal-section-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin: 24px 0 8px; }
.modal-content p { font-size: 15px; line-height: 1.75; color: var(--ink-muted); margin-bottom: 12px; }
.modal-content a { color: var(--blue); }
.modal-content strong { color: var(--ink); font-weight: 600; }

.cookie-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.cookie-row:last-child { border-bottom: none; }
.cookie-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.cookie-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.cookie-toggle { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: 0.1em; padding: 6px 12px; flex-shrink: 0; margin-top: 2px; }
.cookie-toggle--on { background: var(--blue); color: white; }
.cookie-toggle--off { background: var(--rule); color: var(--ink-muted); }

.presskit-intro { font-size: 15px; line-height: 1.65; color: var(--ink-muted); margin-bottom: 24px; }
.presskit-download { display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: #ffffff; text-decoration: none; padding: 16px 28px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; transition: background 0.2s; margin-bottom: 32px; }
.presskit-download:hover { background: var(--blue-dark); color: #ffffff; }
.presskit-download span { color: #ffffff; }
.presskit-download .pk-size { font-weight: 600; opacity: 0.85; letter-spacing: 0.08em; }
.presskit-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.presskit-file { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); transition: border-color 0.2s; }
.presskit-file:hover { border-color: var(--blue); }
.presskit-file img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #e8e8e6; }
.presskit-file-meta { padding: 10px 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

/* Press kit modal */
.presskit-intro { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin-bottom: 24px; }
.presskit-download { display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: white; text-decoration: none; padding: 16px 28px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; transition: background 0.2s; margin-bottom: 8px; }
.presskit-download:hover { background: var(--blue-dark); }
.presskit-download .dl-size { font-weight: 600; opacity: 0.7; letter-spacing: 0.08em; }
.presskit-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 600px) { .presskit-files { grid-template-columns: 1fr; } }
.presskit-file { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); transition: border-color 0.2s; }
.presskit-file:hover { border-color: var(--blue); }
.presskit-file img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #eee; }
.presskit-file-meta { padding: 10px 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.presskit-file-meta .pf-name { color: var(--ink); }
.presskit-file-meta .pf-dim { color: var(--ink-muted); font-weight: 500; margin-top: 2px; }

/* ─── 15. Footer ─── */
footer {
  background: #0f0f0d;
  color: rgba(255,255,255,0.3);
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  flex-wrap: wrap; gap: 16px;
}
footer span:first-child { color: var(--blue); font-weight: 700; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ─── 16. Reveal animation ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── 17. Responsive overrides ─── */
@media (max-width: 900px) {
  #hero { --hero-pad-x: 24px; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  /* Mobile: hide inline links, always show hamburger (it opens .nav-mobile-menu). */
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .section-inner { padding: 64px 24px; }
  footer { flex-direction: column; gap: 14px; text-align: center; padding: 24px 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge-inner { position: static; }
}
/* Tablet portrait: keep 3-column gig rows but tighten the date column. */
@media (max-width: 768px) and (min-width: 601px) {
  .gig-row { grid-template-columns: 110px 1fr auto; gap: 20px; padding: 22px 0; }
  .gig-info-venue { font-size: 20px; }
}
@media (max-width: 720px) {
  .press-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  #hero { --hero-pad-x: 16px; min-height: 520px; }
  .hero-stack .hero-logo-img { max-height: 34%; }
  .hero-stack .hero-band-img { max-height: 66%; }
  /* Phone: stack each gig row vertically. */
  .gig-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}


/* ─── 15. Auth + admin (login, edit/delete gigs) ─── */

/* Auth form (shared by login + gig modals) */
.login-intro { font-size: 15px; line-height: 1.65; color: var(--ink-muted); margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue);
}
.auth-field input {
  font-family: inherit; font-size: 16px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.18);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,73,108,0.15);
}
.auth-error {
  font-size: 14px; color: #b03030;
  background: rgba(176,48,48,0.08);
  border-left: 3px solid #b03030;
  padding: 10px 14px;
}
.auth-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.btn-primary, .btn-secondary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 24px; border: 1px solid var(--blue);
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--blue); color: #ffffff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-secondary { background: transparent; color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #ffffff; }

/* Edit/delete icons inline with gig rows */
.gig-actions {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 12px;
}
.gig-icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(0,0,0,0.2);
  color: var(--ink-muted); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  padding: 0;
}
.gig-icon-btn:hover { background: var(--blue); color: #ffffff; border-color: var(--blue); }
.gig-icon-btn.danger:hover { background: #b03030; border-color: #b03030; }
.gig-icon-btn svg { width: 14px; height: 14px; }

/* "Add gig" button below the list */
.gig-add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; align-self: flex-start;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 12px 22px; background: transparent;
  border: 1px dashed var(--blue); color: var(--blue);
  cursor: pointer; transition: background 0.15s, color 0.15s, border-style 0.15s;
}
.gig-add-btn:hover { background: var(--blue); color: #ffffff; border-style: solid; }

.gig-row:has(.gig-actions) { grid-template-columns: 140px 1fr auto auto; }
@media (max-width: 768px) and (min-width: 601px) {
  .gig-row:has(.gig-actions) { grid-template-columns: 110px 1fr auto auto; }
}
@media (max-width: 600px) {
  .gig-actions { justify-content: flex-start; margin-left: 0; }
}
