/* Layout for the relaunch. Shared colors, typography and components load first. */
:root {
  --header-logo-width: clamp(5.25rem, 9vw, 7rem);
  --header-height: max(44px, calc(var(--header-logo-width) * 179 / 280));
  --header-compact-logo-width: calc(var(--header-logo-width) * .75);
  --header-compact-padding: calc(var(--promo-gap) / 4);
  --header-compact-height: calc(max(44px, var(--header-compact-logo-width) * 179 / 280) + 2 * var(--header-compact-padding));
  --header-max-height: max(var(--header-height), var(--header-compact-height));
  --header-top: env(safe-area-inset-top, 0px);
  --floating-size: 48px;
  --floating-offset: 24px;
  --floating-bottom: calc(var(--floating-offset) + env(safe-area-inset-bottom, 0px));
  --floating-clearance: calc(var(--floating-bottom) + var(--floating-size) + .5rem);
  scroll-padding-block: calc(var(--header-top) + var(--header-max-height) + .5rem) var(--floating-clearance);
}

@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}

.site {
  --site-padding: var(--promo-page-padding);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-block-start: max(var(--site-padding), var(--header-top));
  padding-inline: max(var(--site-padding), env(safe-area-inset-left, 0px))
                  max(var(--site-padding), env(safe-area-inset-right, 0px));
  line-height: 1.65;
}

.site:has(.theme-button:not([hidden])) {
  padding-block-end: var(--floating-clearance);
}

.site-wrap {
  width: min(var(--promo-max), 100%);
  margin-inline: auto;
  min-width: 0;
}

main.site-wrap {
  flex: 1;
}

.skip-link {
  position: fixed;
  inset: var(--header-top) auto auto max(var(--site-padding), env(safe-area-inset-left, 0px));
  z-index: 20;
  clip-path: inset(50%);
  padding: .65rem 1rem;
  background: var(--bg);
}

.skip-link:focus {
  clip-path: none;
}

.site-header {
  position: sticky;
  top: var(--header-top);
  z-index: 12;
  /* Keep the expanded header's space when the visible bar shrinks. */
  min-block-size: var(--header-height);
  margin-bottom: var(--promo-gap);
  pointer-events: none;
}

.site-header.is-compact {
  /* Keep the content in place when the padded bar is taller. */
  margin-bottom: calc(var(--promo-gap) + var(--header-height) - var(--header-max-height));
}

.site-header-bar {
  position: relative;
  display: grid;
  grid-template-columns: var(--header-logo-width) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-block-size: var(--header-height);
  pointer-events: auto;
}

.site-header.is-compact .site-header-bar {
  min-block-size: var(--header-compact-height);
  padding-block: var(--header-compact-padding);
  padding-inline: calc(var(--promo-gap) / 2);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  border-radius: 0 0 var(--control-radius) var(--control-radius);
  box-shadow: 0 1px var(--border);
}

.site-header.is-compact .site-logo {
  width: var(--header-compact-logo-width);
}

.site-logo {
  display: block;
  width: var(--header-logo-width);
  max-width: 100%;
}

.site-logo img {
  display: block;
  width: 100%;
}

.nav-toggle {
  min-height: 44px;
  padding: .5em .8em;
  line-height: 1.3;
}

.nav-toggle {
  border: 1px solid var(--border);
  border-radius: var(--pill-radius);
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
}

.scroll-marker {
  position: absolute;
  inset: 0 auto auto 0;
  inline-size: 1px;
  max-block-size: 100%;
  pointer-events: none;
}

[data-header-threshold] { block-size: max(var(--site-padding), var(--header-top)); }
[data-back-to-top-threshold] { block-size: 28rem; }

.floating-button {
  position: fixed;
  bottom: var(--floating-bottom);
  z-index: 10;
  display: grid;
  place-items: center;
  inline-size: var(--floating-size);
  block-size: var(--floating-size);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
}

.floating-button:is(:hover, :active) {
  background: var(--bg-alt);
  border-color: var(--text);
}

.floating-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-button {
  left: calc(var(--floating-offset) + env(safe-area-inset-left, 0px));
}

[data-theme="dark"] .theme-sun,
:root:not([data-theme="dark"]) .theme-moon {
  display: none;
}

.back-to-top {
  right: calc(var(--floating-offset) + env(safe-area-inset-right, 0px));
}

.site-nav ul,
.gig-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45em .85em;
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-nav a:not(.ss-promo-button) {
  color: var(--text);
}

