/* ============================================================
   Environmental Hall of Fame — site stylesheet
   Palette: ink navy / antique gold / warm paper
   Type:    Cormorant Garamond (display) · Inter (body)
   ============================================================ */

:root {
  --ink:        #0F1D2E;  /* deepest navy — hero, contact, footer */
  --navy:       #16283E;  /* primary navy surfaces */
  --navy-2:     #1E3450;  /* raised navy */
  --gold:       #C2A45C;  /* antique gold — rules, accents */
  --gold-soft:  #D8BC80;  /* lighter gold — hover, small caps on dark */
  --paper:      #F7F4EC;  /* warm paper background */
  --paper-2:    #FDFBF5;  /* card on paper */
  --text:       #26303C;  /* body ink on paper */
  --muted:      #6A7280;  /* secondary text on paper */
  --muted-dark: #C6CCD5;  /* secondary text on navy */
  --line:       #E3DCC8;  /* hairlines on paper */
  --line-dark:  #2A3D57;  /* hairlines on navy */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #121A26;
    --paper-2: #182335;
    --text:    #F1EFEA;  /* Nov 1 (Jon): whiter, still a touch warm off-white */
    --muted:   #BCC3CD;
    --line:    #253750;
  }
}
:root[data-theme="dark"] {
  --paper:   #121A26;
  --paper-2: #182335;
  --text:    #F1EFEA;  /* Nov 1 (Jon): whiter, still a touch warm off-white */
  --muted:   #BCC3CD;
  --line:    #253750;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- type ---------- */

h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
}

.kicker {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 26px auto;
}
.rule.left { margin-left: 0; }

/* ---------- header ---------- */

.topline { height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold)); }

header.site {
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  /* img/mark.svg: vector circle + gold ring drawn in the SVG, so no CSS border/radius (2026-10-01) */
  width: 44px;
  height: 44px;
  display: block;
  flex: none;
}

/* take-C leaf sprig between the globe and the name (2026-10-10, Ziz + Jon: "the leaf for the header").
   Same vector as the hero leaf, at header scale; a small bevel + contact shadow like the hero's. */
.brand-leaf {
  width: 18px;
  height: auto;
  flex: none;
  margin: 0 -4px 0 -6px;
  overflow: visible;
  filter: drop-shadow(0 0.6px 0 #8A6A33) drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.45));
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #F3EEDF;
  font-size: 21px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Registered mark on the wordmark-as-logo (header, hero, footer). Decorative
   (aria-hidden in markup); inherits the wordmark colour. line-height:0 keeps it
   from growing the line box. (2026-10-09) */
.reg {
  font-size: 0.55em; /* was 0.45em; "the R is a little small" (Ziz, Oct 11 01:03) */
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
}

nav.site-nav { display: flex; gap: 26px; flex: none; }

nav.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
nav.site-nav a:hover { color: var(--gold-soft); }

/* ---------- hero ---------- */

.hero {
  /* 2026-10-01 (Jon: "logo and text a little smaller · mobile is different than desktop"):
     the title card used to be a single raster (hero-card.jpg) on desktop and a different
     banner + flat HTML text on phones. Now every width gets the SAME live lockup —
     clean sky plate (hero-banner with the emblem inpainted out, graded to the title card)
     + emblem PNG + engraved-gold HTML wordmark. */
  --wm: clamp(250px, calc(100px + 52vw), 860px);   /* wordmark width — THE size knob */
  min-height: clamp(600px, calc(100svh - 84px), 960px);
  /* 2026-10-07 (Jud round 2: "the coloring … should look like the video"), ported from jud-round2-20261007 b99901e
     on 2026-10-10 ("more lustrous, more colorful in the background"): the plate is regraded to the film's opening
     frame (bright, saturated, warm) and the old full-height navy overlay (6%→86%) is gone. Same image, same framing.
     Only a faint top shade remains under the header; the copy carries its own soft scrim (.hero-copy). */
  background:
    linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%),
    url("../img/hero-plate.jpg") 18% 72% / cover no-repeat,
    var(--ink);
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow-x: clip;   /* the phone copy scrim (blurred, -6% inset) bled 5px past 390 wide (jud-round2 b99901e did too) */
}

.hero-inner {
  width: 100%;
  padding-top: clamp(72px, min(8.8vw, 11.8vh), 132px);   /* Nov 10 (Jud): logo, wordmark and leaf moved down slightly (was clamp(44px, 6.2vw, 92px)); the vh cap keeps short laptop screens from losing more of the copy */
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-mark {
  /* emblem keeps the title card's proportion to the wordmark (arc span ≈ 0.69 × ENVIRONMENTAL) */
  width: calc(var(--wm) * 0.69);
  height: auto;
  margin: 0 auto calc(var(--wm) * 0.045);
  filter: drop-shadow(0 2px 6px rgba(10, 20, 34, 0.45));
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--wm) * 0.012);
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.04;
  /* engraved gold: light from above, warm shadow beneath */
  filter: drop-shadow(0 1px 0 rgba(255, 240, 200, 0.18)) drop-shadow(0 3px 7px rgba(8, 16, 28, 0.55));
}

