/* The Beverly Xperience — v5 "Gallery White"
   One stylesheet for all six pages. No build step.
   v5 adds the silent home-page ident plate (+ pause/play pill) and the "Listen" track list on Clips & Reels.
   Colour roles: bone page field, warm-white hero wall, white photo plates,
   sand portrait mats / CTA strip / footer, espresso ink, copper text accent,
   gold FILLS only (buttons, rules) — never gold text on the light fields. */

:root {
  --bone: #F6F1E8;
  --wall: #FFFDF8;
  --plate: #FFFFFF;
  --sand: #EFE7D9;
  --ink: #1C1712;
  --muted: #5C534A;
  --gold: #D6A035;
  --gold-hover: #C8932C;
  --gold-active: #B98526;
  --copper: #7C4210;
  --hairline: #E2D3B3;
  --plate-border: #E6DCC8;
  --input-border: #8C7D64;
  --ph-bg: #EEF0FF;
  --ph-border: #4F5BD5;
  --ph-ink: #2F3799;
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 60px;
  --gutter: 16px;
  --section: 48px;
  --plate-pad: 10px;
  --grid-gap: 24px;
}
@media (min-width: 768px) {
  :root { --header-h: 64px; --gutter: 24px; --section: 64px; --plate-pad: 14px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 72px; --gutter: 40px; --grid-gap: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
@media (min-width: 768px) { html { font-size: 18px; } }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  font-optical-sizing: auto;
}
img, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 18ch; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.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;
}
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: 12px; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin: 0;
}
.lede { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 60ch; margin: 16px 0 0; }
@media (min-width: 768px) { .lede { font-size: 20px; } }
.prose { font-size: 17px; line-height: 1.65; max-width: 66ch; }
.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.caption { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }
.credit { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; }
.hairline { border: 0; border-top: 1px solid var(--gold); margin: 32px 0 0; }
.grid { display: grid; gap: var(--grid-gap); }
@media (min-width: 1024px) {
  .grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .booking__contact { grid-column: 1 / 6; }
  .booking__form { grid-column: 6 / 13; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .02em;
  padding: 14px 28px; min-height: 48px; border-radius: 3px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--ink); }
.btn--gold:active { background: var(--gold-active); border-color: var(--gold-active); }
.btn--gold:focus-visible { outline-color: var(--ink); }
.btn--outline { background: transparent; border-color: var(--copper); color: var(--copper); }
.btn--outline:hover { background: var(--copper); color: #FFFFFF; }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.btn--block { width: 100%; min-height: 52px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 60;
  clip: rect(0 0 0 0); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
  background: var(--gold); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 12px 20px; border-radius: 999px;
}
.skip-link:focus-visible { clip: auto; clip-path: none; width: auto; height: auto; overflow: visible; outline-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone); border-bottom: 1px solid var(--hairline);
  min-height: var(--header-h);
}
.header__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; flex: 1 1 auto; }
.brand:hover { color: var(--ink); }
.brand__mark { display: block; position: relative; height: 32px; aspect-ratio: 701 / 894; overflow: hidden; flex: none; }
.brand__mark img { position: absolute; width: 171.2%; max-width: none; height: auto; left: -40.4%; top: -12.4%; }
.brand__name { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 480px) { .brand__name { font-size: 20px; } }
@media (min-width: 768px) { .brand__mark { height: 40px; } .brand__name { font-size: 22px; } }
@media (max-width: 479px) {
  .brand__mark { display: none; }          /* decorative; the wordmark text is the brand link */
  .brand__name { font-size: 17px; }
}
@media (max-width: 559px) { .hide-narrow { display: none; } }   /* short "Book" pill until the row has room for the full label */
@media (max-width: 399px) { .brand__name { font-size: 16px; } }
/* Home: the small mark stays hidden while the hero logo is on screen */
body[data-page="home"] .brand__mark { opacity: 0; visibility: hidden; }
html.is-past-hero body[data-page="home"] .brand__mark { opacity: 1; visibility: visible; }
.header__book { flex: none; }