.site-nav a:is(:hover, [aria-current="page"]),
.site-footer [aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .26em;
}

.home-hero {
  /* Fixed surfaces from the existing light/dark palette. */
  --hero-paper: #fbfaf2;
  --hero-ink: #1a1a1a;
  --hero-gutter: clamp(1rem, 5vw, 4rem);
  --text: var(--hero-paper);
  --bg: var(--hero-ink);
  --bg-alt: var(--hero-ink);
  --border: color-mix(in srgb, var(--text) 55%, transparent);
  background: var(--bg);
  color: var(--text);
}

:is(.hero-contrast, .show-section) {
  position: relative;
  isolation: isolate;
}

/* Paint the paper texture between the surface color and the section contents. */
:is(.hero-contrast, .show-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../images/textures/background.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;
}

.hero-copy {
  container-type: inline-size;
}

.hero-masthead .ss-promo-eyebrow {
  margin: 0;
  color: inherit;
}

.hero-copy .ss-promo-title {
  font-size: inherit;
  font-weight: var(--font-weight-heading);
  font-synthesis: none;
  line-height: .96;
}

.hero-pair,
.hero-finale {
  display: block;
}

.hero-phrase {
  display: inline-block;
}

.hero-article {
  font-size: .45em;
  letter-spacing: -.02em;
}

.hero-details .ss-promo-subtitle {
  margin: 0;
  color: var(--text);
}

.hero-details .ss-promo-actions {
  margin-block-start: 0;
}

.hero-dark {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-block-size: var(--promo-min-height);
  padding: clamp(2rem, 5vw, 4rem) var(--hero-gutter);
}

.hero-image,
.hero-image::after {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -1;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-image::after {
  content: "";
  background:
    linear-gradient(90deg, var(--hero-ink) 4%, rgb(26 26 26 / 84%) 38%, rgb(26 26 26 / 18%) 100%),
    linear-gradient(0deg, var(--hero-ink) 0%, transparent 65%);
}

.hero-dark .hero-masthead {
  margin-block-end: 1.4rem;
}

.hero-dark .hero-pair {
  font-size: clamp(1.45rem, 5.9cqi, 3.5rem);
}

.hero-dark .hero-finale {
  margin-block-start: .14em;
  font-size: clamp(2.35rem, 10.8cqi, 6.5rem);
}

.hero-dark .hero-details {
  display: grid;
  gap: 1.5rem;
  margin-block-start: 1.25rem;
}

.hero-contrast {
  --text: var(--hero-ink);
  --bg: var(--hero-paper);
  --bg-alt: #f2f6fc;
  display: grid;
  grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  align-items: center;
}

.hero-contrast::before {
  /* Fade out before the portrait, which already blends with the paper. */
  grid-area: 1 / 1 / 2 / 2;
  mask-image: linear-gradient(to left, transparent, black 4rem);
}

.hero-contrast .hero-copy {
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2rem, 5vw, 4.5rem) var(--hero-gutter);
}

.hero-contrast .ss-promo-title {
  font-size: clamp(1.75rem, 13.6cqi, 5rem);
  line-height: .9;
  letter-spacing: -.03em;
  word-spacing: .055em;
}

.hero-contrast .hero-phrase {
  display: block;
}

.hero-contrast .hero-finale {
  color: var(--accent-dark);
}

.hero-contrast .hero-details {
  display: grid;
  gap: clamp(.75rem, 2vw, 1.25rem);
  margin-block-start: clamp(1rem, 3vw, 2rem);
}

.hero-contrast .hero-portrait {
  display: block;
  align-self: end;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.site-section {
  margin-block-start: clamp(2.5rem, 7vw, 5.5rem);
  scroll-margin-top: 1.25rem;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--promo-gap);
}

.section-panel {
  min-height: 0;
}

.hero-contrast,
.band-section,
.show-section,
.booking-masthead,
.booking-contact,
.site-wrap > header.page-intro.section-panel,
.site-wrap > article.page-intro.section-panel:has(:where(#impressum-kontakt, #privacy-controller)) {
  border-radius: clamp(24px, calc(24px + (100vw - 640px) * .04), 48px);
}

.hero-contrast,
.show-section {
  overflow: clip;
}

.site-section h2 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-line-height);
  text-wrap: balance;
  padding: 0;
  margin: 0 0 1rem;
}

