/* ==========================================================================
   PAUL KOLHOFF FOR COLORADO SENATE · DISTRICT 25: paulforsd25.com
   Project DarkPoe · Tactical tier · v2 rebuild
   Static HTML/CSS/JS. No build step, no framework, no CDN beyond webfonts.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #061428;
  --navy-800: #08192f;
  --navy-700: #0b1f3a;
  --navy-600: #10294a;
  --navy-500: #16345f;
  --navy-400: #22497d;

  --red-700: #8e0b20;
  --red-600: #a90d27;
  --red-500: #c8102e;
  --red-400: #e02744;
  --gold-500: #ffc72c;
  --gold-600: #e3a900;
  --gold-200: #ffe9a8;

  /* Warm neutrals: warmth is what keeps this off the cold "generated" palette */
  --paper: #faf8f4;
  --paper-2: #f2eee7;
  --sand: #e6dfd3;
  --ink-900: #14202f;
  --ink-700: #33414f;
  --ink-500: #5d6b7a;
  --line: #ded6c9;
  --white: #ffffff;

  /* Ink on dark */
  --on-dark: #eaf0f8;
  --on-dark-soft: #a9bad0;
  --on-dark-line: rgba(255, 255, 255, 0.14);

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;

  /* Rhythm: every vertical value comes from this scale */
  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 24px;  --s6: 32px;  --s7: 44px;  --s8: 64px;
  --s9: 88px;  --s10: 120px;

  --shell: 1240px;
  --gutter: 24px;

  /* Elevation: layered, warm-tinted, never a flat grey blur */
  --e1: 0 1px 2px rgba(6, 20, 40, .06), 0 2px 6px rgba(6, 20, 40, .05);
  --e2: 0 2px 4px rgba(6, 20, 40, .06), 0 8px 20px rgba(6, 20, 40, .08);
  --e3: 0 4px 8px rgba(6, 20, 40, .07), 0 18px 42px rgba(6, 20, 40, .13);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
a { color: var(--red-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* Focus: visible, on-brand, never removed */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .hero :focus-visible, header.site :focus-visible {
  outline-color: var(--gold-500);
}

/* Visually hidden but read by screen readers (for labels that duplicate a placeholder) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: var(--navy-900);
  padding: 12px 20px; font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell-narrow { max-width: 860px; }
.shell-mid { max-width: 1040px; }

section { position: relative; }
.sec { padding-block: var(--s9); }
.sec-tight { padding-block: var(--s8); }
.sec-paper { background: var(--paper); }
.sec-sand { background: var(--paper-2); }

/* Dark sections carry grain + a hairline top rule */
.sec-navy {
  background: var(--navy-700);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.sec-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.sec-navy > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. TYPE SCALE
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12.5px;
  color: var(--red-500);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; background: var(--red-500); flex: 0 0 auto;
}
.sec-navy .eyebrow, .on-dark .eyebrow { color: var(--gold-500); }
.sec-navy .eyebrow::before, .on-dark .eyebrow::before { background: var(--gold-500); }
.eyebrow.center { justify-content: center; }

h1, h2, h3, h4, .h-display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.018em;
  line-height: 1.04;
  text-wrap: balance;
}

.h1 { font-size: clamp(42px, 6.2vw, 78px); text-transform: uppercase; font-weight: 800; }
.h2 {
  font-size: clamp(31px, 3.9vw, 50px);
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--s4);
}
.sec-navy .h2, .on-dark .h2 { color: var(--white); }
.h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--navy-700);
  margin-bottom: var(--s3);
}
.sec-navy .h3, .on-dark .h3 { color: var(--white); }

.lede {
  font-size: clamp(18px, 1.5vw, 20.5px);
  line-height: 1.58;
  color: var(--ink-700);
  max-width: 66ch;
}
.sec-navy .lede, .on-dark .lede { color: var(--on-dark-soft); }
.lede.center { margin-inline: auto; }

.prose p { color: var(--ink-700); max-width: 68ch; }
.prose p + p { margin-top: var(--s4); }
.sec-navy .prose p, .on-dark .prose p { color: var(--on-dark-soft); }

.center { text-align: center; }
.muted { color: var(--ink-500); }