.menu-toggle {
  display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 3px;
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
html.menu-open .menu-toggle .icon-open { display: none; }
html.menu-open .menu-toggle .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--ink); border-bottom: 1px solid var(--copper); padding-bottom: 7px; }
.site-nav__list a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.site-nav__cta, .site-nav__email { display: none; }
.site-nav__email { margin: 0; font-size: 16px; }

@media (min-width: 1200px) {
  .header__row { flex-wrap: nowrap; }
  .header__book { margin-left: 32px; }
  .site-nav { flex: none; }                /* the list never shrinks; any deficit truncates the brand wordmark (text-overflow) instead of wrapping the nav */
}
@media (min-width: 1200px) {
  .site-nav__list { gap: 15px; }          /* v9: seven items (Tour Dates added) + the short Book pill fit the 1200px container with the wordmark intact; 18px clipped the wordmark by 12px */
  .hide-narrow { display: none; }          /* the header row is capped at 1200px at every desktop width, so the full "Book the band" label never fits beside seven items — the pill stays short */
  .header__book { margin-left: 20px; }
}
@media (max-width: 1199px) {
  .header__row { flex-wrap: wrap; }
  html.js .header__row { flex-wrap: nowrap; }   /* with JS the nav is a panel, so brand + Book + menu stay on one row; without JS the list still wraps below */
  .site-nav { flex-basis: 100%; padding: 8px 0 12px; }     /* no-JS fallback: plain wrapped list under the bar */
  html:not(.js) .site-header { position: static; }
  html.js .menu-toggle { display: inline-flex; }
  html.js .site-nav { display: none; }
  html.js.menu-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 28px;
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--wall); padding: 32px 16px; overflow-y: auto; overscroll-behavior: contain;
  }
  html.js.menu-open .site-nav__list { flex-direction: column; align-items: flex-start; gap: 20px; }
  html.js.menu-open .site-nav__list a {
    font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--ink);
  }
  html.js.menu-open .site-nav__list a:hover { border-bottom-color: var(--copper); }
  html.js.menu-open .site-nav__list a[aria-current="page"] { border-bottom: 2px solid var(--gold); }
  html.js.menu-open .site-nav__cta { display: inline-flex; width: 100%; min-height: 52px; font-size: 15px; }
  html.js.menu-open .site-nav__email { display: block; }
  html.menu-open { overflow: hidden; }   /* root, not body: html has overflow-x: clip, so body's overflow never reaches the viewport */
}
@media (min-width: 768px) and (max-width: 1199px) {
  html.js.menu-open .site-nav { padding: 40px 24px; }
}

/* ---------- Main / sections ---------- */
main { display: block; }
#main, #booking, .member, .anchor-target { scroll-margin-top: 96px; }
.section { padding-block: var(--section); }
.page-head { padding-top: 32px; }
@media (min-width: 768px) { .page-head { padding-top: 48px; } }
.page-head h1 { margin-top: 12px; }
.page-head .hairline { margin-top: 32px; }

