/* Spartanic Rockers — site styles
   Identity: the crew logo's black-and-white Spartan helmet, a chunky slanted wordmark,
   and Spartan crest red as the only accent. Black bands frame every page (header, home hero, footer);
   reading pages sit on near-white paper with a long-form serif. */

:root {
  --paper: #f6f6f3;
  --paper-2: #ebebe6;
  --ink: #000000;
  --muted: #57554f;
  --rule: #d6d4cc;
  --red: #c8102e;
  --red-ink: #a50d26;
  --band: #000000;
  --on-band: #ffffff;
  --on-band-muted: #bdbab2;
  --band-rule: #2c2c2a;
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141413; --paper-2: #1f1f1d; --ink: #f2f1ec; --muted: #a9a69d; --rule: #34332f;
    --red: #ff4d5e; --red-ink: #ff7380; --band: #000000; --on-band: #ffffff; --on-band-muted: #a9a69d; --band-rule: #2c2c2a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141413; --paper-2: #1f1f1d; --ink: #f2f1ec; --muted: #a9a69d; --rule: #34332f;
  --red: #ff4d5e; --red-ink: #ff7380; --band: #000000; --on-band: #ffffff; --on-band-muted: #a9a69d; --band-rule: #2c2c2a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--text);
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; }
a { color: var(--red-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 0; background: var(--on-band); color: var(--band); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* the helmet, recolorable through currentColor */
.mark {
  display: inline-block; flex: none;
  aspect-ratio: 65.8 / 53.9; height: 2.2rem;
  background: currentColor;
  -webkit-mask: url(/helmet.svg) center / contain no-repeat;
  mask: url(/helmet.svg) center / contain no-repeat;
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .6rem var(--gutter);
  background: var(--band); color: var(--on-band);
  border-bottom: 1px solid var(--band-rule);
  font-family: var(--ui);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--on-band); text-decoration: none; flex: none; }
.brand-name { font: 400 .92rem/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; transform: skewX(-8deg); }
.sections { display: flex; gap: .25rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.sections::-webkit-scrollbar { display: none; }
.sections a {
  color: var(--on-band); text-decoration: none; white-space: nowrap;
  font-weight: 650; font-stretch: 90%; font-size: 1rem;
  padding: .4rem .6rem;
}
.sections a:hover { color: var(--on-band-muted); }
.sections a[aria-current] { box-shadow: inset 0 -3px 0 var(--red); }
@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: .3rem; padding-bottom: 0; }
  .sections { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - .5rem); width: calc(100% + var(--gutter) * 2); }
  .sections a { padding: .55rem .5rem .65rem; font-size: .97rem; }
}

/* ---------- page frame ---------- */
.frame {
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter);
}
@media (min-width: 960px) {
  .frame { grid-template-columns: 14rem minmax(0, 1fr); gap: 3.5rem; }
  .frame.no-side { grid-template-columns: minmax(0, 1fr); }
}
.side { display: none; }
@media (min-width: 960px) {
  .side { display: block; position: sticky; top: 4.75rem; align-self: start; max-height: calc(100vh - 5.5rem); overflow-y: auto; padding: 2.5rem 0 2rem; font-family: var(--ui); }
}
.side-title { margin: 0 0 .9rem; font: 400 1.35rem/1 var(--display); }
.side-title a { color: var(--ink); text-decoration: none; }
.side ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.side li a { display: block; padding: .3rem .85rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .98rem; font-stretch: 92%; line-height: 1.3; }
.side li.child a { padding-left: 1.7rem; font-size: .92rem; }
.side li a:hover { color: var(--ink); }
.side li a[aria-current] { color: var(--ink); font-weight: 700; border-left-color: var(--red); }

