/* ==========================================================================
   Empractica — site stylesheet
   Brand tokens mirror https://design.empractica.com/assets/colors_and_type.css
   Site-specific system: see DESIGN.md
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Brand palette */
  --brand-bright-blue: #1b9bea;
  --brand-dark-blue:   #094360;
  --brand-cool-black:  #002030;
  --brand-cool-gray:   #e6ecef;
  --brand-red:         #d83d22;
  --brand-white:       #ffffff;

  --neutral-100: #ffffff;
  --neutral-200: #e6ecef;
  --neutral-300: #bfc7cb;
  --neutral-400: #809098;
  --neutral-500: #405864;
  --neutral-900: #002030;

  --accent: var(--brand-bright-blue);

  /* Semantic */
  --fg-1: var(--brand-cool-black);
  --fg-2: var(--neutral-500);
  --fg-3: var(--neutral-400);
  --fg-on-dark: #ffffff;
  --fg-on-dark-body: rgba(230, 236, 239, 0.78);
  --fg-on-dark-link: #7fc5f3;
  --fg-danger: var(--brand-red);

  --surface-page: #ffffff;
  --surface-wash: #f5f8fa;
  --surface-panel: #e6ecef;
  --surface-ink: #002030;
  --surface-ink-2: #06293c;

  --border-1: var(--neutral-300);
  --border-2: var(--neutral-200);
  --border-on-dark: rgba(255, 255, 255, 0.12);

  --gradient-blue-freeform:
    radial-gradient(ellipse 80% 70% at 90% 30%, rgba(27,155,234,0.95) 0%, rgba(27,155,234,0) 55%),
    radial-gradient(ellipse 70% 70% at 10% 90%, rgba(27,155,234,0.85) 0%, rgba(27,155,234,0) 55%),
    radial-gradient(ellipse 80% 80% at 20% 20%, rgba(0,32,48,0.9) 0%, rgba(0,32,48,0) 60%),
    linear-gradient(135deg, #002030 0%, #094360 55%, #1b9bea 100%);

  /* Type — tracking in em so it scales with the size it's applied at
     (rem values tracked small text too loose and large text too tight). */
  --font-sans: "Figtree", "Figtree Fallback", "Trebuchet MS", "Lucida Sans", system-ui, -apple-system, sans-serif;
  --tracking-tight: -0.045em;
  --tracking-snug: -0.03em;
  --tracking-wide: 0.07em;

  --text-display: clamp(2.5rem, 1.55rem + 4.2vw, 4.5rem);
  --text-h2:      clamp(2.05rem, 1.4rem + 2.9vw, 3.5rem);
  --text-h3:      clamp(1.7rem, 1.35rem + 1.6vw, 2.75rem);
  --text-h4:      clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --text-h5:      1.25rem;
  --text-body-lg: clamp(1.1rem, 1.03rem + 0.3vw, 1.25rem);
  --text-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-sm:      0.9375rem;
  --text-eyebrow: 0.75rem;

  /* Space / shape */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-band: 24px;
  --radius-pill: 999px;

  --border-width-form: 1.5px;
  --border-width-button: 3px;

  --shadow-xs: 0 1px 2px rgba(0, 32, 48, 0.06);
  --shadow-sm: 0 2px 6px rgba(0, 32, 48, 0.08);
  --shadow-md: 0 6px 18px rgba(0, 32, 48, 0.10);
  --shadow-lg: 0 16px 40px rgba(0, 32, 48, 0.16);
  --shadow-focus-ring: 0 0 0 3px rgba(27, 155, 234, 0.25);
  --shadow-focus-ring-danger: 0 0 0 3px rgba(216, 61, 34, 0.25);

  /* Layout */
  --shell-max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);
  --prose-max: 65ch;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-micro: 160ms;
  --dur-reveal: 450ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  color: var(--fg-1);
  -webkit-text-size-adjust: 100%;
}
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--fg-1);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }

p, li, figcaption, blockquote { text-wrap: pretty; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark-blue); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

::selection { background: rgba(27, 155, 234, 0.22); }

:focus-visible {
  outline: 2px solid #1273ae;
  outline-offset: 2px;
  border-radius: 2px;
}
/* On dark surfaces the light-surface ring loses contrast (1.7:1 on the gradient band) —
   swap only the color; #fff is the established on-ink interactive color. */
