@font-face { font-family: "Limelight"; src: url("assets/fonts/limelight-latin.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --night: #1d1530;        /* bayou night, plum-blue */
  --night-deep: #140e22;
  --velvet: #3a1f3d;       /* deep wine curtain */
  --lantern: #f2994a;      /* orange string-light glow */
  --ember: #e06c2c;
  --gold: #e3bf73;         /* gilded deco trim */
  --gold-deep: #b98d45;
  --moon: #fff7ea;         /* the white dress */
  --mist: #d9cbe0;         /* soft text on night */
  --bayou: #1f4a43;        /* magnolia green */
  --ink: #2a1d2c;          /* text on light panels */
  --display: "Limelight", "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-arch: 999px 999px 18px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.1875rem;   /* 19px: easy reading for every age */
  line-height: 1.6;
  color: var(--mist);
  background: var(--night);
  padding-bottom: 72px;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
a { color: var(--gold); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 4px;
}
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--moon); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- shared pieces ---------- */
h2 { font-family: var(--display); font-weight: 400; color: var(--moon); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: .01em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1.2; color: var(--moon); }
.lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.4; color: var(--moon); }
.small-note { font-size: 1rem; color: #bfaecb; }
.small-note a { color: var(--gold); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 12px 26px; border-radius: 999px; border: 0;
  font: 700 1.0625rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  color: #2b1306; background: linear-gradient(180deg, #ffc27e, var(--lantern) 55%, var(--ember));
  box-shadow: 0 0 0 1px rgba(255, 210, 160, .5) inset, 0 10px 30px -8px rgba(242, 153, 74, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 210, 160, .7) inset, 0 16px 34px -8px rgba(242, 153, 74, .85); }
.button.ghost { background: transparent; color: var(--moon); box-shadow: 0 0 0 2px var(--gold) inset; }
.text-link { font-weight: 700; color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--lantern); }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; position: relative; z-index: 5; }
.wordmark { font-family: var(--display); font-size: 1.9rem; color: var(--gold); text-decoration: none; line-height: 1; display: inline-flex; flex-direction: column; gap: 6px; }
.wordmark span { font-family: var(--sans); font-size: .875rem; color: var(--mist); letter-spacing: .02em; }
.site-header nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-header nav a { color: var(--moon); text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-color: var(--lantern); }