.hero-name .name-env,
.hero-name .name-hof {
  display: block;
  white-space: nowrap;
  font-size: calc(var(--wm) / 10.2);
  letter-spacing: 0.075em;
  margin-right: -0.075em;  /* re-center tracked caps */
  background: linear-gradient(180deg, #F6E7BE 0%, #E2C988 34%, #B8954F 62%, #E9D49C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-name .name-env::first-letter { font-size: 1.16em; }
.hero-name .sc { font-size: 0.74em; letter-spacing: 0.06em; }
/* The hero wordmark is gradient-clipped (-webkit-text-fill-color: transparent,
   which inherits), so the ® would be invisible. Give it an explicit mid-gold
   from the wordmark gradient so it reads as the same colour. (2026-10-09) */
.hero-name .reg { color: #E2C988; -webkit-text-fill-color: #E2C988; }

/* ============================================================
   TAKE C — depth (2026-10-10, Ziz + Jon: "C is the closest … raised up with a little shadow … C has depth,
   the extruded gold letterform"). Ported 1:1 from _takes/logo-depth/hero.html (take C, ® variant 1):
   an extruded darker-gold copy of the wordmark (.name-depth, aria-hidden) sits under the gradient face,
   the face carries a static diagonal sheen + hotter specular stop, the emblem gets a sun glint, and the
   emblem + leaf get a matching stepped bevel. Plus a CSS-only glint sweep on the letters (below).
   ============================================================ */
/* ONE SUN (Ziz + Jon, Oct 11 01:03–01:04: "the glimmer off of ALL the elements … the world with both of the
   little side pieces of gold … sunrise glimmer, not gleaming off metal"). A single registered length,
   --glint-x, is animated once on .lockup and inherited by every lit layer (the globe emblem — arcs included,
   they are part of the emblem image — and both wordmark lines), so they can never drift out of phase at any
   width. Each layer places the same 112deg band at (its own centre + --glint-x + --glint-row); --glint-row
   is the slant correction (-tan 22deg × the row's drop below the globe centre, in --wm units, measured by
   _takes/logo-depth/_build/measure-rows.mjs), which makes the three bands one continuous straight line:
   the band reaches the globe first, then ENVIRONMENTAL, then HALL OF FAME, as one light moving across.
   Browsers without @property keep the rest value = the take C still. */
@property --glint-x {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}
.lockup {
  position: relative;
  --glint-x: calc(var(--wm) * 0.9);            /* rest: the band is parked right of everything */
  animation: ehof-glint 9s ease-in-out 1.6s infinite;
}
.mark-wrap {                       /* wrapper so the emblem can carry the glint pseudo-element */
  position: relative;
  display: block;
  width: calc(var(--wm) * 0.69);
  margin: 0 auto calc(var(--wm) * 0.045);
}
.mark-wrap .hero-mark { width: 100%; margin: 0; }
.name-stack { display: grid; justify-items: center; }
.name-stack > * { grid-area: 1 / 1; }
.name-stack .hero-name:not(.name-depth) {
  position: relative;
  z-index: 1;
  /* face: a hairline top bevel only — the depth layer carries the lift */
  filter: drop-shadow(0 -0.5px 0 rgba(255, 246, 220, 0.55));
}
.name-depth { display: flex; filter: none; }
.name-depth .name-env,
.name-depth .name-hof,
.name-depth .reg {
  background: none;
  color: #5E4520;
  -webkit-text-fill-color: #5E4520;
  /* 7-step extrusion, 1 step ≈ 1px at desktop (em-based so it scales with --wm), then contact + lift shadows */
  text-shadow:
    0 0.010em 0 #B08A45,
    0 0.020em 0 #A07D3C,
    0 0.030em 0 #8F6F35,
    0 0.040em 0 #7E612E,
    0 0.050em 0 #6D5427,
    0 0.060em 0 #5C4621,
    0 0.070em 0 #4B391B,
    0 0.100em 0.08em rgba(6, 12, 22, 0.55),
    0 0.220em 0.40em rgba(6, 12, 22, 0.45);
}
.hero-name:not(.name-depth) .name-env,
.hero-name:not(.name-depth) .name-hof {
  /* layer 1: the glint — a narrow specular band on a 3×--wm canvas, parked off the letters at rest and swept
     across by ehof-glint (so a still frame is exactly take C);
     layer 2: C's static diagonal sheen, sized to the lockup width and centred so it lines up on both lines;
     layer 3: the site gradient with a near-white specular stop at 28% */
  background-image:
    linear-gradient(112deg, rgba(255, 252, 242, 0) 46%, rgba(255, 253, 246, 0.9) 50%, rgba(255, 252, 242, 0) 54%),
    linear-gradient(112deg, rgba(255, 251, 238, 0) 56%, rgba(255, 252, 242, 0.95) 63%, rgba(255, 251, 238, 0) 70%),
    linear-gradient(180deg, #F6E7BE 0%, #FFF8E8 28%, #E2C988 40%, #B8954F 64%, #E9D49C 100%);
  background-size: calc(var(--wm) * 3) 100%, var(--wm) 100%, 100% 100%;
  background-position: calc(50% + var(--glint-x) + var(--glint-row)) center, center, center;
  background-repeat: no-repeat;
}
.hero-name:not(.name-depth) .name-env { --glint-row: calc(var(--wm) * -0.0756); }   /* row centre 0.187 wm below the globe's */
.hero-name:not(.name-depth) .name-hof { --glint-row: calc(var(--wm) * -0.1249); }   /* row centre 0.309 wm below the globe's */
/* the glint: one soft specular sweep, left to right across the whole lockup in ~3.6 s, then rest; repeats
   every 9 s. Slowed from 1.2 s / 7 s on Ziz + Jon's call (Oct 11 01:03): "sunrise glimmer, not gleaming off
   metal". Oct 11: it animates the shared --glint-x on .lockup, not each layer's own background-position. */
@keyframes ehof-glint {
  0%   { --glint-x: calc(var(--wm) * -0.9); }
  40%  { --glint-x: calc(var(--wm) * 0.9); }
  100% { --glint-x: calc(var(--wm) * 0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .lockup { animation: none; }
}
.mark-wrap::after {
  /* sun glint on the globe's right side: a brightened copy of the emblem itself (so it lives only on
     the gold, never on the sky), revealed through a hot spot + a diagonal band; screen-blended, static */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../img/mark-lockup.webp") center / 100% 100% no-repeat;
  filter: brightness(2.2) saturate(0.5);
  mix-blend-mode: screen;
  /* layers 1–2: take C's static hot spot + diagonal band (unchanged);
     layer 3 (Oct 11): the moving sun band — same 112deg angle, same 3×--wm canvas and the same --glint-x as
     the wordmark, so it crosses the globe and both arcs in step with the letters. The mask only selects where
     the brightened copy shows; the copy is the emblem itself, so the light lands on the gold only (mask ×
     emblem alpha), never on the sky. Parked off the emblem at rest, so the still is exactly take C. */
  --glint-row: 0px;
  -webkit-mask-image:
    radial-gradient(ellipse 7% 20% at 59.5% 32%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%),
    linear-gradient(112deg, transparent 50%, rgba(0, 0, 0, 0.55) 57%, transparent 64%),
    linear-gradient(112deg, transparent 46%, rgba(0, 0, 0, 0.45) 48.5%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.45) 51.5%, transparent 54%);
          mask-image:
    radial-gradient(ellipse 7% 20% at 59.5% 32%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%),
    linear-gradient(112deg, transparent 50%, rgba(0, 0, 0, 0.55) 57%, transparent 64%),
    linear-gradient(112deg, transparent 46%, rgba(0, 0, 0, 0.45) 48.5%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.45) 51.5%, transparent 54%);
  -webkit-mask-size: 100% 100%, 100% 100%, calc(var(--wm) * 3) 100%;
          mask-size: 100% 100%, 100% 100%, calc(var(--wm) * 3) 100%;
  -webkit-mask-position: center, center, calc(50% + var(--glint-x) + var(--glint-row)) center;
          mask-position: center, center, calc(50% + var(--glint-x) + var(--glint-row)) center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.lockup .hero-mark,
.hero .leaf {
  /* matching bevel: four 1-step solid darker-gold offsets, then contact + lift */
  filter:
    drop-shadow(0 calc(var(--wm) * 0.0012) 0 #A8843F)
    drop-shadow(0 calc(var(--wm) * 0.0012) 0 #8A6A33)
    drop-shadow(0 calc(var(--wm) * 0.0012) 0 #6E5428)
    drop-shadow(0 calc(var(--wm) * 0.0012) 0 #55401E)
    drop-shadow(0 calc(var(--wm) * 0.008) calc(var(--wm) * 0.010) rgba(8, 14, 24, 0.50))
    drop-shadow(0 calc(var(--wm) * 0.016) calc(var(--wm) * 0.030) rgba(8, 16, 28, 0.45));
}
/* the leaf sprig under the rule (as in the video frame / title card). The sprig was traced by eye from the
   title card for the logo-depth review; no vector source for it exists on disk. */
.hero .leaf {
  display: block;
  width: calc(var(--wm) * 0.08);
  height: auto;
  margin: 0 auto calc(var(--wm) * 0.04);
  overflow: visible;
}

.hero .rule {
  width: calc(var(--wm) * 0.42);
  height: 1px;
  margin: calc(var(--wm) * 0.034) auto calc(var(--wm) * 0.02);   /* bottom was 0.04 before the leaf (take C) */
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-soft) 50%, var(--gold) 78%, transparent);
}

.hero-copy {
  /* soft, borderless scrim only behind the copy, so the sky and the city stay as bright as the film (b99901e) */
  position: relative;
  max-width: 46em;
  margin: 0 auto;
  padding: clamp(10px, 1.4vw, 18px) clamp(8px, 3vw, 40px) 0;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -30% -30% -36%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 19, 32, 0.74) 0%, rgba(10, 19, 32, 0.72) 50%, rgba(10, 19, 32, 0.58) 66%, rgba(10, 19, 32, 0.3) 82%, rgba(10, 19, 32, 0.08) 93%, rgba(10, 19, 32, 0) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 0; }
@media (max-width: 720px) {
  /* phones: the copy column is tall and "Established 2019" lands on the sun's glow — extend the scrim downward */
  .hero-copy::before {
    inset: -2% -6% -34%;
    background: rgba(10, 19, 32, 0.7);
    filter: blur(26px);
  }
}

.mission {
  color: #FFFFFF;  /* was #DDE0D9 — Jud: "whiter" (b99901e) */
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.45;
  max-width: 30em;
  margin: 0 auto 30px;
  text-shadow: 0 1px 2px rgba(8, 16, 28, 0.6), 0 1px 14px rgba(8, 16, 28, 0.6);
}
.mission em {
  /* Jon, Oct 17: "make the word 'together' white and not italic" (was italic, #F1DDA8 gold) */
  font-style: normal;
  color: #FFFFFF;
}

.invitation {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: #F4EEE0;  /* was --muted-dark #A7B0BC (b99901e) */
  text-shadow: 0 1px 10px rgba(8, 16, 28, 0.6);
}

.est {
  margin-top: 18px;
  font-size: 18px;   /* Nov 10 (Jud): ~50% bigger (was 12px) */
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #F5E7C4;  /* was --gold #C2A45C; lifted to a pale gold so it holds on the brighter plate (b99901e) */
  text-shadow: 0 1px 8px rgba(8, 16, 28, 0.6);
}

/* ---------- sections ---------- */

section { padding: 88px 0; }

.section-head { text-align: center; margin-bottom: 52px; }

.section-head h2 {
  font-size: clamp(30px, 4vw, 40px);
  color: inherit;
  margin-top: 14px;
}

.section-head .sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

/* honorees */

.honorees { background: var(--paper); }

.honoree-names {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text);
  letter-spacing: 0.03em;
}

.gallery { display: grid; gap: 20px; }

.gallery .row-feature {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}

.gallery .row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

figure.still {
  background: var(--paper-2);
  border: 1px solid var(--line);
  /* every card framed like the film artifact: image + caption INSIDE the box
     (Ziz live review: "I like the way the text looks inside the box — do them all like that") */
  padding: 16px;
  display: flex;
  flex-direction: column;
}

figure.still img {
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

figure.still.portrait img { aspect-ratio: 4 / 3.4; object-position: center 20%; }

/* the ceremony-film title card, presented as a framed artifact */
figure.still.artifact {
  padding: 18px;
  border-color: rgba(194, 164, 92, 0.5);
  /* was optically a few px high next to its row-mate (Jon, live review) */
  align-self: center;
}
figure.still.artifact a { display: block; line-height: 0; }
.award { background: var(--navy); border-top: 1px solid rgba(194,164,92,0.25); }
.award .narrow { max-width: 720px; margin: 0 auto; text-align: center; }
/* .container had no rules at all → award/film text ran edge-to-edge on phones (2026-10-01) */
.container { padding-left: 16px; padding-right: 16px; }
.award h2, .film h2 { font-size: clamp(30px, 4vw, 40px); color: #F3EEDF; } /* was body ink: navy-on-navy in light mode */
.award h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: 0.02em; margin: 10px 0 18px; }
.award p { color: rgba(247,244,236,0.85); line-height: 1.75; margin: 0 0 16px; }
/* Nov 10 (Jud): the mission line moved here from the hero; it opens the section above "A Lifetime of Impact" */
.award p.mission { color: #FFF9EE; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.45; margin: 0 auto 44px; text-shadow: none; }
figure.still.artifact img {
  border: 1px solid var(--line);
}

figure.still figcaption.one-line {
  white-space: nowrap;
  font-size: 11.5px;
  letter-spacing: 0.1em;
}
figure.still figcaption {
  padding: 14px 6px 2px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  white-space: normal;
  line-height: 1.6;
}

/* chairman — section currently removed from index.html pending the client's
   biography; these styles are kept so the commented-out markup restores cleanly */

.chairman { background: var(--paper); }

.chairman-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 56px clamp(24px, 6vw, 72px);
  text-align: center;
}

.chairman-card p { color: var(--muted); max-width: 34em; margin: 0 auto; }

/* press — light paper band so the page breathes between gallery and contact */

.press {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  text-align: center;
}

.press p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 2.6vw, 24px);
  max-width: 30em;
  margin: 16px auto 0;
}

/* climate week event — the press band grown into the luncheon section (Jon, Oct 14). Same paper band and gold,
   a 2-up photo grid on phones, 4-up from 760 px; the group shot leads 2x2, the one portrait stands 2 rows tall. */

.event {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 80px;
}
.event-head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.event-head h2 { font-size: clamp(28px, 4.2vw, 42px); color: var(--text); margin: 14px 0 0; text-wrap: balance; }
.event-feat { display: block; font-style: italic; color: var(--gold); font-size: 0.72em; margin-top: 6px; }
.event-head h2::after {
  content: ""; display: block; width: 64px; height: 1px; margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-soft) 50%, var(--gold) 78%, transparent);
}
.event-facts {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin: 22px 0 24px; font-size: 15px; color: var(--text);
}
.event-facts span {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
.event-head p { color: var(--muted); font-size: 16.5px; margin: 0 auto 14px; max-width: 40em; }
.event-head p.event-lede {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.4;
  color: var(--text); max-width: 32em;
}
.event-quote { margin: 22px auto 18px; }
.event-quote p { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 21px; color: var(--text); text-align: center; margin-bottom: 2px; }
.event-quote cite { font-style: normal; font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); }
.event-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-decoration: none;
  border-bottom: 1px solid rgba(194, 164, 92, 0.5);
}
.event-link:hover { color: var(--text); border-bottom-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Climate Week photo WALL (Ziz + Jon, Oct 14: "the grid is too simple"). All 62 photographs as one wrap-around wall you
   drag (mouse), swipe (touch) or arrow-key around, with inertia; tap one for PhotoSwipe. js/ev-wall.js adds .is-wall;
   without it (no script, or prefers-reduced-motion) the same list is a plain contact sheet that scrolls with the page.
   The edges fade into the band through a mask, so the vignette is the page's own paper in light and dark. */
.ev-wall { position: relative; }
.ev-wall-tiles { list-style: none; margin: 0; padding: 0; }
/* each tile's ground = its photo's average colour, top to bottom (--ph/--ph2 from make_wall.py); the photo fades in over it */
.ev-t { position: relative; overflow: hidden; background: var(--line); background: linear-gradient(var(--ph, var(--line)), var(--ph2, var(--ph, var(--line)))); }
.ev-t a { display: block; position: absolute; inset: 0; -webkit-user-drag: none; -webkit-touch-callout: none; }
.ev-t img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-select: none;
  opacity: 0; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ev-t img.is-in { opacity: 1; }
.ev-t a::after {            /* the gold hairline (focus) / soft gold edge (hover) */
  content: ""; position: absolute; inset: 0; pointer-events: none; transition: box-shadow 0.3s ease;
}
.ev-t a:focus { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .ev-t a:hover img { transform: scale(1.06); }
  .ev-t a:hover::after { box-shadow: inset 0 0 0 1px rgba(216, 188, 128, 0.9); }
}
/* the focused tile's gold hairline wins over hover, so a keyboard reader never loses it under the mouse */
.ev-t a:focus-visible::after { box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 3px rgba(253, 251, 245, 0.55); }
.ev-wall-view:focus { outline: none; }
.ev-wall-view:focus-visible { box-shadow: 0 0 0 1px var(--gold); }

/* the plain sheet: 3-up on phones with 01 two wide (63 cells = 21 rows), 5-up from 760 px with 01 two by two
   (65 cells = 13 rows), so it ends flush either way */
.ev-wall:not(.is-wall) { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.ev-wall:not(.is-wall) .ev-wall-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ev-wall:not(.is-wall) .ev-t { aspect-ratio: 1; }
.ev-wall:not(.is-wall) .ev-t:first-child { grid-column: span 2; aspect-ratio: auto; }
@media (min-width: 760px) {
  .ev-wall:not(.is-wall) .ev-wall-tiles { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .ev-wall:not(.is-wall) .ev-t:first-child { grid-row: span 2; }
}

/* the wall */
.ev-wall.is-wall .ev-wall-view {
  position: relative; overflow: hidden; height: 190px; cursor: grab;   /* Nov 1 (Jon): half-size photos in a short band; was min(72vh, 780px) */
  touch-action: pan-y pinch-zoom !important;   /* vertical swipes stay page scroll; the script takes the sideways ones */
  --fx: clamp(28px, 7vw, 120px); --fy: clamp(28px, 9vh, 90px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fx), #000 calc(100% - var(--fx)), transparent),
                      linear-gradient(180deg, transparent, #000 var(--fy), #000 calc(100% - var(--fy)), transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 var(--fx), #000 calc(100% - var(--fx)), transparent),
                      linear-gradient(180deg, transparent, #000 var(--fy), #000 calc(100% - var(--fy)), transparent);
          mask-composite: intersect;
}
.ev-wall.is-wall .ev-wall-view * { touch-action: pan-y pinch-zoom !important; }
.ev-wall.is-active .ev-wall-view, .ev-wall.is-active .ev-wall-view * { touch-action: none !important; }
.ev-wall.is-wall .ev-wall-tiles { position: absolute; inset: 0; }
.ev-wall.is-wall .ev-t { position: absolute; left: 0; top: 0; will-change: transform; }
.ev-wall.is-wall.is-grabbing .ev-wall-view, .ev-wall.is-wall.is-grabbing a { cursor: grabbing; }
@media (max-width: 759px) { .ev-wall.is-wall .ev-wall-view { height: 250px; } }   /* Nov 1 (Jon): half-size photos; was 70svh */

/* Jon, 2026-10-29: hide the hint line visually; it stays for screen readers (the wall's aria-describedby points at it). */
.ev-wall-hint {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ev-wall-hint .h-fine, .ev-wall-hint .h-touch { color: var(--gold); }
.ev-wall:not(.is-wall) .h-fine, .ev-wall:not(.is-wall) .h-touch { display: none; }
.ev-wall-hint .h-touch { display: none; }
@media (pointer: coarse) { .ev-wall-hint .h-fine { display: none; } .ev-wall-hint .h-touch { display: inline; } }
.ev-wall[data-take="explore"] .h-touch { display: none; }

/* take "explore": the wall stays still under the thumb until "Explore the wall" is tapped */
.ev-wall-explore {
  position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 2;
  min-height: 44px; padding: 0 22px; border: 1px solid var(--gold); border-radius: 999px; background: rgba(15, 29, 46, 0.86);
  color: #F4EEE0; font-family: inherit; font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
}
.ev-wall-explore[aria-pressed="true"] { background: var(--gold); color: var(--ink); }

/* PhotoSwipe in the house colours (its own stylesheet arrives from cdnjs on first open; .pswp.pswp outranks it) */
.pswp.pswp { --pswp-bg: #080F1A; --pswp-placeholder-bg: #16283E; --pswp-icon-color: #F4EEE0; --pswp-icon-color-secondary: #0F1D2E; --pswp-icon-stroke-color: #0F1D2E; }
.pswp .pswp__counter { color: var(--gold-soft); font-size: 13px; letter-spacing: 0.14em; opacity: 1; text-shadow: none; }
.pswp .pswp__ev-caption {
  position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content;
  max-width: min(46em, calc(100% - 24px)); padding: 8px 14px; border-top: 1px solid rgba(194, 164, 92, 0.5);
  background: rgba(8, 15, 26, 0.72); color: #D9D3C4; font-size: 14px; line-height: 1.5; text-align: center; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .ev-t img { transition: none; } }

/* contact */

.contact {
  background: var(--ink);
  text-align: center;
}

.contact h2 { color: #F3EEDF; }
.contact .sub { color: var(--muted-dark); }

/* Jon, Oct 17: the one-line email box became a short form — Name, Email (required), Organization, Title, LinkedIn and a
   "Share your interest" paragraph. Visible labels; two columns above 720 px, one column on phones. */
form.contact-form {
  margin: 40px auto 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  text-align: left;
}
form.contact-form .cf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
form.contact-form .cf-wide { grid-column: 1 / -1; }
form.contact-form label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
form.contact-form .cf-req { color: var(--gold); }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  min-width: 0;
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  color: #F3EEDF;
  font: inherit;
  font-size: 16px;   /* 16 px keeps iOS from zooming the page on focus */
  padding: 13px 15px;
  border-radius: 2px;
}
form.contact-form textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: #7E8CA0; }
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
form.contact-form .cf-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
form.contact-form .cf-note { margin: 0; font-size: 13px; color: var(--muted-dark); }

form.contact-form button {
  background: var(--gold);
  color: var(--ink);
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 34px;
  min-height: 48px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
  flex: none;
}
form.contact-form button:hover { background: var(--gold-soft); }
form.contact-form button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.contact .fineprint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted-dark);
}

/* ---------- footer ---------- */

footer.site {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding: 44px 0 52px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand img {
  width: 34px; height: 34px;
  display: block;
  flex: none;
}

.footer-brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #C9CFD8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
}

.footer-links { display: flex; gap: 22px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.footer-links a:hover { color: var(--gold-soft); }

.footer-note {
  width: 100%;
  margin-top: 10px;
  color: #5F6C7E;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* ---------- legal pages ---------- */

.legal { background: var(--paper); padding: 72px 0 96px; }

.legal article { max-width: 720px; margin: 0 auto; }

.legal h1 { font-size: clamp(32px, 5vw, 44px); }

.legal .updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.legal h2 {
  font-size: 26px;
  margin: 44px 0 12px;
}

.legal p, .legal li { color: var(--text); margin-bottom: 14px; }

.legal ul { padding-left: 22px; margin-bottom: 14px; }

.legal a { color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .gallery .row-feature,
  .gallery .row-two { grid-template-columns: 1fr; }

  figure.still img { aspect-ratio: 16 / 10; }
  figure.still.portrait img { aspect-ratio: 16 / 12; }
}

@media (max-width: 720px) {
  .site-bar { flex-direction: column; gap: 12px; padding: 16px 0; }
  nav.site-nav { gap: 18px; }
  .site-bar { gap: 4px; padding: 14px 0 6px; }
  /* one line that always fits: the name carries &nbsp;s, so it must shrink, not wrap (320px used to clip both ends) */
  .brand { gap: 10px; min-height: 44px; max-width: 100%; }
  .brand-name { font-size: clamp(12.5px, 4.1vw, 16px); letter-spacing: 0.1em; }
  .brand img { width: 34px; height: 34px; }
  .brand-leaf { width: 13px; margin: 0 -3px 0 -4px; }
  section { padding: 64px 0; }
  form.contact-form { grid-template-columns: 1fr; }
  form.contact-form .cf-actions { flex-direction: column-reverse; align-items: stretch; }
  form.contact-form .cf-note { text-align: center; }
  form.contact-form button { padding: 15px 26px; width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}


/* honoree bio row + ceremony film (round four, Jon 19:11) */
.row-bio { display: grid; grid-template-columns: 2fr 3fr; gap: 24px; align-items: stretch; }
.row-bio .bio { background: var(--paper-2); border: 1px solid var(--line); padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.row-bio .bio h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; margin: 0 0 14px; }
.row-bio .bio p { color: var(--text); line-height: 1.8; margin: 0 0 14px; font-size: 15.5px; }
.film { background: var(--navy); border-top: 1px solid rgba(194,164,92,0.25); }
.film .narrow { max-width: 860px; margin: 0 auto; text-align: center; }
.film h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; margin: 10px 0 22px; }
.film video { width: 100%; border: 1px solid rgba(194,164,92,0.5); background: #000; display: block; }
@media (max-width: 760px) { .row-bio { grid-template-columns: 1fr; } }

/* honoree quote (Jon, Oct 26): a short band under the honoree card, smaller than it — Jud's headshot
   left (a touch smaller than Rob's photo), the quote right. Same paper/line/gold tokens as the card. */
.honoree-quote { background: var(--paper); padding-top: 0; }
.honoree-quote .hq-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  max-width: 820px; margin: 0 auto;
}
.hq-portrait {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); background: var(--paper-2);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%;
}
/* Nov 1 (Jon): the group photo at 777 UN Plaza — wider column, whole photo (3:4), nobody cropped. */
.honoree-quote .hq-row:has(.hq-group) { grid-template-columns: 300px 1fr; }
.hq-portrait.hq-group { aspect-ratio: 3 / 4; object-position: center; }
/* Nov 2 (Jon): the group photo + quote is its own section, separate from the honoree card above. */
.honoree-quote.hq-own { background: var(--paper-2); border-top: 1px solid var(--line); padding-top: 72px; }
.hq-own .kicker { display: block; text-align: center; margin-bottom: 36px; }
.honoree-quote.hq-own .hq-row:has(.hq-group) { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; max-width: 920px; margin: 0 auto; }
.hq-photo { margin: 0; }
.hq-photo-cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.honoree-quote.hq-own .hq-quote p { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.25; margin-bottom: 22px; }
.hq-cite { font-style: normal; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }   /* Nov 3 (Jon): Jud's name in white (the site's off-white body ink on dark; dark ink on the light theme) */
.hq-cite span { display: block; margin-top: 6px; font-size: 18px; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
@media (max-width: 760px) {
  .honoree-quote.hq-own .hq-row:has(.hq-group) { grid-template-columns: 1fr; gap: 28px; max-width: 460px; }
  .honoree-quote.hq-own .hq-quote p { font-size: clamp(24px, 7vw, 30px); }
  .honoree-quote.hq-own { padding-top: 56px; }
}
.hq-quote { margin: 0; }
.hq-quote p {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(22px, 3.2vw, 30px); line-height: 1.35; color: var(--text); margin: 0 0 18px;
}
.hq-quote figcaption { font-style: normal; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hq-quote figcaption span { display: block; margin-top: 5px; font-size: 13px; letter-spacing: 0.06em; text-transform: none; color: var(--muted); }
@media (max-width: 760px) {
  .honoree-quote .hq-row { grid-template-columns: 120px 1fr; gap: 20px; }
  .honoree-quote .hq-row:has(.hq-group) { grid-template-columns: 1fr; max-width: 420px; }
  .hq-quote p { font-size: clamp(19px, 5.4vw, 24px); margin-bottom: 14px; }
}


/* ============================================================
   HERO BACKGROUND OPTIONS (Jon, Oct 14: "the current background is very blurry … give us a couple different ideas").
   Preview only: index.html?hero=a|b|c|d|e sets data-hero on .hero and shows a small picker; without the query nothing
   here applies and the hero is exactly as before.
   Why the current one is soft: img/hero-plate.jpg is a frame of the 1080p film, carrying roughly 960 px of real
   detail across its 1920 px, and `cover` (line ~187) then upscales it again — ~1.3x at 2560 wide, ~2x on a 3x phone.
   Every option below fixes that cause: a master with >= the displayed pixels (a is the documented exception — see
   _takes/hero-options), a desktop file at 2560x1440 and a separate 1080x1920 phone crop, AVIF/WebP with a JPEG fallback.
   Each option's scrim is its own ::before layer (not a var() inside the background shorthand, which would void the
   JPEG fallback in browsers without image-set); _takes/hero-options/_build/proof.py parses those exact lines.
   ============================================================ */
.hero[data-hero] { position: relative; }
.hero[data-hero]::before { content: ""; position: absolute; inset: 0; pointer-events: none; }

/* a · Sunrise city, re-sourced: the same concept from the sharp still (not the film frame), graded to the live plate */
.hero[data-hero="a"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/a-desktop.jpg") 50% 70% / cover no-repeat, #0F1D2E;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/a-desktop.avif") type("image/avif"), url("../img/hero/a-desktop.webp") type("image/webp"), url("../img/hero/a-desktop.jpg") type("image/jpeg")) 50% 70% / cover no-repeat, #0F1D2E;
}
/* b · Yellowstone Lake at sunrise (NPS / Neal Herbert, public domain) — nature, no city; horizon under the lockup */
.hero[data-hero="b"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/b-desktop.jpg") 50% 45% / cover no-repeat, #0F1D2E;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/b-desktop.avif") type("image/avif"), url("../img/hero/b-desktop.webp") type("image/webp"), url("../img/hero/b-desktop.jpg") type("image/jpeg")) 50% 45% / cover no-repeat, #0F1D2E;
}
/* c · Gold horizon: no image at all — ink-navy night, a gold dawn behind the emblem, and the globe's latitude arcs
   drawn as hairlines (inline SVG, ~1 KB). The arcs live in the top 64% only, so the copy sits on plain navy. */
.hero[data-hero="c"] {
  --c-glow: radial-gradient(ellipse 62% 40% at 50% 40%, rgba(232, 182, 92, 0.34) 0%, rgba(214, 160, 74, 0.14) 45%, rgba(194, 140, 60, 0) 100%);
  --c-sky: linear-gradient(180deg, rgba(11, 22, 38, 1) 0%, rgba(19, 36, 58, 1) 42%, rgba(24, 44, 70, 1) 58%, rgba(15, 29, 46, 1) 100%);
  background:
    linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23D8BC80' stop-opacity='0'/%3E%3Cstop offset='.45' stop-color='%23D8BC80' stop-opacity='.22'/%3E%3Cstop offset='1' stop-color='%23D8BC80' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23f)' stroke-width='1.2'%3E%3Ccircle cx='800' cy='1560' r='760'/%3E%3Ccircle cx='800' cy='1560' r='880'/%3E%3Ccircle cx='800' cy='1560' r='1010'/%3E%3Ccircle cx='800' cy='1560' r='1150'/%3E%3Ccircle cx='800' cy='1560' r='1300'/%3E%3Cellipse cx='800' cy='1560' rx='420' ry='1240'/%3E%3Cellipse cx='800' cy='1560' rx='820' ry='1270'/%3E%3C/g%3E%3C/svg%3E") 50% 0 / 100% 64% no-repeat,
    var(--c-glow),
    var(--c-sky);
}
/* d · Orbit: the ISS-59 orbital sunrise over Earth's limb (NASA, public domain) — dark cinematic, one sun at the edge */
.hero[data-hero="d"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/d-desktop.jpg") 8% 100% / cover no-repeat, #05080d;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/d-desktop.avif") type("image/avif"), url("../img/hero/d-desktop.webp") type("image/webp"), url("../img/hero/d-desktop.jpg") type("image/jpeg")) 8% 100% / cover no-repeat, #05080d;
}
/* e · Now+ (Ziz, Oct 14): today's plate itself, upscaled to 5504x3072 by an image model — same sun, skyline and leaves,
   framed like the live plate (18% 72%); its own 9:16 phone strip keeps the sun and the lit river. Scrims = a's. */
.hero[data-hero="e"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/e-desktop.jpg") 18% 72% / cover no-repeat, #0F1D2E;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/e-desktop.avif") type("image/avif"), url("../img/hero/e-desktop.webp") type("image/webp"), url("../img/hero/e-desktop.jpg") type("image/jpeg")) 18% 72% / cover no-repeat, #0F1D2E;
}
/* f · Golden: deep blue sky, warm golden light — an image-model edit of the Now+ master (same composition, E's crops) */
.hero[data-hero="f"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/f-desktop.jpg") 18% 72% / cover no-repeat, #0F1D2E;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/f-desktop.avif") type("image/avif"), url("../img/hero/f-desktop.webp") type("image/webp"), url("../img/hero/f-desktop.jpg") type("image/jpeg")) 18% 72% / cover no-repeat, #0F1D2E;
}
/* g · Rays: sunrays breaking through — an image-model edit of the Now+ master (same composition, E's crops) */
.hero[data-hero="g"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/g-desktop.jpg") 18% 72% / cover no-repeat, #0F1D2E;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/g-desktop.avif") type("image/avif"), url("../img/hero/g-desktop.webp") type("image/webp"), url("../img/hero/g-desktop.jpg") type("image/jpeg")) 18% 72% / cover no-repeat, #0F1D2E;
}
/* h · Morning: bright fresh morning, lighter sky — an image-model edit of the Now+ master (same composition, E's crops) */
.hero[data-hero="h"] {
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/h-desktop.jpg") 18% 72% / cover no-repeat, #0F1D2E;
  background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/h-desktop.avif") type("image/avif"), url("../img/hero/h-desktop.webp") type("image/webp"), url("../img/hero/h-desktop.jpg") type("image/jpeg")) 18% 72% / cover no-repeat, #0F1D2E;
}
.hero[data-hero="f"]::before { background: none; }   /* scrim f */
.hero[data-hero="g"]::before { background: none; }   /* scrim g */
.hero[data-hero="h"]::before { background: none; }   /* scrim h */
.hero[data-hero="a"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0) 0%, rgba(10, 19, 32, 0) 50%, rgba(10, 19, 32, 0.30) 72%, rgba(10, 19, 32, 0.45) 100%); }   /* scrim a */
/* e-h: no full-width band (Oct 14, Jon + Ziz: the fade made the city "dingy"). The copy treatment is the Text 1-4 variants
   below (data-text), not a backdrop box (8ce4951's tight box read "boxy"). */