/* Section head cluster */
.sec-head { max-width: 720px; margin-bottom: var(--s7); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red-500);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  font-size: 14.5px; line-height: 1;
  padding: 17px 32px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: var(--e1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--e2); background: var(--red-600); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .18s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn-gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn-gold:hover { background: var(--gold-600); }
.btn-navy { --btn-bg: var(--navy-700); }
.btn-navy:hover { background: var(--navy-600); }
.btn-white { --btn-bg: var(--white); --btn-fg: var(--red-600); }
.btn-white:hover { background: var(--paper); }

.btn-ghost {
  background: transparent; color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
  clip-path: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost-dark {
  background: transparent; color: var(--navy-700);
  box-shadow: inset 0 0 0 2px var(--navy-700); clip-path: none;
}
.btn-ghost-dark:hover { background: var(--navy-700); color: var(--white); }

.btn-sm { padding: 12px 22px; font-size: 13px; }
.btn-lg { padding: 20px 42px; font-size: 16px; }

.btn-row { display: flex; gap: var(--s3); flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* Text link with arrow */
.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; font-size: 13px;
  color: var(--red-600); text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.link-more:hover { border-bottom-color: var(--red-500); gap: 11px; }
.sec-navy .link-more, .on-dark .link-more { color: var(--gold-500); }
.sec-navy .link-more:hover, .on-dark .link-more:hover { border-bottom-color: var(--gold-500); }

/* --------------------------------------------------------------------------
   6. UTILITY BAR + HEADER
   -------------------------------------------------------------------------- */
.utility {
  background: var(--navy-900);
  color: var(--on-dark-soft);
  font-size: 13px;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.utility .shell { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: var(--s4); }
.utility a { color: var(--on-dark-soft); text-decoration: none; transition: color .15s; }
.utility a:hover { color: var(--white); }
.utility .u-tag { display: flex; align-items: center; gap: 9px; }
.utility .u-tag .dot { width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; flex: 0 0 auto; }
.social { display: flex; gap: 4px; align-items: center; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; }
.social svg { width: 19px; height: 19px; }

header.site {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy-700);
  border-bottom: 3px solid var(--red-500);
  transition: box-shadow .25s var(--ease);
}
header.site.stuck { box-shadow: 0 8px 28px rgba(6,20,40,.32); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5);
  min-height: 84px;
  transition: min-height .25s var(--ease);
}
header.site.stuck .nav-bar { min-height: 66px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: 0 0 auto; }
/* Oversized brand chip: hangs below the nav bar like the nateforhd33 treatment */
header.site .brand { position: relative; height: 84px; width: 248px; }
header.site .logo-chip {
  position: absolute; left: 0; top: 0; z-index: 30;
  display: inline-flex; background: #fff;
  border-radius: 0 0 16px 16px;
  padding: 12px 18px 16px;
  box-shadow: 0 10px 26px rgba(6,20,40,.35);
  transition: padding .25s var(--ease);
}
header.site .logo-chip img { height: 132px; width: auto; display: block; transition: height .25s var(--ease); }
header.site.stuck .logo-chip { padding: 8px 14px 12px; }
header.site.stuck .logo-chip img { height: 104px; }
footer.site .logo-chip { display: inline-flex; background: #fff; border-radius: 10px; padding: 10px 16px; }
footer.site .logo-chip img { height: 76px; width: auto; display: block; }
.brand .mk { width: 50px; height: 50px; transition: width .25s var(--ease), height .25s var(--ease); }
header.site.stuck .brand .mk { width: 40px; height: 40px; }
.brand .txt { display: flex; flex-direction: column; line-height: 1; }
.brand .nm {
  font-family: var(--display); font-weight: 800;
  font-size: 22px; letter-spacing: -.012em;
  text-transform: uppercase; color: var(--white);
}
.brand .sub {
  font-family: var(--display); font-weight: 600;
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-500); margin-top: 5px;
}

nav.main { display: flex; align-items: center; gap: 2px; }
nav.main a {
  position: relative;
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: 13.5px;
  color: #c3d1e3; text-decoration: none;
  padding: 12px 15px;
  transition: color .15s var(--ease);
}
nav.main a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 2.5px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
nav.main a:hover { color: var(--white); }
nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleX(1); }
nav.main a[aria-current="page"] { color: var(--white); }

