/* =============================================================================
   Queen's Artists: styles
   Colours and fonts are set once in :root below. Change them there.
   ============================================================================= */

:root {
  /* Queen's colours. White + red lead; blue and gold are accents only. */
  --red: #b90e31;
  --red-deep: #8e0a25;
  --blue: #002452;
  --gold: #fabd0f;

  --ink: #111111;
  --ink-2: #545454; /* secondary text, 7.5:1 on white */
  --line: #e4e2dd;
  --paper: #ffffff;
  --paper-2: #f5f3ef;

  --font-display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --header-h: 68px;

  color-scheme: light;
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Small uppercase labels used across the site */
.label,
.kicker {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.btn:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}
.btn--ghost {
  background: transparent;
  color: var(--red);
}
.btn--ghost:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue);
}
.btn--gold:hover {
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}
.btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}
.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.75rem;
}
.btn .arrow,
.text-link .arrow {
  font-size: 1.1em;
  line-height: 1;
}

.text-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.18s;
}
.text-link:hover {
  color: var(--red);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  background: var(--paper-2);
}
.tag--solid {
  background: var(--ink);
  color: #fff;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Crest slot. Any aspect ratio fits inside this box. */
.crest {
  width: 36px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 2.4vw, 32px);
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-list a[aria-current="page"] {
  color: var(--red);
}

.nav-list .nav-contact {
  margin-left: 4px;
  padding: 0 14px;
  min-height: 40px;
  border: 2px solid var(--red);
  color: var(--red);
  transition: background-color 0.18s, color 0.18s;
}
.nav-list .nav-contact::after {
  display: none;
}
.nav-list .nav-contact:hover {
  background: var(--red);
  color: #fff;
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }
  .brand-name {
    display: none;
  }
  .crest {
    width: 32px;
    height: 38px;
  }
  .header-inner {
    gap: 10px;
  }
  .nav-list {
    gap: 0;
  }
  .nav-list a {
    padding: 0 7px;
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
  }
  .nav-list a::after {
    left: 7px;
    right: 7px;
  }
  .nav-list .nav-contact {
    margin-left: 6px;
    padding: 0 10px;
    min-height: 36px;
  }
}

@media (max-width: 350px) {
  .nav-list .nav-contact {
    display: none;
  }
}

/* ---------- home hero ---------- */