/* ---------- hero: the supper club at night ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -98px; padding-top: 250px; padding-bottom: 120px;
  background:
    radial-gradient(120% 70% at 70% 105%, rgba(224, 108, 44, .45), transparent 60%),
    radial-gradient(70% 60% at 15% 20%, rgba(58, 31, 61, .9), transparent 70%),
    linear-gradient(180deg, var(--night-deep) 0%, var(--night) 55%, #2a1a2e 100%);
}
.string-lights { position: absolute; inset: 0 0 auto 0; width: 100%; height: 240px; z-index: -1; }
.string-lights .wire { fill: none; stroke: #5a4440; stroke-width: 1.6; }
.string-lights .cap { stroke: #6e5a4e; stroke-width: 3; }
.string-lights .halo { fill: #f2994a; opacity: .7; }
.string-lights .bulb { animation: glow 4.5s ease-in-out var(--d) infinite; }
@keyframes glow { 0%, 100% { opacity: 1; } 45% { opacity: .72; } 55% { opacity: .95; } }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.presents { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--lantern); }
.marquee {
  font-family: var(--display); font-weight: 400; color: var(--gold);
  font-size: clamp(3.4rem, 8.4vw, 7rem); line-height: .98; margin-top: 14px;
  text-shadow: 0 0 18px rgba(242, 153, 74, .55), 0 0 60px rgba(224, 108, 44, .35), 0 3px 0 #7a5223;
}
.hero-dances { margin-top: 26px; font-size: 1.3rem; color: var(--moon); max-width: 34ch; }
.hero-when { margin-top: 18px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; color: var(--moon); }
.hero-when time { color: var(--lantern); font-weight: 600; }
.countdown { margin-top: 14px; display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; color: var(--moon); background: rgba(242, 153, 74, .16); box-shadow: 0 0 0 1px rgba(242, 153, 74, .45) inset; }
.calendar-links { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.text-link.light { color: var(--moon); }

/* the turntable is the one big moment */
.turntable-wrap { justify-self: center; width: min(420px, 100%); display: grid; justify-items: center; gap: 18px; }
.turntable {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; container-type: inline-size;
  padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 22px;
}
.turntable:focus-visible { outline: 3px solid var(--lantern); outline-offset: 6px; border-radius: 24px; }
.turntable:hover .plinth { box-shadow: 0 0 0 1px rgba(227, 191, 115, .4), inset 0 1px 0 rgba(255, 220, 170, .08), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.record-hint { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--moon); text-align: center; }
.record-hint .hint-stop { display: none; }
.turntable.is-playing + .record-hint .hint-play { display: none; }
.turntable.is-playing + .record-hint .hint-stop { display: inline; color: var(--lantern); }
.plinth {
  position: absolute; inset: 0; border-radius: 22px; display: block;
  background:
    linear-gradient(115deg, rgba(255, 220, 170, .05), transparent 35%, transparent 70%, rgba(0, 0, 0, .3)),
    repeating-linear-gradient(92deg, rgba(0, 0, 0, .12) 0 3px, transparent 3px 9px, rgba(255, 210, 160, .025) 9px 11px, transparent 11px 19px),
    linear-gradient(160deg, #2f1d24, #24151c 55%, #1a0f15);
  box-shadow: 0 0 0 1px rgba(227, 191, 115, .18), inset 0 1px 0 rgba(255, 220, 170, .08), 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.platter {
  position: absolute; left: 5.5%; top: 11.75%; width: 79%; aspect-ratio: 1; border-radius: 50%; display: block;
  background:
    repeating-conic-gradient(from 0deg, #8f877d 0 2deg, #4f4943 2deg 4deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 0 0 2px #6d665e;
  animation: spin 1.8s linear infinite;
}
.record {
  position: absolute; inset: 3.2%; border-radius: 50%; display: block;
  background:
    radial-gradient(circle, transparent 0 33%, rgba(255, 255, 255, .07) 33.4% 34%, transparent 34.4% 52%, rgba(255, 255, 255, .06) 52.4% 53%, transparent 53.4% 70%, rgba(255, 255, 255, .06) 70.4% 71%, transparent 71.4% 95%, #0c090d 95.5%),
    repeating-radial-gradient(circle, #121014 0 1.1px, #1d1a20 1.1px 1.9px, #0f0d11 1.9px 2.8px),
    #121014;
  box-shadow: inset 0 0 0 3px #08060a, 0 0 0 1px rgba(255, 255, 255, .05);
}
.record-label { position: absolute; inset: 31%; width: 38%; height: 38%; border-radius: 50%; overflow: visible; }
.record-label text { fill: #3a1405; }
.record-label .arc-top { font: 400 18px var(--display); letter-spacing: 2px; }
.record-label .arc-bottom { font: 700 11px var(--sans); letter-spacing: 2.4px; fill: #5c2209; }
.record-label .label-title { font: italic 700 25px var(--serif); }
.record-label .label-side { font: 700 9px var(--sans); letter-spacing: 2px; }
.record-label .label-side-a { font: 400 22px var(--display); }
.record-label .label-small { font: 700 11px var(--sans); }
/* the light on the vinyl stays put while the record turns under it */
.shine {
  position: absolute; inset: 3.2%; border-radius: 50%; display: block; pointer-events: none;
  background: conic-gradient(from -30deg, transparent 0deg, rgba(255, 214, 160, .16) 22deg, transparent 48deg, transparent 180deg, rgba(255, 190, 130, .1) 202deg, transparent 230deg);
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35%); mask: radial-gradient(circle, transparent 0 34%, #000 35%);
  animation: spin 1.8s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* the record sits still until the needle drops */
.platter, .shine { animation-play-state: paused; }
.turntable.is-playing .platter, .turntable.is-playing .shine { animation-play-state: running; }
.speed-knob {
  position: absolute; left: 5%; bottom: 4%; width: 9%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fbe4a8, #d4a85a 60%, #8f6730); box-shadow: 0 3px 6px rgba(0, 0, 0, .5);
  font: 700 2.6cqi var(--sans); color: #3a1f08;
}
.power-light {
  position: absolute; left: 16.5%; bottom: 7.6%; width: 2.6%; aspect-ratio: 1; border-radius: 50%; display: block;
  background: #6b2a10; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4);
  transition: background .4s ease, box-shadow .4s ease;
}
.turntable.is-playing .power-light { background: #ffb15c; box-shadow: 0 0 10px 3px rgba(255, 170, 90, .8); }
.tonearm { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arm-plate { fill: #2c1a10; stroke: #d4a85a; stroke-width: 2; }
.arm-tube { fill: none; stroke: url(#chrome); stroke-width: 9; stroke-linecap: round; }
.arm-swing { transform-box: view-box; transform-origin: 342px 78px; transform: rotate(0deg); transition: transform 1.2s cubic-bezier(.45, .05, .25, 1); }
.turntable.is-playing .arm-swing { transform: rotate(22deg); }

.floor-glow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(242, 153, 74, .32), transparent 70%),
    linear-gradient(180deg, transparent, rgba(42, 26, 46, .9));
}

/* ---------- on the floor ---------- */
.floor-section { padding-block: 110px; background: linear-gradient(180deg, #2a1a2e, var(--velvet) 60%, #2c1830); }
.floor-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.floor-copy p + p { margin-top: 18px; }
.floor-copy .lead { margin-top: 24px; }
.arch-frame { justify-self: center; width: min(460px, 100%); }
.arch {
  border-radius: var(--radius-arch); overflow: hidden; padding: 12px;
  background: linear-gradient(160deg, #f5d79a, var(--gold-deep) 40%, #f2cf8b 60%, #8f6730);
  box-shadow: 0 0 0 2px #5a3a17, 0 30px 80px -20px rgba(224, 108, 44, .6);
}
.arch img, .arch video { border-radius: var(--radius-arch); width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.video-toggle { display: block; margin: 12px auto 0; padding: 8px 16px; min-height: 44px; border-radius: 999px; border: 2px solid var(--gold); background: transparent; color: var(--moon); font: 600 1rem var(--sans); cursor: pointer; }
.video-toggle:hover { background: rgba(227, 191, 115, .15); }
.arch-frame figcaption { margin-top: 16px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--mist); }

/* ---------- the Bash ---------- */
.bash-section { padding-block: 110px; background: var(--night); position: relative; }
.bash-heading { text-align: center; }
.bash-heading h2 { font-size: clamp(2.8rem, 7vw, 5rem); color: var(--gold); text-shadow: 0 0 30px rgba(242, 153, 74, .35); }
.bash-sub { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--moon); }
.bash-date { margin-top: 8px; font-size: 1.25rem; font-weight: 700; color: var(--lantern); }
.bash-layout { margin-top: 60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; }

.sleeve {
  padding: 40px; border-radius: 18px;
  background: linear-gradient(160deg, var(--bayou), #173631);
  box-shadow: 0 0 0 1px rgba(227, 191, 115, .35) inset;
}
.tracklist { list-style: none; padding: 0; margin-top: 22px; counter-reset: track; }
.tracklist li { counter-increment: track; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding-block: 16px; border-bottom: 1px solid rgba(227, 191, 115, .25); }
.tracklist li::before { content: "A" counter(track); grid-row: span 2; font-family: var(--display); font-size: 1.4rem; color: var(--gold); line-height: 1.3; }
.track-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--moon); line-height: 1.2; }
.track-time { font-size: 1.0625rem; color: var(--mist); }
.sleeve > .small-note { margin-top: 16px; color: #c9dcd5; }
.venue { margin-top: 32px; }
.venue-name { margin-top: 10px; font-size: 1.3rem; font-weight: 700; color: var(--moon); }
.venue address { font-style: normal; margin-block: 4px 12px; }

.tickets { padding: 40px; border-radius: 18px; background: var(--moon); color: var(--ink); }
.tickets h3 { color: var(--ink); }
.ticket-intro { margin-top: 8px; }
.ticket-prices { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0 12px; }
.ticket-prices thead th { text-align: left; font-size: .95rem; font-weight: 700; color: #6d5468; padding: 0 14px; }
.ticket-prices tbody th, .ticket-prices td { padding: 16px 14px; background: #fbeedb; vertical-align: top; }
.ticket-prices tbody th { border-radius: 12px 0 0 12px; text-align: left; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); border-left: 6px dotted var(--ember); }
.ticket-prices td:last-child { border-radius: 0 12px 12px 0; }
.ticket-prices tbody th span, .ticket-prices td span { display: block; font-family: var(--sans); font-size: .95rem; color: #6d5468; font-weight: 500; }
.ticket-prices strong { font-size: 2rem; line-height: 1.1; color: #8a2f0c; }
.payment-panel { margin-top: 18px; padding-top: 22px; border-top: 2px dashed #e2c9a4; }
.cashtag { font-weight: 700; color: #8a2f0c; white-space: nowrap; }
.payment-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.tickets .text-link { color: #7b3412; }

/* ---------- contact ---------- */
.contact-section { padding-block: 100px; background: radial-gradient(90% 120% at 100% 0%, rgba(224, 108, 44, .35), transparent 60%), var(--velvet); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.contact-layout .lead { margin-top: 20px; }
.phone-card { padding: 34px; border-radius: 18px; background: rgba(20, 14, 34, .55); box-shadow: 0 0 0 1px rgba(227, 191, 115, .4) inset; text-align: center; }
.phone-name { font-family: var(--serif); font-size: 1.5rem; color: var(--moon); }
.phone-number { display: block; margin-top: 6px; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--gold); text-decoration: none; }
.contact-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- mission ---------- */
.mission-section { padding-block: 100px; background: var(--night); }
.mission-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.mission-copy p + p { margin-top: 16px; }
.mission-copy { max-width: 60ch; }

/* ---------- signup ---------- */
.signup-form { display: grid; gap: 14px; padding: 34px; border-radius: 18px; background: rgba(255, 247, 234, .06); box-shadow: 0 0 0 1px rgba(227, 191, 115, .3) inset; }
.email-label { font-weight: 700; color: var(--moon); }
.signup-form input[type="email"] { min-height: 56px; padding: 12px 16px; border-radius: 10px; border: 2px solid #8d7a96; background: var(--moon); color: var(--ink); font: 1.125rem var(--sans); }
.signup-trap { position: absolute; left: -9999px; }
.consent-label { display: flex; gap: 12px; align-items: flex-start; color: var(--moon); }
.consent-label input { width: 24px; height: 24px; margin-top: 3px; accent-color: var(--lantern); flex: none; }
.signup-form .button { justify-self: start; }

/* ---------- join the family ---------- */
.join-section { padding-block: 110px; background: radial-gradient(80% 90% at 0% 100%, rgba(224, 108, 44, .25), transparent 60%), linear-gradient(180deg, var(--night), #24182f); border-top: 1px solid rgba(227, 191, 115, .2); }
.join-heading { max-width: 720px; }
.join-heading .lead { margin-top: 18px; }
.join-layout { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.join-side { display: grid; gap: 28px; }
.join-card { position: relative; display: grid; gap: 14px; padding: 34px; border-radius: 18px; background: rgba(255, 247, 234, .06); box-shadow: 0 0 0 1px rgba(227, 191, 115, .3) inset; }
.join-card h3 { margin-bottom: 2px; }
.text-card { background: linear-gradient(160deg, rgba(242, 153, 74, .18), rgba(255, 247, 234, .06) 60%); box-shadow: 0 0 0 1px rgba(242, 153, 74, .55) inset, 0 30px 60px -30px rgba(224, 108, 44, .5); }
.field-label { font-weight: 700; color: var(--moon); }
.field-label span { font-weight: 400; color: var(--mist); }
.join-card input[type="text"], .join-card input[type="tel"], .join-card input[type="email"] { width: 100%; min-width: 0; min-height: 56px; padding: 12px 16px; border-radius: 10px; border: 2px solid #8d7a96; background: var(--moon); color: var(--ink); font: 1.125rem var(--sans); }
.join-card .button { justify-self: start; }
.email-card .signup-form { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.soon-badge { justify-self: start; padding: 4px 12px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: #2b1306; background: var(--gold); }

/* ---------- Facebook announcement banner ---------- */
.fb-banner { position: relative; z-index: 6; background: linear-gradient(90deg, #3a1f3d, #5a2a2c 50%, #3a1f3d); border-bottom: 1px solid rgba(227, 191, 115, .45); }
.fb-banner p { width: min(1180px, 100% - 32px); margin-inline: auto; padding-block: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; color: var(--moon); font-size: 1rem; text-align: center; }
.banner-link { border: 0; padding: 0; background: none; color: var(--gold); font: 700 1rem var(--sans); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; cursor: pointer; }
.banner-link:hover { color: var(--lantern); }
.text-card .button { margin-top: 6px; }

/* ---------- text-list popup ---------- */
.text-dialog {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 34px 30px 22px; border: 0; border-radius: 20px;
  color: var(--mist); background: linear-gradient(170deg, #3a1f3d, var(--night) 55%, #2a1a2e);
  box-shadow: 0 0 0 1px rgba(242, 153, 74, .55), 0 40px 90px rgba(0, 0, 0, .7), 0 0 120px rgba(224, 108, 44, .35);
}
.text-dialog::backdrop { background: rgba(10, 6, 16, .72); backdrop-filter: blur(3px); }
.text-dialog[open] { animation: dialog-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
/* When it opens on its own (scrolling to Join), it eases in slowly. */
.text-dialog.slow-in[open] { animation: dialog-in 1.4s cubic-bezier(.22, .7, .25, 1) .2s both; }
.text-dialog.slow-in[open]::backdrop { animation: backdrop-in 1.4s ease both; }
@keyframes backdrop-in { from { opacity: 0; } }
.text-dialog h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--gold); text-shadow: 0 0 24px rgba(242, 153, 74, .35); padding-right: 28px; }
.dialog-lead { margin-top: 10px; color: var(--moon); }
.text-form { display: grid; gap: 12px; margin-top: 18px; }
.text-form .dialog-lead { margin-top: 0; }
.text-form input[type="text"], .text-form input[type="tel"] { width: 100%; min-width: 0; min-height: 54px; padding: 12px 16px; border-radius: 10px; border: 2px solid #8d7a96; background: var(--moon); color: var(--ink); font: 1.125rem var(--sans); }
.text-form .button { justify-self: stretch; margin-top: 4px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 247, 234, .08); color: var(--moon); font: 400 1.8rem/1 var(--sans); cursor: pointer; }
.dialog-close:hover { background: rgba(255, 247, 234, .16); }
.dialog-later { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--mist); font: 600 1rem var(--sans); text-decoration: underline; cursor: pointer; }

/* ---------- footer + phone bar ---------- */
.site-footer { padding-block: 60px; background: var(--night-deep); border-top: 1px solid rgba(227, 191, 115, .25); }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: start; }
.footer-status, .music-credit { grid-column: 1 / -1; font-size: 1rem; color: #b8a6c4; }
.music-credit { font-size: .9rem; }
.domain { color: var(--gold); }
.mobile-bar { display: none; }

/* ---------- worker pages (signup receipt, privacy, unsubscribe) ---------- */
.service-page { padding-bottom: 0; }
.service-content { max-width: 900px; padding-block: 55px 80px; }
.service-content h1 { font-family: var(--display); font-weight: 400; color: var(--gold); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
.service-content h2 { font-size: 1.6rem; margin-top: 30px; }
.service-content p, .service-content form { margin-top: 22px; }
.service-content .service-back { margin-top: 35px; }

/* ---------- responsive ---------- */
/* ---------- phones: a layout designed for the phone (most visitors) ---------- */
@media (max-width: 900px) {
  body { font-size: 1.125rem; line-height: 1.6; padding-bottom: 68px; }
  .wrap { width: calc(100% - 32px); }
  h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h3 { font-size: 1.5rem; }
  .lead { font-size: 1.3rem; }
  .small-note { font-size: .95rem; }
  .button { min-height: 52px; padding: 12px 22px; font-size: 1.0625rem; }
  .text-link { display: inline-block; padding-block: 6px; }

  /* announcement + header */
  .fb-banner p { padding-block: 8px; font-size: .9rem; gap: 2px 8px; }
  .banner-link { font-size: .9rem; padding-block: 4px; }
  .soon-badge { font-size: .78rem; padding: 2px 10px; }
  .site-header { padding-block: 14px; }
  .wordmark { font-size: 1.6rem; gap: 4px; }
  .wordmark span { font-size: .8rem; }
  .site-header nav { display: none; }

  /* opening screen: headline, then date and record side by side */
  .hero { margin-top: -78px; padding-top: 150px; padding-bottom: 56px; }
  .string-lights { height: 140px; top: 34px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 44%; gap: 0 14px; align-items: center;
    grid-template-areas: "presents presents" "title title" "dances dances" "when deck" "count deck" "actions actions"; }
  .hero-copy { display: contents; }
  .presents { grid-area: presents; font-size: 1.2rem; }
  .marquee { grid-area: title; font-size: min(13.8vw, 5.6rem); margin-top: 6px; }
  .hero-dances { grid-area: dances; margin-top: 16px; font-size: 1.15rem; max-width: none; }
  .hero-when { grid-area: when; align-self: end; margin-top: 18px; font-size: 1.3rem; line-height: 1.3; }
  .countdown { grid-area: count; align-self: start; justify-self: start; margin-top: 12px; font-size: .95rem; padding: 6px 12px; border-radius: 12px; }
  .turntable-wrap { grid-area: deck; width: 100%; margin-top: 18px; gap: 8px; }
  .record-hint { font-size: .95rem; line-height: 1.3; }
  .plinth { border-radius: 14px; }
  .speed-knob { font-size: 3.4cqi; }
  .hero-actions { grid-area: actions; margin-top: 26px; display: grid; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-self: center; }

  /* the floor: words, then the video */
  .floor-section { padding-block: 64px; }
  .floor-layout { grid-template-columns: 1fr; gap: 28px; }
  .floor-copy .lead { margin-top: 16px; }
  .arch-frame { width: min(340px, 86%); }
  .arch { padding: 10px; }
  .arch-frame figcaption { font-size: 1.15rem; }

  /* the Bash */
  .bash-section { padding-block: 64px; }
  .bash-heading h2 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .bash-sub { font-size: 1.35rem; }
  .bash-date { font-size: 1.15rem; }
  .calendar-links { flex-direction: column; gap: 8px; }
  .calendar-links .button { width: 100%; }
  .bash-layout { margin-top: 32px; grid-template-columns: 1fr; gap: 20px; }
  .sleeve, .tickets { padding: 24px 20px; }
  .track-name { font-size: 1.4rem; }
  .ticket-prices thead th { padding: 0 8px; font-size: .85rem; }
  .ticket-prices tbody th, .ticket-prices td { padding: 12px 8px; }
  .ticket-prices tbody th { font-size: 1.25rem; }
  .ticket-prices strong { font-size: 1.7rem; }
  .payment-actions { display: grid; gap: 8px; }
  .payment-actions .button { width: 100%; }
  .payment-actions .text-link { justify-self: center; }

  /* join, contact, mission */
  .join-section, .contact-section, .mission-section { padding-block: 64px; }
  .join-layout { margin-top: 28px; grid-template-columns: 1fr; gap: 20px; }
  .join-side { gap: 20px; }
  .join-card { padding: 24px 20px; }
  .join-card .button { justify-self: stretch; }
  .signup-form input[type="email"], .join-card input[type="email"] { font-size: 1.125rem; }
  .contact-layout, .mission-layout { grid-template-columns: 1fr; gap: 24px; }
  .phone-card { padding: 26px 20px; }
  .phone-number { font-size: clamp(2rem, 10vw, 2.6rem); white-space: nowrap; }
  .contact-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .contact-actions .button { width: 100%; }

  /* footer + thumb bar */
  .site-footer { padding-block: 44px 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 14px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30;
    padding-bottom: env(safe-area-inset-bottom); background: var(--night-deep); border-top: 1px solid rgba(227, 191, 115, .4);
  }
  .mobile-bar a { display: grid; place-items: center; min-height: 58px; color: var(--moon); font-weight: 700; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--lantern); color: #2b1306; }

  /* popup */
  .text-dialog { padding: 28px 20px 18px; }
  .text-dialog h2 { font-size: 1.8rem; }
  .text-form, .dialog-lead { font-size: 1.05rem; }
  .text-form .button { min-height: 54px; font-size: 1.0625rem; }
}
@media (max-width: 370px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 42%; }
  .marquee { font-size: 13.4vw; }
  .hero-when { font-size: 1.15rem; }
  .ticket-prices strong { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .string-lights .bulb { animation: none; }
  .button { transition: none; }
}