nav.main a.nav-donate {
  background: var(--red-500); color: var(--white);
  margin-left: 12px; padding: 13px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
nav.main a.nav-donate::after { display: none; }
nav.main a.nav-donate:hover { background: var(--red-600); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 46px; height: 46px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 24px; height: 2.5px; background: #fff;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-700);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero .ridge {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  z-index: -2; opacity: 1;
}
/* Scrim: dark enough behind the headline for contrast, opening toward the right
   so the ridge stays legible. The ridge carries its own sky, so this only darkens. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(6,20,40,.95) 0%, rgba(6,20,40,.86) 30%, rgba(6,20,40,.55) 58%, rgba(6,20,40,.3) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .055; mix-blend-mode: overlay;
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: var(--s8); align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
  min-height: min(78vh, 660px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; font-size: 12px;
  color: var(--gold-500);
  border: 1px solid rgba(255,199,44,.4);
  padding: 8px 15px;
  margin-bottom: var(--s5);
}
.hero-kicker .pip { width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; }

.hero h1 {
  font-size: clamp(50px, 7.6vw, 104px);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: .92;
  margin-bottom: var(--s5);
}
.hero h1 .ln { display: block; }
.hero h1 .ln2 { color: var(--gold-500); }
.hero h1 .rule {
  display: block; width: 92px; height: 5px;
  background: var(--red-500); margin-top: var(--s5);
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55; color: #cfdcec;
  max-width: 46ch; margin-bottom: var(--s6);
}
.hero-sub strong { color: var(--white); font-weight: 600; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--s5);
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid var(--on-dark-line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta .k {
  font-family: var(--display); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .18em; color: var(--gold-500);
}
.hero-meta .v { font-size: 15px; color: #cfdcec; }

/* --------------------------------------------------------------------------
   8. PHOTO FRAMES: sized to exact ratios so real photos drop in unchanged
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-800));
  overflow: hidden;
  box-shadow: var(--e3);
}
.frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  pointer-events: none;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--navy-800); }
.vid-cap {
  margin: 12px 2px 0; font-size: 15px; color: var(--ink-500);
  font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
/* Only one video is self hosted, so this card sends people to the rest.
   Same note-box idiom as .limit-note on the donate page: sand panel, solid
   left rule, mark at the left, so it reads as part of the system. */
.more-vids {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: var(--s4);
  background: var(--paper-2);
  border-left: 4px solid var(--navy-700);
  padding: 18px 20px;
}
.mv-mark { flex: 0 0 auto; margin-top: 2px; }
.mv-body { min-width: 0; }
.mv-title {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--navy-700);
}
.mv-copy { font-size: 15.5px; color: var(--ink-700); line-height: 1.5; margin-top: 3px; }
.more-vids .link-more { margin-top: 10px; }

.frame-portrait { aspect-ratio: 4 / 5; }
.frame-land { aspect-ratio: 3 / 2; }
.frame-wide { aspect-ratio: 16 / 9; }
.frame-square { aspect-ratio: 1 / 1; }

/* Corner brackets: a designed detail, not construction tape */
.frame .corner { position: absolute; width: 30px; height: 30px; border: 3px solid var(--gold-500); z-index: 2; pointer-events: none; }
.frame .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.frame .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* Slot: the awaiting-photo state. Reads as an intentional graphic panel. */
.slot {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: var(--s6);
  color: #9fb4d0;
  background-image:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.022) 0 12px, transparent 12px 24px);
}
.slot .ico { width: 38px; height: 38px; opacity: .5; margin-bottom: 2px; }
.slot .ttl {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .16em; color: #cfdcec;
}
.slot .dsc { font-size: 13px; line-height: 1.5; max-width: 30ch; color: #8ea5c4; }
.slot .id {
  font-family: var(--display); font-weight: 700; font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500); border: 1px solid rgba(255,199,44,.35);
  padding: 4px 10px; margin-top: 4px;
}
.frame-photo-hero { aspect-ratio: 4 / 5; }

/* --------------------------------------------------------------------------
   9. TICKER STRIP
   -------------------------------------------------------------------------- */