.hero[data-hero="e"]::before { background: none; }   /* scrim e */
.hero[data-hero="b"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0.10) 0%, rgba(10, 19, 32, 0) 30%, rgba(10, 19, 32, 0.28) 60%, rgba(10, 19, 32, 0.50) 100%); }   /* scrim b */
.hero[data-hero="d"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0) 0%, rgba(10, 19, 32, 0) 100%); }   /* scrim d */
/* SUN TINT (Jon, Oct 17: "make the sun slightly less bright - lean the color of the sun towards the tone of the gold font at
   its brightest"). E-H share one composition, so one vector tint per crop: img/hero/sun-tint-{desktop,mobile}.svg is white
   everywhere except a soft disc on the measured sun, whose centre is #F6E7BE (the brightest stop of the wordmark gradient,
   .hero-name). Multiplied over the plate with the plate's own size + position, the sun's white core becomes that gold and
   drops a little in brightness; white elsewhere is a no-op. The bitmaps are untouched. */
.hero[data-hero="e"], .hero[data-hero="f"], .hero[data-hero="g"], .hero[data-hero="h"] { isolation: isolate; }
.hero[data-hero="e"]::before, .hero[data-hero="f"]::before, .hero[data-hero="g"]::before, .hero[data-hero="h"]::before {
  background: url("../img/hero/sun-tint-desktop.svg") 18% 72% / cover no-repeat;
  mix-blend-mode: multiply;
}
/* preview takes (picker row "Sun"): opacity on a multiply layer = a straight mix between no tint and the full tint */
.hero[data-hero="e"][data-sun="hint"]::before, .hero[data-hero="f"][data-sun="hint"]::before, .hero[data-hero="g"][data-sun="hint"]::before, .hero[data-hero="h"][data-sun="hint"]::before { opacity: 0.5; }
.hero[data-hero="e"][data-sun="off"]::before, .hero[data-hero="f"][data-sun="off"]::before, .hero[data-hero="g"][data-sun="off"]::before, .hero[data-hero="h"][data-sun="off"]::before { opacity: 0; }
/* below 1180 px the copy sits mid-hero (the lockup takes the top), so the scrim deepens across the middle band instead */
@media (max-width: 1180px) {
  .hero[data-hero="a"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0.08) 0%, rgba(10, 19, 32, 0.30) 26%, rgba(10, 19, 32, 0.52) 40%, rgba(10, 19, 32, 0.52) 78%, rgba(10, 19, 32, 0.34) 100%); }   /* scrim a narrow */
  .hero[data-hero="b"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0.10) 0%, rgba(10, 19, 32, 0.32) 26%, rgba(10, 19, 32, 0.56) 40%, rgba(10, 19, 32, 0.56) 78%, rgba(10, 19, 32, 0.38) 100%); }   /* scrim b narrow */
  .hero[data-hero="d"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0) 0%, rgba(10, 19, 32, 0) 30%, rgba(10, 19, 32, 0.25) 45%, rgba(10, 19, 32, 0.25) 80%, rgba(10, 19, 32, 0) 100%); }   /* scrim d narrow */
}
@media (max-width: 720px) {
  /* phones already get the site's flat copy scrim (0.7, blurred), so the option scrim can ease off */
  .hero[data-hero="a"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0.06) 0%, rgba(10, 19, 32, 0.22) 26%, rgba(10, 19, 32, 0.38) 40%, rgba(10, 19, 32, 0.38) 78%, rgba(10, 19, 32, 0.24) 100%); }   /* scrim a phone */
  .hero[data-hero="b"]::before { background: linear-gradient(180deg, rgba(10, 19, 32, 0.08) 0%, rgba(10, 19, 32, 0.26) 26%, rgba(10, 19, 32, 0.46) 40%, rgba(10, 19, 32, 0.46) 78%, rgba(10, 19, 32, 0.30) 100%); }   /* scrim b phone */
  .hero[data-hero="a"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/a-mobile.jpg") 50% 50% / cover no-repeat, #0F1D2E;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/a-mobile.avif") type("image/avif"), url("../img/hero/a-mobile.webp") type("image/webp"), url("../img/hero/a-mobile.jpg") type("image/jpeg")) 50% 50% / cover no-repeat, #0F1D2E;
  }
  .hero[data-hero="b"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/b-mobile.jpg") 50% 50% / cover no-repeat, #0F1D2E;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/b-mobile.avif") type("image/avif"), url("../img/hero/b-mobile.webp") type("image/webp"), url("../img/hero/b-mobile.jpg") type("image/jpeg")) 50% 50% / cover no-repeat, #0F1D2E;
  }
  .hero[data-hero="d"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/d-mobile.jpg") 20% 100% / cover no-repeat, #05080d;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/d-mobile.avif") type("image/avif"), url("../img/hero/d-mobile.webp") type("image/webp"), url("../img/hero/d-mobile.jpg") type("image/jpeg")) 20% 100% / cover no-repeat, #05080d;
  }
  .hero[data-hero="e"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/e-mobile.jpg") 25% 50% / cover no-repeat, #0F1D2E;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/e-mobile.avif") type("image/avif"), url("../img/hero/e-mobile.webp") type("image/webp"), url("../img/hero/e-mobile.jpg") type("image/jpeg")) 25% 50% / cover no-repeat, #0F1D2E;
  }
  .hero[data-hero="f"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/f-mobile.jpg") 25% 50% / cover no-repeat, #0F1D2E;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/f-mobile.avif") type("image/avif"), url("../img/hero/f-mobile.webp") type("image/webp"), url("../img/hero/f-mobile.jpg") type("image/jpeg")) 25% 50% / cover no-repeat, #0F1D2E;
  }
  .hero[data-hero="g"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/g-mobile.jpg") 25% 50% / cover no-repeat, #0F1D2E;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/g-mobile.avif") type("image/avif"), url("../img/hero/g-mobile.webp") type("image/webp"), url("../img/hero/g-mobile.jpg") type("image/jpeg")) 25% 50% / cover no-repeat, #0F1D2E;
  }
  .hero[data-hero="h"] {
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), url("../img/hero/h-mobile.jpg") 25% 50% / cover no-repeat, #0F1D2E;
    background: linear-gradient(rgba(15, 29, 46, 0.14) 0%, rgba(15, 29, 46, 0) 18%), image-set(url("../img/hero/h-mobile.avif") type("image/avif"), url("../img/hero/h-mobile.webp") type("image/webp"), url("../img/hero/h-mobile.jpg") type("image/jpeg")) 25% 50% / cover no-repeat, #0F1D2E;
  }
  .hero[data-hero="e"]::before, .hero[data-hero="f"]::before, .hero[data-hero="g"]::before, .hero[data-hero="h"]::before {
    background: url("../img/hero/sun-tint-mobile.svg") 25% 50% / cover no-repeat;   /* sun tint, phone crop */
  }
}