.page { padding: 2rem 0 4rem; min-width: 0; }
.crumbs { font: 500 .9rem/1.4 var(--ui); font-stretch: 92%; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.page-head { max-width: var(--measure); margin-bottom: 2rem; }
h1, h2, h3, h4 { line-height: 1.1; text-wrap: balance; }
h1 { font: 400 clamp(2.2rem, 7.5vw, 4rem)/1.02 var(--display); margin: 0; letter-spacing: -.01em; }
.lede { font-size: 1.3rem; line-height: 1.5; color: var(--muted); margin: 1rem 0 0; }
.byline { font: 500 .95rem/1.4 var(--ui); font-stretch: 92%; color: var(--muted); margin: 1rem 0 0; }

/* ---------- prose ---------- */
.prose { max-width: var(--measure); }
.page.wide .prose { max-width: 56rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; hyphens: auto; }
.prose h2 { font: 400 clamp(1.5rem, 4.2vw, 2.05rem)/1.12 var(--display); margin: 2.8rem 0 0; padding-top: 1rem; border-top: 4px solid var(--ink); }
.prose h2 + * { margin-top: 1rem; }
.prose h3 { font: 750 1.3rem/1.2 var(--ui); font-stretch: 90%; margin: 2rem 0 0; }
.prose h3 + * { margin-top: .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 0; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--red); }
.prose strong { font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.prose .note {
  font: 450 1rem/1.55 var(--ui); font-stretch: 96%;
  background: var(--paper-2); border-left: 4px solid var(--ink); padding: .9rem 1.1rem;
}
.prose .note strong { font-weight: 750; }
.prose .note.warn { border-left-color: var(--red); }

/* interview questions */
.prose .q { font: 700 1.12rem/1.35 var(--ui); font-stretch: 90%; margin-top: 2.1rem; }
.prose .q::before { content: ""; display: block; width: 1.6rem; height: 3px; background: var(--red); margin-bottom: .55rem; }
.prose .q + p { margin-top: .6rem; }

/* quotes */
.prose blockquote { margin: 1.6rem 0; padding: 0 0 0 1.25rem; border-left: 4px solid var(--red); }
.prose blockquote p { font-size: 1.2rem; line-height: 1.5; font-style: italic; }
.prose blockquote footer { margin-top: .5rem; font: 650 .95rem/1.4 var(--ui); font-stretch: 92%; font-style: normal; color: var(--muted); }
.prose blockquote footer cite { font-style: normal; font-weight: 450; }
.prose .pull { font: 400 clamp(1.3rem, 3.6vw, 1.7rem)/1.3 var(--display); border: 0; padding: 0; margin: 2.2rem 0; }
.prose .pull strong { font-weight: 400; color: var(--red-ink); }

/* table of contents */
.toc { max-width: var(--measure); margin: 0 0 2.25rem; border: 1px solid var(--rule); background: var(--paper-2); font-family: var(--ui); font-stretch: 94%; }
.toc summary { cursor: pointer; padding: .7rem 1rem; font-weight: 750; font-size: 1rem; }
.toc ol { margin: 0; padding: 0 1rem 1rem 2.4rem; columns: 2 14rem; column-gap: 2rem; font-size: .98rem; line-height: 1.35; }
.toc li { break-inside: avoid; padding: .15rem 0; }
.toc li::marker { color: var(--red); font-variant-numeric: tabular-nums; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--red-ink); text-decoration: underline; }

/* pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: var(--measure); margin-top: 4rem; padding-top: 1.5rem; border-top: 4px solid var(--ink); font-family: var(--ui); }
.pager a { text-decoration: none; color: var(--ink); font: 400 1.05rem/1.25 var(--display); }
.pager a span { display: block; font: 500 .88rem/1.4 var(--ui); color: var(--muted); margin-bottom: .3rem; }
.pager a:hover { color: var(--red-ink); }
.pager .next { text-align: right; grid-column: 2; }

/* tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 0; border: 1px solid var(--rule); }
table { border-collapse: collapse; width: 100%; font: 450 .98rem/1.4 var(--ui); font-stretch: 96%; }
th, td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--paper-2); font-weight: 750; }
tbody tr:last-child td { border-bottom: 0; }
td.place { width: 3.4rem; font: 400 1rem/1.4 var(--display); color: var(--red-ink); font-variant-numeric: tabular-nums; }
caption { caption-side: bottom; text-align: left; padding: .6rem .8rem; color: var(--muted); font-size: .9rem; }

/* ---------- timeline ---------- */
.prose .timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.prose .timeline > li { margin: 0; display: grid; grid-template-columns: 4.9rem minmax(0, 1fr); gap: 0 1.25rem; padding: 0 0 1.6rem; position: relative; }
.prose .timeline > li::before { content: ""; position: absolute; left: calc(6.07rem - 1px); top: .55rem; bottom: -.2rem; width: 2px; background: var(--rule); }
.prose .timeline > li:last-child::before { display: none; }
.timeline .year { font: 400 1.3rem/1.15 var(--display); color: var(--red-ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline .event { padding-left: 1.25rem; position: relative; }
.timeline .event::before { content: ""; position: absolute; left: -.43rem; top: .5rem; width: .7rem; height: .7rem; background: var(--paper); border: 2px solid var(--ink); transform: rotate(45deg); }
.timeline .event p + p { margin-top: .7em; }
.timeline .key .event::before { background: var(--red); border-color: var(--red); }
@media (max-width: 520px) {
  .prose .timeline > li { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0 .9rem; }
  .prose .timeline > li::before { left: calc(4.42rem - 1px); }
  .timeline .year { font-size: 1rem; }
}

/* ---------- members ---------- */
.prose .roster { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.5rem; border-top: 1px solid var(--rule); }
.prose .roster li { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.roster .name { display: block; font: 400 1.45rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.roster .meta { display: block; margin-top: .4rem; font: 450 .95rem/1.4 var(--ui); font-stretch: 96%; color: var(--muted); }
.roster .since { color: var(--red-ink); font-weight: 700; }
.roster.memorial .name { color: var(--muted); }
.roster.memorial .name::after { content: " †"; }

/* ---------- dictionary ---------- */
.prose .glossary-tools { position: sticky; top: 3.6rem; z-index: 2; background: var(--paper); padding: .6rem 0; margin-top: 0; }
@media (max-width: 640px) { .prose .glossary-tools { top: 5.6rem; } }
.glossary-tools input {
  width: 100%; font: 500 1.05rem/1.2 var(--ui); padding: .75rem .9rem; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0;
}
.glossary-tools input:focus { outline: none; border-color: var(--red); }
.az { display: flex; flex-wrap: wrap; gap: .15rem .7rem; margin-top: .6rem; font: 400 1rem/1.4 var(--display); }
.az a { text-decoration: none; }
.glossary dt { font: 400 1.35rem/1.15 var(--display); margin-top: 2.2rem; scroll-margin-top: 9rem; }
.glossary dt .aka { display: block; margin-top: .3rem; font: 500 .95rem/1.3 var(--ui); color: var(--muted); }
.glossary dd { margin: .55rem 0 0; }
.glossary dd + dd { margin-top: .6rem; }
.glossary dd.sub { padding-left: 1rem; border-left: 2px solid var(--rule); }
.glossary dd.sub strong { font-family: var(--ui); font-weight: 750; font-stretch: 92%; }
.glossary .hidden { display: none; }
.no-results { color: var(--muted); font-style: italic; }

/* ---------- media ---------- */
.video { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; background: var(--band); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.prose .media-list { list-style: none; padding: 0; }
.prose .media-list li { padding: .85rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.media-list .t { font-family: var(--ui); font-weight: 750; font-stretch: 92%; }

/* ---------- section index ---------- */
.prose .index-list { list-style: none; padding: 0; margin-top: 2rem; border-top: 4px solid var(--ink); }
.prose .index-list li { margin: 0; border-bottom: 1px solid var(--rule); }
.index-list a { display: block; padding: 1.05rem 0; text-decoration: none; color: var(--ink); }
.index-list .t { display: block; font: 400 1.35rem/1.15 var(--display); }
.index-list .d { display: block; margin-top: .35rem; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.index-list a:hover .t { color: var(--red-ink); }
.prose .index-list .sub { padding-left: 1.25rem; }
.index-list .sub .t { font-size: 1.1rem; }

/* ---------- home ---------- */
.home { padding: 0 0 2rem; }
.hero { background: var(--band); color: var(--on-band); }
.hero-inner {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (min-width: 880px) { .hero-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* the logo lockup, rebuilt from the crew logo: helmet over a slanted two-line wordmark */
.lockup { display: grid; justify-items: center; width: min(100%, 26rem); margin: 0 auto; color: var(--on-band); }
.lockup .mark { height: auto; width: 82%; }
.lockup .word {
  margin-top: -1.2rem;
  display: grid; justify-items: center;
  background: var(--on-band); color: var(--band);
  padding: .55rem 1.1rem .7rem;
  font: 400 clamp(1.6rem, 6.4vw, 2.6rem)/.98 var(--display);
  text-transform: uppercase; letter-spacing: .005em;
  transform: rotate(-6deg) skewX(-10deg);
}
@media (prefers-reduced-motion: no-preference) {
  .lockup .word { animation: drop .7s cubic-bezier(.2, .9, .25, 1.2) .15s both; }
  @keyframes drop { from { transform: rotate(-16deg) skewX(-10deg) translateY(-1rem); } to { transform: rotate(-6deg) skewX(-10deg); } }
}

.hero h1 { font: 400 clamp(2.2rem, 6vw, 3.9rem)/1.04 var(--display); margin: 0; letter-spacing: -.01em; }
.hero p { max-width: 44ch; font-size: 1.2rem; line-height: 1.55; margin: 1.25rem 0 0; color: var(--on-band-muted); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.25rem clamp(1.25rem, 4vw, 2.75rem); margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--band-rule); }
.stats div { margin: 0; }
.stats dt { font: 600 .95rem/1.3 var(--ui); font-stretch: 92%; color: var(--on-band-muted); order: 2; }
.stats dd { margin: 0 0 .25rem; font: 400 clamp(1.7rem, 4.4vw, 2.9rem)/1 var(--display); color: var(--on-band); font-variant-numeric: tabular-nums; }
.stats dd::after { content: ""; display: block; width: 2rem; height: 4px; background: var(--red); margin-top: .5rem; }
.stats div { display: flex; flex-direction: column; }

.home-sections { max-width: 76rem; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; padding: 0 var(--gutter); }
.home-sections ol { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--ink); }
.home-sections li { border-bottom: 1px solid var(--rule); }
.home-sections a { display: grid; gap: .5rem 2.5rem; padding: 1.5rem 0; color: var(--ink); text-decoration: none; }
@media (min-width: 760px) { .home-sections a { grid-template-columns: 20rem minmax(0, 1fr); align-items: baseline; } }
.home-sections .t { font: 400 clamp(1.8rem, 4.6vw, 2.5rem)/1.05 var(--display); }
.home-sections .d { max-width: 60ch; color: var(--muted); }
.home-sections a:hover .t { color: var(--red-ink); }

.home-about { max-width: 76rem; margin: 3.5rem auto 0; padding: 0 var(--gutter); }
.home-about .inner { max-width: var(--measure); }
.home-about h2 { font: 400 clamp(1.5rem, 4.2vw, 2.05rem)/1.12 var(--display); margin: 0 0 .9rem; }
.home-about p + p { margin-top: 1em; }

/* ---------- footer ---------- */
.foot { background: var(--band); color: var(--on-band-muted); margin-top: 3rem; }
.foot-inner { max-width: 76rem; margin: 0 auto; padding: 2.25rem var(--gutter) 2.75rem; font: 450 .98rem/1.5 var(--ui); font-stretch: 96%; }
.foot-name { display: flex; align-items: center; gap: .7rem; margin: 0 0 .6rem; color: var(--on-band); font: 400 1.15rem/1 var(--display); text-transform: uppercase; }
.foot-name .mark { height: 2.4rem; }
.foot p { margin: 0; max-width: 60ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; }
.foot nav a { color: var(--on-band); font-weight: 650; }

@media print {
  .top, .side, .pager, .foot, .toc, .glossary-tools { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- buttons, album ---------- */
.button {
  display: inline-block; padding: .7rem 1.15rem; background: var(--red); color: #fff;
  font: 700 1rem/1.2 var(--ui); text-decoration: none; border-radius: 2px;
}
.button:hover { background: var(--red-ink); color: #fff; }
.spotify iframe { display: block; width: 100%; max-width: 100%; border: 0; border-radius: 12px; }
.album { max-width: 76rem; margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: 0 var(--gutter); }
.album-inner { display: grid; gap: 1.75rem; align-items: center; padding-top: 1.25rem; border-top: 4px solid var(--red); }
@media (min-width: 880px) { .album-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.album-text { min-width: 0; max-width: 34rem; }
.album h2 { font: 400 clamp(1.7rem, 4.6vw, 2.6rem)/1.08 var(--display); margin: 0; }
.album-sub { margin: .6rem 0 0; font: 650 1.1rem/1.4 var(--ui); color: var(--red-ink); }
.album-text p + p { margin-top: .9rem; }
.album-text > p:not(.album-sub) { color: var(--muted); }
.album-text .album-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.4rem; font-family: var(--ui); }

/* album card: takes its look from the cover (sleeve cream, label red, vinyl black) in both themes */
.album-card {
  display: grid; max-width: 30rem; width: 100%; justify-self: center;
  background: #efe8da; color: #141210; text-decoration: none;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 12px 30px -14px rgba(40, 20, 10, .45);
}
.album-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.album-card .ac-body { display: grid; gap: .3rem; padding: 1rem 1.25rem 1.3rem; border-top: 3px solid #9b1c1f; }
.album-card .ac-t { font: 400 1.4rem/1.1 var(--display); letter-spacing: .01em; }
.album-card .ac-s { font: 600 .98rem/1.3 var(--ui); color: #5a4f45; }
.album-card .ac-l { justify-self: start; margin-top: .7rem; font: 700 .95rem/1 var(--ui); color: #fff; background: #9b1c1f; padding: .6rem .95rem; border-radius: 2px; }
.album-card:hover .ac-t { color: #9b1c1f; }
.album-card:focus-visible { outline-offset: 4px; }

/* ---------- photos ---------- */
.prose figure.photo { margin: 1.6rem 0; }
.photo a { display: block; }
.photo img { display: block; width: 100%; height: auto; max-width: 100%; background: var(--paper-2); }
.photo figcaption { margin-top: .5rem; font: 500 .9rem/1.4 var(--ui); font-stretch: 94%; color: var(--muted); }
@media (min-width: 1100px) { .prose figure.photo.wide { margin-right: -6rem; } }
.timeline figure.photo { margin: .9rem 0 0; max-width: 30rem; }

.prose .gallery { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .5rem; }
.page.wide .gallery { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.prose .gallery li { margin: 0; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
@media (prefers-reduced-motion: no-preference) { .gallery a:hover img { transform: scale(1.04); } }
.gallery a:focus-visible { outline-offset: 2px; }

.lightbox { width: min(100vw, 72rem); max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .6rem; padding: max(12px, env(safe-area-inset-top, 0px)) 12px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font: 500 1rem/1.4 var(--ui); color: #e6e3dc; text-align: center; }
.lb-bar { display: flex; justify-content: center; align-items: center; gap: .75rem; padding: .75rem 12px max(12px, env(safe-area-inset-bottom, 0px)); font-family: var(--ui); }
.lb-bar button { min-width: 2.75rem; height: 2.75rem; border: 1px solid #555; background: #111; color: #fff; font: 600 1.4rem/1 var(--ui); cursor: pointer; border-radius: 2px; }
.lb-bar button:hover { background: #222; }
.lb-count { min-width: 4.5rem; text-align: center; color: #bdbab2; font-variant-numeric: tabular-nums; }

/* member portraits */
.roster .pic { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: .75rem; background: var(--paper-2); }
.roster .pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transition: filter .3s ease; }
.roster li:hover .pic img { filter: none; }
.prose .roster { grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr)); gap: 0 1rem; }

/* home archive strip */
.home-photos { max-width: 76rem; margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: 0 var(--gutter); }
.home-photos h2 { font: 400 clamp(1.5rem, 4.2vw, 2.05rem)/1.12 var(--display); margin: 0 0 1rem; padding-top: 1rem; border-top: 4px solid var(--ink); }
.home-photos .strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .home-photos .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.home-photos .strip a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.home-photos .strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-photos .more { margin: 1rem 0 0; font-family: var(--ui); font-weight: 650; }

/* home hero with stage photo (overrides the logo lockup layout) */
.hero { position: relative; display: grid; overflow: hidden; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: 50% 40%; max-width: 100%; }
.hero .hero-inner { display: block; position: relative; padding-top: 1.75rem; }
.hero-text { max-width: 40rem; min-width: 0; }
@media (min-width: 880px) {
  .hero > * { grid-area: 1 / 1; }
  .hero-photo { height: 100%; min-height: clamp(34rem, 52vw, 46rem); aspect-ratio: auto; }
  .hero::after { content: ""; grid-area: 1 / 1; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 34%, rgba(0,0,0,.2) 60%, rgba(0,0,0,0) 75%), linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 40%); pointer-events: none; }
  .hero .hero-inner { z-index: 1; align-self: end; width: 100%; padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
  .hero p { color: #e7e4dd; }
}
