/* ==========================================================================
   Richard T. Tinsley II - design system 'Concert hall at night' (shared with the EHTHS Choirs site)
   Vanilla CSS, mobile-first (breakpoints 640 / 900 / 1200).
   Ivory-first: the semantic tokens on :root are the ivory set; .section--ink is the dark mirror (the choir site does the opposite).

   FONTS - every page must put these tags in <head>, before this stylesheet:

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..600&family=Manrope:wght@400..800&display=swap" rel="stylesheet">

   CONTENTS
    1 Tokens        2 Reset/base     3 Type          4 Layout/sections
    5 Motion        6 Buttons/links  7 Chips/tags    8 Header/nav/overlay
    9 Footer/skip   10 Hero (portrait)               12 Cards/group rows
   15 Media/placeholder   16 Director/stats   18 Banner   21 Utilities
   22 Print   Home / Director / Groups page rules   Touch targets
   23 Richard site additions (strip, rows, ledger, offer, contact, form panel)
   ========================================================================== */

/* 1 ---------- Tokens ---------- */
:root {
  --ink: #0B1020;
  --ink-2: #121A33;
  --ink-3: #1B2547;
  --ivory: #F5F0E6;
  --ivory-2: #EAE3D3;
  --ivory-3: #DDD4BF;
  --brass: #D4A853;
  --brass-2: #B8893A;
  --brass-ink: #7A5A1C;          /* brass dark enough for text on ivory (AA) */
  --rose: #C9657A;
  --teal: #4FB3A9;
  --muted: rgba(245, 240, 230, .62);
  --muted-ink: rgba(11, 16, 32, .62);

  /* semantic (ivory set by default), re-mapped by .section--ink */
  --bg: var(--ivory);
  --surface: #fff;
  --surface-2: var(--ivory-2);
  --fg: var(--ink);
  --fg-muted: var(--muted-ink);
  --line: rgba(11, 16, 32, .14);
  --eyebrow: var(--brass-ink);
  --accent: var(--brass-ink);
  --on-accent: var(--ink);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + .4vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 3vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 8vw, 6rem);

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --section-y: clamp(4rem, 10vw, 8rem);
  --gutter: 16px;
  --radius-s: 8px; --radius: 16px; --radius-l: 24px; --radius-pill: 999px;
  --shadow-1: 0 4px 14px rgba(0,0,0,.22);
  --shadow-2: 0 10px 28px rgba(0,0,0,.32);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: 250ms var(--ease);
  --header-base: 68px;                                     /* design height of the header bar */
  --safe-t: env(safe-area-inset-top, 0px); --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-l: env(safe-area-inset-left, 0px);
  --header-h: calc(var(--header-base) + var(--safe-t));    /* js/site.js overwrites with the measured height */
  --filters-h: 0px;                                        /* js/site.js: height of the sticky schedule filter bar */
}
@media (min-width: 640px) { :root { --gutter: 24px; --header-base: 76px; } }

/* 2 ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--filters-h) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: clip;
  background: var(--ivory); color: var(--ink);
  font: 400 var(--fs-base)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, p, ol, ul, figure, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* 3 ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; line-height: 1.05;
}
h1 { font-size: var(--fs-h1); line-height: .95; font-weight: 350; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
.meta-line { font: 500 var(--fs-sm)/1.4 var(--font-body); color: var(--fg-muted); margin-bottom: var(--sp-3); }
h2 + .lead, h2 + p { margin-top: var(--sp-4); }
.lead { font-size: var(--fs-lg); color: var(--fg-muted); max-width: 60ch; }
p { max-width: 68ch; }
/* body measure stays 60-75ch on ultrawide */
.grow__body p, .ac-block__body p, #director-bio p, #about-body, .page-head p { max-width: 68ch; }
.muted { color: var(--fg-muted); }