.hero {
  padding-top: clamp(24px, 4.5vw, 64px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  color: var(--ink-2);
}

.wordmark {
  margin: clamp(18px, 3vw, 40px) 0 0;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
  /* Fills the width on phones; on wide screens it also scales with the
     window height so the mission line stays in view. */
  font-size: clamp(5rem, min(30.5vw, 33vh), 27rem);
  line-height: 0.88;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.wordmark span {
  display: block;
}
.wordmark span + span {
  text-align: right;
}

.hero-foot {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 64px);
}

.mission {
  max-width: 34ch;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* On phones, buttons that wrap fill the row so they line up. */
@media (max-width: 640px) {
  .hero-ctas .btn,
  .band-actions .btn {
    flex: 1 1 auto;
  }
}

@media (min-width: 820px) {
  .hero-foot {
    grid-template-columns: 1fr auto;
  }
}

/* Next show strip */
.next-show {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 18px calc(var(--gutter) + 44px) 20px var(--gutter);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.18s;
}
.next-show:hover {
  background: var(--red-deep);
}
.next-show:focus-visible {
  outline-color: var(--gold);
  outline-offset: -6px;
}
.next-label {
  padding: 6px 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.next-when,
.next-where {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.next-what {
  flex-basis: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.next-lineup {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: none;
  opacity: 0.88;
}
.next-where {
  display: none;
}
.next-arrow {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s;
}
.next-show:hover .next-arrow {
  transform: translate(4px, -50%);
}

@media (min-width: 900px) {
  .next-show {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 28px;
    padding: 22px var(--gutter);
  }
  .next-what {
    flex-basis: auto;
  }
  .next-lineup {
    display: inline;
    margin: 0 0 0 0.5em;
  }
  .next-where {
    display: block;
  }
  .next-arrow {
    position: static;
    transform: none;
  }
  .next-show:hover .next-arrow {
    transform: translateX(4px);
  }
}

/* ---------- inner page hero ---------- */

.page-hero {
  padding-top: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(28px, 4vw, 56px);
}

.page-hero .kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  color: var(--ink-2);
}

.page-title {
  margin-top: clamp(14px, 2.5vw, 32px);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 21vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.lede {
  max-width: 44ch;
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

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

.section {
  padding-block: clamp(56px, 8vw, 112px);
}
.section--tight {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3.5vw, 44px);
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}
.section-title .count {
  margin-left: 0.15em;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0.06em;
  vertical-align: top;
}

.empty {
  padding: 28px 0;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- events ---------- */

.event-list {
  border-top: 1px solid var(--line);
}

.event-month {
  margin-top: clamp(28px, 4vw, 44px);
  padding-bottom: 12px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-month:first-child {
  margin-top: 0;
}

.event {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px 18px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.event-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.event-dow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-day {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 0.82;
}
.event-mon {
  color: var(--ink-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-body {
  min-width: 0;
}
.event-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
}
.event-lineup {
  margin-top: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.event-lineup a {
  color: var(--red);
  text-decoration: none;
}
.event-lineup a:hover {
  text-decoration: underline;
}
.event-lineup .plus {
  color: var(--ink-2);
  font-weight: 400;
}
.event-meta {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.event-desc {
  max-width: 60ch;
  margin-top: 10px;
  font-size: 0.9375rem;
}

.event-side {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.event-price {
  font-size: 0.875rem;
  font-weight: 600;
}

.event--past .event-day,
.event--past .event-title {
  color: var(--ink-2);
}
.event--past .event-dow {
  color: var(--ink-2);
}
.event--past .event-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

@media (min-width: 760px) {
  .event {
    grid-template-columns: 120px 1fr auto;
    gap: 32px;
    padding-block: 30px;
  }
  .event-day {
    font-size: 4.75rem;
  }
  .event-side {
    grid-column: 3;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 170px;
  }
}

/* ---------- artists ---------- */

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(16px, 2.5vw, 32px);
}

/* Home page strip: swipe on phones, grid on larger screens */
.artist-strip {
  /* position: relative keeps absolutely positioned children (e.g. the
     screen-reader text in links) inside the scroller instead of widening
     the page on phones. */
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.artist-strip::-webkit-scrollbar {
  display: none;
}
.artist-strip > * {
  scroll-snap-align: start;
}
@media (min-width: 560px) {
  .artist-strip {
    grid-auto-columns: 44%;
  }
}
@media (min-width: 900px) {
  .artist-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

.artist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.artist-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  container-type: inline-size;
}
.artist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.artist-card:hover .artist-media img {
  transform: scale(1.03);
}

/* Typographic poster used when an artist has no photo yet */
.poster {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 7cqi;
  font-family: var(--font-display);
  text-transform: uppercase;
}
.poster-index {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  align-self: flex-end;
}
/* --len is the longest word in the name (set by main.js), so long names
   shrink to fit instead of breaking mid-word. */
.poster-name {
  font-size: min(23cqi, calc(165cqi / var(--len, 7)));
  font-weight: 900;
  line-height: 0.84;
  overflow-wrap: break-word;
}
.poster--red {
  background: var(--red);
  color: #fff;
}
.poster--paper {
  background: var(--paper-2);
  color: var(--red);
}
.poster--blue {
  background: var(--blue);
  color: #fff;
}

.artist-name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}
.artist-tagline {
  margin-top: 6px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.artist-bio {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}
.artist-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.artist-links a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Home strip: keep cards compact */
.artist-strip .artist-bio {
  display: none;
}

/* Artists page: roster index line */
.roster-line {
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.roster-line a {
  text-decoration: none;
  transition: color 0.18s;
}
.roster-line a:hover {
  color: var(--red);
}

/* Join-the-roster card */
.join-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  aspect-ratio: 4 / 5;
  padding: clamp(20px, 2.5vw, 28px);
  border: 2px dashed var(--red);
  color: var(--red);
}
.join-card h2,
.join-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}
.join-card p {
  color: var(--ink);
  font-size: 0.9375rem;
}

/* ---------- blue band (booking CTA) ---------- */

.band {
  padding-block: clamp(64px, 9vw, 128px);
  background: var(--blue);
  color: #fff;
}
.band :focus-visible {
  outline-color: var(--gold);
}
.band-inner {
  display: grid;
  gap: 28px;
}
.band .kicker {
  color: var(--gold);
}
.band-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.85;
  text-transform: uppercase;
}
.band-title em {
  color: var(--gold);
  font-style: normal;
}
.band p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
}
.band-email-wrap {
  margin-top: 20px;
}
.band-email {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}
.band-email:hover {
  color: var(--gold);
}
.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 900px) {
  .band-inner {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 48px;
  }
}

/* ---------- about ---------- */

.statement {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}
.statement em {
  color: var(--red);
  font-style: normal;
}

.split {
  display: grid;
  gap: 20px 48px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 2fr;
  }
}
.split > .kicker {
  color: var(--ink-2);
}

.prose {
  display: grid;
  gap: 1em;
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
}

.pillars {
  display: grid;
  gap: 0 clamp(20px, 3vw, 40px);
  padding: 0;
  list-style: none;
  counter-reset: pillar;
}
.pillar {
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  counter-increment: pillar;
}
.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  display: block;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 0.85;
}
.pillar h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}
.pillar p {
  margin-top: 10px;
  color: var(--ink-2);
}
@media (min-width: 820px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Team */
.leads {
  display: grid;
  gap: 40px clamp(16px, 2.5vw, 32px);
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .leads {
    grid-template-columns: repeat(3, 1fr);
  }
}
.lead-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--paper-2);
  container-type: inline-size;
}
@media (min-width: 700px) {
  .lead-photo {
    aspect-ratio: 1;
  }
}
.lead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-tile {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 6cqi;
  font-family: var(--font-display);
  font-size: 40cqi;
  font-weight: 900;
  line-height: 0.8;
}
.lead-tile--red {
  background: var(--red);
  color: #fff;
}
.lead-tile--blue {
  background: var(--blue);
  color: #fff;
}
.lead-tile--gold {
  background: var(--gold);
  color: var(--blue);
}
.lead-name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}
.lead-role {
  margin-top: 6px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.members-title {
  margin-top: clamp(48px, 6vw, 80px);
  margin-bottom: 14px;
  color: var(--ink-2);
}
.members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0 clamp(16px, 2.5vw, 32px);
  padding: 0;
  list-style: none;
}
.member {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.member-name {
  font-weight: 600;
}
.member-role {
  color: var(--ink-2);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.member .ph-tag {
  flex-basis: 100%;
  width: max-content;
  margin: 2px 0 0;
}

/* ---------- footer ---------- */

.site-footer {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: 28px;
  border-top: 2px solid var(--ink);
}

.footer-cta .kicker {
  color: var(--ink-2);
}

.footer-email {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.4vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.18s;
}
.footer-email:hover {
  color: var(--red-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand .crest {
  width: 56px;
  height: 68px;
}
.footer-brand p {
  max-width: 30ch;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.footer-brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.footer-col h2 {
  margin-bottom: 10px;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col ul {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--red);
}

.footer-legal {
  display: grid;
  gap: 8px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.45;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-legal {
    grid-template-columns: 1fr auto;
    gap: 24px;
  }
}

/* ---------- 404 ---------- */

.notfound {
  padding-block: clamp(48px, 10vw, 140px);
}
.notfound .page-title {
  font-size: clamp(7rem, 40vw, 30rem);
}

/* ---------- placeholder markers ----------
   Only visible while highlightPlaceholders is true in js/content.js. */

.ph-tag {
  display: none;
}
.ph-on .ph-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 6px 9px;
  background: var(--gold);
  border: 1px dashed var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.ph-on .ph-tag::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 2px, var(--gold) 2px 4px);
}
.ph-on .artist-media .ph-tag,
.ph-on .lead-photo .ph-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 56px);
  margin: 0;
}
.ph-on .ph-text {
  background: rgba(250, 189, 15, 0.35);
  box-shadow: 0 0 0 2px rgba(250, 189, 15, 0.35);
}
.ph-on a[data-placeholder] {
  outline: 2px dashed #c99300;
  outline-offset: 3px;
}
/* A card's tag already says what's missing, so don't outline its links too. */
.ph-on :is(.artist-card, .event, .lead, .member):has(.ph-tag) a[data-placeholder] {
  outline: none;
}
.ph-on .site-footer {
  padding-bottom: 88px;
}
.ph-flash {
  animation: ph-flash 1.4s ease-out;
}
@keyframes ph-flash {
  0%, 30% {
    box-shadow: 0 0 0 6px var(--gold);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.ph-pill {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.ph-pill:focus-visible {
  outline-color: var(--gold);
}
.ph-swatch {
  flex: none;
  width: 14px;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 3px, var(--ink) 3px 6px);
  border: 1px solid var(--gold);
}
.ph-next {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- motion preferences ---------- */

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