:is(.band-ink, .band-cta, .nav-overlay, .site-footer, .on-ink) :focus-visible,
body.nav-open .nav-toggle:focus-visible {
  outline-color: var(--fg-on-dark);
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Skip link */
.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 200;
  background: var(--brand-cool-black);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-micro) var(--ease-out);
}
.skip-link:focus-visible { transform: none; color: #fff; }

/* ---------- Typography helpers ---------- */
.display {
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  text-wrap: balance;
}
.headline {
  font-size: var(--text-h2);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: 1.08;
  text-wrap: balance;
}
.headline-sm {
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  line-height: 1.1;
  text-wrap: balance;
}
.title { font-size: var(--text-h4); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.subtitle { font-size: var(--text-h5); font-weight: 500; line-height: 1.3; text-wrap: balance; }

.lede { font-size: var(--text-body-lg); line-height: 1.55; color: var(--fg-2); }
.small { font-size: var(--text-sm); line-height: 1.5; }
.muted { color: var(--fg-2); }

.prose { max-width: var(--prose-max); }
.prose p + p { margin-top: 0.85em; }

/* Underline-as-emphasis: one keyword per page, max */
.uline {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--neutral-500);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow--bare::before { display: none; }
.on-ink .eyebrow, .eyebrow--on-ink { color: var(--fg-on-dark-link); }
.on-ink .eyebrow::before, .eyebrow--on-ink::before { background: rgba(255, 255, 255, 0.4); }

/* ---------- Layout ---------- */
.shell {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--wash { background: var(--surface-wash); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head > * + * { margin-top: var(--space-4); }
.section-head .eyebrow { margin-bottom: var(--space-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
@supports not (backdrop-filter: blur(12px)) {
  .site-header { background: rgba(255, 255, 255, 0.97); }
}
.site-header.is-scrolled { border-bottom-color: var(--border-2); }

.site-header .shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-link img { height: 26px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  padding: 8px 2px;
  transition: color var(--dur-micro) var(--ease-out);
}
.site-nav a:hover { color: var(--fg-1); }
.site-nav a[aria-current="page"] {
  color: var(--fg-1);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--fg-1);
  padding: 10px 12px;
  min-height: 44px;
}
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 5px; width: 18px; }
.nav-toggle .bars span {
  height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
body.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav — fades in/out (exit softer and shorter than enter) */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--surface-ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms var(--ease-out), visibility 0s 150ms;
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 200ms var(--ease-out), visibility 0s;
}
.nav-overlay ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav-overlay a {
  display: inline-block;
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
}
.nav-overlay a[aria-current="page"] { color: var(--fg-on-dark-link); }
.nav-overlay .nav-overlay-cta { margin-top: var(--space-6); }
html.js .nav-overlay li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
html.js body.nav-open .nav-overlay li {
  opacity: 1;
  transform: none;
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
}
html.js body.nav-open .nav-overlay li:nth-child(2) { transition-delay: 40ms; }
html.js body.nav-open .nav-overlay li:nth-child(3) { transition-delay: 80ms; }
html.js body.nav-open .nav-overlay li:nth-child(4) { transition-delay: 120ms; }

@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .site-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  body.nav-open .nav-toggle { color: #fff; }
  body.nav-open .brand-link .logo-dark { display: none; }
  body.nav-open .brand-link .logo-light { display: block; }
}
.brand-link .logo-light { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-micro) ease-out, color var(--dur-micro) ease-out,
    box-shadow var(--dur-micro) ease-out, transform 80ms ease-out;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand-dark-blue); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--brand-dark-blue);
  box-shadow: inset 0 0 0 var(--border-width-button) var(--neutral-400);
}
.btn--ghost:hover {
  color: var(--brand-dark-blue);
  box-shadow: inset 0 0 0 var(--border-width-button) var(--accent);
  background: rgba(230, 236, 239, 0.5);
}

.on-ink .btn--primary, .btn--on-ink { background: #fff; color: var(--brand-dark-blue); }
.on-ink .btn--primary:hover, .btn--on-ink:hover { background: var(--accent); color: #fff; }
.on-ink .btn--ghost {
  color: #fff;
  box-shadow: inset 0 0 0 var(--border-width-button) rgba(255, 255, 255, 0.5);
}
.on-ink .btn--ghost:hover { box-shadow: inset 0 0 0 var(--border-width-button) var(--accent); background: transparent; color: #fff; }

.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--brand-cool-gray);
  color: var(--neutral-400);
  box-shadow: inset 0 0 0 var(--border-width-button) var(--neutral-300);
  cursor: not-allowed;
  transform: none;
}

/* Text CTA with arrow */
.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-dark-blue);
  text-decoration: none;
  transition: color var(--dur-micro) ease-out;
}
.text-cta .arrow { transition: transform 200ms var(--ease-out); }
.text-cta:hover, .text-cta:focus-visible { color: var(--accent); }
.text-cta:hover .arrow, .text-cta:focus-visible .arrow { transform: translateX(4px); }
.on-ink .text-cta { color: var(--fg-on-dark-link); }
.on-ink .text-cta:hover, .on-ink .text-cta:focus-visible { color: #fff; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* ---------- Ink band (contained inversion) ---------- */
.band-ink {
  position: relative;
  overflow: hidden;
  background: var(--surface-ink);
  color: var(--fg-on-dark-body);
  border-radius: var(--radius-band);
  padding: clamp(48px, 7vw, 96px);
}
.band-ink :is(h1, h2, h3, h4, .display, .headline, .headline-sm, .title) { color: var(--fg-on-dark); }
.band-ink :is(.lede, .muted), .band-cta .muted { color: var(--fg-on-dark-body); }
.band-ink::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -70px;
  width: 420px;
  height: 476px;
  background: url("../assets/brand/watermark.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
.band-ink > * { position: relative; z-index: 1; }

/* Closing CTA band — the only gradient moment */
.band-cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-blue-freeform);
  color: var(--fg-on-dark-body);
  border-radius: var(--radius-band);
  padding: clamp(56px, 8vw, 112px);
  text-align: center;
}
.band-cta :is(h2, .headline) { color: #fff; }
.band-cta .lede { color: rgba(255, 255, 255, 0.85); }
.band-cta > * { position: relative; z-index: 1; }
.band-cta .cta-row { justify-content: center; margin-top: var(--space-6); }
.band-cta::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 380px;
  height: 431px;
  background: url("../assets/brand/watermark.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface-page);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) {
  a.card:hover, .card--hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
}
.card > * + * { margin-top: var(--space-3); }
.card .eyebrow { margin-bottom: var(--space-1); }

.on-ink .card, .card--ink {
  background: var(--surface-ink-2);
  border-color: var(--border-on-dark);
  color: var(--fg-on-dark-body);
}

.card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.band-ink .card-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

/* ---------- Ledger (before / after) ---------- */
.ledger {
  display: grid;
  gap: clamp(16px, 2vw, 32px);
  align-items: stretch;
}
@media (min-width: 900px) { .ledger { grid-template-columns: 1fr 1fr; } }
.ledger-col {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.ledger-col--before { background: var(--surface-panel); border: 1px solid var(--border-2); }
.ledger-col--before li { border-top-color: var(--border-1); }
.ledger-col--after { background: var(--surface-page); border: 1px solid var(--border-2); }
.ledger-col .ledger-title {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.ledger-col--before .ledger-title { color: var(--fg-3); }
.ledger-col--after .ledger-title { color: var(--brand-dark-blue); }
.ledger-col ul { list-style: none; margin: 0; padding: 0; }
.ledger-col li { padding: var(--space-4) 0; border-top: 1px solid var(--border-2); line-height: 1.5; }
.ledger-col--before li { color: var(--fg-2); }
.ledger-col--after li { font-weight: 500; padding-left: 14px; border-left: 3px solid var(--accent); }

/* ---------- Calendar strip ---------- */
.cal-strip { display: grid; gap: var(--space-4); max-width: 800px; }
.cal-week { display: grid; gap: var(--space-2); }
.cal-week .cal-label {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-3);
}
.on-ink .cal-week .cal-label { color: var(--fg-on-dark-link); }
.cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2); }
.cal-label-tag { display: none; }
@media (max-width: 767px) {
  .cal-day-label { display: none; }
  .cal-label-tag { display: inline; }
}
.cal-day {
  aspect-ratio: 1 / 0.82;
  border-radius: var(--radius-sm);
  background: var(--surface-panel);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--fg-3);
}
.on-ink .cal-day { background: rgba(255, 255, 255, 0.06); color: rgba(230, 236, 239, 0.5); }
.cal-day--session {
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 6px;
}
.cal-day--webinar { background: var(--brand-dark-blue); color: #fff; }
.on-ink .cal-day--webinar { background: var(--accent); color: #fff; }
.cal-day--roundtable {
  background: var(--surface-page);
  color: var(--brand-dark-blue);
  box-shadow: inset 0 0 0 2px var(--brand-dark-blue);
}
.on-ink .cal-day--roundtable {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--accent);
}
html.js .cal-day--session { transform: scale(1); }
html.js .revealed .cal-day--session { animation: calPulse 400ms var(--ease-out) 300ms; }
@keyframes calPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.cal-repeat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--fg-2);
}
.cal-repeat .loop-glyph { color: var(--accent); font-size: 1.3em; line-height: 1; }
.on-ink .cal-repeat { color: var(--fg-on-dark-link); }