.strip {
  background: var(--red-500); color: var(--white);
  padding: 14px 0;
  border-block: 1px solid rgba(0,0,0,.12);
}
.strip .shell { display: flex; align-items: center; justify-content: center; gap: var(--s4); flex-wrap: wrap; }
.strip .lbl {
  font-family: var(--display); font-weight: 800; font-size: 12px;
  text-transform: uppercase; letter-spacing: .2em;
  background: rgba(0,0,0,.22); padding: 6px 12px;
}
.strip .msg { font-size: 15px; letter-spacing: .02em; }
.strip a { color: var(--white); font-weight: 600; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   10. STAT / DISTRICT BAND
   -------------------------------------------------------------------------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--on-dark-line); }
.stat {
  background: var(--navy-700); padding: var(--s6) var(--s5);
  display: flex; flex-direction: column; gap: 6px;
}
.stat .n {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px); line-height: 1;
  color: var(--gold-500); letter-spacing: -.02em;
}
.stat .l {
  font-family: var(--display); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .15em; color: var(--on-dark-soft);
}
.stat .d { font-size: 14px; color: #8ea5c4; line-height: 1.45; }

/* --------------------------------------------------------------------------
   11. CARDS
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }

.card {
  position: relative;
  background: var(--white);
  padding: var(--s6) var(--s5) var(--s5);
  box-shadow: var(--e1);
  border-top: 4px solid var(--red-500);
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.card p { color: var(--ink-700); font-size: 16px; flex: 1; }
.card .link-more { margin-top: var(--s4); align-self: flex-start; }
.card .num {
  font-family: var(--display); font-weight: 800; font-size: 13px;
  letter-spacing: .16em; color: var(--red-500); margin-bottom: var(--s3);
}
.sec-navy .card { background: var(--navy-600); border-top-color: var(--gold-500); box-shadow: none; }
.sec-navy .card p { color: var(--on-dark-soft); }
.sec-navy .card:hover { background: var(--navy-500); transform: translateY(-4px); }
.card-plain { border-top: 0; box-shadow: none; background: transparent; padding: 0; }
.card-plain:hover { transform: none; box-shadow: none; }

/* Pillar card with big index numeral */
.pillar { position: relative; overflow: hidden; }
.pillar .idx {
  position: absolute; top: -14px; right: 8px;
  font-family: var(--display); font-weight: 800; font-size: 92px;
  color: var(--navy-700); opacity: .06; line-height: 1; pointer-events: none;
}
.sec-navy .pillar .idx { color: #fff; opacity: .07; }

/* --------------------------------------------------------------------------
   12. SPLIT
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.split-4060 { grid-template-columns: .82fr 1.18fr; }
.split-6040 { grid-template-columns: 1.18fr .82fr; }
.split-top { align-items: start; }

/* --------------------------------------------------------------------------
   13. ENDORSEMENTS
   -------------------------------------------------------------------------- */
.endorse {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s6);
  align-items: center;
  background: var(--white);
  border-left: 6px solid var(--red-500);
  box-shadow: var(--e2);
  padding: var(--s6);
}
.endorse .seal { width: 92px; height: 92px; flex: 0 0 auto; }
.endorse .who {
  font-family: var(--display); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--red-600); margin-bottom: 8px;
}
.endorse .quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5;
  color: var(--navy-700);
}
.endorse .attrib {
  font-family: var(--display); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-500); margin-top: 12px;
}

/* Endorsement wall */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wall .cell {
  background: var(--white); min-height: 128px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: var(--s5) var(--s4); text-align: center;
}
.wall .cell img { width: 54px; height: 54px; opacity: .95; }
.wall .cell .nm {
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--navy-700); line-height: 1.3;
}
.wall .cell.open { background: var(--paper); }
.wall .cell.open .nm { color: var(--ink-500); }
.wall .cell .idtag {
  font-family: var(--display); font-weight: 700; font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-500);
}

/* --------------------------------------------------------------------------
   14. PULL QUOTE
   -------------------------------------------------------------------------- */
.pq { position: relative; padding-left: var(--s7); margin-block: var(--s6); }
.pq::before {
  content: "\201C";
  position: absolute; left: -4px; top: -18px;
  font-family: var(--serif); font-size: 96px; line-height: 1;
  color: var(--gold-500); opacity: .8;
}
.pq blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.45;
  color: var(--navy-700);
}
.sec-navy .pq blockquote, .on-dark .pq blockquote { color: var(--white); }
.pq cite {
  display: block; font-style: normal; margin-top: var(--s4);
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--red-600);
}
.sec-navy .pq cite, .on-dark .pq cite { color: var(--gold-500); }

