/* Waltz Production · A Jazz Christmas sign-up
   Mobile first (390 px), two columns from 960 px.
   Palette: midnight #13204A, cream #F6F0E2, brass #C9A14A, cranberry #A3263C. */

:root {
  --midnight: #13204A;
  --midnight-deep: #0D1734;
  --sky: #111B34;          /* the art's own top sky */
  --floor: #001334;        /* the art's own floor */
  --ink: #0B1430;
  --ink-soft: #464C63;
  --cream: #F6F0E2;
  --cream-soft: rgba(246, 240, 226, 0.8);
  --cream-faint: rgba(246, 240, 226, 0.62);
  --paper: #FBF7EE;
  --paper-2: #F2EAD7;
  --field: #FFFDF8;
  --line: #968152;        /* field edges: 3.72:1 on --field, 3.53:1 on --paper */
  --line-hover: #7E6B42;
  --brass: #C9A14A;
  --brass-bright: #E2BE6A;
  --cranberry: #A3263C;
  --cranberry-deep: #861C30;
  --error: #9E1B32;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Josefin Sans", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--midnight);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
picture { display: block; }
p { margin: 0 0 1em; }
a { color: var(--brass-bright); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

/* Headline version: neutral by default; early.js adds html.v-mj for the MJ audience. */
[data-variant="mj"] { display: none; }
.v-mj [data-variant="mj"] { display: inline; }
.v-mj [data-variant="neutral"] { display: none; }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 50;
  padding: 12px 16px 10px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 680px; }

/* ---------- Poster (hero) ---------- */

.hero { background: var(--sky); }

.poster { position: relative; background: var(--sky); }

.poster__top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px var(--gutter) 0;
  text-align: center;
}
.poster__monogram { display: block; width: auto; height: 38px; }
.poster__presents { margin: 0; line-height: 1.5; }
.poster__by {
  display: block;
  font: 700 0.74rem/1.4 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
  padding-left: 0.26em; /* optically centre the tracked caps */
}
.poster__verb {
  display: block;
  font: 600 0.64rem/1.4 var(--sans);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass-bright);
  padding-left: 0.42em;
}

.poster__title { position: relative; margin: -14px 0 0; line-height: 0; font-size: 1rem; }
.poster__title::before {
  /* melt the art's top edge into the band above it */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7%;
  z-index: 1;
  background: linear-gradient(var(--sky), rgba(17, 27, 52, 0));
  pointer-events: none;
}
.poster__art { display: block; width: 100%; height: auto; }

.poster__info {
  position: relative;
  z-index: 2;
  margin-top: -40%;
  padding: 19% var(--gutter) 30px;
  text-align: center;
  background: linear-gradient(to bottom,
    rgba(0, 19, 52, 0) 0%,
    rgba(0, 19, 52, 0.78) 26%,
    rgba(0, 19, 52, 0.95) 46%,
    var(--floor) 70%,
    var(--midnight) 100%);
}
.poster__subtitle {
  margin: 0 auto 12px;
  max-width: 21em;
  font: italic 400 1.14rem/1.38 var(--serif);
  color: var(--brass-bright);
  text-shadow: 0 1px 12px rgba(0, 10, 30, 0.8);
}
.poster__when {
  margin: 0 0 16px;
  font: 700 clamp(0.8rem, 3.7vw, 1rem)/1.5 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream);
}
.poster__date,
.poster__venue { display: block; }
.poster__when .dot { display: none; }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px 6px;
  border-radius: 999px;
  font: 700 0.7rem/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pill--red { background: var(--cranberry); color: var(--cream); }
.pill--brass { border: 1.5px solid var(--brass); color: var(--brass-bright); padding: 6.5px 14px 4.5px; }

.btn--primary.hero__cta {
  width: auto;
  min-height: 52px;
  margin-top: 18px;
  padding: 17px 26px 14px;
}
@media (max-width: 599px) {
  .poster__info { padding-bottom: 22px; }
}

/* ---------- Join (presale card) ---------- */