.page-intro h1,
.booking-intro h1 {
  font-size: var(--page-title-size);
  font-weight: var(--font-weight-heading);
  line-height: 1.04;
  letter-spacing: var(--tracking-h2);
  text-wrap: balance;
}

.sse-list-copy .gig-title,
.media-card-caption h3,
.site-section .gig-description h2 {
  font-size: var(--subheading-size);
  font-weight: var(--subheading-weight);
  line-height: var(--subheading-line-height);
  letter-spacing: var(--tracking-h3-h4);
}

.section-copy p {
  max-width: 50ch;
}

.site-lead,
.booking-statement {
  font-size: var(--lead-size);
  line-height: var(--lead-line-height);
  font-weight: 700;
}

.band-section {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding: clamp(1.25rem, 4vw, 3.25rem);
  background: var(--bg-dark);
  color: var(--text-negativ);
}

[data-theme="dark"] .band-section {
  background: var(--bg-alt);
  color: var(--text);
}

/* Firefox can show the shared focus ring on these native fragment destinations. */
:is(#band, #show, #media)[tabindex="-1"]:focus {
  outline: none;
  box-shadow: none;
}

.band-section h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: .94;
  word-spacing: .055em;
}

.band-section p {
  margin-block: .85rem 0;
}

.band-section .band-statement {
  margin-block: 1rem 1.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.band-section .band-signoff {
  margin-block-start: 1.5rem;
  padding-inline-start: .75rem;
  border-inline-start: 3px solid var(--accent);
  font-weight: 700;
  line-height: 1.4;
}

.band-section .band-history-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: .875rem;
}

.band-photo {
  margin: 0;
}

.band-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.band-photo figcaption {
  margin-block-start: .5rem;
  font-size: .8rem;
}

.show-section {
  --show-gutter: clamp(1.25rem, 4vw, 3.25rem);
  --show-visual-ratio: 3.25 / 1;
  container-type: inline-size;
  background: var(--bg);
  border-block-start: 4px solid var(--accent);
  overflow-wrap: anywhere;
}

[data-theme="dark"] .show-section {
  background: var(--bg-dark);
  color: var(--text-negativ);
}

.show-intro,
.show-details {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3.5vw, 2.75rem) var(--show-gutter);
}

.show-section h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.25rem, 9.4cqi, 6.5rem);
  line-height: .9;
  letter-spacing: -.05em;
  word-spacing: .06em;
}

.show-section h2 span {
  color: var(--accent-dark);
}

.show-statement,
.show-signoff {
  margin: 0;
  font-size: clamp(1.1rem, 2.45cqi, 1.7rem);
  font-weight: var(--font-weight-heading);
  line-height: 1.08;
  letter-spacing: -.025em;
  word-spacing: .035em;
}

.show-statement span {
  display: block;
}

.show-visual {
  background: var(--bg-alt);
  color: var(--text);
}

.show-placeholder,
.show-visual img {
  inline-size: 100%;
  aspect-ratio: var(--show-visual-ratio);
}

.show-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  gap: .25rem;
  padding: 1.25rem;
  border-block: 1px solid var(--border);
  text-align: center;
  line-height: 1.25;
}

