/* ==========================================================================
   Classical DMV — Website Stylesheet
   Version 1.1 · October 2026 · matches Brand Guidelines v1.1

   Contents
   01  Fonts
   02  Design tokens (colors, type, space, motion)
   03  Reset
   04  Base elements & typography
   05  Layout primitives
   06  Site header & navigation
   07  Buttons & links
   08  Hero & sections
   09  Cards: events, artists, generic
   10  Program / repertoire listings
   11  Quotes, callouts, dividers
   12  Forms
   13  Tables
   14  Footer
   15  Dark (Ink) surfaces
   16  Utilities
   17  Accessibility & motion
   18  Print

   Brand rules this file enforces
   - Encore Rose is the accent: buttons, links, the note. Use sparingly.
   - On dark (Ink) grounds the accent switches to Monument Brass.
   - Brass is never used for text on light backgrounds (contrast 2.8:1).
   - The wordmark is an image (see assets kit) — never retype it in HTML.
   - The tagline is copy, not a graphic element.

   Note (Oct 2026): Removed blocking @import for Google Fonts from section 01;
   fonts are self-hosted via /css/fonts.css (/fonts/*.woff2).
   ========================================================================== */


/* 01  Fonts
   (Self-hosted via /css/fonts.css — Cormorant Garamond & Jost)
   ------------------------------------------------------------------------ */


/* 02  Design tokens
   ------------------------------------------------------------------------ */
:root {
  /* Brand palette */
  --cdmv-ink:    #16243A;  /* Potomac Ink — type, dark grounds        */
  --cdmv-rose:   #B4475D;  /* Encore Rose — accent, the note           */
  --cdmv-paper:  #FAF7F1;  /* Program Paper — default background       */
  --cdmv-brass:  #B48E55;  /* Monument Brass — accent on dark, rules   */
  --cdmv-slate:  #4A5568;  /* Slate — secondary text                   */
  --cdmv-marble: #E2DCD0;  /* Marble — borders, dividers               */
  --cdmv-white:  #FFFFFF;

  /* Derived (interaction states only) */
  --cdmv-rose-dark:  #963A4E;  /* hover/pressed rose                   */
  --cdmv-ink-soft:   #24344D;  /* raised surface on ink                */
  --cdmv-marble-soft:#EFEBE3;  /* subtle fill on paper                 */

  /* Semantic roles — light surface (default) */
  --color-bg:          var(--cdmv-paper);
  --color-surface:     var(--cdmv-white);
  --color-text:        var(--cdmv-ink);
  --color-text-muted:  var(--cdmv-slate);
  --color-accent:      var(--cdmv-rose);
  --color-accent-hover:var(--cdmv-rose-dark);
  --color-on-accent:   var(--cdmv-white);
  --color-border:      var(--cdmv-marble);
  --color-rule:        var(--cdmv-brass);
  --color-focus:       var(--cdmv-rose);

  /* Typefaces */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-text:    "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  /* Type scale — fluid between ~375px and ~1440px viewports */
  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);   /* 13–14  caption   */
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);      /* 16–17  body      */
  --step-1:  clamp(1.25rem, 1.18rem + 0.3vw, 1.5rem);       /* 20–24  lead / h4 */
  --step-2:  clamp(1.5rem, 1.36rem + 0.6vw, 1.875rem);      /* 24–30  h3        */
  --step-3:  clamp(1.875rem, 1.6rem + 1.2vw, 2.5rem);       /* 30–40  h2        */
  --step-4:  clamp(2.375rem, 1.9rem + 2.1vw, 3.75rem);      /* 38–60  h1        */
  --step-5:  clamp(2.875rem, 2.1rem + 3.4vw, 5rem);         /* 46–80  display   */

  --leading-tight: 1.08;
  --leading-snug:  1.25;
  --leading-body:  1.6;

  --tracking-caps:   0.28em;  /* eyebrows, labels  */
  --tracking-button: 0.14em;
  --tracking-mark:   0.18em;  /* matches wordmark   */

  /* Space scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2rem;
  --space-xl:  3rem;
  --space-2xl: clamp(3.5rem, 2.8rem + 3vw, 5.5rem);
  --space-3xl: clamp(5rem, 3.8rem + 5vw, 8rem);

  /* Layout */
  --container:        76rem;   /* ~1216px */
  --container-narrow: 46rem;   /* reading width */
  --measure:          68ch;
  --gutter:           clamp(1rem, 0.6rem + 2vw, 2.5rem);

  /* Shape & depth — the brand is flat and square-shouldered */
  --radius-0: 0;
  --radius-s: 2px;
  --radius-round: 999px;
  --border:   1px solid var(--color-border);
  --shadow-s: 0 1px 2px rgba(22, 36, 58, 0.06);
  --shadow-m: 0 8px 24px rgba(22, 36, 58, 0.08);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 120ms;
  --dur:      220ms;

  /* Layers */
  --z-header: 50;
  --z-overlay: 100;
}


