/* R&B 4EVER — site styles
   Palette is a PROPOSAL (ink, ivory, cherry) pending brand sign-off.
   Gold is taken from the approved Gala artwork and is used only for that edition. */

:root {
  --ink: #14090c;
  --ink-raised: #23121a;
  --ink-line: #47303a;
  --ivory: #f4ecdd;
  --ivory-deep: #e7dcc8;
  --ivory-muted: #cbbdaa;      /* secondary text on ink, 9.9:1 */
  --ink-muted: #5c4a50;        /* secondary text on ivory, 7.1:1 */
  --cherry: #c8102e;           /* buttons and large type only */
  --cherry-deep: #a30c25;
  --cherry-soft: #ff7d90;      /* small accent text on ink, 7.6:1 */
  --gold: #e2b866;             /* The Gala edition */
  --edition: var(--cherry-soft);

  /* the logo's lettering: a heavy, narrow bracketed serif with a plain "&" (Noto Serif Condensed Black) */
  --logo: "Noto Serif", "Georgia", serif;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);
  --step-4: clamp(2.9rem, 1.7rem + 5.6vw, 6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4rem, 10vw, 9rem);
  --measure: 34rem;
  --wide: 82rem;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.55;
  padding-bottom: var(--bar-h);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; border-radius: 2px; }
.on-ivory :focus-visible { outline-color: var(--ink); }
.on-cherry :focus-visible { outline-color: var(--ivory); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ivory); color: var(--ink); padding: 0.75rem 1rem; font-weight: 600;
}
.skip:focus { top: 1rem; }