.join {
  padding: 34px var(--gutter) 56px;
  outline: none;
}
@media (max-width: 599px) {
  .join { padding-top: 22px; }
}

.tag {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 12px 6px;
  border-radius: 6px;
  background: var(--cranberry);
  color: var(--cream);
  font: 700 0.72rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.join__title {
  margin: 0 0 14px;
  font: 700 clamp(2.15rem, 9.4vw, 3.1rem)/1.04 var(--serif);
  letter-spacing: -0.005em;
  color: var(--cream);
}
.join__title .line { display: block; }
.field__label, .field__hint, .join__lede, .reasons li, .check span, .notice p, .music__body, .band__lead, .site-footer p, .doc p { text-wrap: pretty; }
.poster__subtitle, .music__hook, .music__payoff, .music__family, .thanks__text, .notfound h1 { text-wrap: balance; }
.join__title em { font-style: italic; font-weight: 400; color: var(--brass-bright); }

.join__lede {
  max-width: 30em;
  margin: 0 0 26px;
  color: var(--cream-soft);
}

.ticket {
  position: relative;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(3, 8, 24, 0.55), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
}
.ticket::before {
  /* brass keyline, as on the flyer's ticket panel */
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 161, 74, 0.6);
  border-radius: 13px;
  pointer-events: none;
}
.ticket a { color: var(--midnight); }
.ticket a:hover { color: var(--cranberry); }
.ticket :focus-visible { outline-color: var(--midnight); }

.ticket__head { padding: 26px 22px 20px; }

.reasons {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}
.reasons li {
  position: relative;
  counter-increment: reason;
  margin: 0 0 12px;
  padding-left: 42px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 28px;
  padding-top: 4px;
}
.reasons li::before {
  content: counter(reason);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  padding-top: 3px;
  border-radius: 50%;
  background: var(--cranberry);
  color: var(--cream);
  font: 700 0.85rem/1 var(--sans);
}
.ticket__assure {
  margin: 0;
  text-align: center;
  text-wrap: balance;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 161, 74, 0.45);
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.ticket__assure .sep { color: var(--brass); padding: 0 0.15em; }
@media (max-width: 559px) {
  /* a clean two-line break on phones instead of a dot starting the second line */
  .ticket__assure .sep--break { display: none; }
  .ticket__assure-last { display: block; }
}

.ticket__perf {
  position: relative;
  height: 0;
  margin: 0 24px;
  border-top: 2px dashed rgba(201, 161, 74, 0.75);
}
.ticket__perf::before,
.ticket__perf::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--midnight);
}
.ticket__perf::before { left: -37px; }
.ticket__perf::after { right: -37px; }

.ticket__body { padding: 26px 22px 28px; }

/* ---------- Form ---------- */

.form__note { margin: 0 0 22px; font-size: 0.9rem; color: var(--ink-soft); }

.form__errors {
  margin: 0 0 24px;
  padding: 16px 18px 6px;
  border: 2px solid var(--error);
  border-radius: 12px;
  background: #FFF5F4;
  outline: none;
}
.form__errors-title { margin: 0 0 8px; font-weight: 700; color: var(--error); }
.form__errors-list { margin: 0 0 10px; padding-left: 20px; }
.form__errors-list li { margin-bottom: 6px; }
.form__errors-list a { color: var(--error); font-weight: 600; }

.group {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.eyebrow {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  font: 700 0.74rem/1.3 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cranberry);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  margin: 0 10px 0 0;
  vertical-align: 0.28em;
  background: var(--brass);
}
.group__hint { margin: -6px 0 16px; font-size: 0.92rem; color: var(--ink-soft); }