/* ---------- Artifact card (vectorized document) ---------- */
.artifact-stage { position: relative; max-width: 460px; }
.artifact-sheet {
  position: relative;
  background: var(--surface-page);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 40px);
  transform: rotate(-1.2deg);
}
.artifact-sheet--behind {
  position: absolute;
  inset: 0;
  background: var(--surface-panel);
  border-radius: var(--radius-md);
  transform: rotate(1.6deg) translate(12px, 10px);
}
.artifact-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--fg-1);
  margin-bottom: var(--space-4);
}
.artifact-head .doc-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.artifact-head .doc-no {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.artifact-field { padding: var(--space-3) 0; border-bottom: 1px solid var(--border-2); }
.artifact-field .f-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.artifact-field .f-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-1);
  min-height: 1.3em;
}
html.js .artifact-field .f-value.f-anim { opacity: 0; transform: translateY(6px); }
html.js .revealed .artifact-field .f-value.f-anim {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
html.js .revealed .artifact-field + .artifact-field .f-value.f-anim { transition-delay: 150ms; }
html.js .revealed .artifact-field + .artifact-field + .artifact-field .f-value.f-anim { transition-delay: 300ms; }
html.js .revealed .artifact-field + .artifact-field + .artifact-field + .artifact-field .f-value.f-anim { transition-delay: 450ms; }
.artifact-field .f-value .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
}
html.js .revealed .caret { animation: caretBlink 1.25s ease-in-out 0.9s infinite; }
@keyframes caretBlink {
  0%, 55% { opacity: 1; }
  70%, 88% { opacity: 0; }
  100% { opacity: 1; }
}
.artifact-field--empty .f-value {
  color: var(--fg-3);
  font-weight: 400;
  font-style: italic;
  font-size: 0.8rem;
}

/* ---------- Step timeline (numbered, hairline spine) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 720px; }
.timeline li {
  position: relative;
  padding: var(--space-5) 0 var(--space-5) 56px;
  border-bottom: 1px solid var(--border-2);
}
.timeline li:last-child { border-bottom: 0; }
.timeline .t-num {
  position: absolute;
  left: 0;
  top: var(--space-5);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-dark-blue);
  color: var(--brand-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}
.timeline .t-title { font-weight: 700; margin-bottom: 4px; }
.timeline .t-body { color: var(--fg-2); }

/* ---------- Checklist grid (artifacts list etc.) ---------- */
.check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(24px, 4vw, 64px);
}
@media (min-width: 768px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check-grid li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-2);
  line-height: 1.5;
}
.check-grid .tick { flex: none; margin-top: calc(0.75em - 9px); color: var(--brand-dark-blue); }
.check-grid .tick svg { width: 18px; height: 18px; display: block; }

/* Chip variant — artifact list: bold lead anchors, contained rows for scanning */
.check-grid--chips { gap: 10px clamp(16px, 2vw, 24px); }
.check-grid--chips li {
  border: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  background: var(--surface-wash);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--fg-2);
}
.check-grid--chips li strong { color: var(--fg-1); font-weight: 700; }

/* Plain generous list (Who It's For) */
.plain-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.plain-list li {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-2);
  font-size: var(--text-body-lg);
  line-height: 1.5;
}
.plain-list li:last-child { border-bottom: 0; }
.on-ink .plain-list li { border-bottom-color: var(--border-on-dark); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--border-2); }
.accordion-item { border-bottom: 1px solid var(--border-2); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: var(--text-h5);
  font-weight: 600;
  color: var(--fg-1);
  padding: 20px 4px;
  min-height: 44px;
  text-wrap: balance;
  transition: color var(--dur-micro) ease-out;
}
.accordion-trigger:hover { color: var(--brand-dark-blue); }
.accordion-trigger .plus {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 200ms var(--ease-out);
}
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--brand-dark-blue);
}
.accordion-trigger .plus::before { width: 14px; height: 2px; }
.accordion-trigger .plus::after { width: 2px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms var(--ease-out);
}
.accordion-panel > div { overflow: hidden; }
.accordion-panel .prose { padding: 0 4px 20px; color: var(--fg-2); }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
html:not(.js) .accordion-panel { grid-template-rows: 1fr; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-5); max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field .lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--neutral-500);
}
.field .lbl .req { color: var(--brand-red); margin-left: 2px; }
.input {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: var(--border-width-form) solid var(--border-1);
  background: #fff;
  color: var(--fg-1);
  width: 100%;
  transition: border-color 120ms, box-shadow 120ms;
}
.input::placeholder { color: var(--neutral-400); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--shadow-focus-ring); }
.input[aria-invalid="true"] { border-color: var(--brand-red); }
.input[aria-invalid="true"]:focus {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-focus-ring-danger);
}
textarea.input { min-height: 108px; resize: vertical; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23405864' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field .err { font-size: 0.78rem; color: var(--brand-red); display: none; }
.field.has-error .err { display: block; }
.form-note {
  display: none;
  border: var(--border-width-form) solid var(--border-1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--fg-2);
  background: var(--surface-wash);
}
.form-note.show { display: block; }

/* Production placeholder token — visibly unfinished, on purpose */
.ph {
  color: var(--fg-3);
  background: var(--surface-wash);
  border: 1px dashed var(--border-1);
  border-radius: var(--radius-sm);
  padding: 1px 7px;
  font-size: 0.9em;
  white-space: nowrap;
}
.on-ink .ph { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.25); color: rgba(230,236,239,0.6); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-ink);
  color: var(--fg-on-dark-body);
  position: relative;
  overflow: hidden;
  margin-top: var(--section-y);
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 360px;
  height: 408px;
  background: url("../assets/brand/watermark.svg") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.site-footer .shell { position: relative; z-index: 1; }
.footer-top {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-7);
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 24px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); max-width: 32ch; }
.footer-col .footer-heading {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-on-dark-link);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-col li { line-height: 1.35; }
.footer-col a {
  display: inline-block;
  color: var(--fg-on-dark-body);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.35;
  padding: 1px var(--space-2);
  margin: -1px calc(-1 * var(--space-2));
  transition: color var(--dur-micro) ease-out;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-block: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(230, 236, 239, 0.55);
}
.footer-bottom a {
  display: inline-block;
  color: inherit;
  padding-block: var(--space-3);
  margin-block: calc(-1 * var(--space-3));
  transition: color var(--dur-micro) ease-out;
}
.footer-bottom a:hover { color: #fff; }
/* User feedback 2026-09-14: tight link rhythm; touch pointers keep 44px targets. */
@media (pointer: coarse) {
  .footer-col a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-block: var(--space-2);
    margin-block: 0;
  }
  .footer-col ul { gap: 0; }
}

