/* ============================================================================
   AiS @ Baylor: Design System (accelerator skin, 2026-09)
   ----------------------------------------------------------------------------
   Register borrowed from osolaunch.com (the Baugh Center student accelerator):
   full-bleed campus photography under a deep turquoise overlay, solid
   turquoise "bands" between white sections, cream rounded cards with 1px
   hairlines, sentence-case gold pill CTAs with a soft gold glow, centered
   section heads with a small uppercase eyebrow, and a deep turquoise footer
   with gold column headings. (Turquoise replaced the original green on
   2026-09-23 at the President's request; turquoise and gold are near
   complements, and both come straight from the mark.)

   THE BRAND LIVES IN ONE PLACE: brand/brand.json. The variables between
   BRAND:BEGIN and BRAND:END below are generated from it by
   node tools/brand.mjs build, under the same names the rest of this file
   uses (the periwinkle A, teal i and gold S of the mark, the turquoise ramp,
   the roles). Never edit that region by hand: change brand.json, then build.

   KEPT FROM THE PREVIOUS SKIN, VERBATIM: the two-tier header, the front door
   (banner band + directory + For You rail + hover previews), the sign-in stub
   and the Cmd-K palette. Everything from the photo hero down is new.
   Previous institutional skin: see git history before 2026-09-07.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
/* BRAND:BEGIN */
/* GENERATED from brand/brand.json v1.0.0 sha:b8c000bf by tools/brand.mjs. This region of site.css only; everything outside it is hand-written. Do not edit: change brand.json, then run node tools/brand.mjs build. */
:root {
  /* palette: logo. The three hues of the mark. Everything else is tuned around them. */
  --perry-logo: #646FB4;  /* the A of the mark */
  --teal-logo: #1C9488;  /* the i and its dot (Ava's deck types #1C9489; the same colour, see logo.teal) */
  --gold-logo: #E4B257;  /* the S */
  /* palette: tq. Turquoise, the web primary family: deep petrol turquoise, eleven steps. */
  --tq-950: #083036;  /* text on gold (gold buttons, gold tags, hover fills); 7.3:1 on gold */
  --tq-900: #093E45;  /* section bands and the footer; white on it 11.8:1, gold on it 6.1:1 */
  --tq-800: #0A515A;  /* link hover, gradients */
  --tq-700: #0C6670;  /* PRIMARY: buttons, links, icon chips; white on it 6.7:1, on cream 6.4:1 */
  --tq-600: #117882;  /* hover for brand fills */
  --tq-500: #20909B;  /* borders and focus: a bluer sibling of the logo teal */
  --tq-400: #50AFB7;
  --tq-300: #7CC1C6;
  --tq-200: #A9D7DA;
  --tq-100: #CEEAEA;
  --tq-050: #E9F5F5;
  /* palette: perry. Periwinkle, the A's hue: pillar coding and small accents only. */
  --perry-700: #454B8C;
  --perry-600: #4A54A0;  /* named from a stray literal in site.css (.sc-mono hue 1, light); not yet tuned onto the ramp */
  --perry-500: var(--perry-logo);
  --perry-300: #A2A8D6;
  --perry-200: #A8B0E4;  /* named from a stray literal in site.css (.sc-mono hue 1, dark); not yet tuned onto the ramp */
  /* palette: teal. Teal, the i's hue and the Community Education pillar. Pinned to the logo teal's own family, not the primary, so the three pillars stay three hues. */
  --teal-700: #1E7265;
  --teal-500: var(--teal-logo);
  --teal-300: #7FC2B8;
  /* palette: gold. Gold, the accent: one call to action per section, eyebrows, highlights. Never text on a light background. */
  --gold-600: #C69536;  /* Society in the wordmark on light surfaces; never body text (2.7:1 on white) */
  --gold-500: var(--gold-logo);
  --gold-300: #EFCF93;
  --gold-050: #FBF3E0;
  /* palette */
  --charcoal: #383A38;  /* the sticky nav bar */
  --charcoal-hover: #474A47;
  --brand-ink: #091C1E;  /* near-black with a turquoise undertone, for surfaces the logo sits on (dark header, photo overlays); the same in both modes */

  /* roles, light: what components and apps reference */
  --ink: #152223;  /* body text and headings on light */
  --ink-soft: #334041;  /* secondary text */
  --muted: #5A6A6B;  /* captions and quiet text */
  --muted-2: #889495;  /* placeholders and disabled text */
  --line: #E0E5E6;  /* hairlines and card borders */
  --line-strong: #C7CFD0;  /* input borders and stronger dividers */
  --surface-2: #F2F5F6;  /* alternate band background */
  --surface-1: #FFFFFF;  /* white cards */
  --card: #FBFAF6;  /* cream cards */
  --bg: #FFFFFF;  /* page background */
  --error: #A5432C;  /* errors only */
  --success: var(--tq-700);  /* one turquoise family, no second green */
  --info: var(--tq-600);  /* information notes */
  --brand: var(--tq-700);  /* primary: buttons, links, icon chips */
  --brand-strong: var(--tq-800);  /* primary, one step deeper (hover) */
  --brand-soft: var(--tq-050);  /* tinted primary background (selected, hover) */
  --heading: var(--ink);  /* headings are dark ink; white on bands */
  --link: var(--tq-700);  /* links */
  --link-hover: var(--tq-800);  /* links on hover */
  --on-brand: #FFFFFF;  /* text on a primary fill */
  --accent: var(--gold-500);  /* gold: the one call to action per section, highlights */
  --on-accent: var(--tq-950);  /* text on gold */
  --band: var(--tq-900);  /* solid deep turquoise section bands */
  --band-2: var(--tq-950);  /* deeper band */
  --gold-text: #7A5B14;  /* gold that is readable as text */
  --overlay-a: rgba(var(--photo-ink-rgb), 0.86);  /* photo overlay, dark end */
  --overlay-b: rgba(var(--photo-tq-rgb), 0.62);  /* photo overlay, turquoise end */
  --hdr-bg: #FFFFFF;  /* header bar */
  --hdr-fg: var(--ink);  /* header text */
  --hdr-line: var(--line);  /* header bottom line */
  --hdr-btn-line: var(--line-strong);  /* header button borders */
  --hdr-btn-hover: var(--surface-2);  /* header button hover fill */
  --hdr-muted: var(--muted);  /* quiet header text */
  --wm-gold: var(--gold-600);  /* Society in the wordmark on light surfaces */
  --ftr-bg: var(--band);  /* footer background (the band) */
  --ftr-fg: rgba(255, 255, 255, 0.8);  /* footer text */
  --ftr-head: var(--gold-500);  /* footer column headings (gold) */
  --ftr-line: rgba(255, 255, 255, 0.12);  /* footer dividers */
  --ftr-line-strong: rgba(255, 255, 255, 0.22);  /* footer button borders */
  --ftr-muted: rgba(255, 255, 255, 0.64);  /* footer fine print */
  --ftr-hover: var(--gold-300);  /* footer links on hover */

  /* RGB triplets for alpha: rgba(var(--x), 0.5) */
  --gold-rgb: 228, 178, 87;
  --photo-ink-rgb: 9, 28, 30;
  --photo-tq-rgb: 9, 62, 69;
  --shadow-tint: 8, 48, 54;
  --scrim-rgb: 19, 20, 32;

  /* type */
  --font-display: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: Charter, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.2rem;
  --fs-h4: 1.2rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(1.9rem, 1.5rem + 1.8vw, 2.6rem);
  --fs-h1: clamp(2.5rem, 1.9rem + 3vw, 4.25rem);
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.6;

  /* space and layout */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --shell: 1200px;
  --shell-wide: 1320px;
  --prose: 68ch;
  --nav-h: 46px;
  --fy-w: clamp(300px, 24vw, 420px);

  /* shape */
  --radius-sm: 5px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(var(--shadow-tint), 0.06);
  --sh-2: 0 4px 6px -1px rgba(var(--shadow-tint), 0.10), 0 2px 4px -2px rgba(var(--shadow-tint), 0.10);
  --sh-3: 0 20px 25px -5px rgba(var(--shadow-tint), 0.12), 0 8px 10px -6px rgba(var(--shadow-tint), 0.10);
  --sh-gold: 0 10px 40px -10px rgba(var(--gold-rgb), 0.55);

  /* motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t: 220ms;
  --t-slow: 420ms;

  color-scheme: light;
}

/* Dark mode: opt in with data-theme="dark" on <html> (set by site.js; the site defaults to light). */
[data-theme="dark"] {
  --ink: #E9EFEF;
  --ink-soft: #C9D2D4;
  --muted: #93A4A5;
  --muted-2: #6A7779;
  --line: #2A3334;
  --line-strong: #404B4D;
  --surface-2: #181E1F;
  --surface-1: #1A2021;
  --card: #1D2425;
  --bg: #131717;
  --brand: #7CC1C6;
  --brand-strong: #C6E4E5;
  --brand-soft: #193236;
  --heading: #EEF3F3;
  --link: #64C6CD;
  --link-hover: #8EDDE1;
  --gold-text: #E8BC5F;
  --success: #7CC1C6;
  --band: #0D2E33;
  --band-2: #0A2327;
  --hdr-bg: var(--brand-ink);
  --hdr-fg: #FFFFFF;
  --hdr-line: transparent;
  --hdr-btn-line: rgba(255, 255, 255, 0.35);
  --hdr-btn-hover: rgba(255, 255, 255, 0.12);
  --hdr-muted: rgba(255, 255, 255, 0.8);
  --wm-gold: var(--gold-500);
  --ftr-bg: var(--band);
  --ftr-fg: rgba(255, 255, 255, 0.78);
  --ftr-head: var(--gold-500);
  --ftr-line: rgba(255, 255, 255, 0.12);
  --ftr-line-strong: rgba(255, 255, 255, 0.2);
  --ftr-muted: rgba(255, 255, 255, 0.55);
  --ftr-hover: var(--gold-500);
  --shadow-tint: 0, 0, 0;
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh-2: 0 2px 10px rgba(0, 0, 0, 0.5);
  --sh-3: 0 16px 44px rgba(0, 0, 0, 0.6);
  --sh-gold: 0 10px 40px -10px rgba(var(--gold-rgb), 0.35);
  color-scheme: dark;
}

/* High contrast: after the dark block, as on the site before 1.0.0. */
@media (prefers-contrast: more) {
  :root { --line: #8B8FA0; --muted: #3D4050; }
}
/* BRAND:END */

/* ----------------------------------------------------------------------------
   2. PRIMITIVES
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
a:hover { color: var(--link-hover); }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: color-mix(in srgb, var(--gold-500) 45%, transparent); }

/* Typography: bold sans headings in dark ink (osolaunch register) */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--heading);
  text-wrap: balance;
}
h1, h2 { font-weight: 800; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { text-wrap: pretty; }

.serif { font-family: var(--font-serif); font-weight: 400; }
.mono  { font-family: var(--font-mono); }
.num   { font-variant-numeric: tabular-nums lining-nums; }

/* Eyebrow: small uppercase label. Gold-text on light, gold on bands. */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow.is-centered { justify-content: center; }
/* An eyebrow that carries the name stays in sentence case (never uppercase AiS). */
.eyebrow.is-name { text-transform: none; letter-spacing: 0.04em; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: var(--prose);
  font-weight: 400;
}

/* Layout helpers */
.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }
.shell-wide { width: min(100% - 2.4rem, var(--shell-wide)); margin-inline: auto; }
.shell-narrow { width: min(100% - 2.4rem, 52rem); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7.5vw, 6rem); }
.section-tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.surface-alt { background: var(--surface-2); }
.surface-subtle { background: linear-gradient(180deg, var(--bg) 0%, var(--card) 100%); }
[data-theme="dark"] .surface-subtle { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.center { text-align: center; }
.measure { max-width: var(--prose); }
.stack > * + * { margin-top: var(--s-4); }
.divider { height: 1px; background: var(--line); border: 0; }

/* Section heads: centered by default, like osolaunch */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4.5vw, 3.2rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .lead { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: var(--s-3); }
.section-head .lead { margin-top: var(--s-4); }
.section-head.is-tight { margin-bottom: var(--s-5); }

/* Short gold rule (the one accent line we keep) */
.gold-rule { width: 56px; height: 3px; background: var(--gold-500); border: 0; border-radius: 2px; margin: var(--s-5) auto 0; }

/* ---- Buttons: sentence case, rounded, gold primary with a soft glow ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  min-height: 46px;
  padding: 0 1.4em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  background: var(--tq-700);
  color: #fff;
  box-shadow: var(--sh-1);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--tq-600); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: none; }
.btn .ico { width: 1.05em; height: 1.05em; transition: transform var(--t) var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn-gold { background: var(--gold-500); color: var(--tq-950); box-shadow: var(--sh-gold); }
.btn-gold:hover { background: var(--gold-300); color: var(--tq-950); box-shadow: var(--sh-gold); }
.btn-gold:active { background: var(--gold-600); }
.btn-gold:focus-visible { outline-color: var(--tq-700); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--brand-soft); color: var(--ink); border-color: var(--tq-500); box-shadow: none; }

.btn-lg { font-size: 1.05rem; min-height: 54px; padding: 0 1.9em; }
.btn-sm { font-size: 0.86rem; min-height: 38px; padding: 0 1.05em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* the header keeps its compact "Join AiS" button, in sentence case: the name
   is never uppercased (in capitals the lowercase i of AiS disappears) */
.hdr-brand .btn {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.01em; text-transform: none;
  min-height: 38px; padding: 0 1.1em; border-radius: var(--radius-sm);
  border: 2px solid transparent; box-shadow: none; transform: none;
}
.hdr-brand .btn:hover { box-shadow: none; transform: none; }

/* Inline arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm);
  color: var(--link);
}
.arrow-link .ico { width: 1em; height: 1em; transition: transform var(--t) var(--ease); }
.arrow-link:hover .ico { transform: translateX(4px); }

/* Pills / tags: small, square, uppercase (kept for the front door) */
.tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.35em 0.75em; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--line);
}
.tag-gold { background: var(--gold-500); color: var(--tq-950); border-color: var(--gold-500); }
[data-theme="dark"] .tag-gold { color: var(--tq-950); }
.tag-dot::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-live { color: #fff; background: var(--tq-700); border-color: var(--tq-700); }   /* fill in both themes: white on it is 6.7:1 */
.tag-live::before { background: #fff; animation: pulse 2.4s var(--ease) infinite; }
.tag-soon { color: var(--gold-text); background: var(--gold-050); border-color: color-mix(in srgb, var(--gold-500) 45%, transparent); }
[data-theme="dark"] .tag-soon { background: color-mix(in srgb, var(--gold-500) 14%, transparent); }
.tag-soon::before { background: var(--gold-500); }

/* Badge: rounded pill with a soft gold fill (osolaunch "applications open") */
.badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700;
  padding: 0.4em 0.95em; border-radius: var(--radius-pill);
  background: rgba(var(--gold-rgb), 0.16); color: var(--gold-text);
  border: 1px solid rgba(var(--gold-rgb), 0.45);
}
.badge svg { width: 14px; height: 14px; }
.badge-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 0 rgba(var(--gold-rgb), .6); animation: pulse-gold 2.2s var(--ease) infinite; }
.on-photo .badge, .photo-hero .badge, .page-hero .badge, .band .badge { background: rgba(var(--gold-rgb), 0.18); color: var(--gold-300); border-color: rgba(var(--gold-rgb), 0.5); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(var(--gold-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); }
}