/* --------------------------------------------------------------------------
   15. ISSUE ROWS
   -------------------------------------------------------------------------- */
.issue {
  display: grid; grid-template-columns: 92px 1fr; gap: var(--s6);
  padding-block: var(--s7);
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.issue:first-of-type { border-top: 0; padding-top: 0; }
.issue .idx {
  font-family: var(--display); font-weight: 800; font-size: 54px;
  line-height: .85; color: var(--red-500); letter-spacing: -.04em;
  position: relative;
}
.issue .idx::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--navy-700); margin-top: 14px; opacity: .18;
}
.issue h3 { margin-bottom: var(--s3); }
.issue .prose { margin-bottom: var(--s5); }
.commit {
  background: var(--paper);
  border-left: 4px solid var(--gold-500);
  padding: var(--s5);
}
.sec-paper .commit { background: var(--white); }
.commit .ct {
  font-family: var(--display); font-weight: 800; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--navy-700); margin-bottom: 10px;
}
.commit ul { display: grid; gap: 9px; }
.commit li { position: relative; padding-left: 24px; font-size: 16px; color: var(--ink-700); }
.commit li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; background: var(--red-500);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* --------------------------------------------------------------------------
   16. FORMS
   -------------------------------------------------------------------------- */
.form-panel {
  background: var(--white);
  box-shadow: var(--e3);
  border-top: 5px solid var(--red-500);
  padding: var(--s7) var(--s6) var(--s6);
}
.sec-navy .form-panel { border-top-color: var(--gold-500); }
.form-panel h3 { margin-bottom: 6px; }
.form-panel .fp-note { font-size: 15px; color: var(--ink-500); margin-bottom: var(--s5); }

.field { display: grid; gap: 6px; margin-bottom: var(--s4); }
.field label {
  font-family: var(--display); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .13em; color: var(--ink-700);
}
.field .req { color: var(--red-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: 16.5px; color: var(--ink-900);
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red-500); background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.field input::placeholder { color: #9aa6b3; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }

.checks { display: grid; gap: 2px; margin-bottom: var(--s5); }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 13px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s;
}
.check:hover { background: var(--paper); }
.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--red-500); flex: 0 0 auto; }
.check span { font-size: 16px; color: var(--ink-700); }
.check strong { display: block; color: var(--ink-900); font-weight: 600; }
.check em { font-style: normal; font-size: 14px; color: var(--ink-500); }

.form-fine { font-size: 13.5px; color: var(--ink-500); margin-top: var(--s4); line-height: 1.5; }
.legend-lbl {
  font-family: var(--display); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .13em; color: var(--ink-700);
  margin-bottom: 10px; padding: 0;
}

/* Inline capture: one row on desktop, stacked on small screens */
.capture { display: flex; gap: 10px; flex-wrap: wrap; max-width: 660px; align-items: stretch; }
.capture.center { margin-inline: auto; justify-content: center; }
.capture input {
  flex: 1 1 240px; min-width: 0; padding: 17px; border: 0; font-size: 16.5px;
  background: var(--white); color: var(--ink-900);
}
.capture input:focus { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.capture .zip { flex: 0 1 110px; }
.capture .btn { flex: 0 0 auto; padding-block: 17px; }
.capture .form-msg { flex: 1 1 100%; }

/* Form status message (JS) */
.form-msg {
  display: none; margin-top: var(--s4); padding: 14px 16px;
  background: var(--gold-200); border-left: 4px solid var(--gold-600);
  font-size: 15px; color: var(--navy-700);
}
.form-msg.on { display: block; }

/* --------------------------------------------------------------------------
   17. DONATE TILES
   -------------------------------------------------------------------------- */
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-block: var(--s5); }
.amt {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: var(--s5) var(--s3);
  background: var(--white); border: 2px solid var(--navy-700);
  text-decoration: none; cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.amt .v {
  font-family: var(--display); font-weight: 800; font-size: 27px;
  color: var(--navy-700); letter-spacing: -.02em;
}
.amt .w { font-size: 13px; color: var(--ink-500); text-align: center; line-height: 1.35; }
.amt:hover, .amt.on {
  background: var(--red-500); border-color: var(--red-500); transform: translateY(-3px);
}
.amt:hover .v, .amt.on .v, .amt:hover .w, .amt.on .w { color: var(--white); }

.limit-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper-2); border-left: 4px solid var(--navy-700);
  padding: var(--s5); font-size: 15px; color: var(--ink-700); line-height: 1.55;
}
.limit-note svg { width: 22px; height: 22px; flex: 0 0 auto; fill: var(--navy-700); margin-top: 1px; }