/* ---------- Reveal system ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
html.js .revealed[data-reveal],
html.js .revealed [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
html.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(14px);
}
html.js .revealed[data-reveal-group] > * {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
html.js .revealed[data-reveal-group] > :nth-child(2) { transition-delay: 70ms; }
html.js .revealed[data-reveal-group] > :nth-child(3) { transition-delay: 140ms; }
html.js .revealed[data-reveal-group] > :nth-child(4) { transition-delay: 210ms; }
html.js .revealed[data-reveal-group] > :nth-child(5) { transition-delay: 280ms; }
html.js .revealed[data-reveal-group] > :nth-child(6) { transition-delay: 350ms; }
html.js .revealed[data-reveal-group] > :nth-child(n+7) { transition-delay: 420ms; }

/* ---------- Utilities ---------- */
.rule-above::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  margin-bottom: var(--space-4);
}
.center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal],
  html.js [data-reveal-group] > *,
  html.js .artifact-field .f-value.f-anim {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Hallmark direction — ADOPTED 2026-09-14 per user decision:
   keep the Hallmark typography / scale / spacing / layout refinements,
   RESTORE the full motion system (reveals, loop-arc draw, calendar pulse,
   caret blink, micro-transitions). Motion-stripping rules were removed in
   the merge; do not re-add them. Sources merged: tokens.css + css/polish.css
   (both deleted after merge).
   ========================================================================== */

/* ---------- Hallmark token overrides ---------- */
:root {

  color-scheme: light;

  /* Brand palette */
  --brand-bright-blue: oklch(66.33993% 0.1550244 243.56677);
  --brand-dark-blue:   oklch(36.34359% 0.0743620 237.13421);
  --brand-cool-black:  oklch(22.96885% 0.0484007 234.51264);
  --brand-cool-gray:   oklch(93.93934% 0.0076166 228.85662);
  --brand-red:         oklch(58.77423% 0.1959870 32.28825);
  --brand-white:       oklch(100.00000% 0.0000000 0.00000);

  --neutral-100: oklch(100.00000% 0.0000000 0.00000);
  --neutral-200: oklch(93.93934% 0.0076166 228.85662);
  --neutral-300: oklch(82.46443% 0.0104682 228.91909);
  --neutral-400: oklch(64.31938% 0.0220193 229.24397);
  --neutral-500: oklch(44.56648% 0.0350863 230.14342);
  --neutral-900: oklch(22.96885% 0.0484007 234.51264);

  --accent: var(--brand-bright-blue);

  /* Semantic */
  --fg-1: var(--brand-cool-black);
  --fg-2: var(--neutral-500);
  --fg-3: var(--fg-2);
  --fg-on-dark: oklch(100.00000% 0.0000000 0.00000);
  --fg-on-dark-body: oklch(93.93934% 0.0076166 228.85662 / 0.78);
  --fg-on-dark-link: oklch(79.42498% 0.0963181 238.45965);
  --fg-danger: oklch(51% 0.18 32.2882);

  --surface-page: oklch(100.00000% 0.0000000 0.00000);
  --surface-wash: oklch(97.74229% 0.0041715 236.49608);
  --surface-panel: oklch(93.93934% 0.0076166 228.85662);
  --surface-ink: oklch(22.96885% 0.0484007 234.51264);
  --surface-ink-2: oklch(26.71434% 0.0523917 237.47278);

  --border-1: var(--neutral-300);
  --border-2: var(--neutral-200);
  --border-on-dark: oklch(100.00000% 0.0000000 0.00000 / 0.12);

  --gradient-blue-freeform:
    radial-gradient(ellipse 80% 70% at 90% 30%, oklch(66.33993% 0.1550244 243.56677 / 0.95) 0%, oklch(66.33993% 0.1550244 243.56677 / 0.0) 55%),
    radial-gradient(ellipse 70% 70% at 10% 90%, oklch(66.33993% 0.1550244 243.56677 / 0.85) 0%, oklch(66.33993% 0.1550244 243.56677 / 0.0) 55%),
    radial-gradient(ellipse 80% 80% at 20% 20%, oklch(22.96885% 0.0484007 234.51264 / 0.9) 0%, oklch(22.96885% 0.0484007 234.51264 / 0.0) 60%),
    linear-gradient(135deg, oklch(22.96885% 0.0484007 234.51264) 0%, oklch(36.34359% 0.0743620 237.13421) 55%, oklch(66.33993% 0.1550244 243.56677) 100%);

  /* Type — tracking unified in em (kept in sync with the base token block above) */
  --font-sans: "Figtree", "Figtree Fallback", "Trebuchet MS", "Lucida Sans", system-ui, -apple-system, sans-serif;
  --tracking-tight: -0.045em;
  --tracking-snug: -0.03em;
  --tracking-wide: 0.07em;

  --text-display: clamp(2.25rem, 1.45rem + 3.6vw, 4rem);
  --text-h2: clamp(1.9rem, 1.35rem + 2.45vw, 3rem);
  --text-h3:      clamp(1.7rem, 1.35rem + 1.6vw, 2.75rem);
  --text-h4: clamp(1.35rem, 1.1rem + 0.7vw, 1.65rem);
  --text-h5:      1.25rem;
  --text-body-lg: clamp(1.1rem, 1.03rem + 0.3vw, 1.25rem);
  --text-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-sm:      0.9375rem;
  --text-eyebrow: 0.75rem;

  /* Space / shape */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-band: 24px;
  --radius-pill: 999px;

  --border-width-form: 1.5px;
  --border-width-button: 3px;

  --shadow-xs: 0 1px 2px oklch(22.96885% 0.0484007 234.51264 / 0.06);
  --shadow-sm: 0 2px 6px oklch(22.96885% 0.0484007 234.51264 / 0.08);
  --shadow-md: 0 6px 18px oklch(22.96885% 0.0484007 234.51264 / 0.1);
  --shadow-lg: 0 16px 40px oklch(22.96885% 0.0484007 234.51264 / 0.16);
  --shadow-focus-ring: 0 0 0 3px oklch(66.33993% 0.1550244 243.56677 / 0.25);
  --shadow-focus-ring-danger: 0 0 0 3px oklch(58.77423% 0.1959870 32.28825 / 0.25);

  /* Layout */
  --shell-max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 7.5vw, 104px);
  --prose-max: 65ch;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-micro: 160ms;
  --dur-reveal: 450ms;

  /* Additions for the September polish, within the established brand. */
  --color-paper: var(--surface-page);
  --color-paper-2: var(--surface-wash);
  --color-paper-3: var(--surface-panel);
  --color-ink: var(--fg-1);
  --color-muted: var(--fg-2);
  --color-rule: var(--border-2);
  --color-accent: var(--accent);
  --color-accent-ink: var(--brand-cool-black);
  --color-focus: oklch(53.38380% 0.1232494 243.07832);
  --color-link-hover: oklch(53.38380% 0.1232494 243.07832);
  --color-header: oklch(100% 0 0 / 0.96);
  --color-cta-scrim: oklch(23.20% 0.049 235.3 / 0.50);
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --space-sm: var(--space-4);
  --space-md: var(--space-5);
  --space-lg: var(--space-6);
  --space-xl: var(--space-7);
  --text-button: 0.9375rem;
  --text-label: 0.75rem;
  --text-home-display: clamp(3.3rem, 4.9vw, 4rem);
  --text-mobile-display: clamp(2.45rem, 0.85rem + 8vw, 3.5rem);
  --text-mobile-panel: clamp(1.8rem, 1.25rem + 3vw, 2.5rem);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 220ms;
  --rule-hair: 1px;
  --shadow-paper: 0 12px 36px -12px oklch(23.20% 0.049 235.3 / 0.22);
}