@view-transition { navigation: auto; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-page { font-size: var(--step-4); }
.h-section { font-size: var(--step-3); }
.h-item { font-size: var(--step-2); line-height: 1; }
.italic { font-style: italic; font-weight: 500; letter-spacing: -0.02em; }
.lede { font-size: var(--step-1); line-height: 1.4; max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose { max-width: var(--measure); }
.small { font-size: var(--step--1); }
.muted { color: var(--ivory-muted); }
.on-ivory .muted { color: var(--ink-muted); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.section { padding-block: var(--section); }
.on-ivory { background: var(--ivory); color: var(--ink); }
.on-raised { background: var(--ink-raised); }
.on-cherry { background: var(--cherry); color: var(--ivory); }
.edition-gold { --edition: var(--gold); }
.on-ivory.edition-gold, .on-ivory .edition-gold { --edition: #7a5510; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 3.5rem);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0.8rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: var(--step-0); line-height: 1.1; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, transform 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--cherry); color: var(--ivory); }
.btn-primary:hover { background: var(--cherry-deep); }
.on-cherry .btn-primary { background: var(--ivory); color: var(--ink); }
.on-cherry .btn-primary:hover { background: #fff; }
.btn-quiet { border-color: currentColor; background: transparent; }
.btn-quiet:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.on-ivory .btn-quiet:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-wide { width: 100%; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; }
.hero-event-title a { display: inline-block; padding-block: 0.95rem; margin-block: -0.95rem; }
.btn .ext, .link-arrow .ext { font-size: 0.8em; font-weight: 500; opacity: 0.85; }

/* ---------- status chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.3rem 0.75rem; border: 1px solid currentColor; border-radius: 999px;
  font-size: var(--step--1); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.chip-dot::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.chip-solid { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.on-ivory .chip-solid { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.tbc {
  display: inline-block; padding: 0.15rem 0.55rem; border: 1px dashed currentColor; border-radius: 4px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; vertical-align: middle;
}

/* ---------- signature: date and venue block ---------- */
.dateblock { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 0.9rem; }
.dateblock-day {
  font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 144;
  font-size: var(--db-size, 4.5rem); line-height: 0.8; letter-spacing: -0.05em;
  color: var(--edition);
}
.dateblock-rest { display: grid; gap: 0.15rem; line-height: 1.2; }
.dateblock-when { font-weight: 600; white-space: nowrap; }
.dateblock-where { font-size: var(--step--1); opacity: 0.85; }
.dateblock-lg { --db-size: clamp(5rem, 14vw, 9rem); column-gap: 1.2rem; }
.dateblock-lg .dateblock-when { font-size: var(--step-1); }
.dateblock-lg .dateblock-where { font-size: var(--step-0); }
.dateblock-sm { --db-size: 2.4rem; column-gap: 0.6rem; }

/* ---------- header and nav ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem var(--gutter);
}
.page-plain .site-header { position: relative; }
.wordmark {
  display: inline-grid; text-decoration: none; line-height: 0.86;
  font-family: var(--logo); font-weight: 900; font-stretch: 75%;
  font-size: 1.45rem; letter-spacing: -0.01em; padding: 0.4rem 0;
}
.wordmark span:last-child { font-size: 0.78em; letter-spacing: 0.01em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.nav-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem; text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-links .btn { min-height: 2.75rem; padding: 0.5rem 1.2rem; margin-left: 0.5rem; }
.nav-links .btn:hover { text-decoration: none; }
.nav-toggle { display: none; }

@media (max-width: 53.99rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem;
    border: 2px solid currentColor; border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer;
    position: relative; z-index: 41;
  }
  .nav-toggle-bars { display: grid; gap: 5px; width: 18px; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
  .nav-open .nav-toggle-bars::before { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-3.5px) rotate(-45deg); }
  .js .nav-panel {
    position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column;
    background: var(--ink); color: var(--ivory);
    padding: 5.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-0.75rem);
    transition: opacity 0.22s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .js .nav-open .nav-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-links a:not(.btn) {
    font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 144;
    font-size: clamp(2.2rem, 11vw, 3.4rem); letter-spacing: -0.03em; line-height: 1;
    min-height: 0; padding: 0.55rem 0; border-bottom: 1px solid var(--ink-line);
  }
  .js .nav-links .btn { display: none; }
  .nav-panel-foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1.25rem; }
  .nav-open .wordmark { position: relative; z-index: 41; color: var(--ivory); }
  .nav-open .nav-toggle { color: var(--ivory); }
}
@media (min-width: 54rem) { .nav-panel-foot { display: none; } }
html:not(.js) .nav-panel-foot { display: none; }
.nav-locked { overflow: hidden; }

/* ---------- signature: the 4EVER word ---------- */
.four {
  font-family: var(--display); font-weight: 900;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  letter-spacing: -0.055em; line-height: 0.74; white-space: nowrap;
  display: block;
}
.four-outline { color: transparent; -webkit-text-stroke: 2px var(--ivory); }
.four-ghost {
  font-size: clamp(6rem, 31vw, 30rem); text-align: center; color: transparent;
  -webkit-text-stroke: 1px var(--ink-line); user-select: none; margin-top: 3rem;
  overflow: hidden; padding-bottom: 0.04em;
}

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-photo { position: relative; z-index: 2; overflow: hidden; background: var(--ink-raised); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.hero-four { font-size: 30.5vw; margin-left: -0.03em; }
.hero-four-solid { position: relative; z-index: 1; }
.hero-four-outline { position: absolute; z-index: 3; pointer-events: none; }
.hero-rb {
  font-family: var(--logo); font-weight: 900; font-stretch: 75%;
  letter-spacing: -0.01em; line-height: 0.8; display: block;
}
.hero-copy { display: grid; gap: 1.25rem; align-content: start; }
.hero-tag { font-size: var(--step-1); line-height: 1.3; max-width: 22ch; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-event { display: grid; gap: 1rem; align-content: start; }
.hero-event-title { font-size: var(--step-2); }
.hero-event-title .italic { display: block; font-size: 0.6em; margin-top: 0.3em; color: var(--edition); }

/* mobile composition: photo first, the word cut across its foot */
@media (max-width: 53.99rem) {
  .hero { padding-bottom: 2.5rem; }
  .hero-photo { height: min(45svh, 26rem); }
  .hero-photo::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(transparent, rgba(20, 9, 12, 0.85)); }
  .hero-photo::before { content: ""; position: absolute; inset: 0 0 70% 0; z-index: 1; background: linear-gradient(rgba(20, 9, 12, 0.7), transparent); }
  .hero-title { position: relative; margin-top: -11.5vw; padding-inline: var(--gutter); }
  .hero-rb { position: absolute; z-index: 4; left: var(--gutter); bottom: 100%; margin-bottom: 0.3rem; font-size: 13vw; }
  .hero-four { font-size: 29.5vw; }
  .hero-four-outline { top: 0; left: var(--gutter); }
  .hero-body { display: grid; gap: 1.25rem; padding: 1.25rem var(--gutter) 0; }
  .hero-copy { display: contents; }
  .hero-tag { order: 1; max-width: none; }
  .hero-event { order: 2; gap: 0.6rem; padding: 1rem 0; border-block: 1px solid var(--ink-line); }
  .hero-event-title { font-size: var(--step-1); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.5rem; }
  .hero-event-title .italic { display: inline; font-size: 0.85em; margin: 0; }
  .hero-event .chips { display: none; }
  .hero-actions { order: 3; }
  .hero-actions .btn-primary { flex: 1 1 100%; }
  .hero-actions .btn-quiet { flex: 1 1 100%; }
}
@media (min-width: 36rem) and (max-width: 53.99rem) {
  .hero-photo { height: min(55svh, 36rem); }
  .hero-photo img { object-position: 58% 38%; }
}
/* desktop composition: sleeve front. Photo is the window, the word runs through it */
@media (min-width: 54rem) {
  .hero {
    min-height: max(100svh, 44rem);
    display: grid;
    grid-template-columns: var(--gutter) minmax(0, 1fr) minmax(18rem, 30vw) minmax(0, 1fr) var(--gutter);
    grid-template-rows: 5.5rem minmax(auto, 1fr) auto 2.5rem;  /* row 2 never shrinks below its text */
    column-gap: clamp(1.5rem, 3vw, 3rem);
  }
  .hero-photo { grid-column: 3; grid-row: 2 / 4; align-self: stretch; margin-bottom: 12.5vw; }
  .hero-title { grid-column: 1 / -1; grid-row: 3; position: relative; padding-inline: var(--gutter); align-self: end; }
  .hero-rb { position: absolute; left: var(--gutter); bottom: 100%; font-size: clamp(4rem, 8.5vw, 9rem); margin-bottom: 0.12em; z-index: 4; }
  .hero-four-outline { top: 0; left: var(--gutter); }
  .hero-body { display: contents; }
  /* bottom padding keeps the copy clear of the large "R&B", which sits just above the 4EVER line */
  .hero-copy { grid-column: 2; grid-row: 2; padding-top: clamp(1rem, 6vh, 4rem); padding-bottom: calc(clamp(4rem, 8.5vw, 9rem) * 1.1); max-width: 24rem; }
  .hero-event { grid-column: 4; grid-row: 2; padding-top: clamp(1rem, 6vh, 4rem); justify-self: end; max-width: 22rem; }
}
/* the one orchestrated moment: the sleeve opens */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo img { animation: photo-in 1.1s var(--ease) both; }
  .js .hero-four { animation: word-in 0.9s var(--ease) 0.1s both; }
  .js .hero-rb { animation: fade-in 0.6s ease 0.5s both; }
  .js .hero-copy, .js .hero-event { animation: fade-in 0.6s ease 0.65s both; }
}
@keyframes photo-in { from { transform: scale(1.08); } }  /* no opacity: this image is the LCP element */
@keyframes word-in { from { transform: translateY(0.35em); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- next event (home) and event page top ---------- */
.feature { display: grid; gap: clamp(2rem, 5vw, 5rem); }
.feature-art { position: relative; }
.feature-art img { width: 100%; box-shadow: 0 1.5rem 3rem -1rem rgba(20, 9, 12, 0.55); }
.feature-body { display: grid; gap: 1.75rem; align-content: start; }
.feature-title .italic { display: block; font-size: 0.42em; margin-top: 0.35em; color: var(--edition); letter-spacing: -0.01em; }
@media (min-width: 54rem) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .feature-art { position: sticky; top: 2rem; }
  .feature-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .feature-flip .feature-art { order: 2; }
}
.facts { display: grid; border-top: 1px solid currentColor; }
.facts > div { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: 0.25rem 1rem; padding: 0.8rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.facts dt { font-weight: 600; }
.facts dd small { display: block; font-size: var(--step--1); opacity: 0.8; }
@media (max-width: 26rem) { .facts > div { grid-template-columns: 1fr; } }
.lineup { font-family: var(--display); font-weight: 700; font-variation-settings: "opsz" 72; font-size: var(--step-2); line-height: 1.08; letter-spacing: -0.02em; }
.lineup li { display: block; }
.lineup-notes { margin-top: 0.9rem; display: grid; gap: 0.2rem; }
.ticketbox { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 2px solid currentColor; }
.tiers { display: grid; }
.tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.tiers li:first-child { border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.tiers .price { font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1; letter-spacing: -0.03em; }
.ended-note { display: none; font-weight: 600; }
.is-ended .ended-note { display: block; }
.is-ended [data-ticket-ui] { display: none !important; }

/* ---------- signature: the filmstrip ---------- */
.strip-tools { display: flex; align-items: center; gap: 0.5rem; }
.iconbtn {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid currentColor; background: transparent; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, transform 0.18s var(--ease);
}
.iconbtn:hover { background: var(--ivory); color: var(--ink); }
.on-ivory .iconbtn:hover { background: var(--ink); color: var(--ivory); }
.iconbtn:active { transform: scale(0.94); }
.iconbtn[disabled] { opacity: 0.35; cursor: default; }
.iconbtn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.textbtn { min-height: 3rem; padding: 0 1.1rem; border-radius: 999px; border: 2px solid currentColor; background: transparent; font-weight: 600; cursor: pointer; }
.textbtn:hover { background: var(--ivory); color: var(--ink); }
.on-ivory .textbtn:hover { background: var(--ink); color: var(--ivory); }
html:not(.js) .strip-tools { display: none; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 19rem);
  gap: clamp(0.6rem, 1.5vw, 1rem);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0.25rem var(--gutter) 1.25rem; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--ink-line) transparent;
}
.on-ivory .strip { scrollbar-color: var(--ivory-deep) transparent; }
@media (min-width: 82rem) { .strip { padding-inline: calc((100vw - var(--wide)) / 2); scroll-padding-inline: calc((100vw - var(--wide)) / 2); } }
.clip { position: relative; scroll-snap-align: start; display: grid; gap: 0.6rem; }
.clip-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-raised); }
.clip-frame video { width: 100%; height: 100%; object-fit: cover; }
.clip:nth-child(even) .clip-frame { margin-top: clamp(1rem, 3vw, 2.5rem); }
.clip-toggle {
  position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.95rem 0 0.8rem;
  border: 0; border-radius: 999px; background: rgba(20, 9, 12, 0.82); color: var(--ivory);
  font-size: var(--step--1); font-weight: 600; cursor: pointer;
}
.clip-toggle:hover { background: var(--ink); }
.clip-toggle svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.clip-toggle .i-pause, .is-playing .clip-toggle .i-play { display: none; }
.is-playing .clip-toggle .i-pause { display: block; }
html:not(.js) .clip-toggle, html:not(.js) .clip-sound { display: none; }
.clip-sound {
  position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 2;
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 50%; background: rgba(20, 9, 12, 0.82); color: var(--ivory); cursor: pointer;
  transition: background-color 0.18s, color 0.18s, transform 0.18s var(--ease);
}
.clip-sound:hover { background: var(--ink); }
.clip-sound:active { transform: scale(0.94); }
.clip-sound svg { width: 1.25rem; height: 1rem; fill: currentColor; }
.clip-sound .i-sound-on, .is-loud .clip-sound .i-sound-off { display: none; }
.is-loud .clip-sound .i-sound-on { display: block; }
.is-loud .clip-sound { background: var(--ivory); color: var(--ink); }
.clip figcaption { font-size: var(--step--1); line-height: 1.3; }
.clip figcaption b { display: block; font-weight: 600; }
.strip-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }

/* ---------- music ---------- */
.music { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.music-list { font-size: clamp(3.4rem, 15vw, 11.5rem); line-height: 0.86; }
.music-list li:nth-child(2) { padding-left: 0.9em; }
.music-list li:nth-child(3) { padding-left: 0.35em; }
.music-list li:nth-child(4) { font-style: italic; font-weight: 500; letter-spacing: -0.03em; color: var(--cherry-soft); }
.music-side { display: grid; gap: 1.5rem; align-content: start; }
.music-photos { display: grid; grid-template-columns: 3fr 2fr; gap: 0.75rem; align-items: end; }
.music-photos img { width: 100%; object-fit: cover; }
.music-photos img:first-child { aspect-ratio: 4 / 5; }
.music-photos img:last-child { aspect-ratio: 1; }
@media (min-width: 60rem) { .music { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; } }

/* ---------- event rows ---------- */
.rows { border-top: 2px solid currentColor; }
.row { display: grid; gap: 1rem 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); align-items: center; }
.row-title { font-size: var(--step-2); }
.row-title a { text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.row-thumb { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.row-meta { display: grid; gap: 0.6rem; }
.row-action { display: grid; gap: 0.6rem; justify-items: start; }
@media (min-width: 46rem) {
  .row { grid-template-columns: 13rem minmax(0, 1fr) auto; }
  .row-with-thumb { grid-template-columns: 9rem 13rem minmax(0, 1fr) auto; }
  .row-action { justify-items: end; text-align: right; }
}
@media (max-width: 45.99rem) {
  .row-with-thumb { grid-template-columns: 6.5rem 1fr; }
  .row-with-thumb .row-thumb { grid-row: span 2; align-self: start; }
  .row-with-thumb .row-action { grid-column: 1 / -1; }
  .row-action .btn { width: 100%; }
}
.past-list .row { grid-template-columns: 1fr; }
@media (min-width: 46rem) { .past-list .row { grid-template-columns: 11rem minmax(0, 1fr) auto; } }
.past-date { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid currentColor; }
.faq details { border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; min-height: 3.5rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-variation-settings: "opsz" 48; font-size: var(--step-1); line-height: 1.15; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-weight: 400; font-size: 1.6rem; line-height: 1; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.4rem; max-width: var(--measure); }
.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 54rem) { .split { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); } }

/* ---------- contact ---------- */
.contact-list { display: grid; border-top: 2px solid currentColor; }
.contact-list li { border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.contact-list a { display: grid; gap: 0.15rem; padding: 1.1rem 0; text-decoration: none; }
.contact-list a:hover .contact-value { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-kind { font-size: var(--step--1); font-weight: 600; }
.contact-value { font-family: var(--display); font-weight: 700; font-variation-settings: "opsz" 72; font-size: var(--step-2); line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: anywhere; }

/* ---------- closing band ---------- */
.closing { text-align: left; overflow: hidden; }
.closing-inner { display: grid; gap: 2rem; }
.closing .h-page { font-size: clamp(3rem, 11vw, 9rem); }
.closing .dateblock-day { color: inherit; }
@media (min-width: 54rem) { .closing-inner { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); }
.page-head .lede { margin-top: 1.5rem; }
.crumb { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; margin-bottom: 0.5rem; }
.has-flag .site-header { top: 2.6rem; }
.preview-flag { min-height: 2.6rem; display: grid; place-items: center; line-height: 1.2; background: var(--gold); color: var(--ink); padding: 0.3rem var(--gutter); font-size: var(--step--1); font-weight: 600; text-align: center; }

/* ---------- moments ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 2px solid currentColor; border-radius: 999px; text-decoration: none; font-weight: 600; }
.jump a:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.edition { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--ink-line); }
.edition-head { display: grid; gap: 0.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.edition-head .when { font-weight: 600; color: var(--cherry-soft); }
.grid-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.4rem, 1vw, 0.75rem); grid-auto-flow: dense; }
@media (min-width: 46rem) { .grid-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shot { position: relative; padding: 0; border: 0; background: var(--ink-raised); cursor: zoom-in; overflow: hidden; aspect-ratio: 1; display: block; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot-tall { grid-row: span 2; aspect-ratio: auto; }
.shot-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.shot-wide img { object-position: 50% 35%; }
.sub { margin: clamp(2rem, 4vw, 3rem) 0 1rem; font-weight: 600; }
.empty { padding: 1.5rem; border: 1px dashed var(--ink-line); max-width: var(--measure); }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 5, 7, 0.96); color: var(--ivory); }
.lightbox::backdrop { background: rgba(12, 5, 7, 0.96); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); gap: 0.75rem; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lightbox-cap { font-size: var(--step--1); max-width: 40rem; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(3rem, 7vw, 6rem) 0 0; border-top: 1px solid var(--ink-line); overflow: hidden; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h2 { font-size: var(--step--1); font-weight: 600; margin-bottom: 0.5rem; color: var(--ivory-muted); }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-note { margin-top: 2.5rem; font-size: var(--step--1); color: var(--ivory-muted); max-width: 44rem; }

/* ---------- mobile booking bar ---------- */
.bookbar {
  position: fixed; inset: auto 0 0 0; z-index: 25;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.6rem max(var(--gutter), env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-right));
  background: var(--ivory); color: var(--ink); border-top: 1px solid var(--ivory-deep);
  transform: translateY(105%); visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s 0.3s;
}
.bookbar.is-shown { transform: none; visibility: visible; transition-delay: 0s; }
.bookbar .btn { min-height: 2.9rem; padding: 0.55rem 1.3rem; white-space: nowrap; }
.bookbar .dateblock-day { color: var(--cherry); }
.bookbar-title { font-weight: 600; }
@media (min-width: 54rem) { .bookbar { display: none; } }
html:not(.js) .bookbar { display: none; }
.is-ended .bookbar { display: none; }

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