.show-placeholder::before,
.show-placeholder::after {
  content: "";
  position: absolute;
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.show-placeholder::before {
  inset: 1rem auto auto var(--show-gutter);
  border-block-start: 2px solid;
  border-inline-start: 2px solid;
}

.show-placeholder::after {
  inset: auto var(--show-gutter) 1rem auto;
  border-block-end: 2px solid;
  border-inline-end: 2px solid;
}

.show-placeholder strong {
  font-size: 1.1rem;
  font-weight: var(--font-weight-heading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.show-placeholder span {
  font-size: .875rem;
}

.show-visual img {
  display: block;
  object-fit: cover;
}

.show-copy {
  max-inline-size: 56ch;
  font-size: clamp(1rem, 1.65cqi, 1.125rem);
  line-height: 1.55;
}

.show-copy p {
  margin-block: 0 .8em;
}

.show-signoff {
  justify-self: start;
  border-block-start: 3px solid var(--accent);
  padding-block-start: .65em;
}

.media-section h2 {
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.05em;
}

.media-section h2 span,
.media-number {
  color: var(--accent-dark);
}

[data-theme="dark"] .media-section h2 span {
  color: var(--accent);
}

[data-theme="dark"] .media-number {
  color: var(--text);
}

.media-subline {
  margin: .8rem 0 .35rem;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: var(--font-weight-heading);
  line-height: 1.15;
}

#media-note {
  margin-block: clamp(1rem, 3vw, 1.75rem) 0;
  font-size: .875rem;
  text-wrap: balance;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.875rem, 2.5vw, 1.5rem);
}

.media-card {
  align-self: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
}

.media-stage {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 16 / 9;
  border-start-start-radius: calc(var(--card-radius) - 1px);
  border-start-end-radius: calc(var(--card-radius) - 1px);
  background: var(--bg-alt);
}

.media-preview,
.media-preview img,
.media-stage iframe {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  border-radius: inherit;
}

.media-preview {
  display: grid;
  place-items: center;
  background-image: repeating-radial-gradient(circle at center,
    var(--border) 0 1px, transparent 1px .55rem);
}

.media-preview img {
  object-fit: cover;
}

.media-play {
  position: relative;
  inline-size: clamp(3.5rem, 6vw, 4.5rem);
  aspect-ratio: 1;
  padding: 0;
}

.media-play svg {
  inline-size: 1.6rem;
}

.media-preview-label {
  position: absolute;
  inset: auto auto .65rem .65rem;
  padding: .2rem .45rem;
  background: var(--bg-alt);
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.media-card-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: .45rem .75rem;
  padding: .85rem 1rem;
  border-block-start: 1px solid var(--border);
}

.media-card-caption h3 {
  margin: 0;
  padding: 0;
}

.media-number {
  font-size: .75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.media-stop {
  grid-column: 2;
  justify-self: start;
  min-height: 44px;
  padding-inline: .85rem;
  font-size: .875rem;
}

/* YouTube requires a viewport at least 200px high, even on narrow screens. */
.media-stage:has(iframe) {
  min-block-size: 200px;
}

#media-consent {
  inline-size: min(30rem, calc(100% - 2rem));
  max-block-size: calc(100% - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-block-start: 4px solid var(--accent);
  border-radius: var(--card-radius);
}

#media-consent::backdrop {
  background: color-mix(in srgb, light-dark(var(--bg-dark), var(--bg-alt)) 78%, transparent);
}

#media-consent h3 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.1;
}

.media-consent-track {
  margin-block: .6rem 0;
  font-weight: 800;
}

#media-consent form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.booking-masthead,
.booking-show,
.booking-contact {
  --booking-gutter: clamp(1.25rem, 4vw, 3.25rem);
  padding-inline: var(--booking-gutter);
}

.booking-masthead {
  /* Use the same ink and paper surfaces as the home hero. */
  --bg: #1a1a1a;
  --text: #fbfaf2;
  container-type: inline-size;
  padding-block: clamp(1.75rem, 5vw, 3.75rem);
  background: var(--bg);
  color: var(--text);
  border-block-start: 4px solid var(--accent);
}

.booking-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.25rem);
}

.booking-masthead .booking-headline {
  margin: 0;
}

.booking-masthead h2 {
  font-size: clamp(2.1rem, 5.9cqi, 4rem);
  line-height: .94;
  letter-spacing: -.025em;
  word-spacing: .05em;
}

.booking-intro h1 {
  font-size: min(var(--page-title-size), max(1.8rem, 10cqi));
}

.booking-headline span {
  color: var(--accent);
}

.booking-intro .ss-promo-eyebrow {
  margin: 0 0 1.25rem;
  color: var(--text);
}

.booking-masthead p {
  max-inline-size: 52ch;
  margin-block: 0 .75rem;
}

.booking-statement {
  font-weight: var(--subheading-weight);
  text-wrap: balance;
}

.booking-masthead .ss-promo-button {
  margin-block-start: .5rem;
  text-align: center;
}

.booking-intro-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .75rem 2rem;
  margin-block-start: clamp(1.25rem, 4vw, 2.5rem);
  padding-block-start: 1.25rem;
  border-block-start: 1px solid color-mix(in srgb, var(--text) 30%, transparent);
}

.booking-intro-details p:last-child {
  margin-block-end: 0;
}

.booking-show,
.booking-contact {
  margin-block-start: clamp(1.75rem, 4vw, 3.5rem);
}

.booking-show {
  padding-block: clamp(1.25rem, 3vw, 2rem);
  border-block: 1px solid var(--border);
}

.booking-show h2,
.booking-show p {
  margin: 0;
}