/* 4 ---------- Layout / sections ---------- */
.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), var(--safe-l)) max(var(--gutter), var(--safe-r)); }
.section { position: relative; padding-block: var(--section-y); background: var(--bg); color: var(--fg); overflow-x: clip; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--ink, .site-footer, .banner, #hero-next {
  --bg: var(--ink); --surface: var(--ink-2); --surface-2: var(--ink-3);
  --fg: var(--ivory); --fg-muted: var(--muted); --line: rgba(245,240,230,.14);
  --eyebrow: var(--brass); --accent: var(--brass); --on-accent: var(--ink);
}
.section--ink { background: var(--bg); color: var(--fg); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head h2 + p { margin-top: var(--sp-4); color: var(--fg-muted); font-size: var(--fs-lg); }
.split { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); gap: var(--sp-7); align-items: center; }
  .split > :first-child { grid-column: 1 / span 5; }
  .split > :last-child { grid-column: 7 / span 6; }
}
.page-head { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.5rem, 7vw, 6rem); overflow-wrap: break-word; text-wrap: balance; }
.page-head p { margin-top: var(--sp-4); color: var(--fg-muted); font-size: var(--fs-lg); }
.page-head .meta-line { margin-top: 0; font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.center { text-align: center; margin-top: var(--sp-6); max-width: none; }

/* 5 ---------- Motion: one authored moment (hero text), off under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) { .hero__copy { animation: rise 560ms cubic-bezier(.16, 1, .3, 1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 6 ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.6rem; border-radius: var(--radius-pill);
  font: 700 .9375rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid transparent; background: transparent; color: inherit;
  transition: transform var(--t), background var(--t), border-color var(--t), color var(--t);
}
.btn .icon { width: 1.15em; height: 1.15em; flex: none; transition: transform var(--t); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--ink-3); }
.btn--primary:hover .icon { transform: translateX(3px); }
.btn--secondary { border-color: currentColor; color: var(--fg); }
.btn--secondary:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--ghost { color: var(--fg); padding-inline: 1rem; }
.btn--ghost:hover { background: var(--line); }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.section--ink .btn--primary, .banner .btn--primary { background: var(--brass); color: var(--ink); }
.section--ink .btn--primary:hover, .banner .btn--primary:hover { background: #E2BA68; }
.icon { flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem;
  color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: border-color var(--t), color var(--t);
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform var(--t); }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon, a.card:hover .link-arrow .icon { transform: translateX(3px); }

/* 7 ---------- Chips / tags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--sp-3); }
ul.chips, #director-affiliations { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: var(--radius-pill);
  border: 1px solid var(--accent); color: var(--fg); background: transparent; max-width: 100%; overflow-wrap: anywhere;
  font: 600 .75rem/1.4 var(--font-body); text-decoration: none; letter-spacing: .02em;
  transition: background var(--t);
}
a.chip:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.chip--all, .chip--plain { --accent: var(--line); border-color: rgba(11,16,32,.3); }
.chip--all { color: var(--fg-muted); }
.tag {
  display: inline-block; align-self: flex-start; padding: .2rem .65rem; border: 1px solid transparent; border-radius: 6px;
  font: 700 .6875rem/1.4 var(--font-body); text-transform: uppercase; letter-spacing: .12em;
  background: var(--line); color: var(--fg);
}
.tag--aud { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--fg); border-color: var(--accent); }

/* 8 ---------- Header / nav / overlay ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-base); padding-top: var(--safe-t);
  background: rgba(245,240,230,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background var(--t), border-color var(--t);
}
.site-header.is-scrolled { background: rgba(245,240,230,.92); border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-base); gap: var(--sp-5); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font: italic 400 1.25rem/1 var(--font-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.02em; }
.nav { display: none; gap: clamp(1rem, 2vw, 2rem); }
.nav a { position: relative; padding: .5rem 0; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--fg-muted); transition: color var(--t); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; border-radius: 50%; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle:hover { background: var(--line); }
@media (min-width: 900px) { .nav { display: flex; } .nav-toggle { display: none; } }
.overlay-nav {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 1rem) max(var(--gutter), var(--safe-r)) calc(2rem + var(--safe-b)) max(var(--gutter), var(--safe-l));
  background: var(--ivory); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  animation: fade .3s var(--ease);
}
/* margin-block:auto centres when it fits and scrolls from the top when it does not (justify-content:center would clip the top) */
.overlay-nav nav { display: flex; flex-direction: column; gap: .25rem; margin-block: auto 0; }
.overlay-nav__tag { margin-bottom: auto; }
.overlay-nav nav a {
  font: 350 clamp(1.75rem, min(10vw, 9svh), 3.75rem)/1.15 var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -.02em; text-decoration: none; padding: .2rem 0; border-bottom: 1px solid var(--line); transition: color var(--t);
}
.overlay-nav nav a:hover, .overlay-nav nav a[aria-current="page"] { color: var(--brass-ink); }
.overlay-nav__tag { margin-top: var(--sp-6); color: var(--fg-muted); font-style: italic; font-family: var(--font-display); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 900px) { .overlay-nav { display: none; } }

/* 9 ---------- Announce / footer / pills / skip ---------- */
.announce { background: color-mix(in srgb, var(--brass) 16%, var(--ink)); border-bottom: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); font-size: var(--fs-sm); font-weight: 600; }
/* top safe area is handled by .site-header; the bar only needs it when it is the first thing on screen */
.announce { padding-top: var(--safe-t); }
.announce__in { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 40px; padding-block: .4rem; text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce .icon { width: 1em; height: 1em; }
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 5rem); color: var(--ivory); }
.site-footer__grid { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-7); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr auto; align-items: start; } }
.site-footer__brand { font: 400 clamp(1.5rem, 3vw, 2rem)/1.15 var(--font-display); letter-spacing: -.01em; }
.site-footer__tag { margin-top: .5rem; font-style: italic; font-family: var(--font-display); color: var(--brass); }
.site-footer__addr { color: var(--muted); line-height: 1.8; font-size: var(--fs-sm); }
.site-footer__addr a { color: var(--ivory); }
.site-footer__social { display: flex; gap: .6rem; }
.site-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: border-color var(--t), color var(--t); }
.site-footer__social a:hover { border-color: var(--brass); color: var(--brass); }
/* footer base clears the home indicator */
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: var(--sp-5); padding-bottom: calc(var(--sp-5) + var(--safe-b)); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.site-footer__base a { color: var(--muted); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: .75rem 1.25rem; background: var(--brass); color: var(--ink); font-weight: 700; border-radius: var(--radius-s); transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* 10 ---------- Hero (full-bleed portrait) ---------- */
.hero { position: relative; overflow-x: clip; background: var(--bg); padding-block: clamp(2rem, 6vw, 4rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
.hero__copy { min-width: 0; }
.hero h1 { font-size: var(--fs-h1); margin-block: var(--sp-3) var(--sp-4); overflow-wrap: break-word; }
.hero__role { font: italic 300 var(--fs-h3)/1.3 var(--font-display); margin-bottom: var(--sp-4); max-width: none; }
.hero__sub { font-size: var(--fs-lg); color: var(--fg-muted); max-width: 46ch; margin-bottom: var(--sp-6); }
/* portrait: a contained 4:5 photo on the page grid, rounded like every other photo on the site; the ink "Currently" card overlaps its corner */
.hero__visual { position: relative; min-width: 0; padding-bottom: 3rem; }
.hero__image { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: min(70vh, 44rem); max-height: min(70svh, 44rem); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); }
#hero-next {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: min(300px, 88%); padding: var(--sp-5);
  background: var(--ink-2); color: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2);
}
#hero-next .meta-line { margin-bottom: .5rem; }
.next__date { font: 400 1.75rem/1.1 var(--font-display); color: var(--brass); }
.next__title { margin-top: .25rem; font-weight: 700; line-height: 1.35; }
.next__time { color: var(--fg-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
#hero-next .link-arrow { margin-top: var(--sp-3); }
@media (min-width: 640px) and (max-width: 899px) { .hero__image { aspect-ratio: 3 / 2; } }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100vh - var(--header-h)), 56rem); min-height: min(calc(100svh - var(--header-h)), 56rem); display: flex; align-items: center; padding-block: clamp(1.5rem, 6svh, 5rem); }
  .hero > .container { margin-block: auto; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: var(--sp-8); }
  .hero__visual { padding: 0 0 2rem 0; }
  #hero-next { right: auto; left: -2.5rem; bottom: 0; }
}
@media (min-width: 900px) and (max-height: 700px) { .hero h1 { font-size: clamp(2.5rem, 13vh, 4.5rem); } .hero__image { max-height: 70vh; } }