/* ---------- Text 1-4 for Now+ and its edits (e-h): ?text=1|2|3|4 sets data-text (Oct 14, Ziz: "We want the text legible, and
   the photo bright and vibrant. Maybe add the shadow to the characters instead of the backdrop?"). No backdrop box, no band.
   1  character shadow only: a tight contact shadow, a mid soft shadow, a wide faint halo; the warm 1 px highlight above = the lift
   2  as 1, with heavier, warmer cream copy (+100 weight, +2 px)
   3  as 1, plus a text-shaped feathered wash: one soft pad per paragraph, sized to the words (fit-content), smooth
      smoothstep edges in both directions, so the darkening follows the copy (wide under the mission, narrow under the tagline)
   4  2's heavier cream copy + 3's wash
   proof_text.py measures every line in a real render; only 3 and 4 claim 4.5:1. */
.hero[data-text] .hero-copy::before { content: none; }
.hero[data-text] .mission { text-shadow: 0 -1px 0 rgba(255, 240, 205, 0.16), 0 1px 1px rgba(6, 12, 22, 0.85), 0 0 3px rgba(6, 12, 22, 0.7), 0 1px 10px rgba(6, 12, 22, 0.55), 0 0 26px rgba(6, 12, 22, 0.45), 0 0 52px rgba(6, 12, 22, 0.3); }
.hero[data-text] .invitation,
.hero[data-text] .est { text-shadow: 0 -0.5px 0 rgba(255, 240, 205, 0.16), 0 1px 1px rgba(6, 12, 22, 0.85), 0 0 3px rgba(6, 12, 22, 0.7), 0 1px 8px rgba(6, 12, 22, 0.55), 0 0 22px rgba(6, 12, 22, 0.4); }
.hero[data-text="2"] .mission, .hero[data-text="4"] .mission { font-weight: 600; font-size: clamp(22px, calc(2.6vw + 2px), 29px); color: #FFF9EE; }
.hero[data-text="2"] .mission em, .hero[data-text="4"] .mission em { color: #FFFFFF; font-style: normal; }   /* Jon, Oct 17: "together" white, not italic (was #F7E8C0) */
.hero[data-text="2"] .invitation, .hero[data-text="4"] .invitation { font-size: clamp(40px, calc(2.4vw + 12px), 46px); color: #FFF9EE; }   /* Nov 10 (Jud): "at least twice as big" (was 20px) */
@media (max-width: 380px) { .hero[data-text] .invitation { letter-spacing: 0.03em; white-space: nowrap; } }   /* keeps the 2x line on one line at 360 px */
.hero[data-text="2"] .est, .hero[data-text="4"] .est { font-weight: 500; color: #FFF3D8; }
.hero[data-text="3"] { --wash: 0.62; }
.hero[data-text="4"] { --wash: 0.6; }
.hero[data-text="3"] .mission, .hero[data-text="4"] .mission, .hero[data-text="3"] .invitation, .hero[data-text="4"] .invitation, .hero[data-text="3"] .est, .hero[data-text="4"] .est { width: fit-content; margin-left: auto; margin-right: auto; }
.hero[data-text="3"] .mission, .hero[data-text="4"] .mission { position: relative; }
.hero[data-text] .mission::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -90px -206px -90px; background: rgba(6, 12, 22, var(--wash));
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 24px, rgba(0,0,0,0.15) 50px, rgba(0,0,0,0.35) 80px, rgba(0,0,0,0.58) 110px, rgba(0,0,0,0.78) 140px, rgba(0,0,0,0.93) 170px, rgba(0,0,0,1) 200px, rgba(0,0,0,1) calc(100% - 200px), rgba(0,0,0,0.93) calc(100% - 170px), rgba(0,0,0,0.78) calc(100% - 140px), rgba(0,0,0,0.58) calc(100% - 110px), rgba(0,0,0,0.35) calc(100% - 80px), rgba(0,0,0,0.15) calc(100% - 50px), rgba(0,0,0,0.04) calc(100% - 24px), rgba(0,0,0,0) calc(100% - 0px)),
    linear-gradient(180deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 10px, rgba(0,0,0,0.15) 21px, rgba(0,0,0,0.35) 34px, rgba(0,0,0,0.58) 46px, rgba(0,0,0,0.78) 59px, rgba(0,0,0,0.93) 71px, rgba(0,0,0,1) 84px, rgba(0,0,0,1) calc(100% - 84px), rgba(0,0,0,0.93) calc(100% - 71px), rgba(0,0,0,0.78) calc(100% - 59px), rgba(0,0,0,0.58) calc(100% - 46px), rgba(0,0,0,0.35) calc(100% - 34px), rgba(0,0,0,0.15) calc(100% - 21px), rgba(0,0,0,0.04) calc(100% - 10px), rgba(0,0,0,0) calc(100% - 0px));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 24px, rgba(0,0,0,0.15) 50px, rgba(0,0,0,0.35) 80px, rgba(0,0,0,0.58) 110px, rgba(0,0,0,0.78) 140px, rgba(0,0,0,0.93) 170px, rgba(0,0,0,1) 200px, rgba(0,0,0,1) calc(100% - 200px), rgba(0,0,0,0.93) calc(100% - 170px), rgba(0,0,0,0.78) calc(100% - 140px), rgba(0,0,0,0.58) calc(100% - 110px), rgba(0,0,0,0.35) calc(100% - 80px), rgba(0,0,0,0.15) calc(100% - 50px), rgba(0,0,0,0.04) calc(100% - 24px), rgba(0,0,0,0) calc(100% - 0px)),
    linear-gradient(180deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 10px, rgba(0,0,0,0.15) 21px, rgba(0,0,0,0.35) 34px, rgba(0,0,0,0.58) 46px, rgba(0,0,0,0.78) 59px, rgba(0,0,0,0.93) 71px, rgba(0,0,0,1) 84px, rgba(0,0,0,1) calc(100% - 84px), rgba(0,0,0,0.93) calc(100% - 71px), rgba(0,0,0,0.78) calc(100% - 59px), rgba(0,0,0,0.58) calc(100% - 46px), rgba(0,0,0,0.35) calc(100% - 34px), rgba(0,0,0,0.15) calc(100% - 21px), rgba(0,0,0,0.04) calc(100% - 10px), rgba(0,0,0,0) calc(100% - 0px));
  mask-composite: intersect;
}
.hero[data-text="3"] .invitation, .hero[data-text="4"] .invitation { position: relative; }
.hero[data-text] .invitation::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -70px -156px -114px; background: rgba(6, 12, 22, var(--wash));
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 18px, rgba(0,0,0,0.15) 38px, rgba(0,0,0,0.35) 60px, rgba(0,0,0,0.58) 82px, rgba(0,0,0,0.78) 105px, rgba(0,0,0,0.93) 128px, rgba(0,0,0,1) 150px, rgba(0,0,0,1) calc(100% - 150px), rgba(0,0,0,0.93) calc(100% - 128px), rgba(0,0,0,0.78) calc(100% - 105px), rgba(0,0,0,0.58) calc(100% - 82px), rgba(0,0,0,0.35) calc(100% - 60px), rgba(0,0,0,0.15) calc(100% - 38px), rgba(0,0,0,0.04) calc(100% - 18px), rgba(0,0,0,0) calc(100% - 0px)),
    linear-gradient(180deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 8px, rgba(0,0,0,0.15) 16px, rgba(0,0,0,0.35) 26px, rgba(0,0,0,0.58) 35px, rgba(0,0,0,0.78) 45px, rgba(0,0,0,0.93) 54px, rgba(0,0,0,1) 64px, rgba(0,0,0,1) calc(100% - 64px), rgba(0,0,0,0.93) calc(100% - 54px), rgba(0,0,0,0.78) calc(100% - 45px), rgba(0,0,0,0.58) calc(100% - 35px), rgba(0,0,0,0.35) calc(100% - 26px), rgba(0,0,0,0.15) calc(100% - 16px), rgba(0,0,0,0.04) calc(100% - 8px), rgba(0,0,0,0) calc(100% - 0px));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 18px, rgba(0,0,0,0.15) 38px, rgba(0,0,0,0.35) 60px, rgba(0,0,0,0.58) 82px, rgba(0,0,0,0.78) 105px, rgba(0,0,0,0.93) 128px, rgba(0,0,0,1) 150px, rgba(0,0,0,1) calc(100% - 150px), rgba(0,0,0,0.93) calc(100% - 128px), rgba(0,0,0,0.78) calc(100% - 105px), rgba(0,0,0,0.58) calc(100% - 82px), rgba(0,0,0,0.35) calc(100% - 60px), rgba(0,0,0,0.15) calc(100% - 38px), rgba(0,0,0,0.04) calc(100% - 18px), rgba(0,0,0,0) calc(100% - 0px)),
    linear-gradient(180deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0.04) 8px, rgba(0,0,0,0.15) 16px, rgba(0,0,0,0.35) 26px, rgba(0,0,0,0.58) 35px, rgba(0,0,0,0.78) 45px, rgba(0,0,0,0.93) 54px, rgba(0,0,0,1) 64px, rgba(0,0,0,1) calc(100% - 64px), rgba(0,0,0,0.93) calc(100% - 54px), rgba(0,0,0,0.78) calc(100% - 45px), rgba(0,0,0,0.58) calc(100% - 35px), rgba(0,0,0,0.35) calc(100% - 26px), rgba(0,0,0,0.15) calc(100% - 16px), rgba(0,0,0,0.04) calc(100% - 8px), rgba(0,0,0,0) calc(100% - 0px));
  mask-composite: intersect;
}
/* the washes above are Text 3 and 4's; Text 1 and 2 have none ... */
.hero[data-text="1"] .mission::before, .hero[data-text="1"] .invitation::before,
.hero[data-text="2"] .mission::before, .hero[data-text="2"] .invitation::before { content: none; }
/* ... except Text 2 on phones (Oct 15). On a phone the whole copy column sits on the brightest part of the sky (the sun and
   its glow), and the character shadow alone measures about 1:1 there (proof_text.py). One phone-only tweak keeps Text 2's
   heavier cream copy and adds Text 3's word-shaped wash at the lowest strength that clears 4.5:1 on every line at
   430/390/360 px for E/F/G/H (0.58; 0.56 measured 4.36 on F at 360). That is within a hair of Text 4 (0.6): on these skies a
   phone needs the wash. Desktop and tablet Text 2 are untouched. */