/* --------------------------------------------------------------------------
   18. EVENTS
   -------------------------------------------------------------------------- */
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: var(--s5);
  align-items: center; padding: var(--s5);
  background: var(--white); box-shadow: var(--e1);
  border-left: 4px solid var(--red-500);
}
.event + .event { margin-top: var(--s3); }
.event .date {
  text-align: center; border-right: 1px solid var(--line); padding-right: var(--s4);
}
.event .date .m {
  font-family: var(--display); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--red-500);
}
.event .date .d {
  font-family: var(--display); font-weight: 800; font-size: 32px;
  color: var(--navy-700); line-height: 1.1;
}
.event .nm { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy-700); text-transform: uppercase; }
.event .mt { font-size: 15px; color: var(--ink-500); margin-top: 3px; }

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(102deg, var(--red-600) 0%, var(--red-500) 48%, var(--red-700) 100%);
  color: var(--white); text-align: center;
  padding-block: var(--s9);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.5) 0 2px, transparent 2px 26px);
}
.cta h2 {
  font-size: clamp(30px, 4.2vw, 52px); text-transform: uppercase;
  font-weight: 800; margin-bottom: var(--s4); color: var(--white);
}
.cta p { font-size: clamp(17px, 1.5vw, 19.5px); max-width: 58ch; margin: 0 auto var(--s6); color: #ffdde3; }

.stars {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: var(--s5);
}
.stars svg { width: 17px; height: 17px; fill: currentColor; opacity: .9; }
.sec-navy .stars { color: var(--gold-500); }
.sec-paper .stars, .sec-sand .stars { color: var(--red-500); }

/* --------------------------------------------------------------------------
   20. PAGE HERO (interior)
   -------------------------------------------------------------------------- */
.phero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-700); color: var(--white);
  padding-block: clamp(52px, 6vw, 84px);
  border-bottom: 3px solid var(--gold-500);
}
.phero .ridge {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom; z-index: -2; opacity: 1;
}
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(98deg, rgba(6,20,40,.94) 0%, rgba(6,20,40,.86) 42%, rgba(6,20,40,.52) 100%);
}
.crumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--display); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--gold-500); margin-bottom: var(--s4);
}
.crumb a { color: var(--gold-500); text-decoration: none; opacity: .82; }
.crumb a:hover { opacity: 1; text-decoration: underline; }
.crumb .sep { opacity: .45; }
.phero h1 { font-size: clamp(36px, 5.2vw, 66px); text-transform: uppercase; }
.phero .psub { font-size: clamp(17px, 1.5vw, 20px); color: #cfdcec; max-width: 60ch; margin-top: var(--s4); }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
footer.site {
  background: var(--navy-900); color: var(--on-dark-soft);
  padding-top: var(--s9); font-size: 15.5px;
  position: relative; overflow: hidden;
}
footer.site::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red-500) 0 34%, var(--white) 34% 67%, var(--navy-400) 67% 100%);
  opacity: .9;
}
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: var(--s7); padding-bottom: var(--s8); }
footer.site h4, footer.site .f-h {
  font-family: var(--display); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .18em; color: var(--white);
  margin-bottom: var(--s4);
}
footer.site a { color: var(--on-dark-soft); text-decoration: none; transition: color .15s; }
footer.site a:hover { color: var(--white); text-decoration: underline; }
footer.site li { margin-bottom: 10px; }
footer.site .f-about { max-width: 34ch; margin-top: var(--s4); line-height: 1.6; font-size: 15px; }
.f-social { display: flex; gap: 8px; margin-top: var(--s5); }
.f-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--on-dark-line); transition: background .16s, border-color .16s;
}
.f-social a:hover { background: var(--red-500); border-color: var(--red-500); }
.f-social svg { width: 22px; height: 22px; }