/* ---------- Hero wall (index) ---------- */
.wall { background: var(--wall); padding: 28px 16px 40px; text-align: center; }
@media (min-width: 768px) { .wall { padding: 32px 24px 40px; } }
@media (min-width: 1024px) { .wall { padding: 32px 40px 40px; } }
.hero-logo { position: relative; width: min(350px, 100%); aspect-ratio: 701 / 894; overflow: hidden; margin: 0 auto; }
.hero-logo img { position: absolute; width: 171.2%; max-width: none; height: auto; left: -40.4%; top: -12.4%; }
.hanging-rule { display: block; width: 1px; height: 40px; background: var(--gold); margin: 16px auto 20px; }
.label { max-width: 640px; margin: 0 auto; text-align: left; }
.label .eyebrow + .eyebrow { margin-top: 4px; }
.label__text { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 16px 0 0; }
@media (min-width: 768px) { .label__text { font-size: 18px; } }
.hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; text-align: center; }
.hero-cta .btn { min-height: 52px; }
.hero-cta__alt { font-weight: 500; font-size: 15px; color: var(--copper); text-decoration: underline; }
@media (min-width: 768px) {
  .hero-cta { flex-direction: row; justify-content: center; align-items: center; gap: 16px; }
  .hero-cta .btn { min-height: 48px; }
}
.hero-contact { margin: 16px 0 0; text-align: center; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- Ident (index): silent 16:9 loop on the wall, between the logo and the eyebrow lines ---------- */
.ident__plate { position: relative; max-width: 988px; margin: 0 auto; }
.ident__plate--hero { margin-top: 28px; }
.ident__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.ident__controls { position: absolute; right: calc(var(--plate-pad) + 12px); bottom: calc(var(--plate-pad) + 12px); display: flex; gap: 8px; }
.ident__toggle, .ident__sound {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(28, 23, 18, .74); color: #FFFFFF;
  font-family: var(--body); font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: .04em; cursor: pointer;
}
html.js .ident__toggle, html.js .ident__sound { display: inline-flex; }   /* the pills only work with JS; without it the loop plays muted via the attributes alone */
.ident__toggle:hover, .ident__sound:hover { background: rgba(28, 23, 18, .92); }
.ident__toggle:focus-visible, .ident__sound:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ident__toggle svg, .ident__sound svg { display: block; flex: none; }
.ident__sound .ident__icon-sound { display: none; }
.ident__plate.is-sound-on .ident__icon-muted { display: none; }
.ident__plate.is-sound-on .ident__icon-sound { display: block; }
.ident__toggle .ident__icon-play { display: none; }
.ident__plate.is-paused .ident__icon-pause { display: none; }
.ident__plate.is-paused .ident__icon-play { display: block; }

/* ---------- Booking (index) ---------- */
.booking { padding-block: var(--section); }
.booking__title { margin-top: 12px; max-width: 18ch; }
.booking__grid { margin-top: 32px; }
.booking__email { display: inline-block; font-weight: 600; font-size: clamp(17px, 5.5vw, 22px); line-height: 1.3; margin-top: 8px; text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.booking__contact p { margin: 0; }
.booking__contact .stack > * + * { margin-top: 20px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; }
.social-row a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.social-row svg { flex: none; }
.plate { background: var(--plate); border: 1px solid var(--plate-border); padding: var(--plate-pad); }
.form-plate { background: var(--plate); border: 1px solid var(--plate-border); padding: 20px; }
@media (min-width: 768px) { .form-plate { padding: 28px; } }
.form-plate form { margin-top: 20px; }
.form-details { margin-top: 16px; }
.form-details summary { cursor: pointer; font-weight: 500; font-size: 15px; color: var(--copper); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; width: fit-content; }
.form-details summary:hover { color: var(--ink); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form-grid .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--wall);
  border: 1px solid var(--input-border); border-radius: 3px; padding: 10px 12px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.form-actions .btn { width: 100%; }
@media (min-width: 768px) {
  .form-actions { flex-direction: row; align-items: center; gap: 16px; }
  .form-actions .btn { width: auto; }
}
.form-note { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }
.form-note:focus { outline: 2px solid var(--copper); outline-offset: 3px; }
.form-intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.botcheck { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }   /* honeypot for the form service */
.presenter-tile { display: inline-block; margin-top: 8px; }
.presenter-tile img { display: block; width: 132px; height: 132px; border-radius: 3px; }
.form-intro a { color: var(--copper); }
.required { color: var(--copper); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E inset; }
.optional { font-weight: 400; color: var(--muted); }

/* ---------- Placeholders (deliberately cool on a warm site) ---------- */
.ph {
  position: relative; background: var(--ph-bg); border: 2px dashed var(--ph-border); border-radius: 2px;
  padding: 28px 18px 16px; color: var(--ph-ink); font-style: italic;
}
.ph a { color: var(--ph-ink); }
.ph p { margin: 0; }
.ph p + p { margin-top: 8px; }
.ph__tag {
  position: absolute; top: -1px; left: -1px; background: var(--ph-border); color: #FFFFFF;
  font-family: var(--body); font-style: normal; font-weight: 600; font-size: 11px; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px;
}
.ph--note { max-width: 640px; }
.ph--banner { width: 100%; }
.ph--inline { display: inline-block; padding: 24px 14px 10px; font-size: 13px; }
.ph--frame { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.ph--frame svg { display: block; }
.ph--plate { min-height: 260px; }
.ph__quote {
  position: absolute; top: 4px; right: 12px; width: 60px; height: 70px; overflow: hidden;
  font-family: var(--display); font-style: normal; font-weight: 400; font-size: 96px; line-height: 1;
  color: var(--hairline); pointer-events: none;
}
.ph--plate .ph__text { position: relative; margin-top: 56px; }

/* ---------- Inner-page CTA strip ---------- */
.cta-strip { background: var(--sand); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 40px 0; }
@media (min-width: 768px) { .cta-strip { padding: 56px 0; } }
.cta-strip__inner { display: grid; gap: 24px; }
.cta-strip h2 { max-width: 18ch; }
.cta-strip__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-strip__actions .btn { min-height: 52px; }
@media (min-width: 768px) {
  .cta-strip__actions { flex-direction: row; align-items: center; gap: 20px; }
  .cta-strip__actions .btn { min-height: 48px; }
}
@media (min-width: 1024px) {
  .cta-strip__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .cta-strip h2 { grid-column: 1 / 8; }
  .cta-strip__actions { grid-column: 8 / 13; justify-content: flex-end; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); border-top: 1px solid var(--hairline); padding: 48px 0 32px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col:first-child { grid-row: 1 / 3; }   /* brand column spans both rows; Booking & press and Pages stack in column 2 */
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__col:first-child { grid-row: auto; }
}
.footer__name { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 0 0 4px; }
.footer__place { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.footer__col .eyebrow { margin-bottom: 8px; }
.footer__col .eyebrow + p, .footer__col .eyebrow + ul { margin-bottom: 20px; }
.footer__col p { margin: 0; }
.footer__col a { font-weight: 500; font-size: 16px; }
.logo-plate { display: inline-block; background: #000000; border: 1px solid #000000; border-radius: 3px; padding: 0; width: fit-content; overflow: hidden; }   /* the SGE logo arrives on its own black square */
.logo-plate a { display: block; }
.logo-plate img { display: block; width: 112px; height: auto; }
.logo-plate--lg img { width: 150px; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; }
.footer__nav li + li { margin-top: 8px; }
.footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__legend { margin-top: 20px; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
/* Written testimonials (v9): white plates, display-italic quote, name + role below */
.testimonial { position: relative; margin: 0; padding: 28px 28px 24px; background: var(--plate); border: 1px solid var(--plate-border); display: flex; flex-direction: column; }
.testimonial__mark { position: absolute; top: 8px; left: 20px; font-family: var(--display); font-size: 72px; line-height: 1; color: var(--gold); }
.testimonial blockquote { margin: 40px 0 0; padding: 0; flex: 1; }
.testimonial blockquote p { font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0 0 12px; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial figcaption { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--plate-border); font-size: 14px; line-height: 1.4; }
.testimonial__name { display: block; font-weight: 600; color: var(--ink); }
.testimonial__role { display: block; color: var(--muted); margin-top: 2px; }

/* Testimonials: on-camera clips (v9) — native 9:16 players in the reel grid; three across from 1024px.
   The frame clips its contents, so the keyboard focus ring is drawn on the frame, as for the Facebook iframes. */
.reels--video .reel__frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--sand); }
.reels--video .reel__frame:has(video:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px; }
.reels--video .reel__frame video:focus-visible { outline: none; }
@media (min-width: 1024px) {
  .reels.reels--video { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }   /* .reels.reels--video outranks the 4-up .reels rule further down */
  .reels--video .reel { max-width: 360px; }
}
.section--written { padding-top: 0; }

/* ---------- Tour Dates (v9) — placeholder rows until the schedule arrives ---------- */
.dates { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; max-width: 880px; }
.ph--row { min-height: 88px; display: flex; align-items: center; }
.ph--row .ph__text { margin: 0; }
.date { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 8px 28px; align-items: start; padding: 20px 24px; background: var(--plate); border: 1px solid var(--plate-border); }
@media (max-width: 599px) { .date { grid-template-columns: 1fr; gap: 6px; } }
.date__when { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.3; }
.date__name { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.25; }
.date__where { margin: 4px 0 0; color: var(--muted); }
.date--past { background: var(--sand); }
.date--past .date__when { color: var(--muted); }
.date__tag { display: inline-block; margin-left: 10px; vertical-align: middle; font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--plate-border); border-radius: 999px; padding: 2px 8px; }
.dates__note { margin: 28px 0 0; font-family: var(--display); font-weight: 500; font-size: 22px; }

/* ---------- Band ---------- */
.mat { background: var(--sand); border: 1px solid var(--plate-border); padding: 14px; }
.mat--mini { padding: 8px; }
.stage {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 93%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 93%);
}
.stage--mini { aspect-ratio: 3 / 4; }
.stage img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.stage--ronnie img { object-fit: cover; object-position: 50% 0; }
.stage--cecil img { transform: scale(1.3); transform-origin: 50% 24%; }
.stage--carl img { transform: scale(1.12); transform-origin: 50% 100%; }
.stage--tony img { transform: translateX(-6%); }
.roster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; list-style: none; padding: 0; }
@media (min-width: 768px) { .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .roster { gap: 32px; } }
.roster a { display: block; color: var(--ink); text-decoration: none; }
.roster a:hover .mat, .roster a:focus-visible .mat { border-color: var(--gold); }
.roster__name { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.2; margin: 12px 0 4px; }
.roster__role { font-size: 11px; }
.members { margin-top: var(--section); margin-bottom: var(--section); border-top: 1px solid var(--gold); }
.member { padding-block: var(--section); border-bottom: 1px solid var(--gold); }
.member__plate { max-width: 300px; }
.member__text h2 { margin-top: 8px; }
.member__text .prose { margin-top: 20px; }
@media (min-width: 768px) {
  .member { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
  .member__plate { grid-column: 1 / 6; max-width: none; }
  .member__text { grid-column: 6 / 13; }
}
@media (min-width: 1024px) {
  .member__plate { grid-column: 1 / 5; position: sticky; top: 96px; }
  .member__text { grid-column: 6 / 13; }
}

/* ---------- Clips ---------- */
.reel-plate { max-width: 988px; margin: 0 auto; }
.reel-plate video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: var(--sand); }
.reel-caption { text-align: center; max-width: 988px; margin-inline: auto; }
.photos { margin-top: 32px; display: grid; gap: 32px; }
.photo-row { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .photo-row { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .photo-row > :first-child { grid-column: 1 / 8; }
  .photo-row > :last-child { grid-column: 8 / 13; }
}
.plate--natural { width: fit-content; max-width: 100%; }
.plate--natural img { max-width: 548px; width: 100%; height: auto; }
.photo-credits { margin-top: 24px; }
.photo-credits .ph { margin-top: 12px; }
/* Facebook reels: vertical 9:16 frames; the plugin iframe scales with its frame. 1-up (capped at the
   plugin's native 360px), 2-up from 768px, 4-up from 1024px (221px frames at 1024, 265px at 1200+). */
.reels { display: grid; gap: 32px; margin-top: 32px; }
.reel { margin: 0; width: 100%; max-width: 360px; margin-inline: auto; }
.reel__frame { aspect-ratio: 9 / 16; background: var(--sand); overflow: hidden; }
.reel__frame iframe { display: block; width: 100%; max-width: 100%; height: 100%; border: 0; }
.reel__frame:has(iframe:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px; }   /* the frame clips the iframe, so the keyboard ring is drawn on the frame */
.reel__frame iframe:focus-visible { outline: none; }
.reel__caption { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.reel__title { color: var(--ink); font-weight: 500; }
@media (min-width: 768px) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .reel { max-width: none; }
}
.follow-strip { margin-top: var(--section); padding-top: 24px; border-top: 1px solid var(--hairline); }
.follow-strip p { margin: 0 0 12px; }

/* ---------- Clips: Listen (v5) — one native audio player per track on a white plate ---------- */
.listen { padding-bottom: var(--section); }
.tracks { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.track { margin: 0; background: var(--plate); border: 1px solid var(--plate-border); padding: 16px; }
.track__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; }
.track__title { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--ink); }
.track__meta { display: inline-flex; align-items: center; gap: 10px; margin-inline-start: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track__tag {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-weight: 600; font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
}
.track audio { display: block; width: 100%; }
@media (min-width: 768px) {
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .track { padding: 20px; }
  .tracks > .track:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* the full-length closer takes the whole row */
}

/* ---------- Heritage ---------- */
.doc { max-width: 800px; margin: 0 auto; background: var(--plate); border: 1px solid var(--plate-border); padding: 24px; }
@media (min-width: 768px) { .doc { padding: 40px 48px; } }
.doc h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); margin-top: 12px; max-width: 24ch; }
.doc__subhead { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.4; margin: 16px 0 24px; }
.doc .prose { max-width: none; }
.doc blockquote {
  margin: 28px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--gold);
}
.doc blockquote p {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.35; color: var(--ink); margin: 0;
}
.doc blockquote footer { font-family: var(--body); font-style: normal; font-size: 14px; color: var(--muted); margin-top: 12px; }
.family { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 1024px) {
  .family { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .family__text { grid-column: 1 / 8; }
  .family__photo { grid-column: 8 / 13; }
}
.family__text h3 { margin-top: 8px; }
.family__text .prose { margin-top: 16px; }
.family__more { margin-top: 24px; max-width: 72ch; }
.family__photo .ph--frame { aspect-ratio: 3 / 4; }
.lineage__photos { margin-top: 48px; display: grid; grid-template-columns: 1fr minmax(72px, 140px) 1fr; column-gap: 12px; align-items: end; }
.lineage__photo { width: 100%; max-width: 110px; margin: 0 auto; }   /* medallions are ~100px in the source tree; keep them near 1:1 */
.lineage__portrait { display: block; width: 100%; height: auto; border-radius: 50%; border: 3px solid var(--gold); background: var(--sand); }
.tree { margin: 40px 0 0; }
.tree__plate img { display: block; width: 100%; height: auto; }
.tree figcaption { margin-top: 12px; }
.lineage__photos + .lineage { margin-top: 8px; }
.tree + .lineage__photos { margin-top: 40px; }
.tm { font-size: .42em; font-weight: 500; vertical-align: super; line-height: 0; margin-left: .08em; letter-spacing: 0; }
.lineage { margin-top: 48px; display: grid; grid-template-columns: 1fr minmax(72px, 140px) 1fr; column-gap: 12px; row-gap: 0; align-items: end; }
.lineage__name { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.2; margin: 0; text-align: center; padding: 12px 4px; }
.lineage__name small { display: block; font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }
.lineage__name--child { padding-top: 40px; position: relative; }
.lineage__name--child::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 28px; background: var(--gold); }
.lineage__link { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; margin: 0; }
.lineage__link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); }
.lineage__link span { position: relative; background: var(--bone); padding: 0 6px; }
.lineage__note { margin-top: 20px; }
@media (min-width: 768px) { .lineage__name { font-size: 22px; } }
@media (max-width: 479px) {
  .lineage, .lineage__photos { grid-template-columns: 1fr minmax(64px, 88px) 1fr; column-gap: 8px; }
  .lineage__name { font-size: 18px; padding-inline: 0; }
  .lineage__link { font-size: 11px; letter-spacing: .08em; text-align: center; }
  .lineage__link span { width: min-content; padding: 0 4px; }
}
.presenter { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 768px) { .presenter { flex-direction: row; align-items: center; gap: 40px; } }
.presenter__text p { margin: 0 0 12px; }
.presenter__text a { overflow-wrap: anywhere; }