/* Pillar accents: the three brand hues, one per pillar */
.pillar-edu    { --pc: var(--teal-700);  --pc-soft: color-mix(in srgb, var(--teal-500) 16%, transparent); }
.pillar-tech   { --pc: var(--perry-700); --pc-soft: color-mix(in srgb, var(--perry-500) 14%, transparent); }
.pillar-impact { --pc: var(--gold-600);  --pc-soft: color-mix(in srgb, var(--gold-500) 20%, transparent); }
[data-theme="dark"] .pillar-edu    { --pc: var(--teal-300); }
[data-theme="dark"] .pillar-tech   { --pc: var(--perry-300); }
[data-theme="dark"] .pillar-impact { --pc: var(--gold-300); }
.tag.is-pillar { background: var(--pc-soft); color: var(--pc); border-color: color-mix(in srgb, var(--pc) 32%, transparent); }

.spark { color: var(--gold-500); }

/* ----------------------------------------------------------------------------
   3. CHROME (kept from the previous skin)
   ------------------------------------------------------------------------- */

/* Skip link */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--tq-700); color: #fff;
  padding: 0.6em 1em; border-radius: var(--radius-sm);
  transition: top var(--t) var(--ease);
}
.skip:focus { top: 12px; color: #fff; }

/* ---- HEADER: two-tier (brand bar + charcoal nav) ---- */
.site-header { position: relative; z-index: 100; }

.hdr-brand { background: var(--hdr-bg); border-bottom: 1px solid var(--hdr-line); }
.hdr-brand-in {
  width: min(100% - 2.4rem, var(--shell-wide)); margin-inline: auto;
  display: flex; align-items: center; gap: var(--s-5);
  padding: 12px 0;
}

.brand-lockup { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand-lockup:hover { color: inherit; }
.brand-lockup .mark { display: flex; align-items: center; flex-shrink: 0; }
.brand-lockup .mark img { width: 36px; height: auto; display: block; }
.brand-lockup .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-lockup .wm-main { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; color: var(--hdr-fg); }
/* wordmark colours pulled straight from the logo: AI = periwinkle, Society = gold, at Baylor = white */
.brand-lockup .wm-ai  { color: var(--perry-500); }
.brand-lockup .wm-soc { color: var(--wm-gold); }
.brand-lockup .wm-sub { font-family: var(--font-sans); font-weight: 700; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hdr-fg); margin-top: 3px; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: var(--radius-sm); border: 1px solid var(--hdr-btn-line);
  background: transparent; color: var(--hdr-fg);
  transition: background var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--hdr-btn-hover); color: var(--hdr-fg); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }

.cmdk-trigger {
  display: inline-flex; align-items: center; gap: 0.55em;
  height: 38px; padding: 0 0.8em;
  border-radius: var(--radius-sm); border: 1px solid var(--hdr-btn-line);
  background: transparent; color: var(--hdr-fg);
  font-size: var(--fs-sm);
  transition: background var(--t-fast) var(--ease);
}
.cmdk-trigger:hover { background: var(--hdr-btn-hover); }
.cmdk-trigger svg { width: 15px; height: 15px; }
.cmdk-trigger kbd {
  font-family: var(--font-mono); font-size: 0.7rem;
  border: 1px solid var(--hdr-btn-line);
  border-radius: 4px; padding: 0.1em 0.4em; color: var(--hdr-muted);
}
.cmdk-trigger .label { font-family: var(--font-sans); }

/* charcoal nav bar: sticky, gold underline marks the current page */
.hdr-nav { background: var(--charcoal); position: sticky; top: 0; z-index: 90; }
.hdr-nav-in {
  width: min(100% - 2.4rem, var(--shell-wide)); margin-inline: auto;
  display: flex; align-items: stretch; gap: 4px; min-height: var(--nav-h);
}
.main-nav { display: flex; align-items: stretch; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.94rem;
  color: #fff; padding: 0 16px; position: relative; border-radius: 0;
}
.main-nav a:hover { color: #fff; background: var(--charcoal-hover); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold-500); }
.hnav-note {
  margin-left: auto; align-self: center;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); white-space: nowrap; padding-left: 12px;
}
/* Between the phone breakpoint and ~860px the note pushes the nav past the viewport edge. */
@media (max-width: 860px) { .hnav-note { display: none; } }

/* ---- Front-door card (kept: the directory + For You rail use this) ---- */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5); border-radius: var(--radius);
  background: var(--surface-1); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  min-width: 0; overflow: hidden;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent);
  transition: width var(--t-slow) var(--ease);
}
.card:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); color: inherit; }
.card:hover::before { width: 100%; }
.card:focus-within { border-color: var(--tq-500); }

/* ============================================================
   FRONT DOOR (banner band + directory + For You rail), kept
   ============================================================ */
.front {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 78vh;
}
/* 2026-09: the photo hero + stat strip now sit INSIDE .front, between the
   banner and the directory. The For You rail stays pinned to the top right
   (78vh), so it floats over the right side of the hero; the directory card
   below runs full width. */
.front-grid {
  display: flex; flex-direction: column;
  flex: none;
  gap: var(--s-5);
  margin-top: var(--s-6);
  width: min(100% - 2.4rem, var(--shell-wide));
  margin-inline: auto;
}
.front-main { display: flex; flex-direction: column; gap: var(--s-5); min-width: 0; flex: 1; }
.front-main .front-dir { flex: none; align-content: start; }
.front .photo-hero { flex: none; }
.front .photo-hero .ph-inner {
  width: auto;
  margin-left: max(1.2rem, calc((100% - var(--shell-wide)) / 2));
  margin-right: max(1.2rem, calc((100% - var(--shell-wide)) / 2));
}
/* Reserve the right gutter for the For-you feed only when it is shown (signed
   in, desktop). Below 1060px the feed drops into flow and needs no gutter. */
@media (min-width: 1061px) {
  body.is-signed-in .front .photo-hero .ph-inner {
    margin-right: calc(var(--fy-w) + var(--s-5) + 1.2rem + 16px);
  }
}
.front .stat-strip { flex: none; }

.front-banner {
  position: relative; overflow: hidden;
  width: 100%; border-radius: 0; border: 0;
  padding: var(--s-7) 0;
  background: linear-gradient(120deg, var(--brand-ink), color-mix(in srgb, var(--tq-900) 45%, var(--brand-ink)) 65%, color-mix(in srgb, var(--tq-900) 70%, var(--brand-ink)));
  box-shadow: none;
}
.front-banner::before { display: none; }
.front-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 170% at 88% 120%, color-mix(in srgb, var(--gold-500) 14%, transparent), transparent 64%);
  pointer-events: none;
}
.fb-inner {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-5);
  width: auto;
  margin-left: max(1.2rem, calc((100% - var(--shell-wide)) / 2));
  margin-right: calc(var(--fy-w) + var(--s-5) + 1.2rem + 16px);
  position: relative; z-index: 1;
}
.front-banner .eyebrow { color: rgba(255,255,255,0.72); }
.front-banner .fb-title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  font-size: clamp(2rem, 4.2vw, 3rem); color: #fff; letter-spacing: -.01em;
  margin-top: var(--s-2);
}
.front-banner .fb-title .wm-ai  { color: var(--perry-500); }
.front-banner .fb-title .wm-soc { color: var(--gold-500); }
.front-banner .fb-title em { font-style: normal; font-weight: 700; color: #fff; }
.front-banner .fb-line { color: rgba(255,255,255,0.82); margin-top: var(--s-2); font-size: var(--fs-md); }
.fb-tile { flex: none; display: grid; place-items: center; width: clamp(110px, 11vw, 150px); }
.fb-mark { width: 100%; height: auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3)); }

/* directory card: footer-style columns; gold highlight on hover */
.front-dir {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5) var(--s-6);
  padding: var(--s-6) var(--s-7);
}
.fd-col { display: flex; flex-direction: column; }
.fd-col a {
  color: var(--ink-soft); font-family: var(--font-sans); font-weight: 500;
  font-size: var(--fs-sm); padding: .34rem .5rem; margin-inline: -.5rem;
  border-radius: 3px;
}
.fd-col a:hover { background: var(--gold-500); color: var(--tq-950); text-decoration: none; }
.fd-col a.fd-head {
  font-family: var(--font-display); font-weight: 700; color: var(--brand);
  font-size: var(--fs-h4); padding: 0 0 var(--s-2) 0; margin: 0 0 var(--s-2) 0;
  border-bottom: 2px solid var(--tq-700); border-radius: 0;
}
[data-theme="dark"] .fd-col a.fd-head { border-bottom-color: var(--line-strong); }
.fd-col a.fd-head:hover { background: transparent; color: var(--link); }

/* For You rail: reserved, deliberately blank */
.front-fy {
  position: absolute; top: 0; right: 16px; z-index: 5;
  width: var(--fy-w);
  display: none; flex-direction: column; padding: var(--s-6);
  min-height: 78vh;
}
/* The For-you feed is signed-in only. Hidden by default; the front-door auth
   gate in site.js adds body.is-signed-in once a real session exists. */
body.is-signed-in .front-fy { display: flex; }
.fy-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--brand);
  padding-bottom: var(--s-2); border-bottom: 2px solid var(--tq-700);
}
[data-theme="dark"] .fy-head { border-bottom-color: var(--line-strong); }
.fy-blank { display: flex; flex-direction: column; gap: var(--s-4); margin: var(--s-6) 0; flex: 1; }
.fy-blank span {
  display: block; height: 42px; border-radius: var(--radius-sm);
  border: 1.5px dashed var(--line-strong); opacity: .6;
}
.front-fy .fy-note { font-size: var(--fs-xs); color: var(--muted); }

/* smooth pop-up preview on hover */
.dir-pop {
  position: fixed; z-index: 140; width: min(320px, 82vw);
  padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--tq-700);
  box-shadow: var(--sh-2);
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.dir-pop.is-on { opacity: 1; transform: none; }
.dir-pop::before { display: none; }
.dir-pop strong { display: block; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm); color: var(--brand); }
.dir-pop span { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: .25rem; line-height: 1.5; }
@media (hover: none), (pointer: coarse) { .dir-pop { display: none; } }
@media (prefers-reduced-motion: reduce) { .dir-pop { transition: none; } }

