@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-italic.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --ink: #1f3028;
  --muted: #526057;
  --rule: #b8bfae;
  --accent: #762d40;
  --surface: #f3e7e0;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 500; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px; background: var(--ink); color: var(--paper); clip-path: inset(100%); z-index: 3; }
.skip-link:focus { clip-path: none; }
.page { width: calc(100% - 80px); max-width: 920px; margin: 54px auto 36px; }
.introduction { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.hero-copy { padding: 10px 0; }
h1 { margin: 0; color: var(--ink); font: 700 clamp(54px, 7vw, 76px)/1 var(--display); letter-spacing: -.045em; }
h1 span { display: block; padding-bottom: 7px; color: var(--accent); font-style: italic; line-height: 1.1; }
.intro-description { margin: 22px 0 0; font-size: 16px; font-weight: 600; line-height: 1.6; }
.tagline { margin: 20px 0 0; color: var(--accent); font: italic 600 23px/1.25 var(--display); }
.hero { margin: 0; min-width: 0; }
.gallery-wall { position: relative; aspect-ratio: 5 / 3; isolation: isolate; }
.wall-picture { --edge: 23px; --inset: 18px; position: absolute; display: block; left: var(--x); top: var(--y); width: var(--w); height: var(--h); transform: rotate(var(--tilt)); }
/* Photograph by cgordon8527: https://pixabay.com/photos/frame-ornate-gold-picture-2546793/
   Used within this composition under https://pixabay.com/service/license-summary/ */
.wall-picture::after, .member-portrait::after { content: ""; position: absolute; inset: 0; border: var(--edge) solid transparent; border-image: url("/assets/antique-gold-frame.webp") 180 stretch; filter: drop-shadow(0 3px 3px rgb(75 51 24 / .18)); pointer-events: none; }
.wall-picture img { position: absolute; inset: var(--inset); display: block; width: calc(100% - 2 * var(--inset)); height: calc(100% - 2 * var(--inset)); object-fit: cover; }
.group-photo { opacity: 0; transition: opacity 1.2s ease; }
.group-photo.is-current { opacity: 1; }
.wall-picture:focus-visible, .member-portrait:focus-visible { z-index: 2; }
.hero-caption { padding-top: 14px; }
.wall-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.art-credit { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; }
.art-credit a { text-decoration-thickness: 1px; }

.shows, .members { margin-top: 44px; scroll-margin-top: 24px; }
h2 { margin: 0 0 16px; font: 700 13px/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.show-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.show { border-bottom: 1px solid var(--rule); }
.show-link { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; width: 100%; padding: 20px 12px; color: var(--ink); text-align: left; text-decoration: none; transition: background-color .15s ease; }
.show-link:hover { background: var(--surface); }
.show-link:active { background: #e9dad1; }
.show-date { font: 700 31px/1.2 var(--display); letter-spacing: -.02em; }
.show-details { font-size: 15px; font-weight: 600; line-height: 1.6; }
.show-details #ticket-status { color: var(--muted); white-space: nowrap; }
.show-arrow { color: var(--accent); font-size: 23px; }
.member-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 22px 4px 8px; padding: 0; }
.member-name { display: block; margin-top: 18px; font: 600 24px/1.4 var(--display); text-align: center; }
.member-portrait { --edge: 20px; --inset: 16px; position: relative; display: block; aspect-ratio: 3 / 4; transform: rotate(var(--tilt)); }
/* Crop and zoom only the preview; each frame links to the unchanged original JPEG. */
.portrait-window { position: absolute; inset: var(--inset); overflow: hidden; }
.portrait-window img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--portrait-focus); transform: scale(var(--portrait-zoom)); transform-origin: 50% 15%; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--rule); }
.booking-note { margin: 0; font-size: 15px; line-height: 1.6; }
.booking-note a { color: var(--accent); font-weight: 700; }
.team-links { flex-shrink: 0; }
.team-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 4px; background: var(--accent); color: var(--paper); font-size: 14px; font-weight: 700; text-decoration: none; }
.team-links a:hover { text-decoration: underline; }