/* 12 ---------- Cards / group rows ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-5); box-shadow: 0 1px 2px rgba(11,16,32,.06), 0 10px 30px rgba(11,16,32,.08); transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.section--ink .card, .banner { box-shadow: var(--shadow-1); }

/* group rows (groups.html) */
.grow { display: grid; gap: var(--sp-5); padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.grow:first-child { border-top: 0; }
.grow__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.grow__body { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.grow__name { font-size: clamp(2rem, 5vw, 4rem); overflow-wrap: break-word; text-wrap: balance; }
.grow__tag { font: italic 300 var(--fs-h3)/1.3 var(--font-display); color: var(--fg); }
.grow__reh { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: var(--fs-sm); color: var(--fg-muted); }
.grow__reh .icon { width: 1.1rem; color: var(--accent); }
.grow__yt { width: 100%; margin-top: var(--sp-3); }
@media (min-width: 900px) {
  .grow { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); align-items: center; }
  .grow--flip .grow__media { order: 2; }
}

/* 15 ---------- Media / placeholder / embeds ---------- */
/* photo slot contract: the slot owns aspect-ratio + overflow:hidden; the photo (or placeholder) fills it.
   Focal point arrives as an inline --focal on the <img> (from {src, alt, focal} in the data). */
.media { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focal, 50% 40%); }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; }
.placeholder {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; overflow: hidden; text-align: center;
  /* quiet "photo slot": flat diagonal gradient + fine hairline hatch, no glow */
  background:
    repeating-linear-gradient(45deg, rgba(11,16,32,.045) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, var(--ivory-2), var(--ivory-3));
  color: var(--muted-ink);
}
.placeholder::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(11,16,32,.25); border-radius: calc(var(--radius) - 4px); pointer-events: none; }
.placeholder__label { font: 600 var(--fs-sm)/1.4 var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .08em; padding-inline: 1.5rem; }
.section--ink .placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(245,240,230,.035) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, var(--ink-2), var(--ink-3));
  color: var(--muted);
}
.section--ink .placeholder::before { border-color: rgba(245,240,230,.22); }