/* sign-in (stub until AiS accounts exist); lives on the brand bar */
.signin-wrap { position: relative; }
.signin-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 38px; padding: 0 .85rem; border-radius: var(--radius-sm);
  border: 1px solid var(--hdr-btn-line); color: var(--hdr-fg);
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-sm);
  background: transparent; cursor: pointer;
  transition: background .15s ease;
}
.signin-btn:hover { background: var(--hdr-btn-hover); }
.signin-btn svg { width: 16px; height: 16px; color: var(--hdr-muted); }
.signin-pop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 130;
  width: 280px; padding: var(--s-5); display: none; text-align: left;
}
.signin-pop.is-open { display: block; }
.signin-pop h3 { font-size: var(--fs-base); font-weight: 700; margin: 0; color: var(--brand); }
.signin-pop.card p { font-size: var(--fs-sm); color: var(--muted); margin: var(--s-2) 0 0; }
.signin-pop .soon-btn {
  display: flex; justify-content: center; margin-top: var(--s-4);
  padding: .55rem 1rem; border-radius: var(--radius-sm);
  border: 2px solid var(--line-strong); color: var(--ink-soft);
  font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm); cursor: default;
}
.signin-pop .soon-note { display: block; text-align: center; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-2); }
.signin-pop .signin-go { display: flex; justify-content: center; width: 100%; margin-top: var(--s-4); text-transform: none; letter-spacing: normal; font-size: var(--fs-sm); }
/* Signed in: initials avatar in the header button, account menu in the popover */
.signin-btn.is-account { padding: 0 .75rem 0 .3rem; }
.acct-avatar {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.acct-head { display: grid; gap: 2px; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.acct-head strong { font-size: var(--fs-base); color: var(--heading); }
.acct-head span { font-size: var(--fs-xs); color: var(--muted); overflow-wrap: anywhere; }
.acct-menu { display: grid; margin-top: var(--s-2); }
.acct-menu a, .acct-menu button {
  display: flex; align-items: center; min-height: 40px; padding: 0 var(--s-2); margin: 0 calc(var(--s-2) * -1);
  border: 0; border-radius: var(--radius-sm); background: transparent; cursor: pointer; text-align: left;
  font: 600 var(--fs-sm)/1.2 var(--font-sans); color: var(--ink); text-decoration: none;
}
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a:focus-visible, .acct-menu button:focus-visible { background: var(--surface-2); color: var(--link); }
.acct-menu button[data-signout] { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0; margin-top: var(--s-2); padding-top: var(--s-2); }
/* Signed in: the header "Join AiS" call to action is for visitors, so it goes away */
.has-account .hdr-brand .btn-gold[href="/join"] { display: none; }

/* ----------------------------------------------------------------------------
   4. PAGE COMPONENTS (the accelerator register)
   ------------------------------------------------------------------------- */

/* ---- Photo hero: full-bleed campus photo under a deep turquoise overlay ---- */
.photo-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(460px, 64vh, 680px);
  padding-block: clamp(4rem, 9vw, 7rem) clamp(5rem, 10vw, 8rem);
  color: #fff;
}
.photo-hero .ph-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--overlay-a) 0%, var(--overlay-a) 34%, var(--overlay-b) 100%);
}
.photo-hero::after {
  /* fade the bottom edge into the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.photo-hero .ph-copy { position: relative; max-width: 44rem; }
.photo-hero .eyebrow { display: flex; color: rgba(255,255,255,0.78); }
.photo-hero h1 { color: #fff; margin-top: var(--s-3); }
.photo-hero .ph-sub {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); line-height: 1.25;
  color: var(--gold-500); margin-top: var(--s-3);
}
.photo-hero .lead { color: rgba(255,255,255,0.86); max-width: 40rem; margin-top: var(--s-4); }
.photo-hero .btn-row { margin-top: var(--s-6); }
.photo-hero .badge { margin-bottom: var(--s-4); }
.photo-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.photo-hero .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.ph-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); color: rgba(255,255,255,0.8); font-size: var(--fs-sm); font-weight: 500; }
.ph-meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.ph-meta svg { width: 15px; height: 15px; color: var(--gold-500); }

/* ---- Page hero (interior): the same photo treatment, shorter ---- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(300px, 42vh, 460px);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  color: #fff;
}
.page-hero .ph-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--overlay-a) 0%, var(--overlay-a) 30%, var(--overlay-b) 100%); }
.page-hero.is-plain::before { background: linear-gradient(120deg, var(--brand-ink), var(--band) 70%, var(--tq-800)); }
.page-hero .ph-copy { position: relative; max-width: 46rem; }
.page-hero .eyebrow { display: flex; color: var(--gold-500); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); margin-top: var(--s-3); }
.page-hero .lead { color: rgba(255,255,255,0.86); margin-top: var(--s-4); }
.page-hero .btn-row { margin-top: var(--s-5); }
.page-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.page-hero .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.page-hero .badge { margin-bottom: var(--s-4); }
.breadcrumb { font-size: var(--fs-xs); color: rgba(255,255,255,0.7); margin-bottom: var(--s-3); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold-300); }

/* ---- Team hero: the whole group stays visible; the copy adapts to the room
   available. Wide screens: pinned to the far left (the empty wall) in a narrow
   column over a soft glow pool (ORBITH EDIT title-screen treatment). Mid-size:
   the copy drops to the bottom over the steps. Phones: title band + photo. ---- */
.page-hero.is-team { min-height: 0; height: clamp(520px, 54vw, 820px); align-items: flex-end; padding-block: 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero.is-team .ph-img { object-position: center top; }
.page-hero.is-team::before { background: linear-gradient(to top, rgba(var(--photo-ink-rgb),0.94) 0%, rgba(var(--photo-ink-rgb),0.72) 28%, rgba(var(--photo-ink-rgb),0.34) 52%, rgba(var(--photo-ink-rgb),0.08) 76%, rgba(var(--photo-ink-rgb),0.04) 100%); }
.page-hero.is-team .ph-copy { position: relative; isolation: isolate; max-width: 40rem; text-shadow: 0 1px 3px rgba(0,0,0,0.45), 0 0 14px rgba(0,0,0,0.25); }
.page-hero.is-team .ph-copy::before { content: ""; display: none; position: absolute; inset: -18% -16% -20% -16%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 40% 50%, rgba(var(--photo-ink-rgb),0.88) 0%, rgba(var(--photo-ink-rgb),0.72) 40%, rgba(var(--photo-ink-rgb),0.36) 66%, rgba(var(--photo-ink-rgb),0) 86%); filter: blur(14px); }
.page-hero.is-team .lead { color: rgba(255,255,255,0.94); }
.team-photo.is-mobile-only { display: none; }
@media (min-width: 1100px) {
  .page-hero.is-team { align-items: flex-start; padding-block: clamp(2rem, 4vw, 3.25rem) 0; }
  .page-hero.is-team::before { background: linear-gradient(to bottom, rgba(var(--photo-ink-rgb),0.2) 0%, rgba(var(--photo-ink-rgb),0.06) 40%, rgba(var(--photo-ink-rgb),0.16) 100%); }
  .page-hero.is-team .shell { width: 100%; margin-inline: 0; padding-left: clamp(1.5rem, 2.6vw, 3.25rem); }
  .page-hero.is-team .ph-copy { max-width: 22.5rem; }
  .page-hero.is-team .ph-copy::before { display: block; }
  .page-hero.is-team h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
  .page-hero.is-team .lead { font-size: 1.02rem; line-height: 1.5; }
}
@media (max-width: 760px) {
  .page-hero.is-team { height: auto; min-height: 0; padding-block: clamp(2.6rem, 6vw, 4rem); }
  .page-hero.is-team .ph-img { display: none; }
  .page-hero.is-team::before { background: linear-gradient(120deg, var(--brand-ink), var(--band) 70%, var(--tq-800)); }
  .page-hero.is-team .ph-copy { text-shadow: none; max-width: 46rem; }
  .team-photo.is-mobile-only { display: block; }
}

/* ---- Full-width photo below a plain hero (nothing cropped) ---- */
.team-photo { margin: 0; background: var(--band); }
.team-photo img { width: 100%; height: auto; max-height: 80vh; object-fit: cover; object-position: center top; display: block; }
.team-photo figcaption { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; padding: var(--s-3) 0; font-size: var(--fs-xs); color: rgba(255,255,255,0.7); text-align: center; }
.photo-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.photo-figure img { width: 100%; height: auto; display: block; }
.photo-figure figcaption { padding: var(--s-2) var(--s-4); font-size: var(--fs-xs); color: var(--muted); }

/* ---- Stat strip: quiet numbers under the hero ---- */
.stat-strip { border-bottom: 1px solid var(--line); }
.stat-strip .shell-wide { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--s-5) var(--s-4); text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--heading); letter-spacing: -0.02em; line-height: 1; }
.stat .l { font-size: var(--fs-sm); color: var(--muted); margin-top: 0.4em; }

/* ---- Bands: solid turquoise sections ---- */
.band { background: var(--band); color: #fff; }
.band-2 { background: var(--band-2); }
.band h1, .band h2, .band h3, .band h4 { color: #fff; }
.band p, .band li { color: rgba(255,255,255,0.82); }
.band .lead { color: rgba(255,255,255,0.82); }
.band .eyebrow { color: var(--gold-500); }
.band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.band .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.band a:not(.btn) { color: var(--gold-300); }
.band a:not(.btn):hover { color: var(--gold-500); }
.band .gold-rule { margin-inline: auto; }
.band-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.band-card h3 { font-size: var(--fs-h4); display: flex; align-items: center; gap: 0.6em; }
.band-card h3 svg { width: 22px; height: 22px; color: var(--gold-500); flex-shrink: 0; }
.band-card .note-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: var(--s-4); font-size: var(--fs-sm); margin-top: var(--s-4);
}
.band .btn-gold { box-shadow: var(--sh-gold); }

/* ---- Mission band ---- */
.mission { text-align: center; }
.mission .shell-narrow { display: flex; flex-direction: column; align-items: center; }
.mission-ico {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--gold-rgb), 0.18); color: var(--gold-500); margin-bottom: var(--s-5);
}
.mission-ico svg { width: 26px; height: 26px; }
.mission blockquote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); line-height: 1.5;
  color: rgba(255,255,255,0.92); max-width: 60ch; margin-top: var(--s-5);
}

