/* ==========================================================================
   JCSU CHORAL PROGRAM
   ---------------------------------------------------------------------------
   Quiet editorial. White pages, hairline rules, one gradient navy band per
   page, gold used only where something needs to be pressed.

   Two typefaces:
     display  Primeform Pro   headings and large numerals — SELF-HOSTED
     text     Inter           everything else — body, labels, nav, meta

   ⚠️ Primeform Pro is shipped here as the DEMO cut from Punchform
   (punchform.com, © 2021, all rights reserved). Two consequences:

     1. It is a trial licence. A production licence should be bought before
        this stays on a public site for long.
     2. The demo covers 76 glyphs. It has no colon, parenthesis, slash,
        ampersand, en/em dash or middot. That is why it is confined to
        headings and numerals, and why Inter sits behind it in the stack —
        the handful of dashes in date ranges fall through to Inter, which
        for a horizontal rule of a glyph is invisible.

   Do NOT promote Primeform to body copy. Body text would lose every colon
   in an event time and every bracket in "501(c)(3)".
   ========================================================================== */


/* ==========================================================================
   00. SELF-HOSTED DISPLAY FACE
   ========================================================================== */
@font-face {
  font-family: 'Primeform Pro';
  src: url('../assets/fonts/primeform-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Primeform Pro';
  src: url('../assets/fonts/primeform-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Primeform Pro';
  src: url('../assets/fonts/primeform-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
/* Real italics, so `em` in a headline never gets a synthesised oblique. */
@font-face {
  font-family: 'Primeform Pro';
  src: url('../assets/fonts/primeform-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Primeform Pro';
  src: url('../assets/fonts/primeform-medium-italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}


/* ==========================================================================
   01. TOKENS
   ========================================================================== */
:root {
  /* Brand — JCSU UCM. The two published values are unchanged and each sits
     at the midpoint of its gradient; the lighter and darker stops are the
     same hue lifted and lowered, so no third colour enters the palette. */
  --blue:      #002D56;   /* PMS 296 C */
  --blue-hi:   #083A63;
  --blue-deep: #001E3B;
  --gold:      #FFCF01;   /* PMS 7406 C */
  --gold-hi:   #FFDC4E;
  --gold-deep: #E0B400;

  /* Gradients. Every one of these is measured — see section 15. The rule
     that keeps them safe: a gradient never crosses the light/dark divide.
     Navy gradients stay dark at every stop, gold gradients stay light at
     every stop, so text sitting on them cannot find a bad pairing. */
  --grad-navy: linear-gradient(158deg, var(--blue-hi) 0%, var(--blue) 48%, var(--blue-deep) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 52%, var(--gold-deep) 100%);
  --grad-soft: linear-gradient(168deg, #FFFFFF 0%, #FDFBF2 55%, #FAF5E6 100%);

  /* A gold bloom over the navy band so it reads as lit rather than printed,
     and a far fainter pair of washes on the white pages.

     These alphas are solved, not chosen. The binding constraint is the
     translucent metadata colour sitting on the LIGHTEST point of each —
     the bloom's hot corner over --blue-hi, and the hero wash's darkest
     overlap. Raising either alpha pushes those under 4.5:1. */
  --bloom-gold: radial-gradient(74% 86% at 86% 6%, rgba(255,207,1,.12) 0%, rgba(255,207,1,.04) 44%, transparent 68%);
  --wash-hero:  radial-gradient(112% 86% at 92% -12%, rgba(255,207,1,.10) 0%, transparent 58%),
                radial-gradient(86% 76% at -12% 16%, rgba(0,45,86,.04) 0%, transparent 54%);

  /* Neutrals */
  --paper:   #FFFFFF;
  --paper-2: #FAFAF7;     /* the flat fallback under --grad-soft */
  --ink:     #14161A;
  --ink-2:   #4A505B;     /* body copy */
  /* Labels and meta. This grey looks darker than it needs to be, and it is
     tempting to lift it — don't. It carries real content (event times,
     credential detail, stat captions), and it has to clear 4.5:1 against
     the DARKEST point of the hero wash, not against plain white. It was
     lifted once, measured 4.25:1 there, and had to come back down. */
  --ink-3:   #666C78;
  --line:    #E6E5E0;     /* every rule on the site is this colour */

  /* On a navy ground */
  --on-navy:   #FFFFFF;
  --on-navy-2: rgba(255,255,255,.72);
  --on-navy-3: rgba(255,255,255,.64);
  --line-navy: rgba(255,255,255,.18);

  --f-display: 'Primeform Pro', 'Inter', system-ui, sans-serif;
  --f-text:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap:  1160px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --band:   clamp(4.5rem, 8vw, 7.5rem);   /* vertical rhythm of a section */
  --head-h: 68px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}


/* ==========================================================================
   02. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
figure, blockquote { margin: 0; }

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.band--navy :focus-visible, .footer :focus-visible { outline-color: var(--gold); }

.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: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: .75rem 1.25rem;
  font-size: .8125rem; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }


/* ==========================================================================
   03. TYPE
   --------------------------------------------------------------------------
   One scale. Headings are Primeform; everything else is Inter. There is no
   second display size hiding in a utility class — if a heading needs to be
   smaller, it is a smaller heading.
   ========================================================================== */
/* Only 400/500/600 exist as real cuts. Every rule that sets the display face
   names one of those explicitly, so `b`/`strong` can never ask for 700 and
   get a synthesised fake bold. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.022em;   /* geometric sans; needs pulling in at size */
  line-height: 1.06;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.375rem; line-height: 1.25; }
h4 { font-size: 1rem; }

h1 em, h2 em, h3 em { font-style: italic; }

p { margin: 0; }
p + p { margin-top: 1.15em; }

/* The label that sits above a heading. Small, wide, quiet. */
.eyebrow {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.25rem;
}

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 52ch;
}

/* Long-form prose. Inter is a proportional face, so this measure is the
   usual 60-ish characters — it was 54ch while the body was set in a mono,
   and widening it back is correct, not a regression. */
.prose { max-width: 62ch; }
.prose p { color: var(--ink-2); }

.prose a, .lede a, .note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0,45,86,.3);
  transition: text-decoration-color .2s var(--ease);
}
.prose a:hover, .lede a:hover, .note a:hover { text-decoration-color: currentColor; }

.note {
  font-size: .875rem;
  color: var(--ink-3);
  max-width: 54ch;
}


/* ==========================================================================
   04. LAYOUT
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: var(--band);
  border-top: 1px solid var(--line);
}
.band:first-child { border-top: 0; }
.band--tight { padding-block: 2.5rem; }

/* The one alternate ground. Almost imperceptible — it exists to separate
   two adjacent white sections, not to be noticed. */
/* A warm wash rather than a flat tint. The flat colour is declared first so
   it still reads correctly if the gradient is ever stripped. */
.band--soft { background: var(--paper-2); background-image: var(--grad-soft); }

/* The one solid colour band. Once per page — twice on the home page.
   Everything inside it re-points at the on-navy tokens. */
.band--navy {
  background: var(--blue);
  background-image: var(--bloom-gold), var(--grad-navy);
  border-top: 0;
  color: var(--on-navy-2);
}
.band--navy h1, .band--navy h2, .band--navy h3, .band--navy h4 { color: var(--on-navy); }
.band--navy .eyebrow { color: var(--gold); }
.band--navy .lede    { color: var(--on-navy); }
.band--navy .prose p { color: var(--on-navy-2); }
.band--navy .note    { color: var(--on-navy-3); }
.band--navy .rule,
.band--navy .card,
.band--navy .event,
.band--navy .era,
.band--navy .creds li,
.band--navy .stats > div,
.band--navy .way,
.band--navy .opts li { border-color: var(--line-navy); }

.band__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.band__head h2 { max-width: 20ch; }
.band__head .lede { margin-top: 1.25rem; }

/* Heading on the left, content on the right. Collapses to one column. */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: start;
}
.split__side { position: sticky; top: calc(var(--head-h) + 3rem); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(3rem, 6vw, 4.5rem) 0;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__side { position: static; }
}


/* ==========================================================================
   05. HEADER
   --------------------------------------------------------------------------
   Slim, navy, always there. Navy rather than white for one reason: the only
   wordmark file available is the white one, and UCM does not permit
   recolouring it. A white mark needs a dark ground.
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue);
  background-image: var(--grad-navy);
  color: var(--on-navy);
}

.header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--head-h);
  display: flex; align-items: center; gap: 2rem;
}

.brand {
  display: flex; align-items: center; gap: .875rem;
  text-decoration: none; flex-shrink: 0;
}
.brand img { width: 132px; height: auto; }
.brand__div { width: 1px; height: 22px; background: var(--line-navy); }
.brand__name {
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--on-navy-2);
}
.brand__name br { display: none; }

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 1.75rem;
}
.nav a {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-navy-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--on-navy); }
.nav a[aria-current="page"] { color: var(--gold); }

.header .btn { flex-shrink: 0; }

@media (max-width: 1080px) {
  .nav, .header .btn { display: none; }
  .brand { margin-right: auto; }
}


/* Burger + mobile menu ---------------------------------------------------- */
.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  margin-right: -8px;
}
.burger span {
  display: block; height: 1px; width: 22px;
  background: var(--on-navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) { .burger { display: flex; } }

.menu {
  position: fixed; inset: var(--head-h) 0 0; z-index: 99;
  background: var(--blue);
  background-image: var(--bloom-gold), var(--grad-navy);
  padding: 2.5rem var(--gutter);
  display: flex; flex-direction: column; gap: .25rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.menu[data-open="true"] { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--on-navy);
  text-decoration: none;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line-navy);
}
.menu a[aria-current="page"] { color: var(--gold); }
.menu__foot {
  margin-top: auto; padding-top: 2rem;
  font-size: .75rem; letter-spacing: .08em;
  color: var(--on-navy-3);
}


/* ==========================================================================
   06. BUTTONS + LINKS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8125rem 1.5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}

.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }

.btn--gold  { background: var(--gold); background-image: var(--grad-gold); color: var(--blue); }
.btn--gold:hover { background: var(--gold-deep); background-image: none; }

.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.band--navy .btn--ghost { border-color: var(--line-navy); color: var(--on-navy); }
.band--navy .btn--ghost:hover { border-color: var(--on-navy); }
.band--navy .btn--blue { background: #fff; color: var(--blue); }
.band--navy .btn--blue:hover { background: var(--on-navy-2); }

.btn-row {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 2.25rem;
}

/* The small "keep reading" link. Mono, with an arrow that steps forward. */
.arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.band--navy .arrow { color: var(--gold); }
.arrow::after {
  content: '→';
  transition: transform .2s var(--ease);
}
.arrow:hover::after { transform: translateX(4px); }


/* ==========================================================================
   07. HERO + PAGE MASTHEAD
   ========================================================================== */
/* Two very faint blooms — gold off the top-right, blue off the left. At
   these alphas the darkest point of the wash is still 16:1 against the
   headline; they exist to stop the page reading as a blank sheet. */
.hero {
  padding-block: clamp(5rem, 11vw, 9rem) clamp(3.5rem, 7vw, 6rem);
  background-image: var(--wash-hero);
}
.phero {
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  background-image: var(--wash-hero);
}

.hero h1 { max-width: 14ch; }
.phero h1 { max-width: 18ch; }
.phero .lede { margin-top: 1.5rem; }

.crumb {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2rem;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* Four facts under the home page headline, on a hairline grid. */
.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
/* The bottom padding does nothing on desktop, where this is a single row.
   It matters once the grid stacks and a cell gains a hairline beneath it —
   without it the value sits directly on the rule. */
.hero__meta > div {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-right: 1px solid var(--line);
}
.hero__meta > div:last-child { border-right: 0; }
.hero__meta > div + div { padding-left: 1.5rem; }
.hero__meta dt {
  font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero__meta dd {
  margin-top: .5rem;
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.25;
}

@media (max-width: 780px) {
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__meta > div:nth-child(2n) { border-right: 0; }
  .hero__meta > div:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 1.5rem; }
}
@media (max-width: 460px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta > div { border-right: 0; padding-left: 0 !important; }
  .hero__meta > div + div { border-top: 1px solid var(--line); padding-top: 1.5rem; }
}


/* ==========================================================================
   08. CARDS
   --------------------------------------------------------------------------
   A card is a bordered rectangle and nothing else. No shadow, no offset,
   no lift — the border and the space around it are doing the work.
   ========================================================================== */
.cards, .ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.5rem;
}

.card, .way {
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease);
}
.card:hover, .way:hover { border-color: var(--ink); }
.band--navy .card:hover, .band--navy .way:hover { border-color: var(--on-navy); }

.card__num, .ens__idx {
  font-size: .75rem; letter-spacing: .12em;
  color: var(--ink-3);
  margin-bottom: 1.5rem;
}
.band--navy .card__num { color: var(--gold); }

.card h3, .way h3 { margin-bottom: .875rem; }
.card p, .way p { font-size: .9375rem; }
.card .arrow, .way .arrow { margin-top: auto; padding-top: 1.75rem; }


/* ==========================================================================
   09. LISTS — stats, events, eras, credentials, requirements
   --------------------------------------------------------------------------
   All of these are the same idea: rows separated by a hairline. Keeping
   them visually identical is what makes eight pages feel like one site.
   ========================================================================== */

/* Stats -------------------------------------------------------------------- */
/* The stats grid draws its own top hairline, so anything placed directly
   above it must not draw one too — two rules with a gap between them reads
   as a mistake. Space it instead. */
.split + .stats { margin-top: clamp(3.5rem, 7vw, 5rem); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0;
}
.stats > div {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ink);
  line-height: 1;
}
.band--navy .stats dt { color: var(--on-navy); }
.stats dd {
  margin-top: .75rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 24ch;
}
.band--navy .stats dd { color: var(--on-navy-3); }