.field { margin: 0 0 20px; min-width: 0; padding: 0; border: 0; }
.field:last-child { margin-bottom: 0; }
.field__label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font: 600 1.02rem/1.35 var(--sans);
  color: var(--ink);
}
.optional { font-weight: 400; color: var(--ink-soft); }
.field__hint { margin: -3px 0 9px; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.field__error {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 9px 0 0;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.4;
  color: var(--error);
}
.field__error::before {
  content: "!";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  margin-top: 0;
  padding-top: 2px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font: 700 0.75rem/1 var(--sans);
}

.input {
  display: block;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 15px 15px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font: 400 1.0625rem/1.3 var(--sans);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover { border-color: var(--line-hover); }
.input:focus { outline: none; border-color: var(--midnight); box-shadow: 0 0 0 3px rgba(19, 32, 74, 0.22); }
.input:focus-visible { outline: 3px solid var(--midnight); outline-offset: 2px; border-radius: 12px; }
.input[aria-invalid="true"] { border-color: var(--error); background: #FFF7F6; }

.stepper {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  max-width: 340px;
  gap: 8px;
  align-items: stretch;
}
.stepper__btn {
  min-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--midnight);
  color: var(--cream);
  font: 400 1.7rem/1 var(--sans);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease;
}
.stepper__btn span { display: block; margin-top: 2px; }
.stepper__btn:hover { background: #1C2D63; }
.stepper__btn:active { transform: translateY(1px); }
.stepper__btn:focus-visible { outline: 3px solid var(--cranberry); outline-offset: 2px; }
html:not(.js) .stepper { grid-template-columns: minmax(0, 1fr); max-width: 140px; }
html:not(.js) .stepper__btn { display: none; }
.js .field--bands:not(.is-open) { display: none; }

.stepper__input {
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font: 700 1.3rem/1 var(--sans);
  padding: 15px 6px 11px;
}

.choices { display: grid; gap: 10px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--wrap { display: flex; flex-wrap: wrap; gap: 10px; }

.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 14px 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font: 600 1rem/1.25 var(--sans);
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.choice:hover > span { border-color: var(--line-hover); }
.choice input:checked + span {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--cream);
}
.choice input[type="checkbox"]:checked + span::before {
  content: "\2713";
  position: absolute;
  top: 6px;
  right: 9px;
  margin: 0;
  font: 700 0.85rem/1 system-ui, sans-serif;
  color: var(--brass-bright);
}
.choice input:focus-visible + span { outline: 3px solid var(--cranberry); outline-offset: 2px; }
.choice input:disabled { cursor: not-allowed; }
.choice input:disabled + span {
  background: var(--paper-2);
  border-style: dashed;
  color: var(--ink-soft);
  cursor: not-allowed;
}
.choice__pick { display: none; }
.choice input:disabled + span .choice__pick {
  display: block;
  margin-top: 3px;
  font: 700 0.7rem/1.15 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cranberry);
}

.choices--time .choice > span,
.choices--other .choice > span { font-variant-numeric: lining-nums; }
.choices--time .choice > span {
  min-height: 64px;
  font: 700 1.35rem/1 var(--sans);
  letter-spacing: 0.02em;
  padding: 16px 8px 11px;
}
.choices--other .choice > span { font: 700 1.1rem/1 var(--sans); padding-top: 15px; }

.choices--wrap .choice > span { min-height: 50px; padding: 13px 16px 10px; }

.field[aria-invalid="true"] .choice > span,
.field.is-invalid .choice > span { border-color: var(--error); }

/* notice */
.notice {
  margin: 0 0 18px;
  padding: 18px 18px 6px;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.notice p { margin: 0 0 12px; }
.notice__title {
  font: 700 0.72rem/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink) !important;
}
.notice__more { margin: 0 0 12px; }
.notice__more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-weight: 700;
  color: var(--midnight);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
}
.notice__more summary::-webkit-details-marker { display: none; }
.notice__more summary::after {
  content: "";
  width: 8px; height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.notice__more[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.notice__full { padding-top: 6px; }
.notice__placeholder {
  margin: 14px 0 12px;
  padding: 2px 14px 0;
  border: 1.5px dashed rgba(134, 110, 60, 0.6);
  border-radius: 10px;
}
.notice__full .notice__placeholder h3 { margin-top: 10px; }
.notice__full h3 {
  margin: 14px 0 4px;
  font: 700 0.9rem/1.3 var(--sans);
  color: var(--ink);
}

/* check rows */
.check {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 10px;
  padding: 15px 16px 13px;
  border: 1.5px solid #E1D6BC;
  border-radius: 12px;
  background: var(--field);
  font-size: 0.97rem;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.check:hover { border-color: var(--line); }
.check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  width: 26px; height: 26px;
  margin: -2px 0 0;
  border: 2px solid #7A7F92;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 12px; height: 7px;
  margin-top: -3px;
  border-left: 3px solid var(--cream);
  border-bottom: 3px solid var(--cream);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.12s ease;
}
.check input:checked { background: var(--midnight); border-color: var(--midnight); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--cranberry); outline-offset: 2px; }
.field--check { margin-bottom: 18px; }
.field--check.is-invalid .check { border-color: var(--error); background: #FFF7F6; }
.field--check .check { margin-bottom: 0; border-color: var(--line); }
.consent__optional {
  margin: 0 0 8px;
  font: 700 0.68rem/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 19px 28px 16px;
  border: 0;
  border-radius: 999px;
  font: 700 0.95rem/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  width: 100%;
  min-height: 62px;
  background: var(--cranberry);
  color: var(--cream);
  box-shadow: 0 12px 26px rgba(163, 38, 60, 0.32);
}
.btn--primary:hover { background: var(--cranberry-deep); color: var(--cream); }
.btn--primary:focus-visible { outline: 3px solid var(--midnight); outline-offset: 3px; }
.btn--primary[disabled] { opacity: 0.75; cursor: progress; }
.btn--ghost {
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid var(--midnight);
  min-height: 52px;
  padding: 17px 24px 14px;
}
.btn--ghost:hover { background: var(--midnight); color: var(--cream); }
.btn--brass {
  background: var(--brass);
  color: var(--ink);
}
.btn--brass:hover { background: var(--brass-bright); color: var(--ink); }

.form__submit { margin-top: 8px; }
.form__status { margin: 14px 0 0; min-height: 1px; font-weight: 600; color: var(--error); text-align: center; }
.form__status:empty { margin: 0; }

/* phones: bottom bar to the form (shown by jazz.js only while it helps) */
.join-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 18px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(13, 23, 52, 0.97) 62%, rgba(13, 23, 52, 0));
}
.join-bar .btn { width: 100%; min-height: 54px; padding: 18px 20px 15px; box-shadow: 0 8px 22px rgba(3, 8, 24, 0.5); }

/* thank-you state */
.thanks { padding: 6px 4px 4px; text-align: center; }
.thanks__mark {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--brass-bright);
  box-shadow: 0 0 0 6px rgba(201, 161, 74, 0.25);
}
.thanks__title {
  margin: 0 0 10px;
  font: 700 2rem/1.15 var(--serif);
  color: var(--ink);
  outline: none;
}
.thanks__text { max-width: 24em; margin: 0 auto 14px; }
.thanks__share { margin: 0 0 18px; font-weight: 600; }
.thanks__share strong { font-weight: 700; color: var(--midnight); }
.thanks__shared { margin: 10px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.thanks__shared:empty { display: none; }

/* ---------- Story sections ---------- */

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  font: 700 0.8rem/1.3 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-bright);
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 161, 74, 0), var(--brass));
}
.section-title::after { background: linear-gradient(90deg, var(--brass), rgba(201, 161, 74, 0)); }