body:has(.promo-dialog[open]) { overflow: hidden; }
.promo-dialog { width: calc(100% - 40px); max-width: 860px; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); }
.promo-dialog::backdrop { background: rgb(16 47 34 / .65); }
.promo-header { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.promo-title { margin: 0; font: 700 36px/1.15 var(--display); letter-spacing: -.035em; text-transform: none; }
.promo-header p { margin: 9px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.close-promo { min-height: 44px; padding: 8px 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 14px var(--body); cursor: pointer; }
.close-promo:hover { background: var(--surface); }
.promo-content { padding: 24px 28px 28px; }
.kit-download { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 44px; padding: 14px 18px; background: var(--accent); color: var(--paper); border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; }
.kit-download:hover { text-decoration: underline; }
.kit-details { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.team-photos { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.photo-credit { margin: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; margin-top: 20px; }
.team-photo { min-width: 0; margin: 0; }
.photo-preview { display: block; aspect-ratio: 3 / 2; background: #151918; }
.photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-photo figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.team-photo figcaption span { margin-right: auto; }
.team-photo figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.more-photos { margin-top: 16px; }
.more-photos summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.photo-credit-download { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.promo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 26px; }
.promo-show { grid-column: 1 / -1; min-width: 0; }
.promo-show-title { margin: 0 0 16px; font: 700 26px/1.3 var(--display); }
.show-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-asset { min-width: 0; margin: 0; }
.asset-preview { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; padding: 12px; border: 1px solid var(--rule); background: #fff; }
.asset-preview-square { aspect-ratio: 1; }
.asset-preview-story { aspect-ratio: 9 / 16; }
.asset-preview-dark { background: var(--ink); }
.asset-preview img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.promo-asset figcaption { padding-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.promo-asset h3, .promo-asset h4, .promo-bio h3 { margin: 0 0 7px; font: 700 21px/1.3 var(--display); }
.asset-downloads, .bio-downloads { display: flex; flex-wrap: wrap; gap: 16px; }
.promo-asset figcaption a, .bio-downloads a { color: var(--ink); }
.promo-bio { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.promo-bio p { font-size: 15px; line-height: 1.7; }
.bio-downloads { font-size: 14px; font-weight: 700; line-height: 1.6; }
.promo-bio .kit-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }


@media (max-width: 760px) {
  .page { width: calc(100% - 48px); margin-top: 30px; }
  .introduction { gap: 24px; }
  .show-link { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 8px 12px; }
  .show-date { font-size: 28px; }
  .show-details { font-size: 14px; }
  .member-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 540px; margin: 22px auto 8px; }
}

@media (max-width: 600px) {
  .page { width: calc(100% - 40px); margin-top: 26px; }
  .introduction { display: block; }
  .hero-copy { padding: 0 0 26px; }
  h1 { font-size: 60px; }
  .intro-description { margin-top: 14px; font-size: 15px; }
  .intro-description br { display: none; }
  .tagline { margin-top: 12px; font-size: 21px; }
  .tagline br { display: none; }
  .wall-picture { --edge: 18px; --inset: 14px; }
  .member-portrait { --edge: 18px; --inset: 14px; }
  .art-credit { font-size: 10px; }
  .shows, .members { margin-top: 30px; }
  h2 { margin-bottom: 12px; }
  .show-link { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 8px; }
  .show-date { font-size: 29px; }
  .show-details { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .show-arrow { grid-column: 2; grid-row: 1; }
  .member-list { gap: 26px 20px; }
  .member-name { font-size: 23px; }
  footer { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 26px; padding-top: 22px; }
  .promo-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .promo-header { padding: 18px; gap: 14px; }
  .promo-title { font-size: 30px; }
  .promo-content { padding: 20px 18px; }
  .promo-gallery, .show-assets { grid-template-columns: 1fr; gap: 24px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}

@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  h1 { font-size: 54px; }
  .tagline { font-size: 19px; }
  .member-name { font-size: 20px; }
  .show-details { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .show-link { transition: none; }
  .group-photo { transition: none; }
}