/* ---------- Hallmark refinement layer (motion kills removed) ---------- */
/* Shared refinement layer; the original brand stylesheet remains intact. */
html, body { overflow-x: clip; }
body.nav-open { overflow-x: clip; overflow-y: hidden; }
h1, h2, h3, h4, .display, .headline {
  min-width: 0;
  overflow-wrap: anywhere;
  font-style: normal;
}
.display { letter-spacing: -0.045em; line-height: 1.08; }
.headline { letter-spacing: -0.035em; line-height: 1.12; }
.title { letter-spacing: -0.025em; font-weight: 600; }
.lede { max-width: 56ch; }
a:hover { color: var(--color-link-hover); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.site-header { background: var(--color-header); }
.site-header .shell { border-bottom: var(--rule-hair) solid var(--border-2); }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a, .footer-col a, .footer-bottom a, .btn, .text-cta { white-space: nowrap; }
.brand-link { min-height: 44px; }
.btn {
  font-size: var(--text-button);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  min-height: 48px;
}
.btn--primary:hover { background: var(--color-link-hover); color: var(--fg-on-dark); }
.on-ink .btn--primary:hover { background: var(--surface-panel); color: var(--brand-dark-blue); }
.btn[disabled], .btn[aria-disabled="true"] { color: var(--fg-2); }
.btn[aria-busy="true"] { cursor: progress; }
.nav-toggle:active, .accordion-trigger:active { opacity: 0.72; }
.nav-toggle:disabled, .accordion-trigger:disabled { color: var(--fg-2); cursor: not-allowed; }
.text-cta { font-size: var(--text-sm); letter-spacing: 0; }
.text-cta:hover, .text-cta:focus-visible { color: var(--color-link-hover); }
.on-ink .text-cta:hover, .on-ink .text-cta:focus-visible { color: var(--fg-on-dark); }
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hero-copy { max-width: 880px; }
.hero-copy .cta-row { margin-top: var(--space-6); gap: var(--space-5); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section-head { margin-bottom: var(--space-7); }
.section-head > .eyebrow, .band-head > .eyebrow, .problem-intro > .eyebrow {
  text-transform: none;
  font-size: var(--text-sm);
  letter-spacing: 0;
  font-weight: 500;
}
.section-head > .eyebrow::before, .band-head > .eyebrow::before,
.problem-intro > .eyebrow::before { display: none; }
.rule-above::before { display: none; }

/* The opening pairs a clear invitation with a concrete piece of the work. */
.page-home .hero { padding-bottom: var(--space-7); }
.page-home .hero-grid { gap: clamp(40px, 5vw, 72px); }
.page-home .hero-copy { max-width: none; }
.hero-prelude { display: block; font-size: 0.7em; letter-spacing: -0.035em; color: var(--fg-2); margin-bottom: var(--space-3); }
.hero-statement { display: block; }
.page-home .hero-copy .lede { max-width: 47ch; }
.page-home .hero-visual { padding: var(--space-5) var(--space-3); }
.hero-points { margin-top: var(--space-8); }
.hero-points .hero-bullets { border-top: var(--rule-hair) solid var(--border-2); gap: var(--space-5); padding-top: var(--space-5); }
.hero-points .hero-bullets li { font-size: var(--text-sm); gap: var(--space-3); }
.artifact-stage { width: 100%; max-width: 440px; }
.artifact-sheet { padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-paper); transform: rotate(-1deg); }
.artifact-sheet--behind { bottom: 44px; transform: rotate(1.2deg) translate(8px, 8px); }
.artifact-head { flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); border-bottom-width: var(--rule-hair); padding-bottom: var(--space-5); }
.artifact-head .doc-type { font-size: var(--text-h5); text-transform: none; letter-spacing: -0.025em; font-weight: 600; }
.artifact-head .doc-no { color: var(--fg-2); letter-spacing: 0; font-size: var(--text-label); }
.artifact-field { padding-block: var(--space-4); }
.artifact-field .f-label { color: var(--fg-2); font-size: var(--text-label); letter-spacing: 0.055em; }
.artifact-field .f-value { font-size: var(--text-sm); }
.artifact-field--empty { border-bottom: 0; }
.artifact-field--empty .f-value { color: var(--fg-2); font-style: normal; }
.artifact-caption { position: relative; margin-top: var(--space-5); color: var(--fg-2); font-size: var(--text-label); text-align: center; }

/* Give the weekly cadence room without adding another layer of cards. */
.band-ink, .band-cta { padding: clamp(24px, 5vw, 64px); }
.band-ink .band-head { max-width: 720px; }
.band-ink .card-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.band-ink .card-grid > .card {
  padding: var(--space-5) 0 0;
  background: none;
  border: 0;
  border-top: var(--rule-hair) solid var(--border-on-dark);
  border-radius: 0;
  box-shadow: none;
}
.band-ink .card .title { max-width: 20ch; }
.band-ink .card p:last-child { font-size: var(--text-body); }
.card { padding: clamp(24px, 3vw, 40px); }
.ledger-col { padding: clamp(24px, 3vw, 40px); }
.ledger-col--before .ledger-title { color: var(--fg-2); }
.ledger-col--after li { border-left: 0; padding-left: 0; }
.cal-week { min-width: 0; }
.cal-label-tag { display: inline; }
.cal-day-label { display: none; }
.cal-week .cal-label { color: var(--fg-2); letter-spacing: 0; text-transform: none; font-size: var(--text-label); }
.cal-days { margin-top: var(--space-3); gap: var(--space-1); }
.cal-day { min-width: 0; aspect-ratio: 1; padding: var(--space-1); color: var(--fg-2); }
.on-ink .cal-day { color: var(--fg-on-dark-body); }
.on-ink .cal-day--webinar { background: var(--fg-on-dark-link); }
.cal-repeat { font-size: var(--text-sm); }
.cal-repeat .loop-glyph { flex: none; }
.band-cta { text-align: left; background: var(--gradient-blue-freeform); }
.band-cta::before { content: ""; position: absolute; inset: 0; background: var(--color-cta-scrim); }
.band-cta .headline { max-width: 18ch; }
.band-cta .lede { margin-inline: 0 !important; max-width: 54ch; color: var(--fg-on-dark); }
.band-cta .cta-row { justify-content: flex-start; }