/* 03  Reset (modern, minimal)
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, h5, h6, li, dd, blockquote { overflow-wrap: break-word; }
table { border-collapse: collapse; border-spacing: 0; }


/* 04  Base elements & typography
   ------------------------------------------------------------------------ */
html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-snug);
  color: inherit;
  text-wrap: balance;
}
.display   { font-size: var(--step-5); line-height: var(--leading-tight); font-weight: 600; }
h1, .h1    { font-size: var(--step-4); line-height: var(--leading-tight); }
h2, .h2    { font-size: var(--step-3); }
h3, .h3    { font-size: var(--step-2); }
h4, .h4    { font-size: var(--step-1); }
h5, h6, .h5 {
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

p, ul, ol, dl { max-width: var(--measure); }
p + p { margin-top: var(--space-s); }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--color-text);
}

/* Eyebrow / kicker label above headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Titles of works, composers' pieces, program titles — always italic display */
.work, cite {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

small, .caption {
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

strong, b { font-weight: 600; }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--color-accent-hover); text-decoration-thickness: 2px; }

ul, ol { padding-left: 1.25em; }
li + li { margin-top: var(--space-3xs); }

/* Brand bullet: a small rose square set on its corner — the District */
.list-brand { list-style: none; padding-left: 0; }
.list-brand li { position: relative; padding-left: 1.4em; }
.list-brand li::before {
  content: "";
  position: absolute; left: 0.2em; top: 0.68em;
  width: 0.38em; height: 0.38em;
  background: var(--color-accent);
  transform: rotate(45deg);
}

hr {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-l) 0;
}

::selection { background: var(--cdmv-rose); color: var(--cdmv-white); }


/* 05  Layout primitives
   ------------------------------------------------------------------------ */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }

.section       { padding-block: var(--space-2xl); }
.section--lg   { padding-block: var(--space-3xl); }
.section--tight{ padding-block: var(--space-xl); }
.section + .section--rule { border-top: var(--border); }

/* Vertical rhythm: children spaced evenly */
.stack > * + * { margin-top: var(--stack-space, var(--space-s)); }
.stack--s { --stack-space: var(--space-2xs); }
.stack--l { --stack-space: var(--space-l); }

/* Horizontal group that wraps */
.cluster {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--cluster-gap, var(--space-s));
}

/* Responsive auto grid */
.grid {
  display: grid;
  gap: var(--grid-gap, var(--space-l));
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min, 18rem)), 1fr));
}
.grid--2 { --grid-min: 24rem; }
.grid--4 { --grid-min: 14rem; }

/* Two-column split that stacks on small screens */
.split {
  display: grid; gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left  { grid-template-columns: 3fr 2fr; }
  .split--wide-right { grid-template-columns: 2fr 3fr; }
}


/* 06  Site header & navigation
   Markup:
   <header class="site-header">
     <div class="container site-header__inner">
       <a class="site-logo" href="/"><img src="/assets/classicaldmv_wordmark_primary_transparent.png" alt="Classical DMV"></a>
       <button class="nav-toggle" aria-expanded="false" aria-controls="site-nav">Menu</button>
       <nav id="site-nav" class="site-nav" aria-label="Main">
         <a href="/concerts" aria-current="page">Concerts</a> … <a class="btn btn--primary btn--s" href="/tickets">Tickets</a>
       </nav>
     </div>
   </header>
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--cdmv-paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-m);
  min-height: 4.5rem;
}

/* Wordmark image: keep ≥180px wide (brand minimum) */
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo img { width: clamp(180px, 22vw, 260px); height: auto; }