.music {
  padding: 64px 0 60px;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(201, 161, 74, 0.09), rgba(201, 161, 74, 0) 70%),
    var(--midnight-deep);
  border-top: 1px solid rgba(201, 161, 74, 0.18);
  text-align: center;
}
.music__hook {
  margin: 0 auto 22px;
  max-width: 20em;
  font: italic 400 clamp(1.55rem, 6vw, 2.1rem)/1.3 var(--serif);
  color: var(--cream);
}
.music__hook .accent { color: var(--brass-bright); font-weight: 700; }
.music__body { max-width: 31em; margin: 0 auto 22px; color: var(--cream-soft); font-size: 1.1rem; }
.music__payoff {
  max-width: 22em;
  margin: 0 auto 22px;
  font: italic 400 1.3rem/1.4 var(--serif);
  color: var(--cream);
}
.music__family {
  position: relative;
  margin: 0;
  padding-top: 24px;
  font-weight: 700;
  color: var(--brass-bright);
  letter-spacing: 0.02em;
}
.music__family::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  background: var(--brass);
  transform: rotate(45deg);
}

.band { padding: 64px 0 72px; background: var(--midnight); }
.band__stage { position: relative; margin: 0 calc(-1 * var(--gutter)) 36px; }
.band__stage img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 42% 60%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%);
}
.band__stage figcaption,
.band__portrait figcaption {
  font: italic 600 0.85rem/1.3 var(--sans);
  color: var(--cream-faint);
  letter-spacing: 0.02em;
}
.band__stage figcaption { position: absolute; right: var(--gutter); bottom: 10px; }

