/* Haunted Hootenanny 2026 — site styles */
:root {
  --bg: #0b1020;
  --bg-2: #0e1428;
  --bg-3: #080c18;
  --panel: #131b31;
  --panel-2: #17203a;
  --line: #222d4a;
  --line-2: #263252;
  --input: #0f172c;
  --input-line: #33405f;
  --text: #f3ead8;
  --text-2: #d9d2bf;
  --muted: #b9b39c;
  --muted-2: #8a8672;
  --accent: #f08a2c;
  --accent-hi: #ffb15c;
  --accent-ink: #14100a;
  --bulb: #ffd27a;
  --display: 'Creepster', 'Impact', 'Arial Black', sans-serif;
  --body: 'Karla', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --container: 1120px;
  --gutter: 64px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--display); letter-spacing: 0.02em; line-height: 1.02; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--accent); }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.band { background: var(--bg-2); border-top: 1px solid #1a2340; border-bottom: 1px solid #1a2340; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.icon { display: inline-block; color: var(--accent); flex-shrink: 0; }
.icon-lg { width: 40px; height: 40px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: 0.02em; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px rgba(240,138,44,0.3); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn-ghost { border-color: rgba(243,234,216,0.4); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-lg { height: 56px; padding: 0 32px; font-size: 17px; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); background: rgba(11,16,32,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(34,45,74,0.6); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--display); font-size: 20px; letter-spacing: 0.02em; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: var(--text-2); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(243,234,216,0.1); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); min-height: 760px; overflow: hidden; background: var(--bg); }
.hero-photo { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(11,16,32,0.55) 18%, rgba(11,16,32,0) 45%), linear-gradient(180deg, rgba(11,16,32,0.35) 0%, rgba(11,16,32,0) 30%, rgba(11,16,32,0) 70%, var(--bg) 100%); }
.hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: 140px 0 96px var(--gutter); }
.hero-mark { width: 96px; height: 96px; align-self: flex-start; margin-bottom: -6px; filter: drop-shadow(0 0 18px rgba(240,138,44,0.45)); animation: rise .9s ease-out both .05s; }
.hero h1 { font-size: clamp(56px, 8vw, 112px); line-height: 0.92; text-shadow: 0 0 30px rgba(240,138,44,0.35); animation: rise .9s ease-out both .15s; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bulb); animation: rise .9s ease-out both; }
.kicker .rule { width: 40px; height: 1px; background: var(--bulb); opacity: .6; }
.lede { font-size: 24px; line-height: 1.35; font-weight: 500; color: var(--text-2); animation: rise .9s ease-out both .3s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; animation: rise .9s ease-out both .3s; }
.string-lights { position: absolute; top: 24px; left: 0; width: 100%; height: 90px; z-index: 3; pointer-events: none; animation: flicker 4s infinite ease-in-out; }
@keyframes flicker { 0%,100% { opacity: 1 } 45% { opacity: .82 } 50% { opacity: .95 } 55% { opacity: .78 } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .string-lights, .hero h1, .hero-mark, .kicker, .lede, .hero-actions { animation: none; } html { scroll-behavior: auto; } }