.site-nav {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: var(--space-l);
}
.site-nav a:not(.btn) {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-2xs);
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--color-accent); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--color-accent); }

.nav-toggle {
  display: none;
  background: none; border: var(--border); border-radius: var(--radius-s);
  padding: 0.6rem 1rem; min-height: 44px;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: var(--tracking-button); text-transform: uppercase;
}

/* Mobile: toggle reveals the nav (toggle aria-expanded with a line of JS) */
@media (max-width: 52rem) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cdmv-paper);
    border-bottom: var(--border);
    padding: var(--space-s) var(--gutter) var(--space-m);
  }
  .site-nav a:not(.btn) { padding-block: var(--space-xs); border-bottom: var(--border); }
  .site-nav .btn { margin-top: var(--space-s); }
  .nav-toggle[aria-expanded="true"] + .site-nav { display: flex; }
}


/* 07  Buttons
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 44px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--cdmv-rose); color: var(--cdmv-white); }
.btn--primary:hover { background: var(--cdmv-rose-dark); color: var(--cdmv-white); }

.btn--secondary { background: transparent; color: var(--cdmv-ink); border-color: var(--cdmv-ink); }
.btn--secondary:hover { background: var(--cdmv-ink); color: var(--cdmv-paper); }

.btn--ghost { background: transparent; color: var(--color-accent); padding-inline: 0; min-height: auto; }
.btn--ghost::after { content: "→"; transition: transform var(--dur) var(--ease); }
.btn--ghost:hover { color: var(--color-accent-hover); }
.btn--ghost:hover::after { transform: translateX(3px); }

.btn--s { padding: 0.6rem 1.1rem; font-size: 0.75rem; }
.btn--l { padding: 1.05rem 2.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }


/* 08  Hero & sections
   ------------------------------------------------------------------------ */
.hero {
  background: var(--cdmv-ink);
  color: var(--cdmv-paper);
  padding-block: var(--space-3xl);
}
.hero__title { font-size: var(--step-5); line-height: var(--leading-tight); max-width: 18ch; }
.hero__meta  { color: #D5DBE3; font-size: var(--step-1); }

/* Hero with a photograph: image sits behind a calm ink scrim */
.hero--image { position: relative; isolation: isolate; overflow: hidden; }
.hero--image > img, .hero--image > picture {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22,36,58,0.92) 0%, rgba(22,36,58,0.72) 45%, rgba(22,36,58,0.25) 100%);
}

/* Section heading block */
.section-head { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-xl); }
.section-head p:not(.eyebrow) { color: var(--color-text-muted); }

/* Surfaces */
.surface-paper  { background: var(--cdmv-paper); }
.surface-white  { background: var(--cdmv-white); }
.surface-marble { background: var(--cdmv-marble-soft); }


/* 09  Cards
   ------------------------------------------------------------------------ */
.card {
  display: flex; flex-direction: column; gap: var(--space-xs);
  background: var(--color-surface);
  border: var(--border);
  border-radius: var(--radius-0);
  padding: var(--space-m);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card--link:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.card__media { margin: calc(-1 * var(--space-m)) calc(-1 * var(--space-m)) var(--space-xs); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: var(--leading-snug); }
.card__meta  { font-size: var(--step--1); color: var(--color-text-muted); }

/* Whole-card click target: put .card__link on the title's <a> */
.card--link { position: relative; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }

/* Event card: date block + details
   <article class="event">
     <div class="event__date"><span class="event__month">Mar</span><span class="event__day">14</span></div>
     <div class="event__body"> <p class="eyebrow">Chamber Series</p> <h3 class="event__title">…</h3> … </div>
   </article> */
.event {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-m);
  align-items: start;
  padding-block: var(--space-m);
  border-top: var(--border);
}
.event:last-child { border-bottom: var(--border); }
.event__date {
  display: grid; justify-items: center;
  min-width: 4.5rem; padding: var(--space-2xs) var(--space-xs);
  border: 1px solid var(--cdmv-ink);
  font-family: var(--font-text);
  font-variant-numeric: tabular-nums lining-nums;
}
.event__month { font-size: 0.75rem; font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-accent); }
.event__day   { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; line-height: 1; }
.event__title { font-size: var(--step-2); }
.event__meta  { font-size: var(--step--1); color: var(--color-text-muted); }
.event__actions { grid-column: 2; margin-top: var(--space-xs); }
@media (min-width: 48rem) {
  .event { grid-template-columns: auto 1fr auto; align-items: center; }
  .event__actions { grid-column: auto; margin-top: 0; }
}