.band__intro { display: grid; gap: 30px; }
.band__portrait { position: relative; width: min(72%, 300px); margin: 0 auto; }
.band__portrait img {
  display: block;
  width: 100%;
  /* feather every edge so the photo's lifted background melts into the page,
     whatever the image codec does to the flat midnight */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 72%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 9%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 4%, #000 72%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 9%, #000 96%, transparent 100%);
  mask-composite: intersect;
}
.band__portrait figcaption { margin-top: -18px; position: relative; text-align: center; }

.band__lead {
  margin: 0 0 26px;
  font: italic 400 1.35rem/1.4 var(--serif);
  color: var(--cream);
  text-align: center;
}
.facts { margin: 0 0 32px; padding: 0; }
.facts__item {
  padding: 16px 0 14px;
  border-top: 1px solid rgba(201, 161, 74, 0.32);
  text-align: center;
}
.facts__item:last-child { border-bottom: 1px solid rgba(201, 161, 74, 0.32); }
.facts dt {
  margin: 0 0 4px;
  font: 700 0.72rem/1.3 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-bright);
}
.facts dd { margin: 0; font: italic 400 1.12rem/1.35 var(--serif); color: var(--cream); }
.band__text { text-align: center; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 44px 0 52px;
  background: #0A1129;
  border-top: 1px solid rgba(201, 161, 74, 0.2);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--cream-faint);
}
.site-footer p { max-width: 62em; }
.site-footer__legal { color: var(--cream-soft); }
.site-footer__links a,
.site-footer__legal a { color: var(--brass-bright); }
.site-footer__links span { color: var(--brass); padding: 0 0.35em; }
.site-footer__copy { margin: 0; }
.site-footer__links a,
.notice__link a { display: inline-block; padding: 12px 0; }

/* ---------- Document pages (privacy, 404) ---------- */

/* short pages: the footer sits at the bottom of the screen */
.page-doc { min-height: 100vh; display: flex; flex-direction: column; }
.page-doc > main { flex: 1 0 auto; }

.doc-header {
  padding: 20px 0;
  background: var(--sky);
  border-bottom: 1px solid rgba(201, 161, 74, 0.22);
}
.doc-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  font: 700 0.72rem/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.doc-header__brand img { height: 28px; width: auto; }
.doc-header__back { white-space: nowrap; }
@media (max-width: 599px) {
  .doc-header__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.doc-header__back {
  font: 700 0.72rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass-bright);
  padding: 12px 0 10px;
}

.doc { padding: 48px 0 64px; }
.doc h1 {
  margin: 0 0 10px;
  font: 700 clamp(2.1rem, 8vw, 3rem)/1.1 var(--serif);
  color: var(--cream);
}
.doc__sub { margin: 0 0 8px; font: italic 400 1.15rem/1.45 var(--serif); color: var(--brass-bright); }
.doc__meta { margin: 0 0 36px; font-size: 0.88rem; color: var(--cream-faint); }
.doc h2 {
  margin: 34px 0 10px;
  font: 700 0.8rem/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-bright);
}
.doc p { color: var(--cream-soft); }
.doc__lead { font-size: 1.12rem; color: var(--cream) !important; }
.doc__placeholder {
  margin-top: 34px;
  padding: 18px 20px 4px;
  border: 1.5px dashed rgba(201, 161, 74, 0.6);
  border-radius: 12px;
  background: rgba(201, 161, 74, 0.06);
}
.doc__placeholder h2 { margin-top: 0; }
.doc .btn { margin-top: 12px; }