@media (max-width: 720px) {
  .hero[data-text="2"] { --wash: 0.58; }
  .hero[data-text="2"] .mission, .hero[data-text="2"] .invitation, .hero[data-text="2"] .est { width: fit-content; margin-left: auto; margin-right: auto; }
  .hero[data-text="2"] .mission, .hero[data-text="2"] .invitation { position: relative; }
  .hero[data-text="2"] .mission::before, .hero[data-text="2"] .invitation::before { content: ""; }
}

/* the preview picker — only rendered when ?hero= is in the URL (index.html, end of body) */
.hero-picker {
  position: fixed; right: 12px; bottom: 12px; z-index: 50; max-width: calc(100vw - 24px);
  padding: 6px; border-radius: 18px;
  background: rgba(10, 19, 32, 0.88); border: 1px solid rgba(194, 164, 92, 0.55);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  font: 500 12px/1 Inter, system-ui, sans-serif; letter-spacing: 0.06em;
}
.hero-picker .hp-rows { display: flex; flex-direction: column; gap: 2px; }
.hero-picker .hp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.hero-picker .hp-row.hp-off { opacity: 0.45; }
.hero-picker .hp-label { min-width: 40px; padding: 0 6px 0 8px; color: var(--gold-soft); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-picker button {
  min-width: 36px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: #F4EEE0; font: inherit;
}
.hero-picker .hp-toggle { display: none; }
.hero-picker button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.hero-picker button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
@media (max-width: 720px) {   /* phones: a small "Options" pill that opens the rows */
  .hero-picker { padding: 4px; border-radius: 22px; }
  .hero-picker .hp-toggle { display: block; margin-left: auto; min-height: 40px; padding: 0 16px; color: var(--gold-soft); }
  .hero-picker .hp-rows { display: none; }
  .hero-picker.open .hp-rows { display: flex; padding: 4px 2px 2px; }
  .hero-picker button { min-width: 40px; min-height: 40px; }
}

/* Jon, 2026-10-30: photos don't open full size, so tiles don't look clickable. */
.ev-wall .ev-t a { cursor: default; }
.ev-wall.is-wall .ev-t a { cursor: grab; }

/* Margaret Howard Watson: summary card + "Read Full Bio" dialog (Jon, Nov 7). The button is the site's
   gold contact-form button; the dialog is a paper card framed in gold over a navy-tinted backdrop. */
.row-bio .bio .bio-actions { margin: 6px 0 0; }
.bio-more {
  background: var(--gold); color: var(--ink); border: none;
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 34px; min-height: 48px; cursor: pointer; border-radius: 2px;
  transition: background 0.2s ease;
}
.bio-more:hover { background: var(--gold-soft); }
.bio-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
html.bio-locked, html.bio-locked body { overflow: hidden; }
dialog.bio-dialog {
  width: min(760px, calc(100vw - 48px)); max-height: calc(100dvh - 64px);
  margin: auto; padding: 0; border: 1px solid var(--gold); border-radius: 2px;
  background: var(--paper-2); color: var(--text);
  box-shadow: 0 24px 60px rgba(15, 29, 46, 0.35); overflow: hidden;
}
dialog.bio-dialog::backdrop { background: rgba(22, 40, 62, 0.62); }
.bio-dialog-inner {
  position: relative; max-height: calc(100dvh - 66px); overflow-y: auto;
  overscroll-behavior: contain; padding: 44px 48px 36px;
}
.bio-dialog h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500;
  margin: 0 40px 18px 0; padding-bottom: 14px; border-bottom: 1px solid var(--gold);
}
.bio-dialog p { color: var(--text); line-height: 1.8; margin: 0 0 14px; font-size: 15.5px; }
.bio-dialog p:last-child { margin-bottom: 0; }
.bio-dialog-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px;
  display: grid; place-items: center; background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; font-size: 26px; line-height: 1;
  cursor: pointer; font-family: "Inter", sans-serif;
}
.bio-dialog-close:hover { border-color: var(--gold); color: var(--gold); }
.bio-dialog-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) {
  .bio-more { width: 100%; padding: 15px 26px; }
  dialog.bio-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .bio-dialog-inner { max-height: calc(100dvh - 26px); padding: 28px 22px 26px; }
  .bio-dialog h3 { font-size: 26px; margin-right: 48px; }
}
/* the two honoree cards read as equals: on desktop both rows take the taller (Robert's) row's height,
   so his card is unchanged and hers matches it; stacked phones keep their natural heights */
@media (min-width: 761px) { .gallery.honoree-pair { grid-auto-rows: 1fr; } }