/* Artist card */
.artist { display: grid; gap: var(--space-xs); }
.artist__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cdmv-marble-soft); }
.artist__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.artist__name { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.1; }
.artist__role { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }


/* 10  Program / repertoire listings
   <ol class="program">
     <li><span class="program__composer">Composer</span><span class="work">Title of work</span><span class="program__detail">Performers</span></li>
   </ol>
   ------------------------------------------------------------------------ */
.program { list-style: none; padding: 0; max-width: var(--container-narrow); }
.program li { display: grid; gap: 0.15rem; padding-block: var(--space-s); border-bottom: var(--border); margin: 0; }
.program__composer { font-size: var(--step--1); font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.program .work { font-size: var(--step-2); line-height: 1.2; }
.program__detail { font-size: var(--step--1); color: var(--color-text-muted); }
.program__interval {
  text-align: center; font-size: var(--step--1); font-weight: 600;
  letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-muted);
}


/* 11  Quotes, callouts, dividers
   ------------------------------------------------------------------------ */
blockquote, .quote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.25;
  max-width: 30ch;
}
blockquote footer, .quote__by {
  margin-top: var(--space-s);
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.callout {
  background: var(--cdmv-white);
  border: var(--border);
  border-top: 3px solid var(--color-accent);
  padding: var(--space-m);
}

/* Short brass rule — the brand's signature divider */
.rule {
  width: 3.5rem; height: 1px; border: 0;
  background: var(--color-rule);
  margin: var(--space-m) 0;
}
.rule--center { margin-inline: auto; }

/* Tags / pills */
.tag {
  display: inline-block;
  padding: 0.3em 0.8em;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: var(--radius-round);
  color: var(--color-text-muted);
}
.tag--accent { color: var(--color-accent); }
.tag--sold-out { color: var(--cdmv-slate); text-decoration: line-through; }


/* 12  Forms
   ------------------------------------------------------------------------ */
.field { display: grid; gap: var(--space-3xs); }
label, .label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hint { font-size: var(--step--1); color: var(--color-text-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"],
input[type="number"], input[type="url"], input[type="password"], input[type="date"],
select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--cdmv-white);
  color: var(--cdmv-ink);
  border: 1px solid #C9C1B2;   /* darker than Marble for 3:1 control contrast */
  border-radius: var(--radius-s);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
textarea { min-height: 8rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7A8394; }
input:hover, select:hover, textarea:hover { border-color: var(--cdmv-slate); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--cdmv-ink);
  box-shadow: 0 0 0 3px rgba(180, 71, 93, 0.25);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--cdmv-rose); }
.error { font-size: var(--step--1); color: var(--cdmv-rose); font-weight: 500; }