.f-bottom { border-top: 1px solid var(--on-dark-line); padding-block: var(--s6); }

/* ⚠ COMPLIANCE: DO NOT SHRINK THIS TEXT.
   Colorado CPF Rule 22.1.1 requires the "paid for by" disclaimer to be clearly readable
   and "no less than 15 percent of the size of the largest font used in the communication,
   or at least eight-point font." The largest type on this site is the homepage hero at
   104px, so 15% = 15.6px. 16px satisfies that on every page and clears the 8pt (10.67px)
   floor either way. The registered-agent line is required disclaimer content under Rule
   22.1.1(c), so it carries the same minimum.
   If the hero type ever gets larger, raise this to match. */
.disclaimer {
  border: 1.5px solid rgba(255,255,255,.22);
  font-family: var(--display); font-weight: 700;
  font-size: 16px;              /* Rule 22.1.1 minimum: see note above */
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--white); text-align: center;
  padding: 18px 24px; max-width: 700px; margin: 0 auto var(--s5);
  line-height: 1.55;
}
.disclaimer .ra {
  display: block; font-weight: 600; letter-spacing: .08em;
  color: #d7e0ec;
  font-size: 16px;              /* Rule 22.1.1(c): required content, same minimum */
  margin-top: 7px;
}
.fineprint { text-align: center; font-size: 13px; color: #7789a0; line-height: 1.7; }
.fineprint a { color: #7789a0; text-decoration: underline; }

/* --------------------------------------------------------------------------
   22. STICKY MOBILE DONATE BAR
   -------------------------------------------------------------------------- */
.sticky-give {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6,20,40,.97);
  border-top: 2px solid var(--red-500);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform .3s var(--ease-out);
}
.sticky-give.up { transform: translateY(0); }
.sticky-give .btn { flex: 1; padding: 15px 10px; font-size: 13px; }

/* --------------------------------------------------------------------------
   23. MOTION: scroll reveal
   -------------------------------------------------------------------------- */
[data-rise] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-rise].in { opacity: 1; transform: none; }
.no-js [data-rise] { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   24. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .f-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  header.site .brand { height: auto; width: auto; }
  header.site .logo-chip, header.site.stuck .logo-chip { position: static; border-radius: 8px; padding: 5px 10px; box-shadow: 0 2px 8px rgba(6,20,40,.25); }
  header.site .logo-chip img, header.site.stuck .logo-chip img { height: 48px; }
  :root { --s9: 64px; --s8: 44px; }
  nav.main {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--navy-700); border-bottom: 3px solid var(--red-500);
    padding: var(--s3) 0 var(--s5);
    box-shadow: 0 20px 40px rgba(6,20,40,.4);
    display: none;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 15px var(--gutter); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06); }
  nav.main a::after { display: none; }
  nav.main a[aria-current="page"] { border-left: 4px solid var(--gold-500); background: rgba(255,255,255,.04); }
  nav.main a.nav-donate { margin: var(--s4) var(--gutter) 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); min-height: 0; }
  .hero-photo-col { max-width: 400px; }
  .split, .split-4060, .split-6040 { grid-template-columns: 1fr; gap: var(--s6); }
  .split .order-first { order: -1; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; }
  .amts { grid-template-columns: 1fr 1fr; }
  /* Sticky give bar is fixed: reserve room so it never covers the footer. */
  .sticky-give { display: flex; }
  body { padding-bottom: 78px; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .utility .u-tag { display: none; }
  .utility .shell { justify-content: center; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .wall { grid-template-columns: 1fr; }
  .issue { grid-template-columns: 1fr; gap: var(--s4); }
  .issue .idx { font-size: 40px; }
  .issue .idx::after { display: none; }
  .endorse { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: var(--s4); }
  .row-2 { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; gap: var(--s3); text-align: left; }
  .event .date { display: flex; gap: 10px; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; text-align: left; }
  .brand .nm { font-size: 18px; }
  .brand .sub { font-size: 8.5px; letter-spacing: .2em; }
  .brand .mk { width: 42px; height: 42px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 100%; }
  .capture input { flex: 1 1 100%; }
  .capture .zip { flex: 1 1 100%; }
  .pq { padding-left: var(--s5); }
}

/* --------------------------------------------------------------------------
   25. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .utility, header.site, .sticky-give, .cta, nav.main, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .phero, .sec-navy { background: #fff !important; color: #000 !important; }
  .hero .ridge, .phero .ridge { display: none; }
  .h1, .h2, .h3, .hero h1, .phero h1 { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}


/* Events page: trail gallery and lightbox */
/* .te-meta is the dated line under an event name. The old .trail-event card
   went away when the photo sets moved off the events page onto gallery.html. */

/* The ask above the first issue. Same sand note-box idiom as .limit-note and
   .more-vids so it reads as part of the system rather than a bolt-on. */
.issue-ask {
  background: var(--paper-2); border-left: 4px solid var(--red-500);
  padding: 20px 24px; margin-bottom: var(--s6);
}
.ia-q {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: .02em; color: var(--navy-700);
}
.ia-copy { font-size: 16px; color: var(--ink-700); margin-top: 4px; line-height: 1.5; }
.ia-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--red-600); text-decoration: none;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.ia-link:hover, .ia-link:focus-visible { border-bottom-color: var(--red-500); gap: 12px; }
.ia-link svg { flex: 0 0 auto; }