/* ---- Photo tiles: 4-up with overlay + uppercase gold-underlined titles ---- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: var(--s-6) var(--s-5); color: #fff;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--photo-ink-rgb),0.94) 0%, rgba(var(--photo-tq-rgb),0.72) 55%, rgba(var(--photo-tq-rgb),0.55) 100%); transition: background var(--t) var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile:hover::before { background: linear-gradient(to top, rgba(var(--photo-ink-rgb),0.96) 0%, rgba(var(--photo-tq-rgb),0.8) 55%, rgba(var(--photo-tq-rgb),0.62) 100%); }
.tile h3 {
  color: #fff; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800;
  display: inline; align-self: flex-start; padding-bottom: 3px; border-bottom: 2px solid var(--gold-500);
}
.tile p { color: rgba(255,255,255,0.86); font-size: var(--fs-sm); line-height: 1.5; margin-top: var(--s-3); }
.tile:focus-visible { outline-offset: -4px; }

/* ---- Split: prose + media card ---- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .prose p { font-size: var(--fs-md); }
.media-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--sh-3); padding: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden;
}
.media-card .mc-logo { display: flex; align-items: center; gap: var(--s-4); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.media-card .mc-logo img { width: 84px; height: auto; flex-shrink: 0; }
.media-card .mc-wm { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; color: var(--heading); }
.media-card .mc-wm .wm-ai { color: var(--perry-500); }
.media-card .mc-wm .wm-soc { color: var(--gold-600); }
[data-theme="dark"] .media-card .mc-wm .wm-soc { color: var(--gold-500); }
.media-card .mc-wm small { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 4px; }
.media-card dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3) var(--s-5); margin-top: var(--s-5); font-size: var(--fs-sm); }
.media-card dt { color: var(--muted); font-weight: 600; }
.media-card dd { color: var(--ink); font-weight: 500; }
.media-card .arrow-link { margin-top: var(--s-5); }

/* ---- Values / pillars trio: centered icons in soft circles ---- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.value { text-align: center; padding: 0 var(--s-3); }
.value-ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto var(--s-4);
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--tq-700);
}
.value-ico svg { width: 28px; height: 28px; }
.value.pillar-edu .value-ico, .value.pillar-tech .value-ico, .value.pillar-impact .value-ico { background: var(--pc-soft); color: var(--pc); }
.value h3 { font-size: var(--fs-h4); }
.value p { color: var(--muted); font-size: var(--fs-base); margin-top: var(--s-2); }
.value .arrow-link { margin-top: var(--s-3); }

/* ---- Lists: gold-dot checklist, gold-check list ---- */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { display: flex; align-items: flex-start; gap: var(--s-3); }
.checklist li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); margin-top: 0.62em; }
.checklist.is-check li::before { display: none; }
.checklist.is-check li svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; margin-top: 0.15em; }
.list-title { display: flex; align-items: center; gap: 0.5em; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-base); margin-bottom: var(--s-3); }
.list-title svg { width: 18px; height: 18px; color: var(--gold-500); }

/* ---- Process: numbered steps ---- */
.process { list-style: none; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
.process li { display: flex; gap: var(--s-4); align-items: flex-start; }
.process li::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-sans); font-weight: 800; font-size: 0.85rem;
  background: var(--tq-800); color: var(--gold-500);
}
.band .process li::before { background: rgba(255,255,255,0.1); color: var(--gold-500); border: 1px solid rgba(255,255,255,0.18); }
.process strong { display: block; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-base); color: var(--heading); }
.band .process strong { color: #fff; }
.process span { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 0.15em; }
.band .process span { color: rgba(255,255,255,0.78); }

/* Wide two-column layout inside bands / sections */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.two-col.is-centered { align-items: center; }

/* ---- Panels: cream rounded cards (osolaunch bg-card rounded-xl border) ---- */
.panel {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-6); min-width: 0;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.panel.is-white { background: var(--surface-1); }
.panel.is-link:hover, a.panel:hover { border-color: var(--tq-500); box-shadow: var(--sh-2); color: inherit; transform: translateY(-2px); }
.panel h3 { font-size: var(--fs-h4); }
.panel p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.panel .panel-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-2); flex-wrap: wrap; }
.panel.is-soft { border-style: dashed; }
.panel-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.panel-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.panel-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.panel-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* icon chip on panels: gold square with dark icon (osolaunch "Interest Meeting" cards) */
.ico-chip {
  width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--gold-500); color: var(--tq-950); flex-shrink: 0;
}
.ico-chip svg { width: 20px; height: 20px; }
.ico-chip.is-green { background: var(--brand-soft); color: var(--tq-700); }
[data-theme="dark"] .ico-chip.is-green { color: var(--tq-300); }
.panel-head { display: flex; align-items: center; gap: var(--s-3); }
.panel-head h3 { margin: 0; }

/* Empty state (schedule coming soon) */
.empty { align-items: center; text-align: center; padding: clamp(2.5rem, 6vw, 4rem) var(--s-5); }
.empty svg { width: 40px; height: 40px; color: var(--muted-2); }
.empty h3 { font-size: var(--fs-h4); }
.empty p { max-width: 42ch; }

/* ---- Event list (rendered from /data/events.json) ---- */
.event-list { display: grid; gap: var(--s-3); }
.event { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-4); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-4) var(--s-5); }
.event .ev-date { text-align: center; border-right: 1px solid var(--line); padding-right: var(--s-4); }
.event .ev-date b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--heading); }
.event .ev-date span { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-top: 3px; }
.event h4 { font-size: var(--fs-base); }
.event p { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.event .ev-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-2); }

/* ---- FAQ cards ---- */
.faq-list { display: grid; gap: var(--s-3); }
.faq-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5) var(--s-6); }
.faq-card h3 { font-size: var(--fs-base); font-family: var(--font-sans); }
.faq-card p { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-2); line-height: 1.6; }
.faq-card summary { list-style: none; cursor: pointer; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-base); color: var(--heading); position: relative; padding-right: 2rem; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-65%) rotate(45deg); transition: transform var(--t) var(--ease); }
.faq-card[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-card[open] { border-color: var(--line-strong); }

/* ---- People: leadership cards (photo on top, solid text panel below) ---- */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.person-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--band); color: #fff; border: 1px solid transparent;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.person-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.person-card .pc-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, var(--tq-700), var(--tq-950));
}
.person-card .pc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.person-card .avatar {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em;
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); color: #fff;
}
.person-card.has-photo .avatar { display: none; }
.person-card .pc-body { padding: var(--s-4) var(--s-4) var(--s-5); text-align: center; display: flex; flex-direction: column; gap: 0.2em; flex: 1; }
.person-card .role { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-500); }
.person-card .name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; line-height: 1.2; }
.person-card .bio { font-size: var(--fs-sm); color: rgba(255,255,255,0.82); margin-top: var(--s-2); line-height: 1.5; }
.person-card.is-tbd { background: var(--card); border: 1.5px dashed var(--line-strong); color: var(--ink); }
.person-card.is-tbd .pc-photo { background: var(--surface-2); }
.person-card.is-tbd .avatar { background: var(--surface-1); border-color: var(--line-strong); color: var(--muted); }
.person-card.is-tbd .role { color: var(--gold-text); }
.person-card.is-tbd .name { color: var(--heading); }
.person-card.is-tbd .bio { color: var(--muted); }
/* Former officers stay on the page (board photos) but read as inactive */
.person-card.is-former { background: #5E6869; }
.person-card.is-former:hover { transform: none; box-shadow: none; }
.person-card.is-former .pc-photo { background: #5E6869; }
.person-card.is-former .pc-photo img { filter: grayscale(1); opacity: 0.7; }
.person-card.is-former .role { color: rgba(255,255,255,0.7); }
.person-card.is-former .name { color: rgba(255,255,255,0.85); }
.person-card.is-former .bio { color: rgba(255,255,255,0.68); }
.person-card .former-tag { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 1; padding: 0.3em 0.75em; border-radius: 999px; background: rgba(21,34,35,0.82); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.person-card .pillar-dot { position: absolute; top: var(--s-4); right: var(--s-4); z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--pc, var(--gold-500)); box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }
.group-label { display: flex; align-items: center; gap: var(--s-4); margin: var(--s-7) 0 var(--s-4); }
.group-label h3 { font-size: var(--fs-h4); white-space: nowrap; }
.group-label p { color: var(--muted); font-size: var(--fs-sm); }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---- Project feature ---- */
.project {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4);
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-xl);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.project .p-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.project h3 { font-size: var(--fs-h3); }
.project .p-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.project .p-tech, .panel .p-tech { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.panel .chip { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.25em 0.7em; }
[data-theme="dark"] .panel .chip { background: var(--surface-2); }
.project .chip { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.25em 0.7em; }
[data-theme="dark"] .project .chip { background: var(--surface-2); }
.project p { color: var(--ink-soft); }

/* ---- Callout / note ---- */
.note {
  display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5);
  border-radius: var(--radius-lg); background: var(--card);
  border: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.note svg { width: 20px; height: 20px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.note strong { color: var(--heading); }
.note.is-info svg { color: var(--teal-700); }
[data-theme="dark"] .note.is-info svg { color: var(--teal-300); }

/* ---- Mission / Vision / Purpose ---- */
.mvp { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
.mvp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.mvp-text { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.band .mvp-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.band .mvp-text { color: #fff; }

/* ---- Heterarchy figure ---- */
.het-figure { margin: var(--s-6) 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--s-5); }
.het-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }   /* transparent SVG: reads on the light and the dark card */
.het-legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); justify-content: center; margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--muted); font-family: var(--font-sans); }
.het-legend span { display: inline-flex; align-items: center; gap: 0.5em; }
.het-legend .ln { width: 26px; border-top: 3px solid; }
.het-legend .ln-tight { border-color: var(--perry-500); }
.het-legend .ln-work  { border-top-width: 2px; border-color: var(--muted); }
.het-legend .ln-conv  { border-top-width: 2px; border-top-style: dashed; border-color: var(--muted); }
.het-figure figcaption { text-align: center; color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-3); font-style: italic; }