.booking-contact {
  padding-block: var(--booking-gutter);
  background: var(--bg);
  border-block-start: 4px solid var(--accent);
}

.booking-contact .ss-promo-eyebrow {
  margin: 0 0 .6rem;
}

.booking-channels {
  margin-block-start: 1.25rem;
  border-block-start: 1px solid var(--border);
  font-style: normal;
}

.booking-channels a {
  display: grid;
  padding-block: .6rem;
  border-block-end: 1px solid var(--border);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.booking-channels span {
  color: var(--text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.booking-channels strong {
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-decoration: underline;
}

.booking-placeholder,
.booking-portrait img {
  inline-size: 100%;
  aspect-ratio: 1;
}

.booking-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--child-bg-alt);
  text-align: center;
}

.booking-placeholder::before,
.booking-placeholder::after {
  content: "";
  position: absolute;
  inline-size: 1.5rem;
  block-size: 1.5rem;
}

.booking-placeholder::before {
  inset: 1rem auto auto 1rem;
  border-block-start: 2px solid var(--accent);
  border-inline-start: 2px solid var(--accent);
}

.booking-placeholder::after {
  inset: auto 1rem 1rem auto;
  border-block-end: 2px solid var(--accent);
  border-inline-end: 2px solid var(--accent);
}

.booking-placeholder strong {
  font-weight: var(--font-weight-heading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.booking-placeholder span {
  font-size: .875rem;
}

.booking-portrait img {
  display: block;
  object-fit: cover;
}

.site-section p:last-child,
.page-intro p:last-child {
  margin-bottom: 0;
}

.site-section .sse-empty-state {
  margin-block: 0;
}

.gig-list .gig-card {
  position: relative;
  grid-template-columns: minmax(7em, auto) minmax(0, 1fr);
  align-items: start;
  color: var(--sse-text);
  overflow-wrap: anywhere;
}

.gig-card:is(:hover, :focus-within) {
  border-color: var(--sse-accent);
}

.sse-list-copy .gig-title {
  margin-block-end: .25rem;
  color: var(--sse-text);
}

.gig-card .gig-title a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.gig-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--card-radius);
}

.gig-title a:focus-visible {
  outline: none;
  box-shadow: none;
}

.gig-title a:focus-visible::after {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.gig-show-time {
  display: block;
  font-size: .875rem;
}

.gig-status {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  padding-block: .375rem;
}

.gig-status .sse-status-pill {
  min-height: 0;
  padding: .15rem .65rem;
  font-size: .875rem;
}

.gig-archive-year + .gig-archive-year {
  margin-top: 1.5rem;
}

.history-intro {
  background: var(--bg-alt);
}

.history-archive {
  container-type: inline-size;
  margin-block-start: clamp(2rem, 5vw, 4rem);
}

.history-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: .75rem 1.5rem;
  margin-block: 1.5rem 1rem;
}

.history-filter {
  min-inline-size: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.history-filter legend {
  padding: 0;
  margin-block-end: .4rem;
  font-size: .875rem;
  font-weight: 700;
}

.history-options {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.history-options label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-block-size: 44px;
  padding: .4rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--pill-radius);
  font-size: .875rem;
  cursor: pointer;
}

.history-options input {
  margin: 0;
  accent-color: var(--text);
}

.history-options label:has(input:checked) {
  border-color: var(--text);
  background: var(--bg-alt);
  font-weight: 700;
}

.history-count {
  margin: 0;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.history-year:not([hidden]) {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .75rem clamp(1rem, 3vw, 2.5rem);
  padding-block: 1rem 1.5rem;
  border-block-start: 1px solid var(--border);
}

.gig-archive-year h3,
.history-year h2 {
  padding: 0;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: var(--subheading-weight);
  line-height: var(--subheading-line-height);
  font-variant-numeric: tabular-nums;
}

.history-year h2 {
  margin: 0;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-inline-start: 1px solid var(--border);
}

.history-row:not([hidden]) {
  position: relative;
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr) minmax(0, 12rem);
  align-items: start;
  gap: .25rem 1.25rem;
  padding: 1rem 0 1rem 1.25rem;
}

.history-row + .history-row {
  border-block-start: 1px solid var(--border);
}

.history-row::before {
  content: "";
  position: absolute;
  inset-block-start: 1.7rem;
  inset-inline-start: 0;
  inline-size: .4rem;
  block-size: .4rem;
  border-radius: 50%;
  background: var(--sse-text-soft);
  translate: -50% -50%;
}

.history-row.is-highlight::before {
  inline-size: .6rem;
  block-size: .6rem;
  border-radius: 0;
  background: var(--accent);
  rotate: 45deg;
}

.history-row p {
  margin: 0;
}

.history-date,
.history-place,
.history-meta {
  font-size: .875rem;
}

.history-date {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.history-event-title,
.history-band {
  font-weight: 700;
}

.history-place,
.history-status {
  color: var(--sse-text-soft);
}

.history-highlight {
  font-weight: 800;
}

@container (max-width: 44rem) {
  .history-year:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container (max-width: 36rem) {
  .history-row:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .65rem;
  }
}

.gig-detail {
  overflow-wrap: anywhere;
}

.gig-detail .section-panel {
  border-radius: var(--card-radius);
}

.gig-detail h1 {
  max-inline-size: 22ch;
}

.gig-detail .gig-status {
  margin-block-start: 1rem;
}

.gig-facts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .75rem;
  margin-block: 0;
  color: var(--sse-text);
}

.gig-facts dt {
  margin-block-end: .5rem;
  font-weight: 700;
}

.gig-facts dd {
  margin: 0;
}

.gig-facts dd + dd {
  margin-block-start: .25rem;
}

.gig-note {
  white-space: pre-line;
}

.gig-image {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.gig-description {
  max-width: 68ch;
}

.gig-description h2,
.gig-description h3 {
  margin: 1.25em 0 .5em;
  padding: 0;
}

.gig-description h3 {
  font-size: 1.125rem;
  font-weight: var(--subheading-weight);
  line-height: var(--subheading-line-height);
}

.gig-description > :last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 1.5rem;
  margin-top: clamp(2.5rem, 7vw, 5.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 61.25em) {
  .site-header:not(:has(.nav-toggle:not([hidden]))) {
    position: static;
  }

  .site-header-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
  }

  .site-logo {
    margin-inline-end: auto;
  }

  .site-nav {
    width: 100%;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: var(--control-radius);
    background: var(--bg);
  }

  .nav-toggle:not([hidden]) + .site-nav {
    position: absolute;
    inset: calc(100% + .4rem) 0 auto;
    max-block-size: calc(100dvh - max(var(--site-padding), var(--header-top)) - var(--header-max-height) - var(--floating-clearance) - .4rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav ul {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
  }

  .site-nav a {
    justify-content: flex-start;
    text-align: start;
  }

  .site-nav .ss-promo-button {
    justify-content: center;
    margin-top: .25rem;
  }
}

@media (max-width: 920px) {
  .section-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .band-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .booking-split,
  .booking-intro-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-intro-details .ss-promo-button {
    justify-self: start;
  }

  .booking-portrait {
    inline-size: min(100%, 24rem);
  }

  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .show-section {
    --show-visual-ratio: 16 / 9;
  }

  .show-intro,
  .show-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .show-section h2 {
    font-size: clamp(2.25rem, 14cqi, 6.5rem);
  }

  .show-statement,
  .show-signoff {
    font-size: clamp(1.1rem, 4.5cqi, 1.7rem);
  }

  .hero-contrast .ss-promo-actions {
    flex-direction: row;
    gap: .625rem;
  }

  .hero-contrast .ss-promo-actions a {
    width: auto;
    padding-inline: .875rem;
    font-size: .875rem;
  }

  .gig-list .gig-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site {
    --site-padding: var(--promo-page-padding-mobile);
  }

  .hero-dark {
    min-block-size: 0;
    padding-block-start: clamp(10rem, 42vw, 15rem);
  }

  .hero-image {
    inset-block-end: auto;
    block-size: clamp(18rem, 68vw, 25rem);
  }

  .hero-image img {
    object-position: 60% 40%;
  }

  .hero-image::after {
    background: linear-gradient(0deg, var(--hero-ink) 6%, rgb(26 26 26 / 82%) 38%, rgb(26 26 26 / 24%) 100%);
  }

  .hero-contrast {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-contrast::before {
    mask-image: linear-gradient(to top, transparent, black 2rem);
  }

  .hero-contrast .hero-copy {
    padding: 2rem var(--hero-gutter) .75rem;
  }

  .hero-contrast .ss-promo-actions a {
    flex: 1 1 auto;
  }

  .hero-contrast .hero-portrait {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 58%;
  }
}