.yt { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.yt__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; display: block; }
.yt__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.yt__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,16,32,.75), rgba(11,16,32,.1) 60%); }
.yt__play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.5); transition: transform var(--t); }
.yt__play .icon { width: 30px; height: 30px; margin-left: 3px; }
.yt__btn:hover .yt__play { transform: scale(1.1); }
.yt__btn:hover .yt__thumb { transform: scale(1.04); }
.yt__link { position: absolute; z-index: 2; right: .75rem; bottom: .6rem; padding: .25rem .6rem; border-radius: 6px; background: rgba(11,16,32,.75); color: var(--ivory); font-size: .6875rem; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.yt__link:hover { background: var(--ink); text-decoration: underline; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing .yt__link { display: none; }
.spotify iframe { width: 100%; border: 0; border-radius: 12px; }

/* 16 ---------- Director / stats ---------- */
.director-layout { display: grid; gap: var(--sp-7); }
.director-layout > :first-child { position: relative; } /* containing block for .fill media; becomes sticky at >=900px */
#director-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; max-height: calc(100vh - var(--header-h) - 3rem); max-height: calc(100svh - var(--header-h) - 3rem); }
#director-bio p { margin-bottom: 1.25em; font-size: var(--fs-lg); line-height: 1.7; max-width: 62ch; }
#director-bio p:first-child::first-letter { font: 400 4.5em/.8 var(--font-display); float: left; margin: .08em .1em 0 0; color: var(--accent); }
#director-quote { font: italic 300 clamp(1.75rem, 3.5vw, 3rem)/1.2 var(--font-display); letter-spacing: -.02em; border-left: 1px solid var(--brass); padding-left: var(--sp-5); max-width: 26em; margin: 0 auto; }
@media (min-width: 900px) {
  .director-layout { grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: start; }
  .director-layout > :first-child { position: sticky; top: calc(var(--header-h) + 24px); }
}
.about-dir__name { font: 400 var(--fs-h3)/1.2 var(--font-display); margin-top: var(--sp-5); }
.about-dir__title { color: var(--fg-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
#about-image { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; max-width: 460px; }
#director-highlights, .stats { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat__value { font: 400 clamp(2.25rem, 4vw, 3.25rem)/1 var(--font-display); color: var(--accent); letter-spacing: -.02em; }
.stat__label { margin-top: var(--sp-3); font-weight: 700; line-height: 1.3; }
.stat__detail { margin-top: .25rem; color: var(--fg-muted); font-size: var(--fs-sm); }


/* 18 ---------- Banner ---------- */
.banner { display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; margin-top: var(--sp-7); padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); border-color: color-mix(in srgb, var(--brass) 35%, transparent); color: var(--fg); max-width: none; }
.banner h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: var(--sp-3); }
.banner p { color: var(--muted); }
@media (min-width: 900px) { .banner { flex-direction: row; align-items: center; justify-content: space-between; } .banner .btn { flex: none; } }

/* ---------- Touch: every tap target >= 44px on coarse pointers ---------- */
@media (pointer: coarse) {
  .nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-block: .25rem; }
  .brand { min-height: 44px; }
  .nav a::after { bottom: .4rem; }
  .btn--sm { min-height: 44px; }
  .link-arrow { min-height: 44px; }
  .announce a { min-height: 44px; }
  .yt__link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .8rem; }
  .site-footer__addr a, .site-footer__base a { display: inline-block; padding-block: .8rem; min-height: 44px; }
  .overlay-nav nav a { min-height: 44px; }
  /* link chips keep their look; an invisible pseudo-element extends the hit area to 44px */
  a.chip { position: relative; }
  a.chip::before { content: ""; position: absolute; inset: -10px -4px; }
  .nav-toggle { width: 48px; height: 48px; }
}