/* ---- Prose (long-form) ---- */
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-7); font-size: var(--fs-h3); }
.prose h3 { margin-top: var(--s-6); font-size: var(--fs-h4); }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.7; }
.prose blockquote {
  border-left: 3px solid var(--gold-500); padding: var(--s-2) 0 var(--s-2) var(--s-5);
  font-family: var(--font-serif); font-size: var(--fs-lg); font-style: italic; color: var(--ink);
}

/* ---- Final CTA (subtle gradient, centered) ---- */
.cta-final { text-align: center; }
.cta-final .shell-narrow { display: flex; flex-direction: column; align-items: center; }
.cta-final .lead { margin: var(--s-4) auto var(--s-6); }
.cta-final .btn-row { justify-content: center; }

/* ---- Newsletter subscribe ---- */
.news-sub-form { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.news-sub-form input {
  flex: 1; min-width: 12rem; min-height: 48px; padding: 0 1rem;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--surface-1); color: var(--ink); font: inherit;
}
.news-sub-form input:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 1px; }
.news-sub-form .btn { min-height: 48px; }
.news-sub-msg { margin-top: var(--s-3); font-size: var(--fs-sm); min-height: 1.2em; }
.news-sub-msg.is-err { color: var(--error); }
.news-sub-msg.is-ok { color: var(--success); font-weight: 600; }
.news-sub-alt { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--muted); }
.news-issue { max-width: 46rem; }
.news-issue h3 { font-size: var(--fs-h3); margin: var(--s-3) 0 var(--s-2); }