/* Events ------------------------------------------------------------------- */
.events { border-top: 1px solid var(--line); }
.band--navy .events { border-color: var(--line-navy); }

.event {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.event__date {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.event__date b {
  font-family: var(--f-display);
  font-size: 1.75rem; font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}
.band--navy .event__date b { color: var(--on-navy); }
.event h3 { font-size: 1.1875rem; }
.event__where { margin-top: .375rem; font-size: .8125rem; color: var(--ink-3); }
.event__time {
  font-size: .8125rem; letter-spacing: .06em;
  color: var(--ink-3);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .event { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .event__time { grid-column: 2; margin-top: .375rem; }
}

.tag {
  display: inline-block;
  margin-left: .625rem;
  padding: .25rem .5rem;
  font-family: var(--f-text);
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
  vertical-align: middle;
}
.tag--gold { background: var(--gold); background-image: var(--grad-gold); color: var(--blue); }

/* Eras (history) ----------------------------------------------------------- */
.era {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}
.era:last-child { border-bottom: 1px solid var(--line); }
.band--navy .era:last-child { border-bottom-color: var(--line-navy); }
.era__years {
  font-size: .8125rem; letter-spacing: .1em;
  color: var(--ink-3);
  padding-top: .3rem;
}
.era h3 { margin-bottom: .875rem; }
.era p { font-size: .9375rem; max-width: 54ch; }

@media (max-width: 700px) {
  .era { grid-template-columns: 1fr; gap: .875rem; }
}

/* Credentials -------------------------------------------------------------- */
.creds li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.creds li:last-child { border-bottom: 1px solid var(--line); }
.band--navy .creds li:last-child { border-bottom-color: var(--line-navy); }
.creds b {
  font-family: var(--f-display); font-weight: 400; font-size: 1.125rem;
  color: var(--ink);
}
.band--navy .creds b { color: var(--on-navy); }
.creds span { color: var(--ink-3); }

@media (max-width: 560px) {
  .creds li { grid-template-columns: 1fr; gap: .25rem; }
}

/* Numbered requirements (auditions) ---------------------------------------- */
.reqs { counter-reset: req; }
.reqs > li {
  counter-increment: req;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.reqs > li:last-child { border-bottom: 1px solid var(--line); }
.band--navy .reqs > li { border-top-color: var(--line-navy); }
.band--navy .reqs > li:last-child { border-bottom-color: var(--line-navy); }

/* The numeral holds column one for the whole item. Without pinning the row
   span, the heading takes column two and the paragraph wraps back under
   the numeral. */
.reqs > li::before {
  content: counter(req, decimal-leading-zero);
  grid-column: 1; grid-row: 1 / -1;
  font-size: .8125rem; letter-spacing: .1em;
  color: var(--ink-3);
  padding-top: .35rem;
}
.reqs > li > * { grid-column: 2; }
.reqs h3 { margin-bottom: .625rem; }
.reqs p { font-size: .9375rem; max-width: 54ch; }

@media (max-width: 560px) {
  .reqs > li { grid-template-columns: 1fr; gap: .75rem; }
  .reqs > li::before { grid-row: auto; grid-column: 1; }
  .reqs > li > * { grid-column: 1; }
}

/* Plain hairline list (interview questions, options, contact rows) --------- */
.prose + .opts, .lede + .opts, .prose + .qs, .lede + .qs { margin-top: 2rem; }

.qs li, .opts li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--ink);
}
.qs li:last-child, .opts li:last-child { border-bottom: 1px solid var(--line); }
.band--navy .qs li, .band--navy .opts li { color: var(--on-navy); }
.band--navy .qs li:last-child, .band--navy .opts li:last-child { border-bottom-color: var(--line-navy); }


/* ==========================================================================
   10. FEATURE BLOCKS
   ========================================================================== */

/* Director -------------------------------------------------------------- */
.dir {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.dir__portrait { position: relative; }
.dir__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Placeholder until a photograph exists. Monogram on a flat tint. */
.dir__mono {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--ink-3);
  letter-spacing: .02em;
}
.band--navy .dir__mono { background: rgba(255,255,255,.05); border-color: var(--line-navy); color: var(--on-navy-3); }
.dir__portrait figcaption {
  margin-top: 1rem;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
.band--navy .dir__portrait figcaption { color: var(--on-navy-3); }

@media (max-width: 900px) {
  .dir { grid-template-columns: 1fr; }
  .dir__portrait { max-width: 340px; }
}

/* Ensemble sections ----------------------------------------------------- */
.ens {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 2rem);
}
.ens:last-child { border-bottom: 1px solid var(--line); }
.band--navy .ens, .band--navy .ens:last-child { border-color: var(--line-navy); }

@media (max-width: 900px) { .ens { grid-template-columns: 1fr; } }

/* Pull quote ------------------------------------------------------------ */
.pull {
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.3;
  color: var(--ink);
  padding-left: 1.75rem;
  border-left: 2px solid var(--gold);
  max-width: 30ch;
}
.band--navy .pull { color: var(--on-navy); }
.pull cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--f-text);
  font-size: .75rem; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
.band--navy .pull cite { color: var(--on-navy-3); }

/* S.O.U.L. lockup ------------------------------------------------------- */
.soul {
  display: flex; gap: .75rem;
}
.soul span {
  display: flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.band--navy .soul span { border-color: var(--line-navy); color: var(--on-navy); }

/* Audition window ------------------------------------------------------- */
/* Date on the left, the one action on the right. Wraps to stacked on
   narrow screens, where the gap becomes vertical breathing room instead. */
.window {
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 2.75rem);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2rem;
}
.band--navy .window { border-color: var(--line-navy); }
.window__label {
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.band--navy .window__label { color: var(--gold); }
.window__date {
  margin-top: 1rem;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  color: var(--ink);
}
.band--navy .window__date { color: var(--on-navy); }

/* Centred call to action ------------------------------------------------ */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta .lede { margin: 1.5rem auto 0; }
.cta .btn-row { justify-content: center; }

/* Contact --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}


/* ==========================================================================
   11. PAGER
   ========================================================================== */
.pager {
  display: flex; justify-content: space-between; gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.pager a {
  display: flex; flex-direction: column; gap: .375rem;
  text-decoration: none;
}
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager small {
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.pager strong {
  font-family: var(--f-display); font-weight: 400;
  font-size: 1.375rem;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.pager a:hover strong { color: var(--blue); }


/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
  background: var(--blue);
  background-image: var(--bloom-gold), var(--grad-navy);
  color: var(--on-navy-2);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-navy);
}
.footer__brand img { width: 172px; }
.footer__brand p {
  margin-top: 1.25rem;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--on-navy-3);
  max-width: 34ch;
}

.footer h4 {
  font-family: var(--f-text);
  font-size: .6875rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.125rem;
}
.footer li + li { margin-top: .625rem; }
.footer li a {
  font-size: .8125rem;
  text-decoration: none;
  color: var(--on-navy-2);
  transition: color .2s var(--ease);
}
.footer li a:hover { color: var(--on-navy); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  padding-top: 2rem;
  font-size: .75rem;
  color: var(--on-navy-3);
}

@media (max-width: 820px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}


/* ==========================================================================
   13. REVEALS
   --------------------------------------------------------------------------
   One movement, used everywhere: eight pixels and a fade. Anything more
   than this reads as decoration.
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}


/* ==========================================================================
   14. PRINT
   ========================================================================== */
@media print {
  .header, .menu, .burger, .pager, .btn-row, .skip-link { display: none !important; }
  .band, .band--navy { background: #fff !important; color: #000 !important; padding-block: 1.5rem; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