/* A generous reading column, and a form with a visible introduction. */
.application-intro { font-size: var(--text-body); color: var(--fg-2); }
.form-grid { width: 100%; max-width: 560px; margin-top: 0; gap: var(--space-5); }
.field .lbl { font-size: var(--text-sm); text-transform: none; letter-spacing: 0; font-weight: 600; }
.input { min-height: 48px; }
.input:hover { border-color: var(--neutral-400); }
.input:focus { border-color: var(--color-focus); outline: 2px solid var(--color-focus); outline-offset: 2px; box-shadow: none; }
.input[aria-invalid="true"] { border-color: var(--fg-danger); }
.input[aria-invalid="true"]:focus { outline-color: var(--fg-danger); box-shadow: none; }
.input:disabled { background: var(--surface-panel); color: var(--fg-2); cursor: not-allowed; }
.field .err { display: block; min-height: 1.5em; font-size: var(--text-sm); color: var(--fg-danger); }
.field .lbl .req { color: var(--fg-danger); }
.form-note { border-left-width: var(--border-width-form); padding: var(--space-5); }
.form-note[data-state="error"] { border-color: var(--fg-danger); }
.form-note[data-state="success"] { border-color: var(--brand-dark-blue); }
.form-note a { overflow-wrap: anywhere; }
.accordion { max-width: 840px; }
.accordion-trigger { padding-block: var(--space-5); text-wrap: pretty; font-size: var(--text-body-lg); }
.accordion-trigger:hover, .accordion-item.open .accordion-trigger { color: var(--color-link-hover); }
.accordion-panel .prose { padding-bottom: var(--space-5); max-width: 68ch; }
.price-line { line-height: 1.8; }

/* A quieter close with readable, comfortably sized link targets. */
.site-footer { margin-top: var(--space-6); }
.footer-brand img { height: 32px; margin-bottom: var(--space-5); }
.footer-brand p { max-width: 28ch; font-size: var(--text-body); }
.footer-bottom { color: var(--fg-on-dark-body); align-items: center; }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; margin-block: 0; }
.nav-overlay { overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(var(--space-6), env(safe-area-inset-bottom)); }
.nav-overlay .btn { display: inline-flex; font-size: var(--text-button); letter-spacing: 0; padding: var(--space-3) var(--space-5); color: var(--brand-dark-blue); }
.nav-overlay .btn:hover { color: var(--brand-dark-blue); }

/* Content stays visible while reading. The charter retains its initial fill-in. */

@media (min-width: 768px) {
  .hero-points .hero-bullets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
  .band-ink .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-7); }
  .band-ink .card-grid > .card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-7); }
  .band-ink .card-grid > .card:last-child > p:last-child { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .footer-top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .cal-day { aspect-ratio: 1 / 0.7; }
}
@media (min-width: 980px) {
  .page-home .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .page-home .hero-copy .display { font-size: var(--text-home-display); }
  .page-who section[aria-labelledby="ideal-h"] > .shell { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); }
}
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .site-header .shell { gap: var(--space-3); }
  .nav-overlay a:not(.btn) { font-size: var(--text-h3); white-space: nowrap; }
  .brand-link img { height: 24px; }
  body.nav-open .brand-link .logo-light { display: block; }
}
@media (max-width: 639px) {
  .hero { padding-block: var(--space-7) var(--space-8); }
  .hero-copy .eyebrow { font-size: var(--text-label); text-transform: none; letter-spacing: 0; }
  .hero-copy .cta-row { align-items: flex-start; flex-direction: column; gap: var(--space-2); }
  .page-home .hero-copy .display { font-size: var(--text-mobile-display); }
  .hero-prelude { font-size: 0.68em; }
  .hero-points { margin-top: var(--space-7); }
  .page-home .hero-visual { padding-inline: 0; }
  .artifact-sheet, .artifact-sheet--behind { transform: none; }
  .artifact-sheet--behind { display: none; }
  .artifact-caption { padding-inline: var(--space-2); }
  .band-ink, .band-cta { border-radius: var(--radius-lg); }
  .band-ink .headline, .band-cta .headline { font-size: var(--text-mobile-panel); }
  .band-cta .btn, .band-ink .btn { width: 100%; padding-inline: var(--space-3); }
  .text-cta { font-size: var(--text-sm); }
  .footer-top { gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
  .footer-brand { padding-bottom: var(--space-5); border-bottom: var(--rule-hair) solid var(--border-on-dark); }
  .footer-col ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Compact sample sessions and topic lists. */
.session-examples { display: grid; gap: var(--space-4); }
.session-example { padding: var(--space-6); border: 1px solid var(--border-2); border-radius: var(--radius-lg); background: var(--surface-wash); }
.session-example .title { font-size: var(--text-body-lg); line-height: 1.3; }
.session-example p { margin-top: var(--space-3); color: var(--fg-2); }
.roundtable-examples { margin-top: var(--space-7); }
.roundtable-examples .title { font-size: var(--text-body-lg); }
.roundtable-topics { margin: var(--space-4) 0 0; padding-left: var(--space-5); color: var(--fg-2); }
.roundtable-topics li + li { margin-top: var(--space-2); }
.membership-samples { display: grid; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.membership-samples li { padding: var(--space-4) 0; border-top: 1px solid var(--border-2); font-size: var(--text-body-lg); font-weight: 600; }
.sample-roundtable-note { max-width: 65ch; margin-top: var(--space-5); color: var(--fg-2); }
@media (min-width: 768px) {
  .session-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-samples { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
}

/* CRO refinement · Hallmark pre-emit critique: P4 H4 E4 S5 R5 V4.
   Existing brand, tokens, and motion remain the design foundation. */
.outcome-list { display: grid; gap: var(--space-6); }
.outcome-list article { border-top: var(--rule-hair) solid var(--border-2); padding-top: var(--space-5); }
.outcome-list p { margin-top: var(--space-4); color: var(--fg-2); max-width: 48ch; }
.founder-note { display: grid; gap: var(--space-7); }
.founder-copy > p + p { margin-top: var(--space-5); }
.application-summary { margin-block: var(--space-6); }
.application-summary > div { padding-block: var(--space-4); border-top: var(--rule-hair) solid var(--border-2); }
.application-summary dt { font-weight: 600; font-size: var(--text-sm); }
.application-summary dd { margin: var(--space-2) 0 0; color: var(--fg-2); font-size: var(--text-sm); }
.application-next { font-size: var(--text-sm); color: var(--fg-2); }
.application-next strong { display: block; color: var(--fg-1); margin-bottom: var(--space-2); }
.field-hint { font-size: var(--text-sm); color: var(--fg-2); margin-bottom: var(--space-3); }
@media (min-width: 600px) {
  .page-join .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
  .page-join .form-grid > * { grid-column: 1 / -1; }
  .page-join .form-grid > .field:nth-child(-n+4) { grid-column: auto; }
}
@media (min-width: 980px) {
  .outcome-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); }
  .founder-note { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); }
}

.hero-offer { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--fg-2); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3); margin-top: var(--space-7); }
.price-line strong { font-size: var(--text-h2); font-weight: 600; letter-spacing: -0.035em; color: var(--fg-1); }
.price-line span { font-size: var(--text-body-lg); color: var(--fg-2); }