/* Details */
.details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: -10px; padding-bottom: 96px; }
.detail-card { padding: 26px 26px 28px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.detail-card .eyebrow { font-size: 12px; margin-bottom: 10px; }
.detail-title { font-size: 22px; font-weight: 700; line-height: 1.2; }
.detail-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Section heads & cards */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-intro { max-width: 380px; font-size: 17px; color: var(--muted); }
.awaits { padding-bottom: 110px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { padding: 30px 28px 32px; border-radius: 14px; background: linear-gradient(160deg, #182240 0%, #111a30 100%); border: 1px solid var(--line-2); transition: transform .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { margin: 20px 0 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* Schedule */
.schedule { padding: 96px 0; }
.schedule-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; }
.schedule-intro h2 { margin-bottom: 18px; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.schedule-list li:last-child { border-bottom: 1px solid var(--line-2); }
.day { display: flex; flex-direction: column; gap: 4px; }
.day-name { font-family: var(--display); font-size: 26px; letter-spacing: 0.02em; }
.highlight .day-name { color: var(--accent); }
.day-date { font-size: 14px; color: var(--muted); }

/* Photos */
.photos { padding: 110px var(--gutter); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px; }
.photo { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--panel-2); }
.photo.span-2 { grid-column: span 2; grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.04); }

/* Song */
.song { padding-bottom: 110px; }
.song-panel { display: grid; grid-template-columns: minmax(0, 1fr) 460px; border-radius: 18px; overflow: hidden; border: 1px solid #3a2a1a; background: linear-gradient(120deg, #2a1608 0%, var(--panel-2) 70%); }
.song-copy { padding: 56px 56px 56px 60px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.song-copy p:not(.eyebrow) { color: var(--text-2); }
.song-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.song-player { display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(0,0,0,0.25); }
.player-card { width: 100%; max-width: 360px; padding: 24px; border-radius: 14px; background: var(--input); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 18px; }
.player-title { font-weight: 700; }
audio { width: 100%; }

/* Register */
.register { padding: 100px 0 110px; }
.register-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.register-intro { position: sticky; top: 100px; }
.register-intro h2 { margin-bottom: 18px; }
.register-intro > .muted { margin-bottom: 28px; }
.facts { list-style: none; margin: 0; padding: 22px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.facts svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.reg-form { padding: 44px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 36px; }
.reg-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.reg-form legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px; font-size: 18px; font-weight: 700; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.fields { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--input-line); background: var(--input); color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: #5f6a86; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,138,44,0.22); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #e4572e; }
.field .error { display: none; margin-top: 6px; font-size: 13px; color: #ff9a7a; }
.field.invalid .error { display: block; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23b9b39c' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.form-foot p { max-width: 380px; }
.form-status { min-height: 1.5em; font-size: 15px; color: #ff9a7a; }
.form-status.ok { color: #9ee493; }
.reg-success { padding: 56px 44px; border-radius: 18px; background: var(--panel); border: 1px solid var(--accent); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reg-success h3 { font-family: var(--display); font-weight: 400; font-size: 40px; letter-spacing: 0.02em; }
.reg-success p { max-width: 460px; color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid #1a2340; background: var(--bg-3); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.site-footer .brand { font-size: 17px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(6,9,20,0.94); color: var(--text); }
.lightbox::backdrop { background: rgba(6,9,20,0.9); }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; }
.lightbox img { max-width: min(96vw, 1400px); max-height: calc(100vh - 96px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 80px rgba(0,0,0,0.6); }
.lightbox figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.lightbox button { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(243,234,216,0.25); background: rgba(11,16,32,0.7); color: var(--text); font-size: 34px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
.lightbox .lb-close { top: 16px; right: 16px; left: auto; transform: none; font-size: 30px; z-index: 2; }

/* Thanks page */
.thanks-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.thanks { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 560px; }
.thanks h1 { font-size: clamp(44px, 8vw, 80px); }
.thanks p { color: var(--text-2); font-size: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .details, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-grid, .register-grid { grid-template-columns: 1fr; gap: 40px; }
  .register-intro { position: static; }
  .song-panel { grid-template-columns: 1fr; }
  .song-player { padding: 32px 40px 40px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 72px; }
  .site-header { padding: 12px var(--gutter); }
  .brand { font-size: 16px; }
  .brand .icon { width: 26px; height: 26px; }
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-3); border-bottom: 1px solid var(--line); padding: 8px 0 16px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px var(--gutter); font-size: 16px; }
  .site-nav .btn { margin: 10px var(--gutter) 0; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { grid-column: 1; grid-row: 1; height: 430px; }
  .hero-photo img { object-position: 50% 40%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(11,16,32,0.55) 0%, rgba(11,16,32,0) 30%, rgba(11,16,32,0) 60%, var(--bg) 100%); }
  .hero-copy { grid-column: 1; grid-row: 2; align-items: center; text-align: center; gap: 14px; padding: 0 22px 40px; margin-top: -40px; }
  .kicker { font-size: 12px; letter-spacing: 0.2em; }
  .kicker .rule { display: none; }
  .hero-mark { width: 64px; height: 64px; align-self: center; margin-bottom: 0; }
  .hero h1 { font-size: 62px; }
  .lede { font-size: 17px; }
  .lede strong { font-size: 20px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .string-lights { top: 74px; height: 60px; }

  .details { gap: 12px; padding-bottom: 56px; margin-top: 8px; }
  .detail-card { padding: 18px; }
  .detail-title { font-size: 17px; }
  .detail-sub { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .awaits { padding-bottom: 64px; }
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 20px; }
  .card .icon-lg { width: 32px; height: 32px; grid-row: span 2; }
  .card h3 { margin: 0 0 4px; font-size: 18px; }

  .schedule { padding: 56px 0; }
  .schedule-list li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .day { flex-direction: row; align-items: baseline; gap: 10px; }
  .day-name { font-size: 22px; }

  .photos { padding: 56px var(--gutter) 64px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .photo.span-2 { grid-column: span 2; grid-row: span 1; }
  .photo.span-2:first-child { grid-row: span 2; }

  .song { padding-bottom: 64px; }
  .song-copy { padding: 28px 24px 8px; }
  .song-player { padding: 20px 24px 28px; }
  .song-actions .btn { width: 100%; }

  .register { padding: 56px 0 64px; }
  .reg-form { padding: 24px 20px; gap: 28px; }
  .fields { gap: 14px; }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .form-foot .btn { width: 100%; }
  .reg-success { padding: 36px 20px; }

  .footer-grid { flex-direction: column; text-align: center; gap: 10px; padding-top: 32px; padding-bottom: 32px; }
  .lightbox button { width: 44px; height: 44px; font-size: 28px; }
  .lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; }
  .lightbox .lb-close { top: 8px; right: 8px; }
}