/* 21 ---------- Utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: var(--sp-4); }
.mt-0 { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms; transition-delay: 0ms; }
  .overlay-nav { animation: none; }
}


/* 22 ---------- Print ---------- */
@media print {
  .site-header, .overlay-nav, .site-footer, .announce, .btn, .btn-row, .skip-link { display: none !important; }
  html, body, .section, .section--ink { background: #fff !important; color: #000 !important; }
  * { color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  .page-head h1 { font-size: 28pt; }
  .chip { border-color: #666; background: none !important; }
}


/* ---------- Home page ---------- */
.home-more { margin-top: var(--sp-6); max-width: none; }

/* ---------- Director page ---------- */
.director-section { padding-top: clamp(3rem, 8vw, 6rem); }
.page-head.container { padding-bottom: 0; }
.director-body h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); margin-bottom: var(--sp-4); }
.director-title { font: 400 var(--fs-lg)/1.4 var(--font-display); color: var(--fg); max-width: none; }
.director-subtitle { margin: .25rem 0 var(--sp-6); color: var(--accent); font-weight: 600; font-size: var(--fs-sm); max-width: none; }
.director-cta { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: var(--sp-6); border-top: 1px solid var(--line); }
.director-cta__text { font: italic 300 var(--fs-h3)/1.2 var(--font-display); }
@media (min-width: 900px) { .director-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Groups page ---------- */
/* each row: hairline divider, flat surface */
.groups-list { padding-bottom: 0; }
.groups-list .grow { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.groups-list .grow:first-child { padding-top: clamp(2.5rem, 7vw, 5.5rem); }
.groups-banner { padding-block: clamp(3rem, 7vw, 5rem); }

.groups-list .grow__body { gap: var(--sp-4); }
.groups-banner .banner { margin-top: 0; }

@media (max-width: 899px) { #director-photo { aspect-ratio: 4 / 3; } }
.director-subtitle:empty { display: none; }

/* Choirs page: same pinned, centred photo as the a cappella page; alternates sides via .grow--flip */
.grow__media { aspect-ratio: auto; border: 0; border-radius: 0; overflow: visible; }
.grow__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
@media (min-width: 900px) {
  .grow { align-items: stretch; }
  .grow__media { container-type: inline-size; }
  .grow__pin { position: sticky; top: max(calc(var(--header-h) + 16px), calc(var(--header-h) + (100vh - var(--header-h) - 75cqw) / 2)); }
}
/* 23 ---------- Richard site additions ---------- */

/* ledger: a dated list of engagements (rows are not links) */
.ledger { display: block; }
h2 + .ledger { margin-top: var(--sp-5); }
.ledger__row { display: grid; grid-template-columns: 1fr; gap: .25rem var(--sp-5); padding-block: var(--sp-4); border-top: 1px solid var(--line); }
.ledger__row:last-child { border-bottom: 1px solid var(--line); }
.ledger__when { font: 400 clamp(1.25rem, 2.2vw, 1.75rem)/1.2 var(--font-display); font-variation-settings: "opsz" 72; color: var(--accent); }
.ledger__what { font-weight: 700; }
.ledger__who { color: var(--fg-muted); font-size: var(--fs-base); margin-top: .1rem; }
.ledger__who a { color: inherit; }
@media (min-width: 640px) {
  .ledger__row { grid-template-columns: 11.5rem 1fr; align-items: baseline; }
}

/* offer: icon list inside a practice row */
.offer { margin-top: var(--sp-3); width: 100%; }
.offer li { display: flex; align-items: flex-start; gap: .75rem; padding-block: .45rem; border-top: 1px solid var(--line); }
.offer li:first-child { border-top: 0; }
.offer .icon { width: 20px; height: 20px; margin-top: .2em; color: var(--accent); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: start; } }
.contact-facts { margin: var(--sp-6) 0 var(--sp-5); }
.contact-facts dt { font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-muted); }
.contact-facts dd { margin: 0 0 var(--sp-4); max-width: 46ch; }

/* form */
#inquiry { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: .4rem; }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .85rem 1rem; font: inherit; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
}
.field ::placeholder { color: var(--fg-muted); opacity: 1; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: var(--fs-sm); color: var(--fg-muted); }
#inquiry-done { padding: var(--sp-5); margin-top: var(--sp-5); }
#inquiry .btn { justify-self: start; }

@media (pointer: coarse), (hover: none) {
  .ledger a, .offer a, .contact-facts a, #inquiry-done a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* strip: static three-practice band under the hero (this site's signature; no motion) */
.strip { padding-block: var(--sp-6); }
.strip__grid { display: grid; grid-template-columns: 1fr; }
.strip__item { display: grid; grid-template-columns: 28px 1fr; gap: .2rem var(--sp-3); align-items: start; padding: var(--sp-5) 0; text-decoration: none; color: var(--fg); border-top: 1px solid var(--line); }
.strip__item:first-child { border-top: 0; }
.strip__item .icon { grid-row: span 2; width: 28px; height: 28px; margin-top: .2rem; color: var(--brass); }
.strip__name { font: 400 var(--fs-h3)/1.2 var(--font-display); font-variation-settings: "opsz" 72, "SOFT" 50; transition: color var(--t); }
.strip__line { font-size: var(--fs-sm); color: var(--fg-muted); }
.strip__item:hover .strip__name { color: var(--brass); }
@media (min-width: 900px) {
  .strip__grid { grid-template-columns: repeat(3, 1fr); }
  .strip__item { border-top: 0; border-left: 1px solid var(--line); padding: var(--sp-3) var(--sp-5); }
  .strip__item:first-child { border-left: 0; padding-left: 0; }
}

/* rows: hairline list replacing cards on Home */
.rows { display: block; }
.row { display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-2) var(--sp-4); align-items: center; padding-block: var(--sp-5); border-top: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row__icon { width: 24px; height: 24px; color: var(--accent); }
.row__body { display: grid; gap: .25rem; }
.row__name { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.01em; transition: color var(--t); }
.row__line { color: var(--fg-muted); max-width: 60ch; }
.row > .link-arrow { grid-column: 2; justify-self: start; }
.row:hover .row__name { color: var(--accent); }
.row:hover > .link-arrow { border-color: var(--accent); }
@media (min-width: 640px) {
  .row { grid-template-columns: 24px 1fr auto; }
  .row > .link-arrow { grid-column: auto; justify-self: end; }
}

/* pullquote band */
.pullband { padding-block: clamp(3rem, 7vw, 5rem); }

/* form panel: ink panel on an ivory page */
.form-panel { padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-2); color: var(--fg); }
.form-panel .field input, .form-panel .field select, .form-panel .field textarea { background-color: var(--surface-2); }
.form-panel .form-note { color: var(--fg-muted); }
.form-panel #inquiry-done { background: var(--surface-2); margin-bottom: 0; }
.form-panel a { color: var(--brass); }

.section:not(.section--ink) + .section:not(.section--ink) { padding-top: 0; }
.row__icon { align-self: start; margin-top: .45rem; }
.ledger__when { white-space: nowrap; }
.groups-list { padding-top: 0; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
body { display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* native select popup inside the ink panel (Windows/Linux render options with the control colours) */
.form-panel option { background: var(--ink-2); color: var(--ivory); }
