/* Miriam's Library concert: design system taken directly from the poster site */
:root {
  --navy: #0d1330;          /* page base */
  --navy-royal: #1b2a6b;    /* button text, white-strip text */
  --navy-2: #17235e;        /* section gradient start */
  --navy-3: #101a4d;
  --navy-card: #121b4a;
  --line: rgba(242, 226, 184, .18);
  --cream: #f2e2b8;
  --gold-1: #f7edcf;        /* display gradient top */
  --gold-2: #d3b774;        /* display gradient bottom */
  --accent: #f5a623;        /* CTA gold */
  --red: #d81f26;
  --magenta: #c0308f;
  --purple: #6b3ea8;
  --blue: #2b4fd0;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .62);
  --ok: #7fd98f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--ink); font-family: Poppins, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffffff; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.display { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .94; }
.gold-text { background: linear-gradient(var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { color: var(--accent); font-weight: 700; font-size: 15px; letter-spacing: .26em; text-transform: uppercase; }
.kicker-line { display: flex; align-items: center; gap: 14px; }
.kicker-line::before { content: ""; width: 46px; height: 1px; background: rgba(245, 166, 35, .65); }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(13, 19, 48, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 13px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { font-weight: 900; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.brand span { color: rgba(255, 255, 255, .55); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-cta { background: var(--accent); color: var(--navy-royal); font-weight: 900; padding: 9px 20px; border-radius: 5px; }
.nav-links a.nav-cta:hover { background: #ffffff; color: var(--navy-royal); }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---- Buttons ---- */
.btn-primary { display: inline-block; background: var(--accent); color: var(--navy-royal); font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 30px; border: 0; border-radius: 6px; box-shadow: 0 12px 28px rgba(0, 0, 0, .4); transition: background .15s, transform .15s; text-align: center; }
.btn-primary:hover { background: #ffffff; color: var(--navy-royal); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; transform: none; }
.btn-ghost { display: inline-block; background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 13px 24px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; transition: border-color .15s, color .15s; text-align: center; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-wash { position: absolute; inset: 0; background: radial-gradient(115% 80% at 50% 32%, rgba(192, 48, 143, .74) 0%, rgba(107, 62, 168, .76) 40%, rgba(43, 79, 208, .82) 72%, rgba(27, 42, 107, .95) 100%); }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 19, 48, 1) 4%, rgba(11, 16, 42, .55) 34%, rgba(13, 19, 48, 0) 62%); }
.beam { position: absolute; top: -160px; width: 300px; height: 900px; background: linear-gradient(to bottom, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 68%); filter: blur(22px); animation: sway 9s ease-in-out infinite alternate; }
.beam.b1 { left: 12%; transform: rotate(13deg); }
.beam.b2 { right: 13%; transform: rotate(-13deg); background: linear-gradient(to bottom, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 68%); animation-delay: -4.5s; }
@keyframes sway { from { transform: rotate(11deg); } to { transform: rotate(15deg); } }
.beam.b2 { animation-name: sway2; }
@keyframes sway2 { from { transform: rotate(-11deg); } to { transform: rotate(-15deg); } }
.glow { position: absolute; bottom: -80px; width: 560px; height: 420px; background: radial-gradient(closest-side, rgba(245, 166, 35, .5), rgba(245, 166, 35, 0) 70%); }
.glow.gl { left: -110px; transform: rotate(-18deg); }
.glow.gr { right: -110px; transform: rotate(18deg); background: radial-gradient(closest-side, rgba(245, 166, 35, .44), rgba(245, 166, 35, 0) 70%); }
.bsd { position: absolute; top: 16px; right: 22px; font-size: 14px; font-weight: 600; opacity: .55; }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; padding: 84px 28px 100px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 20px; }
.hero-copy { display: grid; gap: 16px; justify-items: start; }
.hero-name { font-size: clamp(58px, 9.5vw, 108px); font-weight: 900; text-transform: uppercase; line-height: .82; letter-spacing: -.03em; filter: drop-shadow(0 12px 28px rgba(9, 12, 34, .75)); background: linear-gradient(#ffffff, #a9b1c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ribbon { background: var(--red); color: #fff; font-weight: 800; font-style: italic; font-size: clamp(20px, 3vw, 30px); padding: 5px 26px 9px; transform: rotate(-2deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .38); }
.hero-launch { margin-top: 14px; display: grid; gap: 6px; }
.hero-launch .lib { font-size: clamp(34px, 5vw, 54px); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.02em; background: linear-gradient(var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-launch .after { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; }
.hero-photo { width: 130%; max-width: 620px; justify-self: center; margin-right: -60px; filter: drop-shadow(0 24px 44px rgba(9, 12, 34, .6)); -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%), linear-gradient(to right, #000 70%, rgba(0, 0, 0, .5) 87%, transparent 99%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 78%, transparent 99%), linear-gradient(to right, #000 70%, rgba(0, 0, 0, .5) 87%, transparent 99%); mask-composite: intersect; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 22px 40px; }
  .hero-photo { display: none; }
}

/* Compact hero for inner pages */
.hero.slim .hero-inner { grid-template-columns: 1fr; padding: 60px 28px 54px; justify-items: center; text-align: center; }
.hero.slim .hero-copy { justify-items: center; }

/* ---- White details strip ---- */
.strip { background: #ffffff; color: var(--navy-royal); }
.strip-inner { max-width: 1200px; margin: 0 auto; padding: 54px 28px; display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: center; }
.strip .cell { text-align: center; }
.strip .k { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.strip .v { margin-top: 8px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.strip .div { width: 1px; height: 70px; background: rgba(27, 42, 107, .2); justify-self: center; }
@media (max-width: 760px) { .strip-inner { grid-template-columns: 1fr; gap: 22px; padding: 38px 20px; } .strip .div { display: none; } }
sup { font-size: .65em; }

/* ---- Sections ---- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-deep > .wrap { position: relative; z-index: 1; }
.section-deep { position: relative; background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy-3) 55%, var(--navy-royal) 100%); overflow: hidden; }
.section-deep::before { content: ""; position: absolute; top: -180px; left: 50%; margin-left: -300px; width: 600px; height: 620px; background: radial-gradient(closest-side, rgba(192, 48, 143, .4), rgba(192, 48, 143, 0) 72%); pointer-events: none; }
.section-head { display: grid; gap: 14px; margin-bottom: 34px; }
.section-head h3 { font-size: clamp(32px, 4.6vw, 52px); }
.lede { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .85); max-width: 640px; }
.cream-strong { font-weight: 700; color: var(--cream); }

/* ---- Cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card { position: relative; background: rgba(13, 19, 48, .55); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.card.gold { border-color: rgba(245, 166, 35, .55); box-shadow: 0 0 44px rgba(245, 166, 35, .1); }
.card ul { list-style: none; margin: 16px 0 22px; display: grid; gap: 10px; }
.card li { padding-left: 26px; position: relative; color: rgba(255, 255, 255, .85); }
.card li::before { content: "★"; position: absolute; left: 0; color: var(--accent); font-size: 13px; top: 3px; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(245, 166, 35, .5); padding: 6px 14px; border-radius: 999px; }
.price { font-size: 52px; font-weight: 900; margin: 14px 0 2px; background: linear-gradient(var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Seat map ---- */
.map-card { background: rgba(10, 15, 44, .75); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 8px 8px 12px; }
.legend .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.legend .dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.legend .dot.sq { border-radius: 3px; }
.map-holder { position: relative; }
.map-holder svg { width: 100%; height: auto; display: block; touch-action: none; }
.seat { transition: opacity .15s; }
.seat.pickable { cursor: pointer; }
.seat.pickable:hover { opacity: .75; }
.seat.selected { stroke: var(--accent); stroke-width: 3.5px; animation: selpulse 1.6s ease-in-out infinite; }
.seat.appear { animation: seatpop .5s cubic-bezier(.2, 1.4, .4, 1) backwards; }
@keyframes seatpop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.map-holder svg .seat { transform-box: fill-box; transform-origin: center; }
@keyframes selpulse { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .35; } }
.map-tip { position: absolute; pointer-events: none; background: #0a0f2c; border: 1px solid var(--accent); color: #fff; border-radius: 8px; padding: 7px 11px; font-size: 13px; font-weight: 600; transform: translate(-50%, -130%); white-space: nowrap; z-index: 5; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.map-tip b { color: var(--accent); }
.map-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) translateY(6px); background: #0a0f2c; border: 1px solid rgba(245, 166, 35, .5); color: var(--cream); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap; z-index: 4; }
.map-hint.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.zoombar { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 8px 2px; }
.zoombar button { width: 38px; height: 38px; border-radius: 9px; background: var(--navy-card); color: #fff; border: 1px solid var(--line); font-size: 17px; }
.zoombar button:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Selection tray ---- */
.tray { position: sticky; bottom: 14px; z-index: 30; display: none; align-items: center; gap: 14px; flex-wrap: wrap; background: rgba(10, 15, 44, .96); backdrop-filter: blur(8px); border: 1px solid rgba(245, 166, 35, .5); border-radius: 14px; padding: 14px 18px; margin-top: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.tray.on { display: flex; }
.tray .seats-line { flex: 1; min-width: 200px; }
.tray .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.seat-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(245, 166, 35, .1); border: 1px solid rgba(245, 166, 35, .5); border-radius: 999px; padding: 6px 6px 6px 13px; font-size: 13px; font-weight: 700; color: #fff; }
.seat-chip b { color: var(--accent); font-weight: 700; }
.seat-chip button { width: 21px; height: 21px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px; line-height: 1; display: grid; place-items: center; padding: 0; }
.seat-chip button:hover { background: var(--red); }
.tray .fee-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.tray .total { font-size: 26px; font-weight: 900; color: var(--accent); }

/* ---- Forms ---- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; background: rgba(13, 19, 48, .8); border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; color: #fff; padding: 12px 14px; font-size: 15px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.err { color: #ff9aa0; font-size: 14px; font-weight: 600; margin-top: 10px; min-height: 18px; }
.hint { font-size: 13px; color: var(--muted); }
.notice { background: rgba(245, 166, 35, .1); border: 1px solid rgba(245, 166, 35, .45); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--cream); margin-top: 12px; }

/* ---- Modal ---- */
.modal-back { position: fixed; inset: 0; z-index: 60; background: rgba(7, 10, 28, .78); backdrop-filter: blur(5px); display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; }
.modal-back.on { display: flex; }
.modal { width: 100%; max-width: 560px; background: linear-gradient(170deg, var(--navy-2), var(--navy-3)); border: 1px solid rgba(245, 166, 35, .45); border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal h4 { font-size: 26px; font-weight: 900; text-transform: uppercase; background: linear-gradient(var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.donate-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.donate-chips button { background: rgba(13, 19, 48, .8); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 700; border-radius: 999px; padding: 9px 17px; font-size: 14px; }
.donate-chips button.on { border-color: var(--accent); color: var(--accent); background: rgba(245, 166, 35, .1); }
.order-summary { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 14px; }
.order-summary > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.order-summary .grand { font-size: 18px; font-weight: 900; color: #fff; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.order-summary .grand span:last-child { color: var(--accent); }

/* ---- Sponsor logo band ---- */
.sponsor-band { background: #0a0f2c; border-top: 1px solid rgba(242, 226, 184, .14); padding: 52px 0 56px; text-align: center; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 22px; margin: 26px 0 30px; }
.logo-row img { height: 62px; width: auto; max-width: 190px; object-fit: contain; background: #ffffff; border-radius: 10px; padding: 10px 18px; }
@media (max-width: 640px) { .logo-row img { height: 50px; max-width: 150px; padding: 8px 14px; } .sponsor-band { padding: 40px 0 46px; } }

/* ---- Footer ---- */
.footer { background: #0a0f2c; border-top: 1px solid rgba(242, 226, 184, .14); padding: 26px 28px; text-align: center; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.footer .foot-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: 8px; }
.footer .brandline { font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .beam, .seat.selected, .seat.appear { animation: none !important; }
  * { transition: none !important; }
}

/* ============================================================
   Responsive and motion layer
   ============================================================ */

/* ---- Entrance: hero stagger ---- */
.hero-copy > * { animation: rise .8s cubic-bezier(.16, 1, .3, 1) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .16s; }
.hero-copy > *:nth-child(3) { animation-delay: .3s; }
.hero-copy > *:nth-child(4) { animation-delay: .44s; }
.hero-copy > *:nth-child(5) { animation-delay: .58s; }
.hero-copy > *:nth-child(6) { animation-delay: .7s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy .ribbon { animation-name: ribbonin; }
@keyframes ribbonin { 0% { opacity: 0; transform: rotate(-9deg) scale(.85) translateY(20px); } 65% { transform: rotate(-1deg) scale(1.03); } 100% { opacity: 1; transform: rotate(-2deg) scale(1); } }
.hero-photo { animation: photoin 1s cubic-bezier(.16, 1, .3, 1) .25s backwards; }
@keyframes photoin { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: translateX(0); } }

/* ---- Hero CTA glow pulse ---- */
.btn-primary.pulse { animation: ctapulse 2.8s ease-in-out infinite; }
@keyframes ctapulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 0, 0, .4), 0 0 0 0 rgba(245, 166, 35, .45); }
  50% { box-shadow: 0 12px 28px rgba(0, 0, 0, .4), 0 0 0 14px rgba(245, 166, 35, 0); }
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .12s; }
.reveal[data-d="2"] { transition-delay: .24s; }
.reveal[data-d="3"] { transition-delay: .36s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---- Tray and modal motion ---- */
.tray.on { animation: trayup .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes trayup { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
.modal-back.on .modal { animation: modalin .35s cubic-bezier(.16, 1, .3, 1); }
@keyframes modalin { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---- Mobile nav ---- */
.burger { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; width: 42px; height: 38px; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s, top .25s; }
.burger span { top: 18px; }
.burger span::before { top: -6px; left: 0; right: 0; }
.burger span::after { top: 6px; left: 0; right: 0; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }
.nav-panel { display: none; }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .burger { display: block; }
  .nav-panel { display: grid; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .35s ease; border-top: 0 solid transparent; }
  .nav.open .nav-panel { max-height: 300px; border-top: 1px solid var(--line); }
  .nav-panel a { display: block; padding: 14px 28px; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid rgba(242, 226, 184, .08); }
  .nav-panel a:active { color: var(--accent); }
}

/* ---- Small screens ---- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 0; gap: 8px; }
  .hero-photo { display: block; width: 100%; max-width: 430px; margin: 6px auto 0; justify-self: center;
    -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 98%); mask-image: linear-gradient(to bottom, #000 74%, transparent 98%); }
  .hero.slim .hero-inner { padding: 52px 20px 46px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 20px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 24px; }
  .lede { font-size: 16px; }
  .nav-inner { padding: 11px 16px; }
  .brand { font-size: 14px; }
  .brand span { display: none; }
  .nav-links { gap: 12px; }
  .nav-links a.nav-cta { padding: 8px 14px; font-size: 12px; }
  .btn-primary { padding: 14px 22px; width: 100%; }
  .btn-ghost { width: 100%; }
  .card { padding: 22px 20px; }
  .map-card { padding: 10px; border-radius: 12px; }
  .legend { gap: 6px 12px; padding: 6px 6px 10px; }
  .legend .chip { font-size: 12px; }
  .zoombar button { width: 46px; height: 46px; font-size: 20px; }
  .tray { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); margin: 0; padding: 12px 14px; gap: 10px; }
  .tray .seats-line { flex-basis: 100%; min-width: 0; font-size: 13px; }
  .tray .total { font-size: 22px; margin-right: auto; }
  .tray .btn-primary, .tray .btn-ghost { width: auto; flex: 1; padding: 12px 10px; font-size: 13px; }
  .modal-back { padding: 0; align-items: stretch; }
  .modal { max-width: none; border-radius: 0; min-height: 100%; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); border-left: 0; border-right: 0; }
  .donate-chips button { padding: 10px 14px; }
  .footer { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .strip .v { font-size: 22px; }
  .price { font-size: 42px; }
}
/* leave room above fixed tray so the checkout button never covers content */
@media (max-width: 640px) { #seats .section { padding-bottom: 120px; } }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-photo, .reveal, .tray.on, .modal-back.on .modal, .btn-primary.pulse { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}


/* ---- Concert motion layer ---- */
.ticker { background: var(--red); overflow: hidden; padding: 10px 0; }
.ticker-track { display: inline-block; white-space: nowrap; font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #fff; animation: ticker 30s linear infinite; will-change: transform; }
.ticker-track span { color: rgba(255, 255, 255, .55); margin: 0 14px; font-style: normal; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.countdown { display: flex; gap: 12px; justify-content: center; }
.cd-cell { min-width: 78px; background: rgba(10, 15, 44, .7); border: 1px solid rgba(245, 166, 35, .45); border-radius: 12px; padding: 12px 10px 10px; text-align: center; }
.cd-cell b { display: block; font-size: 34px; font-weight: 900; line-height: 1; background: linear-gradient(var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cd-cell span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .cd-cell { min-width: 64px; padding: 10px 6px 8px; } .cd-cell b { font-size: 26px; } }

.notes { position: absolute; inset: 0; pointer-events: none; }
.notes i { position: absolute; bottom: -30px; font-style: normal; color: rgba(255, 255, 255, .35); text-shadow: 0 0 14px rgba(245, 166, 35, .35); animation: floatnote 11s linear infinite; }
.notes i:nth-child(1) { left: 8%; font-size: 22px; animation-delay: 0s; }
.notes i:nth-child(2) { left: 22%; font-size: 30px; animation-delay: 3.2s; animation-duration: 13s; }
.notes i:nth-child(3) { left: 47%; font-size: 18px; animation-delay: 6s; }
.notes i:nth-child(4) { left: 63%; font-size: 26px; animation-delay: 1.6s; animation-duration: 14s; }
.notes i:nth-child(5) { left: 78%; font-size: 20px; animation-delay: 4.8s; }
.notes i:nth-child(6) { left: 90%; font-size: 24px; animation-delay: 8s; animation-duration: 12s; }
@keyframes floatnote {
  0% { transform: translateY(0) rotate(-8deg); opacity: 0; }
  8% { opacity: .8; }
  70% { opacity: .5; }
  100% { transform: translateY(-108vh) rotate(10deg); opacity: 0; }
}

.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: stretch; }
.map-embed { width: 100%; min-height: 300px; height: 100%; border: 1px solid var(--line); border-radius: 14px; filter: saturate(.9); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map-embed { min-height: 260px; } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .notes i { animation: none !important; }
  .notes { display: none; }
}


/* ---- Equalizer bars beside kickers ---- */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; margin-right: 10px; vertical-align: -2px; }
.eq i { width: 3.5px; background: linear-gradient(var(--gold-1), var(--gold-2)); border-radius: 2px; animation: eqb 1.1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 90%; animation-delay: .18s; }
.eq i:nth-child(3) { height: 55%; animation-delay: .36s; }
.eq i:nth-child(4) { height: 100%; animation-delay: .1s; }
.eq i:nth-child(5) { height: 65%; animation-delay: .28s; }
@keyframes eqb { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }

/* ---- Hero wash breathes like stage lighting ---- */
.hero-wash { animation: washbreathe 16s ease-in-out infinite alternate; }
@keyframes washbreathe { from { filter: hue-rotate(-9deg) saturate(1); } to { filter: hue-rotate(9deg) saturate(1.15); } }

/* ---- Spotlight sweep over the seat map stage ---- */
.stage-spot { transform-origin: center; animation: stagesweep 13s ease-in-out infinite; opacity: 0; }
@keyframes stagesweep {
  0%, 58% { opacity: 0; transform: translateX(-260px); }
  66% { opacity: .55; }
  84% { opacity: .55; }
  92%, 100% { opacity: 0; transform: translateX(260px); }
}

/* ---- Bokeh drifting in deep sections ---- */
.section-deep::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(6px 6px at 12% 30%, rgba(245, 166, 35, .35), transparent 60%),
    radial-gradient(4px 4px at 78% 18%, rgba(192, 48, 143, .4), transparent 60%),
    radial-gradient(8px 8px at 62% 76%, rgba(245, 166, 35, .22), transparent 60%),
    radial-gradient(5px 5px at 30% 84%, rgba(120, 140, 255, .35), transparent 60%),
    radial-gradient(4px 4px at 90% 60%, rgba(245, 166, 35, .3), transparent 60%);
  background-repeat: no-repeat;
  animation: bokehdrift 26s ease-in-out infinite alternate;
}
@keyframes bokehdrift {
  from { transform: translateY(12px); opacity: .7; }
  to { transform: translateY(-16px); opacity: 1; }
}

/* ---- Google map, dressed for the room ---- */
.map-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(245, 166, 35, .4); box-shadow: 0 18px 44px rgba(0, 0, 0, .4); }
.map-embed { display: block; width: 100%; min-height: 300px; height: 100%; border: 0; filter: invert(90%) hue-rotate(185deg) saturate(.7) contrast(.92) brightness(.95); }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 60px rgba(13, 19, 48, .55); border-radius: 14px; }

/* ---- WhatsApp share ---- */
.wa-share { display: inline-flex; align-items: center; gap: 9px; background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 11px 20px; border-radius: 999px; }
.wa-share:hover { border-color: #25d366; color: #25d366; }
.wa-share svg { width: 17px; height: 17px; fill: currentColor; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; max-width: 720px; }
.faq details { background: rgba(13, 19, 48, .55); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 15px; color: var(--cream); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 16px; color: rgba(255, 255, 255, .8); font-size: 14.5px; line-height: 1.65; }

/* ---- Urgency chip on the ticket page ---- */
.urgency { display: inline-flex; align-items: center; gap: 8px; background: rgba(216, 31, 38, .14); border: 1px solid rgba(216, 31, 38, .55); color: #ffb9bd; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 999px; }
.urgency .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(216, 31, 38, .5); } 50% { box-shadow: 0 0 0 6px rgba(216, 31, 38, 0); } }

@media (prefers-reduced-motion: reduce) {
  .eq i, .hero-wash, .stage-spot, .section-deep::after, .urgency .dot-live { animation: none !important; }
  .stage-spot { opacity: 0 !important; }
}

/* ============================================================
   Mobile gutter normalization: one padding value everywhere,
   and nothing allowed to poke past the screen edge.
   ============================================================ */
:root { --gutter: 28px; }
@media (max-width: 640px) { :root { --gutter: 22px; } }

html, body { overflow-x: clip; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.nav-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
.strip-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
.footer { padding-left: var(--gutter); padding-right: var(--gutter); }
.hero-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
.nav-panel a { padding-left: var(--gutter); padding-right: var(--gutter); }

/* grids can never be wider than the screen */
.cards { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.contact-grid > * { min-width: 0; }
.countdown { flex-wrap: wrap; }
.cards > *, .faq, .map-card, .card { max-width: 100%; min-width: 0; }
img, svg, iframe { max-width: 100%; }

@media (max-width: 640px) {
  .modal { padding-left: var(--gutter); padding-right: var(--gutter); }
  .tray { left: 12px; right: 12px; }
  .card { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 54px; padding-bottom: 54px; }
}


/* ---- Address suggestions ---- */
.addr-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #131a44; border: 1px solid var(--line); border-radius: 10px; margin-top: 4px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.addr-list button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-size: 13.5px; padding: 10px 14px; cursor: pointer; }
.addr-list button:hover, .addr-list button:focus, .addr-list button.on { background: rgba(245, 166, 35, .16); }
.addr-list button b { color: var(--accent); font-weight: 700; }


/* ---- Band credit -------------------------------------------------------
   Under Joey, where the eye already is. Small and quiet: a credit beside the
   performer, not a second headline. */
.hero-band {
  position: absolute; right: 5vw; bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; z-index: 3;
}
/* No panel. A soft shadow does the work of keeping the mark readable over the
   photo, so the credit sits in the artwork rather than on top of it. */
.hero-band .kicker {
  margin: 0; font-size: 10px; letter-spacing: .24em;
  text-shadow: 0 1px 6px rgba(9, 13, 38, .8);
}
.hero-band img {
  width: 96px; height: auto; display: block;
  filter: drop-shadow(0 2px 10px rgba(9, 13, 38, .75));
  transition: transform .2s ease, filter .2s ease;
}
.hero-band a:hover img { transform: translateY(-2px); filter: drop-shadow(0 4px 14px rgba(9, 13, 38, .85)); }
@media (max-width: 1100px) { .hero-band { right: 3vw; bottom: 30px; } .hero-band img { width: 82px; } }
@media (max-width: 900px) {
  /* Under the photo, tucked into the glow. The hero gets extra room at the
     bottom so the wordmark is never clipped by the section edge. */
  .hero { padding-bottom: 34px; }
  .hero-band { position: static; margin: -6px auto 0; gap: 8px; padding-bottom: 4px; }
  .hero-band img { width: 88px; }
  .hero-band .kicker { font-size: 9.5px; letter-spacing: .2em; }
}
@media (max-width: 420px) {
  .hero-band { margin-top: -10px; }
  .hero-band img { width: 80px; }
}

/* the ticket page keeps a standalone credit above the footer */
.band-credit {
  background: linear-gradient(180deg, var(--navy) 0%, #0f1637 100%);
  padding: 40px 22px 44px; text-align: center;
  border-top: 1px solid rgba(242, 226, 184, .1);
}
.band-credit-inner { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
.band-credit .kicker { margin: 0; opacity: .85; }
.band-credit img { width: 132px; height: auto; display: block; opacity: .92; }
@media (max-width: 640px) { .band-credit { padding: 34px 20px 36px; } .band-credit img { width: 112px; } }