/* ---------- Open Door ---------- */
.open-door { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 1024px) {
  .open-door { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .open-door__text { grid-column: 1 / 8; }
  .open-door__image { grid-column: 8 / 13; }
}
.open-door__image .ph--frame { aspect-ratio: 4 / 3; }

/* ---------- Motion (opt-in only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .brand__mark { transition: opacity 200ms ease; }
  .btn, a, .site-nav__list a { transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
  .mat, .plate { transition: border-color 150ms ease; }
  .ident__toggle, .ident__sound { transition: background-color 150ms ease; }
  html.js.menu-open .site-nav { transition: opacity 200ms ease, transform 200ms ease; }
  @starting-style {
    html.js.menu-open .site-nav { opacity: 0; transform: translateY(-8px); }
  }
}

/* ---------- The Year of The Open Door ---------- */
.od-tagline { margin-top: 12px; }
.od-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .od-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.od-intro .btn { margin-top: 8px; }
.od-offers { padding: 24px; }
.od-offers__title { margin: 6px 0 10px; font-size: 24px; }
.od-offers p:last-child { margin: 0; }
.od-h2 { margin-top: 48px; }
.steps { counter-reset: step; list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: step; position: relative; padding: 20px 20px 20px 64px; background: var(--plate); border: 1px solid var(--plate-border); line-height: 1.5; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.steps li strong { display: block; margin-bottom: 4px; }
.od-close { margin-top: 24px; max-width: 72ch; }
/* Song Catalog (v9): numbered list on white plates, two columns from 768px, same counter medallion as .steps */
.songs { counter-reset: song; list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .songs { grid-template-columns: 1fr 1fr; } }
.songs li { counter-increment: song; position: relative; padding: 16px 20px 16px 64px; background: var(--plate); border: 1px solid var(--plate-border); font-family: var(--display); font-size: 20px; line-height: 1.3; }
.songs li::before { content: counter(song); position: absolute; left: 20px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--body); font-size: 16px; font-weight: 700; display: grid; place-items: center; }
.od-apply .form-plate { margin-top: 24px; }
.od-section { border: 0; border-top: 1px solid var(--plate-border); padding: 24px 0 0; margin: 24px 0 0; min-width: 0; }
.od-section > legend { font-family: var(--display); font-weight: 500; font-size: 22px; padding: 0 12px 0 0; }
.od-section .form-grid { margin-top: 16px; }
.choices { border: 0; padding: 0; margin: 16px 0 0; }
.choices > legend { font-weight: 500; font-size: 14px; margin-bottom: 8px; padding: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; margin: 8px 0; cursor: pointer; }
.choice input { margin: 4px 0 0; flex: none; width: 18px; height: 18px; accent-color: var(--gold); }
.choice--check { margin-top: 16px; }
.choices.is-invalid > legend, .choice.is-invalid { color: #B3261E; }
.field--inline { margin-top: 12px; max-width: 360px; }
.field__hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.guardian { margin-top: 16px; padding: 16px; background: var(--sand); border: 1px solid var(--plate-border); }
.guardian[hidden] { display: none; }
.od-legal { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
.od-waiver .prose { max-width: 72ch; }
.od-waiver__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 20px; }
.od-waiver__text { margin-top: 24px; max-width: 72ch; }
.od-waiver__text summary { cursor: pointer; font-weight: 500; color: var(--copper); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.od-waiver__text .prose { margin-top: 16px; }