/* Album cards on the gallery page. One card per event, cover photo plus a
   count, click opens that event's set in the lightbox. */
/* auto-fit with a max column width, so two events read as deliberate now
   and the row still fills out to three across as more events land. */
.album-grid {
  display: grid; gap: var(--s5); justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
}
.album {
  display: block; text-decoration: none; color: inherit;
  background: var(--white, #fff); border: 1px solid var(--line, #d5dee9);
  box-shadow: var(--e1); transition: transform .18s ease, box-shadow .18s ease;
}
.album:hover, .album:focus-visible { transform: translateY(-3px); box-shadow: var(--e3); }
.album-cover { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-800); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album:hover .album-cover img { transform: scale(1.03); transition: transform .4s ease; }
.album-count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(11,31,58,.92); color: var(--white, #fff);
  font-family: var(--display); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 11px; border-radius: 999px;
}
.album-meta { display: block; padding: 18px 20px 20px; border-top: 3px solid var(--red-500, #c8102e); }
.album-date {
  display: block; font-family: var(--display); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--red-500, #c8102e);
}
.album-name {
  display: block; margin-top: 5px; font-family: var(--display); font-weight: 700;
  font-size: 19px; line-height: 1.25; text-transform: uppercase; color: var(--navy-700);
}
.album-where { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-500); }

/* The full sets sit in the page so they still work with JS off. With JS on the
   album card opens them in the lightbox, so they stay out of the layout. */
.album-set { display: none; }
.no-js .album-set { display: block; margin-top: var(--s6); }
.no-js .album-set + .album-set { margin-top: var(--s7); }
.te-meta { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--red-500, #c8102e); margin-top: 4px; }
.gal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gal-grid button { padding: 0; border: 0; cursor: pointer; background: var(--navy-800, #071527); aspect-ratio: 1 / 1; overflow: hidden; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s var(--ease), opacity .25s; }
.gal-grid button:hover img, .gal-grid button:focus-visible img { transform: scale(1.05); opacity: .88; }
.gal-grid button:focus-visible { outline: 3px solid var(--gold-500, #ffc72c); outline-offset: 2px; }

.lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; gap: 12px; background: rgba(6, 16, 31, .93); padding: 24px; }
.lightbox.open { display: flex; }
.lb-stage { max-width: min(1100px, 86vw); margin: 0; }
.lb-stage img { max-width: 100%; max-height: 78vh; display: block; margin: 0 auto; box-shadow: 0 18px 60px rgba(0,0,0,.5); }
.lb-stage figcaption { text-align: center; color: #c9d5e4; font-size: 14px; margin-top: 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; }
.lb-close, .lb-nav { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.lb-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; font-size: 26px; }
.lb-nav { width: 48px; height: 64px; font-size: 34px; flex: 0 0 auto; }
.lb-close:hover, .lb-nav:hover { background: var(--gold-500, #ffc72c); color: var(--navy-800, #071527); }
@media (max-width: 940px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } .lb-nav { width: 40px; height: 52px; } }
@media (max-width: 620px) { .album-grid { grid-template-columns: 1fr; } }