.landing { min-height: 70vh; display: grid; align-items: center; padding: 56px 0 64px; }
.landing__card { padding: 34px 22px 30px; }
.landing .thanks__text a { color: var(--midnight); font-weight: 700; }
.landing .btn { margin-top: 8px; }

.notfound { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; text-align: center; }
.notfound__mono { height: 56px; width: 56px; margin: 0 auto 24px; display: block; }
.notfound h1 { margin: 0 0 14px; font: 700 clamp(2rem, 7vw, 2.8rem)/1.15 var(--serif); }
.notfound p { color: var(--cream-soft); max-width: 28em; margin: 0 auto 26px; }

/* ---------- Medium screens ---------- */

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero { background: none; padding: 32px var(--gutter) 0; }
  .poster {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(3, 8, 24, 0.55), 0 0 0 1px rgba(201, 161, 74, 0.35);
  }
  .poster__info { margin-top: -38%; padding-top: 18%; padding-bottom: 30px; }
  .poster__info { background: linear-gradient(to bottom,
    rgba(0, 19, 52, 0) 0%,
    rgba(0, 19, 52, 0.78) 26%,
    rgba(0, 19, 52, 0.95) 46%,
    var(--floor) 72%,
    var(--floor) 100%); }
  .join { max-width: calc(480px + 2 * var(--gutter)); margin: 0 auto; padding-top: 44px; }
  .ticket__head, .ticket__body { padding-left: 30px; padding-right: 30px; }
  .band__stage { margin-left: 0; margin-right: 0; }
  .band__stage img {
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%),
      linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to bottom, transparent 0%, #000 12%, #000 84%, transparent 100%),
      linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-composite: intersect;
  }
  .band__stage figcaption { right: 12px; }
}

/* ---------- Desktop: art left, form right ---------- */

@media (min-width: 960px) {
  body {
    background-image:
      radial-gradient(50% 42% at 22% 8%, rgba(201, 161, 74, 0.10), rgba(201, 161, 74, 0) 70%),
      radial-gradient(42% 36% at 88% 0%, rgba(163, 38, 60, 0.13), rgba(163, 38, 60, 0) 70%);
    background-repeat: no-repeat;
  }
  .layout {
    display: grid;
    grid-template-columns: auto minmax(0, 540px);
    justify-content: center;
    align-items: start;
    column-gap: clamp(48px, 6vw, 96px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 32px 88px;
  }
  .hero {
    position: sticky;
    top: 32px;
    padding: 0;
    width: min(480px, calc((100vh - 230px) / 1.518));
    min-width: 380px;
  }
  .poster { max-width: none; }
  .hero__cta { display: none; }
  .join-bar { display: none; }
  .poster__top { padding-top: 22px; }
  .poster__monogram { height: 36px; }
  .join { max-width: none; margin: 0; padding: 6px 0 0; }
  .join__title { font-size: clamp(2.6rem, 3.6vw, 3.25rem); }

  .music { padding: 88px 0 84px; }
  .band { padding: 88px 0 96px; }
  .band__stage { margin-bottom: 52px; }
  .band__stage img { aspect-ratio: 1600 / 777; height: auto; }
  .band__intro {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    max-width: 1120px;
    margin: 0 auto;
  }
  .band__portrait { width: 100%; }
  .band__text { text-align: left; }
  .band__lead { text-align: left; font-size: 1.6rem; max-width: 22em; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .facts__item,
  .facts__item:last-child { border: 0; border-left: 1px solid rgba(201, 161, 74, 0.32); padding: 4px 20px 6px; text-align: left; }
  .facts dt { letter-spacing: 0.16em; white-space: nowrap; }
  .facts__item:first-child { border-left: 0; padding-left: 0; }

  .site-footer { padding: 52px 0 60px; }
}

@media (min-width: 960px) and (max-height: 840px) {
  .hero { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