/* ---- Footer: deep turquoise with gold column headings (osolaunch) ---- */
.site-footer {
  background: var(--ftr-bg); color: var(--ftr-fg);
  border-top: 0;
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--s-6);
}
.footer-grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1.6fr repeat(3, 1fr);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--ftr-line);
}
.footer-brand .wm-main { color: #fff; }
.footer-brand .wm-sub { color: #fff; }
.footer-brand .wm-soc { color: var(--gold-500); }
.footer-brand p { color: var(--ftr-fg); font-size: var(--fs-sm); margin-top: var(--s-4); max-width: 34ch; line-height: 1.6; }
.footer-col h4 { color: var(--ftr-head); font-size: var(--fs-sm); font-family: var(--font-sans); font-weight: 700; margin-bottom: var(--s-4); }
.footer-col a { display: block; color: var(--ftr-fg); font-size: var(--fs-sm); padding: 0.28em 0; }
.footer-col a:hover { color: var(--ftr-hover); }
.footer-social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: var(--radius); border: 1px solid var(--ftr-line-strong); color: var(--ftr-fg);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--gold-500); color: var(--tq-950); border-color: var(--gold-500); }
.footer-social svg { width: 18px; height: 18px; }
.footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding-top: var(--s-5); color: var(--ftr-muted); font-size: var(--fs-xs);
}
.footer-legal a { color: var(--ftr-muted); }
.footer-legal a:hover { color: var(--ftr-hover); }
.footer-legal .legal-links { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.footer-tag { text-align: center; color: var(--ftr-muted); font-size: var(--fs-xs); margin-top: var(--s-4); }

/* ---- Command palette (kept) ---- */
.cmdk-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(var(--scrim-rgb), 0.55);
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 12vh; opacity: 0; transition: opacity var(--t) var(--ease);
}
.cmdk-overlay.open { display: flex; opacity: 1; }
.cmdk {
  width: min(100% - 2rem, 580px);
  background: var(--surface-1); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  overflow: hidden; transform: translateY(-10px); transition: transform var(--t) var(--ease-out);
}
.cmdk-overlay.open .cmdk { transform: none; }
.cmdk-input-wrap { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.cmdk-input-wrap svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.cmdk-input { flex: 1; border: 0; background: transparent; font-size: var(--fs-lg); font-family: var(--font-sans); color: var(--ink); outline: none; }
.cmdk-list { max-height: 50vh; overflow-y: auto; padding: var(--s-2); }
.cmdk-group-label { font-size: var(--fs-xs); text-transform: none; letter-spacing: 0.02em; color: var(--muted-2); padding: var(--s-3) var(--s-3) var(--s-1); font-family: var(--font-sans); font-weight: 700; }
.cmdk-item {
  display: flex; align-items: center; gap: var(--s-3); width: 100%; text-align: left;
  padding: 0.7em var(--s-3); border-radius: var(--radius-sm); border: 0; background: transparent;
  color: var(--ink); font-size: var(--fs-sm);
}
.cmdk-item .ci-ico { width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--tq-700); color: var(--tq-100); display: grid; place-items: center; flex-shrink: 0; }
.cmdk-item .ci-ico svg { width: 16px; height: 16px; }
.cmdk-item .ci-text { display: flex; flex-direction: column; }
.cmdk-item .ci-text small { color: var(--muted); font-size: var(--fs-xs); }
.cmdk-item.active, .cmdk-item:hover { background: var(--gold-500); color: var(--tq-950); }
.cmdk-item.active .ci-text small, .cmdk-item:hover .ci-text small { color: var(--tq-900); }
[data-theme="dark"] .cmdk-item.active, [data-theme="dark"] .cmdk-item:hover { color: var(--tq-950); }
[data-theme="dark"] .cmdk-item.active .ci-text small, [data-theme="dark"] .cmdk-item:hover .ci-text small { color: var(--tq-900); }
.cmdk-empty { padding: var(--s-6); text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.cmdk-foot { display: flex; gap: var(--s-4); padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.cmdk-foot kbd { font-family: var(--font-mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 0.05em 0.4em; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }

/* Scroll progress bar: thin gold hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 101;
  background: var(--gold-500);
  width: 0%; transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { width: 100%; transform: scaleX(0); animation: progress linear; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tag-live::before, .badge-dot::before { animation: none; }
  .card, .panel, .person-card, .project, .btn, .tile img { transition: none; }
  .scroll-progress { display: none; }
}

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

/* ----------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 280px; }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .panel-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1060px) {
  .front { min-height: 0; }
  .front-grid {
    flex: none;
    width: min(100% - 2.4rem, var(--shell-wide));
    margin-inline: auto;
  }
  .front-main .front-dir { flex: none; }
  .fb-inner, .front .photo-hero .ph-inner { width: min(100% - 2.4rem, var(--shell-wide)); margin-inline: auto; }
  .front-fy { position: static; width: auto; min-height: 0; }
  .front-fy { flex-direction: row; align-items: center; gap: var(--s-5); padding: var(--s-5) var(--s-6); }
  .fy-head { flex: none; border-bottom: 0; padding-bottom: 0; }
  .fy-blank { flex-direction: row; margin: 0; }
  .fy-blank span { width: 42px; flex: none; }
  .front-fy .fy-note { margin-left: auto; }
}

@media (max-width: 960px) {
  .split, .two-col { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: var(--s-6); }
  .mvp { grid-template-columns: 1fr; }
  .panel-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --fs-md: 1rem; }
  .hdr-brand-in { padding: 10px 0; gap: var(--s-3); }
  .brand-lockup .mark img { width: 30px; }
  .cmdk-trigger .label, .cmdk-trigger kbd { display: none; }
  .cmdk-trigger { width: 38px; padding: 0; justify-content: center; }
  .hdr-nav-in { width: 100%; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
  .hdr-nav-in::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 0 12px; font-size: 0.88rem; white-space: nowrap; }
  .hnav-note { display: none; }
  .photo-hero { min-height: 0; padding-block: 3.5rem 4.5rem; }
  .stat-strip .shell-wide { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel-grid.cols-2, .panel-grid.cols-3, .panel-grid.cols-4 { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (max-width: 700px) {
  .front-banner { padding: var(--s-5) 0; }
  .fb-inner { flex-direction: column; align-items: flex-start; }
  .fb-tile { order: -1; width: 84px; }
  .front-dir { grid-template-columns: 1fr; padding: var(--s-5) var(--s-6); }
  .signin-btn .label { display: none; }
  .signin-btn { width: 38px; padding: 0; justify-content: center; }
  .fy-blank span:nth-child(n+3) { display: none; }
  .front-fy { flex-wrap: wrap; }
  .front-fy .fy-note { flex-basis: 100%; margin-left: 0; }
}

@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .group-label { flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
  .group-label p { flex-basis: 100%; }
  .group-label::after { display: none; }
  .person-card .pc-body { padding: var(--s-3) var(--s-3) var(--s-4); }
  .person-card .name { font-size: 1.05rem; }
  .person-card .bio { font-size: var(--fs-xs); }
  .person-card .avatar { width: 72px; height: 72px; font-size: 1.5rem; }
  .header-actions .btn-gold { display: none; }
  .event { grid-template-columns: 56px 1fr; }
}

/* ----------------------------------------------------------------------------
   ACCESSIBILITY + PRINT
   ------------------------------------------------------------------------- */
/* High contrast (prefers-contrast: more) is generated in the BRAND region at the top (brand.json roles.contrast). */
@media (forced-colors: active) {
  .card, .panel, .person-card, .project, .mvp-card, .het-figure, .faq-card, .event,
  .cmdk, .media-card, .btn, .icon-btn, .cmdk-trigger, .band-card {
    background: Canvas; border: 1px solid CanvasText; box-shadow: none;
  }
}
@media print {
  .site-header, .site-footer, .scroll-progress, .cmdk-overlay, .dir-pop, .signin-pop { display: none; }
  .card, .panel, .person-card, .project, .mvp-card, .het-figure, .faq-card { background: #fff; box-shadow: none; }
  .photo-hero, .page-hero, .band, .tile { color: #000; }
  .photo-hero::before, .page-hero::before, .tile::before, .photo-hero .ph-img, .page-hero .ph-img, .tile img { display: none; }
}

/* ======================= EVENTS: certainty system ========================= */
/* Three object types, not one list with four pills: dated rows and series
   cards on the calendar, undated people as speaker cards, conversations as a
   plain sentence. Locked items carry NO certainty badge; only exceptions are
   badged. Rendered nodes never get .reveal (site.js snapshots reveals once at
   load, so injected nodes would stay at opacity 0 forever). */

/* ---- status pills -------------------------------------------------------- */
/* Sentence case and larger than .tag so small-text contrast holds at 4.5:1.
   Every pill differs by construction (tint / solid outline / dashed outline)
   AND by wording, so nothing rests on colour alone. No lock glyph: Chrome
   retired the padlock at 11% comprehension. */
.tag-status {
  display: inline-flex; align-items: center;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0; text-transform: none;
  padding: 0.28em 0.7em; border-radius: 999px; white-space: nowrap;
}
.tag-members {
  background: color-mix(in srgb, var(--tq-900) 10%, var(--card));
  color: var(--tq-900);
  border: 1px solid color-mix(in srgb, var(--tq-900) 28%, transparent);
}
[data-theme="dark"] .tag-members {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  color: var(--brand-strong);
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.tag-open {
  background: transparent; color: var(--tq-900);
  border: 1px solid color-mix(in srgb, var(--tq-900) 42%, transparent);
}
[data-theme="dark"] .tag-open { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.tag-tbd {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line-strong, var(--line));
}
.tag-target {
  background: transparent; color: var(--gold-text);
  border: 1.5px dashed color-mix(in srgb, var(--gold-500) 60%, transparent);
}

/* ---- group strata -------------------------------------------------------- */
.event-group { margin-top: var(--s-6); }
.event-group:first-child { margin-top: 0; }
.event-group-head { font-size: var(--fs-lg); color: var(--heading); margin: 0; }
.event-group-sub { font-size: var(--fs-sm); color: var(--muted); margin: 4px 0 var(--s-4); }

/* ---- featured event ------------------------------------------------------ */
.event-feature {
  display: grid; grid-template-columns: 88px 1fr; gap: var(--s-5);
  position: relative; padding: var(--s-5) var(--s-5) var(--s-4);
  border-top: 3px solid var(--gold-500);
}
.event-feature .ev-date { text-align: center; border-right: 1px solid var(--line); padding-right: var(--s-4); }
.event-feature .ev-date b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 2.1rem; line-height: 1; color: var(--heading);
}
.event-feature .ev-date span {
  display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 700; margin-top: 4px;
}
.event-feature .eyebrow { margin-bottom: 4px; }
.event-feature h3 { font-size: var(--fs-h3); color: var(--heading); margin: 0; }
.event-feature > div > p { font-size: var(--fs-base); color: var(--ink-soft); margin-top: var(--s-2); }

/* the dashed "target date" badge, for when a DATE itself is not locked */
.ev-date.is-target { border-right-style: dashed; }
.ev-date.is-target b { font-weight: 500; }
.ev-caption {
  display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 3px;
}

/* the honesty sentence: what is not settled, stated plainly */
.ev-status {
  display: flex; gap: 0.6em; align-items: baseline;
  font-size: var(--fs-sm); color: var(--ink-soft);
  margin-top: var(--s-3); max-width: 54ch;
}
.ev-status::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-500); transform: translateY(-1px);
}
.ev-hosts { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-2); }
.ev-updated { display: block; font-size: var(--fs-xs); color: var(--muted-2); margin-top: var(--s-3); }
.ev-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-top: var(--s-3); }
.event .ev-tags { margin-top: var(--s-2); }
.ev-cta { margin-top: var(--s-3); }

/* ---- series card (collapses N identical sessions into one program) -------- */
.event-series { padding: var(--s-5); }
.evs-head { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.evs-head h4 { font-size: var(--fs-lg); color: var(--heading); margin: 0; }
.event-series > p { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-2); }
/* Progress rail: numbered nodes joined by a hairline. Sessions already held
   stay on the rail as dimmed check marks so the track shows its progress
   rather than quietly shrinking week by week. */
.evs-stops {
  display: flex; list-style: none; margin: var(--s-5) 0 0; padding: 0;
}
.evs-stop {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; font-size: var(--fs-sm);
}
/* the rail itself, drawn between node centres */
.evs-stop:not(:last-child)::before {
  content: ""; position: absolute; top: 15px; left: 50%; right: -50%;
  height: 2px; background: var(--line); z-index: 0;
}
.evs-stop.is-done:not(:last-child)::before { background: color-mix(in srgb, var(--gold-500) 55%, transparent); }
.evs-node {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  background: var(--card); border: 2px solid var(--line); color: var(--muted);
}
.evs-node svg { width: 16px; height: 16px; }
.evs-stop.is-ahead .evs-node { border-color: var(--gold-500); color: var(--heading); }
.evs-stop.is-done  .evs-node {
  border-color: color-mix(in srgb, var(--gold-500) 55%, transparent);
  background: var(--gold-050); color: var(--gold-text);
}
[data-theme="dark"] .evs-stop.is-done .evs-node { background: color-mix(in srgb, var(--gold-500) 16%, transparent); }
.evs-when { display: flex; align-items: baseline; gap: 0.35em; }
.evs-when b {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--heading);
}
.evs-when i {
  font-style: normal; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 700;
}
.evs-stop.is-done .evs-when b, .evs-stop.is-done .evs-label { color: var(--muted-2); }
.evs-label { font-size: var(--fs-xs); color: var(--muted); }

/* ---- type marks ---------------------------------------------------------- */
.tag-type { gap: 0.45em; }
.tag-ico { width: 13px; height: 13px; flex: none; }
.ev-eyebrow { display: flex; align-items: center; gap: 0.5em; }
.eb-ico { width: 15px; height: 15px; flex: none; color: var(--gold-text); }

/* ---- monogram accents ---------------------------------------------------- */
/* Three brand hues so three nameless cards are still distinguishable. Assigned
   from a hash of the name, so removing one speaker never recolours the rest. */