/* CEO community feedback: offer, founder letter, and supported first month. */
.standard-price { display: block; margin-bottom: var(--space-2); }
.hero-offer strong { color: var(--fg-1); font-weight: 600; }
.page-join .founder-note { max-width: none; }
.founder-heading .headline { overflow-wrap: normal; word-break: normal; hyphens: none; }
.founder-signature { display: inline-block; font-family: "Caveat", "Segoe Print", cursive; font-size: 2.5rem; font-weight: 500; line-height: 1.25; }
.page-how section[aria-labelledby="days-h"] > .shell { display: block; }
.first-month { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); }
.month-stage { border-top: 2px solid var(--brand-dark-blue); padding-top: var(--space-5); }
.month-stage .eyebrow { margin-bottom: var(--space-4); }
.month-stage .title { max-width: 24ch; }
.month-stage > p:last-child { margin-top: var(--space-4); color: var(--fg-2); }
.month-close { display: flex; justify-content: space-between; align-items: center; gap: var(--space-7); border-top: 1px solid var(--border-2); padding-top: var(--space-6); margin-top: var(--space-7); }
.month-close p { max-width: 58ch; color: var(--fg-2); }
.month-close strong { color: var(--fg-1); }
.month-close .btn { flex-shrink: 0; }
.community-preview { margin-top: var(--space-7); border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.community-preview-head { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; padding: var(--space-5) var(--space-6); background: var(--surface-wash); border-bottom: 1px solid var(--border-2); }
.community-preview-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.community-thread, .community-library { padding: var(--space-6); }
.community-thread > .title { margin-block: var(--space-4); }
.community-thread > p:not(.eyebrow) { color: var(--fg-2); }
.community-reply { display: flex; gap: var(--space-4); margin-block: var(--space-5); padding: var(--space-5); background: var(--surface-wash); border-left: 2px solid var(--accent); }
.community-reply p { font-size: var(--text-sm); }
.community-avatar { color: var(--brand-dark-blue); }
.community-library { border-left: 1px solid var(--border-2); }
.library-item { display: flex; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--border-2); }
.library-item strong { font-size: var(--text-sm); }
.library-play { display: grid; place-items: center; align-self: start; flex: 0 0 40px; height: 40px; border-radius: var(--radius-sm); color: var(--brand-dark-blue); background: var(--surface-wash); }
.library-office { padding-top: var(--space-5); }
.cal-day--office .calendar-event { background: var(--surface-panel); color: var(--brand-dark-blue); border-left-color: var(--brand-dark-blue); }
@media (max-width: 767px) {
  .first-month, .community-preview-grid { grid-template-columns: minmax(0, 1fr); }
  .month-close { align-items: flex-start; flex-direction: column; gap: var(--space-5); }
  .community-library { border-left: 0; border-top: 1px solid var(--border-2); }
  .community-thread, .community-library, .community-preview-head { padding: var(--space-5); }
}

/* ==========================================================================
   Premium pass — 2026-09-14 (see DESIGN.md "Premium pass" entry)
   Self-hosted fonts · eager hero (LCP un-gated) · cross-document view
   transitions · reveal tiers · interaction-state completion.
   ========================================================================== */

/* ---------- Self-hosted fonts (Google Fonts Figtree v9 / Caveat v23, variable) ---------- */
/* latin */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback: Trebuchet MS adjusted to Figtree@400's weighted
   average width, so the swap on font load doesn't reflow the page. */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Trebuchet MS");
  size-adjust: 98.62%;
  ascent-override: 96.33%;
  descent-override: 25.35%;
  line-gap-override: 0%;
}

/* ---------- Cross-document view transitions ----------
   Chromium 126+ / Safari 18.2+; every other browser gets today's normal
   navigation. The header/footer are named so shared chrome reads as one
   continuous surface across page loads. */