input[type="checkbox"], input[type="radio"] {
  width: 1.15rem; height: 1.15rem;
  accent-color: var(--cdmv-rose);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316243A' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

/* Newsletter / inline signup */
.signup { display: flex; flex-wrap: wrap; gap: var(--space-2xs); max-width: 32rem; }
.signup input { flex: 1 1 14rem; }


/* 13  Tables (seating, pricing, schedules)
   ------------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  background: var(--cdmv-white);
}
.table th, .table td { padding: 0.8rem 1rem; text-align: left; border-bottom: var(--border); }
.table th {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--cdmv-ink);
}
.table td.num, .table th.num { text-align: right; }


/* 14  Footer
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--cdmv-ink);
  color: #D5DBE3;
  padding-block: var(--space-2xl) var(--space-l);
  font-size: 0.9375rem;
}
.site-footer__logo img { width: 220px; }   /* use the reversed wordmark PNG */
.site-footer__grid {
  display: grid; gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.site-footer h2, .site-footer h3 {
  font-family: var(--font-text); font-size: 0.75rem; font-weight: 600;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--cdmv-brass);
  margin-bottom: var(--space-xs);
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: var(--cdmv-paper); text-decoration: none; }
.site-footer a:hover { color: var(--cdmv-brass); text-decoration: underline; }
.site-footer__legal {
  margin-top: var(--space-xl); padding-top: var(--space-m);
  border-top: 1px solid rgba(250, 247, 241, 0.14);
  font-size: var(--step--1); color: #AEB7C4;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s);
}


/* 15  Dark (Ink) surfaces
   Add .on-ink to any section; the accent switches to Monument Brass.
   ------------------------------------------------------------------------ */
.on-ink, .hero, .site-footer {
  --color-bg: var(--cdmv-ink);
  --color-surface: var(--cdmv-ink-soft);
  --color-text: var(--cdmv-paper);
  --color-text-muted: #C3CBD6;
  --color-accent: var(--cdmv-brass);
  --color-accent-hover: #CBA978;
  --color-on-accent: var(--cdmv-ink);
  --color-border: rgba(250, 247, 241, 0.16);
  --color-focus: var(--cdmv-brass);
}
.on-ink { background: var(--color-bg); color: var(--color-text); }

/* Buttons on dark: brass fill with ink text (5.1:1) */
.on-ink .btn--primary, .hero .btn--primary, .site-footer .btn--primary {
  background: var(--cdmv-brass); color: var(--cdmv-ink);
}
.on-ink .btn--primary:hover, .hero .btn--primary:hover { background: #C6A26C; color: var(--cdmv-ink); }
.on-ink .btn--secondary, .hero .btn--secondary {
  color: var(--cdmv-paper); border-color: rgba(250, 247, 241, 0.6);
}
.on-ink .btn--secondary:hover, .hero .btn--secondary:hover { background: var(--cdmv-paper); color: var(--cdmv-ink); }
.on-ink .card { background: var(--cdmv-ink-soft); }
.on-ink .event__date { border-color: rgba(250, 247, 241, 0.5); }
.on-ink ::selection, .hero ::selection { background: var(--cdmv-brass); color: var(--cdmv-ink); }


/* 16  Utilities
   ------------------------------------------------------------------------ */
.text-center { text-align: center; }
.text-center p, .text-center .lead { margin-inline: auto; }
.text-muted  { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-ink    { color: var(--cdmv-ink); }
.text-paper  { color: var(--cdmv-paper); }

.font-display { font-family: var(--font-display); }
.font-text    { font-family: var(--font-text); }
.caps { text-transform: uppercase; letter-spacing: var(--tracking-caps); font-size: var(--step--1); font-weight: 600; }
.nums { font-variant-numeric: tabular-nums lining-nums; }

.bg-paper  { background: var(--cdmv-paper); }
.bg-white  { background: var(--cdmv-white); }
.bg-ink    { background: var(--cdmv-ink); color: var(--cdmv-paper); }
.bg-marble { background: var(--cdmv-marble-soft); }

.mt-0 { margin-top: 0; } .mt-s { margin-top: var(--space-s); } .mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); } .mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; } .mb-s { margin-bottom: var(--space-s); } .mb-m { margin-bottom: var(--space-m); }
.mb-l { margin-bottom: var(--space-l); } .mb-xl { margin-bottom: var(--space-xl); }

.measure { max-width: var(--measure); }
.full-bleed { width: 100%; }
.ratio-16x9 { aspect-ratio: 16 / 9; } .ratio-4x3 { aspect-ratio: 4 / 3; } .ratio-1x1 { aspect-ratio: 1; }
.cover { width: 100%; height: 100%; object-fit: cover; }

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


/* 17  Accessibility & motion
   ------------------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: var(--space-s); top: -100px; z-index: var(--z-overlay);
  background: var(--cdmv-ink); color: var(--cdmv-paper);
  padding: 0.75rem 1rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--space-s); color: var(--cdmv-paper); }

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

@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
  .list-brand li::before { background: CanvasText; }
}


/* 18  Print (programs, event pages)
   ------------------------------------------------------------------------ */
@media print {
  @page { margin: 0.6in; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-nav, .nav-toggle, .site-footer, .btn, .signup { display: none !important; }
  .hero, .on-ink { background: none !important; color: #000 !important; padding-block: 0 1rem; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .event, .program li, .card { break-inside: avoid; }
}