.sc-mono.sc-hue-0 { color: var(--tq-900); border-color: color-mix(in srgb, var(--tq-900) 30%, transparent); background: color-mix(in srgb, var(--tq-900) 8%, var(--card)); }
.sc-mono.sc-hue-1 { color: var(--perry-600); border-color: color-mix(in srgb, var(--perry-500) 38%, transparent); background: color-mix(in srgb, var(--perry-500) 10%, var(--card)); }
.sc-mono.sc-hue-2 { color: var(--gold-text); border-color: color-mix(in srgb, var(--gold-500) 45%, transparent); background: var(--gold-050); }
[data-theme="dark"] .sc-mono.sc-hue-0 { color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); }
[data-theme="dark"] .sc-mono.sc-hue-1 { color: var(--perry-200); border-color: color-mix(in srgb, var(--perry-200) 38%, transparent); background: color-mix(in srgb, var(--perry-500) 22%, transparent); }
[data-theme="dark"] .sc-mono.sc-hue-2 { color: var(--gold-text); background: color-mix(in srgb, var(--gold-500) 16%, transparent); }
.evs-foot {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center;
  justify-content: space-between; margin-top: var(--s-4);
  padding-top: var(--s-4); border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--muted);
}
.evs-foot .arrow-link { margin: 0; }

/* ---- speaker cards (people who said yes, no date yet) -------------------- */
.horizon-grid { list-style: none; margin: 0; padding: 0; }
.speaker-card { display: flex; flex-direction: column; gap: var(--s-2); }
.sc-mono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--gold-text); margin-bottom: var(--s-2);
}
.speaker-card h4 { font-size: var(--fs-base); color: var(--heading); margin: 0; }
.sc-org {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 700;
}
.sc-line { font-size: var(--fs-sm); color: var(--muted); }
/* Optional speaker headshot. Same footprint as the monogram it replaces, so a
   card with a photo and one without sit level next to each other. */
.sc-photo {
  display: block; width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; margin-bottom: var(--s-2);
  border: 1px solid var(--line); background: var(--surface-2);
}
.sc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.speaker-card .ev-tags { margin-top: auto; padding-top: var(--s-3); }

/* ---- shared note line ---------------------------------------------------- */
.events-note {
  font-size: var(--fs-sm); color: var(--muted); text-align: center;
  margin-top: var(--s-5); max-width: 56ch; margin-left: auto; margin-right: auto;
}

/* ---- compact (homepage) -------------------------------------------------- */
.event-feature.is-compact { grid-template-columns: 64px 1fr; gap: var(--s-4); padding: var(--s-4); }
.event-feature.is-compact .ev-date b { font-size: 1.5rem; }
.event-feature.is-compact h3 { font-size: var(--fs-base); }
.event-feature.is-compact .ev-status { margin-top: var(--s-2); font-size: var(--fs-xs); }
.event-list.is-compact { margin-top: var(--s-3); }
.event-list.is-compact .event { padding: var(--s-3) var(--s-4); }
.event-list.is-compact .event p { display: none; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 720px) {
  .event-feature { grid-template-columns: 64px 1fr; gap: var(--s-4); padding: var(--s-4); }
  .event-feature .ev-date b { font-size: 1.6rem; }
  .evs-stops { flex-direction: column; gap: var(--s-4); align-items: stretch; }
  .evs-stop { flex-direction: row; align-items: center; gap: var(--s-3); text-align: left; }
  .evs-stop:not(:last-child)::before {
    top: 32px; bottom: -22px; left: 15px; right: auto; width: 2px; height: auto;
  }
  .evs-when { min-width: 62px; }
  .evs-foot { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .event-feature { grid-template-columns: 1fr; gap: var(--s-3); }
  .event-feature .ev-date {
    display: flex; align-items: baseline; gap: 0.5em;
    text-align: left; border-right: 0; padding-right: 0;
    border-bottom: 1px solid var(--line); padding-bottom: var(--s-3);
  }
  .event-feature .ev-date.is-target { border-right-style: solid; border-bottom-style: dashed; }
  .ev-caption { margin-top: 0; }
}

/* ============================ PARTNERS (/partners) =========================
   The "Work with AiS" page and its inquiry form (2026-10-03). Site tokens only;
   the gold stays on one CTA per section (on the form section, the submit). */

/* Intro columns: the gaps the other pages set inline */
.pt-intro h2 { margin-top: var(--s-3); }
.pt-intro .lead { margin-top: var(--s-4); }
.pt-intro .note { margin-top: var(--s-5); }

/* "You get" line pinned to the bottom of each offer card */
.panel .pt-get { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--ink-soft); }
.panel .pt-get strong { color: var(--heading); }

/* Proof strip: text and links to systems we run, no screenshots */
.proof-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 64rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden;
}
.proof-list li {
  display: grid; grid-template-columns: 15rem 1fr; grid-template-areas: "name desc" "url desc";
  column-gap: var(--s-6); row-gap: 2px; align-items: start;
  padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line);
}
.proof-list li:first-child { border-top: 0; }
.proof-name { grid-area: name; justify-self: start; display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-base); }
.proof-name .ico { width: 0.85em; height: 0.85em; flex-shrink: 0; }
.proof-list p { grid-area: desc; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.proof-url { grid-area: url; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); overflow-wrap: anywhere; }

/* Why a student team */
.why-list { gap: var(--s-4); }
.why-list li { color: var(--ink-soft); }
.why-list strong { color: var(--heading); }

/* The person who reads every inquiry */
.pt-person { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.pt-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 22%; flex-shrink: 0; border: 2px solid var(--gold-500); }
.pt-person strong { display: block; font-family: var(--font-sans); font-size: var(--fs-base); color: var(--heading); }
.pt-person span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* The inquiry form */
.pf-card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.pf-full { grid-column: 1 / -1; }
.pf-field { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.pf-field label, .pf-field legend { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm); color: var(--heading); }
.pf input[type="text"], .pf input[type="email"], .pf textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--surface-1); color: var(--ink); font: inherit; font-size: var(--fs-base);
  transition: border-color var(--t-fast) var(--ease);
}
.pf textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.pf input::placeholder, .pf textarea::placeholder { color: var(--muted-2); opacity: 1; }
.pf input:hover, .pf textarea:hover { border-color: var(--tq-500); }
.pf input:focus-visible, .pf textarea:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 1px; border-color: var(--tq-500); }
[data-theme="dark"] .pf input[type="text"], [data-theme="dark"] .pf input[type="email"], [data-theme="dark"] .pf textarea,
[data-theme="dark"] .pf-choice span { background: var(--bg); }
.pf [aria-invalid="true"] { border-color: var(--error); }
.pf-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.pf-meta p { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.pf-count { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-count.is-near { color: var(--gold-text); font-weight: 700; }
.pf-sub {
  margin: var(--s-6) 0 var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line);
  font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm); color: var(--heading);
}
.pf-sub span { font-weight: 500; color: var(--muted); }
.pf-choices { border: 0; padding: 0; margin: 0; }
.pf-choices legend { padding: 0; margin-bottom: var(--s-2); }
.pf-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pf-choice { position: relative; display: inline-flex; cursor: pointer; }
.pf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pf-choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.05em;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface-1);
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.pf-choice:hover span { border-color: var(--tq-500); }
.pf-choice input:checked + span { background: var(--brand-soft); border-color: var(--tq-500); color: var(--heading); box-shadow: inset 0 0 0 1px var(--tq-500); }
.pf-choice input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.pf-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pf-err { font-size: var(--fs-xs); font-weight: 600; color: var(--error); }
[data-theme="dark"] .pf-err { color: color-mix(in srgb, var(--error) 40%, #fff); }
.pf-err-form { margin-top: var(--s-4); }
.pf-actions { margin-top: var(--s-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.pf-actions .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.pf-alt { font-size: var(--fs-sm); color: var(--muted); }

/* Result messages: shown by the script (.is-on), or with no JS by the
   /partners#sent and /partners#not-sent redirects (:target) */
.pf-msg { display: none; }
.pf-msg:target, .pf-msg.is-on { display: block; }
.pf-msg:focus { outline: none; }  /* focused by script or by the #fragment, never by a user */
#sent:target ~ form, .pf-card.is-done form { display: none; }
.pf-msg h3 { font-size: var(--fs-h4); }
.pf-msg p { margin-top: var(--s-3); color: var(--ink-soft); font-size: var(--fs-base); }
.pf-done .ico-chip { margin-bottom: var(--s-4); }
.pf-fail {
  margin-bottom: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--error) 45%, transparent);
  background: color-mix(in srgb, var(--error) 7%, transparent);
}
.pf-fail p { font-size: var(--fs-sm); }
.pf-mail { font-weight: 700; }

/* With JavaScript off, nothing waits for the reveal animation (site.js adds
   .is-visible; without it every .reveal block would stay at opacity 0). The
   form section carries no .reveal at all, so it shows even if site.js fails. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* The footer sentence under the closing band */
.band .pt-legal { margin-top: var(--s-6); font-size: var(--fs-xs); color: rgba(255,255,255,0.72); max-width: 54ch; }

@media (max-width: 760px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-meta { flex-direction: column; gap: var(--s-1); }
  .pf-actions .btn { width: 100%; }
  .proof-list li { grid-template-columns: 1fr; grid-template-areas: "name" "url" "desc"; row-gap: var(--s-1); padding: var(--s-4) var(--s-5); }
}