@media not (prefers-reduced-motion: reduce) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
.site-footer { view-transition-name: site-footer; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Eager hero ----------
   Above-the-fold copy must never wait for deferred JS: .reveal-eager
   overrides the JS gate, and the entrance runs as a load-time CSS animation
   instead. html.nav-internal (set synchronously from sessionStorage on
   internal navigations) skips the entrance so it doesn't fight the
   view-transition crossfade. */
html.js [data-reveal-group].reveal-eager > *,
html.js [data-reveal].reveal-eager {
  opacity: 1;
  transform: none;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
}
html.js:not(.nav-internal) [data-reveal-group].reveal-eager > * {
  animation: heroRise 450ms var(--ease-out) backwards;
}
html.js:not(.nav-internal) [data-reveal-group].reveal-eager > :nth-child(2) { animation-delay: 70ms; }
html.js:not(.nav-internal) [data-reveal-group].reveal-eager > :nth-child(3) { animation-delay: 140ms; }
html.js:not(.nav-internal) [data-reveal-group].reveal-eager > :nth-child(4) { animation-delay: 210ms; }
html.js:not(.nav-internal) [data-reveal-group].reveal-eager > :nth-child(n+5) { animation-delay: 280ms; }

/* ---------- Reveal tiers ----------
   Three sizes of arrival, not one: soft (small rows/chips), default
   (cards/prose), rise (set pieces and bands). Distances and durations stay
   inside the 150–500ms transform/opacity budget. */
html.js [data-reveal~="soft"],
html.js [data-reveal-group~="soft"] > * { transform: translateY(8px); }
html.js .revealed[data-reveal~="soft"],
html.js .revealed[data-reveal-group~="soft"] > * { transition-duration: 300ms; }
html.js [data-reveal~="rise"] { transform: translateY(18px); }
html.js .revealed[data-reveal~="rise"] { transition-duration: 500ms; }

/* Two-column check grids: stagger by row, not DOM order, so the arrival
   reads as rows of a list instead of a diagonal zigzag. */
@media (min-width: 768px) {
  html.js .revealed[data-reveal-group].check-grid > li:nth-child(-n+2) { transition-delay: 0ms; }
  html.js .revealed[data-reveal-group].check-grid > li:nth-child(n+3):nth-child(-n+4) { transition-delay: 80ms; }
  html.js .revealed[data-reveal-group].check-grid > li:nth-child(n+5):nth-child(-n+6) { transition-delay: 160ms; }
  html.js .revealed[data-reveal-group].check-grid > li:nth-child(n+7) { transition-delay: 240ms; }
}

/* ---------- Interaction-state completion ---------- */
html { -webkit-tap-highlight-color: transparent; }
.site-nav a:active,
.footer-col a:active,
.footer-bottom a:active,
.nav-overlay a:not(.btn):active,
.text-cta:active { opacity: 0.72; }
/* Prose/content links need press feedback too, now the tap flash is gone. */
.prose a:active,
.form-note a:active,
.accordion-panel a:active { opacity: 0.72; }

/* Selection on ink surfaces: the light-surface 22%-alpha blue is invisible
   on #002030 — use the on-dark link blue at readable strength instead. */
:is(.band-ink, .band-cta, .site-footer, .nav-overlay) ::selection {
  background: rgba(27, 155, 234, 0.55);
  color: #fff;
}

/* Submit button: JS reserves the resting width before relabeling to
   "Sending…" so the button never reflows; the form hands off to the
   success note with a 200ms fade driven entirely by inline styles in
   site.js — the form carries data-reveal, and the revealed rule would
   out-specify any class-based fade here. */

/* Reduced motion, re-asserted after everything above: reveal system, tiers,
   and eager-hero entrance all render final state immediately. */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---------- Coming up (next Circle event) ----------
   A calendar entry rendered as a white card on the wash: date column left
   (with a small cover thumbnail when Circle has one), session right. Populated by site.js
   from data/events.json; the section is `hidden` until a real upcoming event
   exists. See DESIGN.md §4. */
.next-session-card {
  background: var(--surface-page);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
/* The cover lives in the date column, at that column's width: a small
   thumbnail, not a hero. Native 1080×386 ratio kept; capped on narrow screens. */
.next-session-cover {
  margin: 0 0 var(--space-5);
  max-width: 320px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-panel);
  aspect-ratio: 1080 / 386;
}
.next-session-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .next-session-cover { max-width: none; }
}
.next-session-inner { display: grid; gap: var(--space-6); }
.next-session-when .eyebrow { margin-bottom: var(--space-4); }
.next-session-date {
  display: block;
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: var(--tracking-snug);
  line-height: 1.1;
  text-wrap: balance;
}
.next-session-time { margin-top: var(--space-2); font-size: var(--text-body-lg); font-weight: 500; }
.next-session-meta { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--fg-2); }
.next-session-meta:empty, .next-session-kind:empty { display: none; }
.next-session-host {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
}
.next-session-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-panel);
  border: 1px solid var(--border-2);
}
.next-session-host-text { display: flex; flex-direction: column; line-height: 1.35; }
.next-session-host-label { color: var(--fg-2); font-size: var(--text-label); }
.next-session-host-text > span:last-child { font-weight: 600; color: var(--fg-1); }
.next-session-rsvp { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--brand-dark-blue); }
.next-session-kind {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-dark-blue);
  margin-bottom: var(--space-3);
}
.next-session-what .headline-sm { max-width: 24ch; }
.next-session-body { margin-top: var(--space-4); max-width: 60ch; color: var(--fg-2); }
.next-session-body { white-space: pre-line; }
.next-session-what .cta-row { margin-top: var(--space-6); }
.next-session-note { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--fg-2); }
@media (min-width: 900px) {
  .next-session-inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: var(--space-8);
    align-items: start;
  }
  .next-session-when {
    padding-right: var(--space-6);
    border-right: var(--rule-hair) solid var(--border-2);
    min-height: 100%;
  }
}

/* ---------- Join: The Founding 25 ----------
   Typographic seat facts under the hero, a 2×2 criteria grid, two terms
   cards, and the Circle application embed slot. See DESIGN.md §6.4. */
.seat-facts {
  display: grid;
  gap: var(--space-5) var(--space-6);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding-top: var(--space-5);
  border-top: var(--rule-hair) solid var(--border-2);
}
.seat-facts > div { min-width: 0; }
.seat-facts dt { font-size: var(--text-label); color: var(--fg-2); margin-bottom: var(--space-1); }
.seat-facts dd { margin: 0; font-size: var(--text-body-lg); font-weight: 600; letter-spacing: var(--tracking-snug); color: var(--fg-1); text-wrap: balance; }
.seat-facts dd .ph { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; white-space: normal; }
@media (min-width: 600px) { .seat-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .seat-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.criteria-list { display: grid; gap: var(--space-6); }
.criteria-list article { border-top: var(--rule-hair) solid var(--border-2); padding-top: var(--space-5); }
.criteria-list .title { font-size: var(--text-h5); font-weight: 600; max-width: 22ch; }
.criteria-list p { margin-top: var(--space-3); color: var(--fg-2); max-width: 44ch; }
@media (min-width: 768px) { .criteria-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-8); } }

.terms-grid { display: grid; gap: var(--space-5); }
.terms-card {
  background: var(--surface-wash);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
.terms-card .title { font-size: var(--text-h5); font-weight: 600; }
.terms-card p { margin-top: var(--space-4); color: var(--fg-2); max-width: 52ch; }
.terms-card p + p { margin-top: var(--space-3); }
.ask-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.ask-list li { padding: var(--space-4) 0; border-top: var(--rule-hair) solid var(--border-1); color: var(--fg-2); max-width: 52ch; }
.ask-list li strong { color: var(--fg-1); font-weight: 600; }
@media (min-width: 900px) { .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } }

/* The Circle iframe paints its own white background, so it sits inside a white
   card (the site's card recipe on wash) and the white reads as the card. */
.apply-wrap { max-width: 800px; }
.apply-wrap .section-head { margin-bottom: var(--space-6); }
.circle-embed {
  width: 100%;
  min-width: 0;
  background: var(--surface-page);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px) clamp(4px, 1vw, 12px);
  overflow: hidden;
}
.circle-embed iframe { display: block; width: 100%; border: 0; }
.embed-pending { padding: clamp(16px, 3vw, 32px); color: var(--fg-2); }
.embed-pending p + p { margin-top: var(--space-3); }
.embed-pending strong { color: var(--fg-1); }
