/* ==========================================================================
   The Fortin Institute — shared styles
   Visual language: Little Traverse Bay (ripples) + the Petoskey stone
   (a fossil colony of hexagonal cells — one cell, many cells, one body).
   ========================================================================== */

:root {
  /* Palette */
  --bay: #0e2a33;          /* deep water — primary dark ground, headings */
  --bay-2: #143843;        /* raised surface on dark */
  --lake: #24606e;         /* mid water — links, secondary fills */
  --shallows: #a9cdcf;     /* light water — lines and text on dark */
  --limestone: #eef1ee;    /* page ground */
  --paper: #ffffff;
  --amber: #d89a2b;        /* sunset over the bay — primary action, the "one cell" */
  --amber-deep: #b97f17;
  --text: #18272c;
  --muted: #56666b;
  --rule: #d3dbd8;
  --rule-dark: rgba(169, 205, 207, 0.22);

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lede: 1.25rem;
  --fs-h4: 1.1875rem;
  --fs-h3: clamp(1.375rem, 1.1rem + 0.8vw, 1.625rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.125rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);

  /* Space & shape */
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --section: clamp(72px, 9vw, 136px);
  --radius-sm: 4px;
  --radius: 10px;
  --pill: 999px;

  --hex-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23a9cdcf' stroke-opacity='.13' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23a9cdcf' stroke-opacity='.13' stroke-width='1'/%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--limestone);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--lake); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bay); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--bay);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.022em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); font-family: var(--sans); font-weight: 600; letter-spacing: 0; line-height: 1.35; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--bay); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout primitives ---------- */

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

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

.section--bay {
  background: var(--bay) var(--hex-line);
  color: #dbe7e7;
}
.section--bay h2, .section--bay h3, .section--bay h4 { color: #f4f7f6; }
.section--bay a:not(.btn) { color: var(--shallows); }
.section--bay a:not(.btn):hover { color: #fff; }

.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--muted); max-width: 38em; }
.section--bay .lede, .page-hero .lede { color: #b9cfd0; }

.measure { max-width: 36em; }

/* heading + content split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split > :first-child { position: sticky; top: 112px; }
.split h2 + .lede { margin-top: 20px; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + .lede, .section-head h2 + p { margin-top: 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--pill); border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--amber { background: var(--amber); color: var(--bay); }
.btn--amber:hover { background: #e7ab3f; color: var(--bay); }
.btn--bay { background: var(--bay); color: #fff; }
.btn--bay:hover { background: var(--lake); color: #fff; }
.btn--line { border-color: currentColor; color: var(--bay); background: transparent; }
.btn--line:hover { background: var(--bay); color: #fff; border-color: var(--bay); }
.on-dark .btn--line, .section--bay .btn--line, .page-hero .btn--line, .site-header .btn--line, .hero .btn--line { color: #e8f0ef; }
.on-dark .btn--line:hover, .section--bay .btn--line:hover, .page-hero .btn--line:hover, .site-header .btn--line:hover, .hero .btn--line:hover { background: #e8f0ef; color: var(--bay); border-color: #e8f0ef; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
  font-weight: 600; text-decoration: none; color: var(--lake);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--bay); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 42, 51, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-dark);
  color: #e8f0ef;
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f4f7f6; margin-right: auto; }
.brand:hover { color: #fff; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.3125rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name small { display: block; white-space: nowrap; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--shallows); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #cfdfdf; text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--pill);
}
.nav a:hover { color: #fff; background: rgba(169, 205, 207, 0.1); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }

.nav .nav-extra { display: none; }
.header-actions { display: flex; gap: 8px; align-items: center; }

.menu-toggle {
  display: none; background: none; border: 1.5px solid var(--rule-dark); color: #e8f0ef;
  border-radius: var(--pill); padding: 8px 16px; font: 600 0.9375rem var(--sans); cursor: pointer;
}

@media (max-width: 1080px) {
  .nav, .header-actions .btn--line { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bay); border-bottom: 1px solid var(--rule-dark);
    padding: 8px var(--gutter) 20px;
  }
  .site-header.is-open .nav .nav-extra { display: block; }
  .site-header.is-open .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--rule-dark); font-size: 1.0625rem; }
  .site-header.is-open .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); padding-left: 14px; }
}
@media (max-width: 520px) {
  .header-actions .btn--amber { display: none; }
  .brand-name small { display: none; }
}

/* ---------- Home hero: the ripple ---------- */

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 55%, #17414d 0%, var(--bay) 62%);
  color: #dbe7e7;
  cursor: crosshair;
}
.hero .wrap {
  position: relative;
  display: flex; align-items: center;
  min-height: min(calc(100vh - 76px), 860px);
  padding-block: clamp(56px, 8vw, 112px);
}
.hero-copy { position: relative; z-index: 2; cursor: auto; max-width: 700px; }
.hero h1 { color: #f6f8f7; font-size: clamp(2.6rem, 1.3rem + 4.2vw, 4.75rem); }
.hero h1 span { display: block; }
.hero .lede { margin-top: 28px; color: #b9cfd0; max-width: 31em; }
.hero .btn-row { margin-top: 36px; }
.hero-note { margin-top: 28px; font-size: var(--fs-sm); color: #8fb0b3; max-width: 30em; }

.ripple {
  position: absolute; z-index: 1; pointer-events: none;
  width: min(760px, 60vw); aspect-ratio: 1;
  right: calc(var(--gutter) - 120px); top: 50%; transform: translateY(-50%);
}
.ripple svg { width: 100%; height: 100%; overflow: visible; }
.ripple .ring { fill: none; stroke: var(--shallows); stroke-width: 1.25; transform-origin: 300px 300px; }
.ripple .ring--faint { stroke-opacity: 0.16; stroke-dasharray: 2 7; }
.ripple .node { fill: var(--shallows); }
.ripple .label {
  font: 500 15px var(--sans); fill: #e8f0ef;
  paint-order: stroke; stroke: #123540; stroke-width: 7px; stroke-linejoin: round;
}
.ripple .label-sub { font: 400 12.5px var(--sans); fill: #8fb0b3; paint-order: stroke; stroke: #123540; stroke-width: 7px; stroke-linejoin: round; }
.ripple .core { fill: var(--amber); }
.ripple .core-halo { fill: none; stroke: var(--amber); stroke-opacity: .5; transform-origin: 300px 300px; }

.ripple-hint {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 22px;
  font-size: 0.8125rem; color: #7fa2a5; pointer-events: none;
}

.drop {
  position: absolute; z-index: 0; border-radius: 50%;
  border: 1.5px solid rgba(169, 205, 207, .55);
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  pointer-events: none;
  animation: drop 2.2s cubic-bezier(.2, .6, .3, 1) forwards;
}
.drop + .drop { animation-delay: .18s; }
@keyframes drop {
  from { transform: scale(0.2); opacity: 1; }
  to { transform: scale(26); opacity: 0; }
}

/* load sequence — the single orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .ripple .ring, .js .ripple .core-halo { animation: ring-in 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .js .ripple .lbl { animation: fade-in .8s ease both; }
  .js .ripple [data-step="0"] { animation-delay: .15s; }
  .js .ripple [data-step="1"] { animation-delay: .55s; }
  .js .ripple [data-step="2"] { animation-delay: .95s; }
  .js .ripple [data-step="3"] { animation-delay: 1.35s; }
  .js .ripple [data-step="4"] { animation-delay: 1.75s; }
  .js .ripple .lbl[data-step="0"] { animation-delay: .7s; }
  .js .ripple .lbl[data-step="1"] { animation-delay: 1.1s; }
  .js .ripple .lbl[data-step="2"] { animation-delay: 1.5s; }
  .js .ripple .lbl[data-step="3"] { animation-delay: 1.9s; }
  .js .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .36s; }
}
@keyframes ring-in { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero .wrap { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 8px; }
  .ripple { position: relative; right: auto; top: auto; transform: none; order: -1; width: min(400px, 100%); align-self: center; margin-block: 0 8px; }
  .ripple-hint { display: none; }
}

/* status bar beneath hero */
.facts { background: var(--bay-2); color: #cfe0e0; border-top: 1px solid var(--rule-dark); }
.facts ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between;
  font-size: 0.9375rem;
}
.facts li { display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative; overflow: hidden;
  background: var(--bay) var(--hex-line);
  color: #dbe7e7;
  padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 104px);
}
.page-hero h1 { color: #f6f8f7; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); max-width: 14em; }
.page-hero .lede { margin-top: 24px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .crumb { font-size: var(--fs-sm); color: var(--shallows); margin-bottom: 22px; }
.page-hero .crumb a { color: var(--shallows); }
.page-hero::after {
  /* a quiet echo of the home ripple */
  content: ""; position: absolute; pointer-events: none;
  width: 760px; height: 760px; right: -260px; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 59px, rgba(169,205,207,.22) 60px 61px, transparent 62px 139px,
      rgba(169,205,207,.16) 140px 141px, transparent 142px 239px, rgba(169,205,207,.11) 240px 241px,
      transparent 242px 359px, rgba(169,205,207,.07) 360px 361px, transparent 362px);
}
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- Event (masterclass) hero ---------- */

.event-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.page-hero--event h1 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem); }
.page-hero--event .form-panel { color: var(--text); }
.page-hero--event .form-panel .fine { margin-bottom: 0; }
.event-tag { display: inline-block; color: #f3d08e; font-weight: 600; font-size: 0.9375rem; margin-bottom: 20px; }
.host { display: flex; align-items: center; gap: 16px; margin-top: 36px; color: #b9cfd0; font-size: 0.9375rem; }
.host strong { display: block; color: #fff; font-weight: 600; }
.host-mark {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--shallows); color: var(--shallows);
  font-family: var(--serif); font-size: 1.25rem;
}
@media (max-width: 900px) { .event-grid { grid-template-columns: 1fr; } }

/* ---------- Beliefs / statements ---------- */

.statements { list-style: none; margin: 0; padding: 0; }
.statements li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px;
  padding-block: 32px; border-top: 1px solid var(--rule);
}
.statements li:last-child { border-bottom: 1px solid var(--rule); }
.statements h3 { margin-bottom: 10px; }
.statements p { color: var(--muted); max-width: 34em; }
.statements .glyph { width: 44px; height: 44px; margin-top: 2px; }

/* glyph colors */
.glyph .c { fill: var(--amber); }
.glyph .o { fill: none; stroke: var(--lake); stroke-width: 1.5; }
.glyph .f { fill: var(--lake); }
.section--bay .glyph .o, .on-dark .glyph .o { stroke: var(--shallows); }
.section--bay .glyph .f, .on-dark .glyph .f { fill: var(--shallows); }

/* ---------- Pillars (three program areas) ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--bay); }
.pillar { padding: 36px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--rule); }
.pillar .glyph { width: 48px; height: 48px; margin-bottom: 24px; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--muted); }
.pillar ul { list-style: none; margin: 20px 0 0; padding: 0; font-size: 0.9625rem; }
.pillar li { padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); position: relative; }
.pillar li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--amber);
}
.pillar .text-link { display: inline-block; margin-top: 22px; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--rule); }
}

/* ---------- Masterclass band ---------- */

.masterclass-band {
  position: relative; overflow: hidden;
  background: var(--lake);
  color: #e9f2f1;
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.masterclass-band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hex-line); opacity: .9; pointer-events: none;
}
.masterclass-band > * { position: relative; }
.masterclass-band .kicker { color: #f3d08e; font-weight: 600; font-size: 0.9375rem; margin-bottom: 14px; }
.masterclass-band h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.masterclass-band p { color: #d3e6e5; }
.masterclass-band .details { font-size: 0.9375rem; border-left: 2px solid var(--amber); padding-left: 20px; }
.masterclass-band .details p { margin-bottom: 18px; }
@media (max-width: 860px) { .masterclass-band { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.portrait {
  margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--bay) var(--hex-line); overflow: hidden;
  display: grid; place-items: center;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .initials { font-family: var(--serif); font-size: clamp(5rem, 10vw, 8rem); color: var(--shallows); opacity: .55; letter-spacing: -0.04em; }
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px;
  background: linear-gradient(transparent, rgba(14,42,51,.9)); color: #e8f0ef; font-size: var(--fs-sm);
}
.portrait figcaption strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: #fff; }
.founder-story p { max-width: 36em; }
.founder-story .lede { color: var(--text); margin-bottom: 24px; }

.path { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1.5px; background: var(--rule); }
.path li { position: relative; padding: 0 0 22px 36px; }
.path li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--limestone); border: 1.5px solid var(--lake);
}
.section--paper .path li::before { background: var(--paper); }
.path li:last-child::before { background: var(--amber); border-color: var(--amber); }
.path .when { display: block; font-size: var(--fs-sm); color: var(--muted); }
.path strong { font-weight: 600; color: var(--bay); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- Quote ---------- */

.quote { margin: 0; }
.quote p {
  max-width: 21em;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.18; letter-spacing: -0.012em;
  color: var(--bay);
}
.section--bay .quote p { color: #f4f7f6; }
.quote footer { margin-top: 24px; font-size: 0.9375rem; color: var(--muted); }
.section--bay .quote footer { color: var(--shallows); }

/* ---------- Ripple scale (one → family → neighborhood → city) ---------- */

.scale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.scale li { position: relative; padding-top: 108px; }
.scale .rings { position: absolute; top: 0; left: 0; height: 84px; width: 84px; }
.scale .rings circle { fill: none; stroke: var(--lake); stroke-width: 1.25; }
.scale .rings .dot { fill: var(--amber); stroke: none; }
.section--bay .scale .rings circle { stroke: var(--shallows); }
.section--bay .scale .rings .dot { fill: var(--amber); }
.scale h3 { margin-bottom: 8px; }
.scale p { font-size: 0.9875rem; color: var(--muted); }
.section--bay .scale p { color: #b9cfd0; }
@media (max-width: 860px) { .scale { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 480px) { .scale { grid-template-columns: 1fr; } }

/* ---------- Reasons (2x2 text grid) ---------- */

.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
.reasons h3 { font-size: 1.375rem; margin-bottom: 10px; }
.reasons p { color: var(--muted); max-width: 30em; }
.reasons > div { padding-top: 22px; border-top: 2px solid var(--amber); }
@media (max-width: 700px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Paths to get involved ---------- */

.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--rule-dark); border-radius: var(--radius); overflow: hidden; }
.paths a {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  background: var(--bay-2); color: #dbe7e7; padding: 36px 32px 32px; min-height: 240px;
  transition: background-color .2s ease;
}
.paths a:hover { background: #1b4652; color: #fff; }
.paths h3 { color: #fff; }
.paths p { color: #a9c3c4; font-size: 0.9875rem; }
.paths .go { margin-top: auto; font-weight: 600; color: #f3d08e; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .paths a { min-height: 0; } }

/* ---------- Checklist / for-you lists ---------- */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--rule); }
.checklist svg { width: 22px; height: 22px; margin-top: 3px; }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Article list ---------- */

.articles { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--bay); }
.articles li { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.articles .topic { font-size: var(--fs-sm); color: var(--lake); font-weight: 600; }
.articles h3 { margin-bottom: 8px; }
.articles p { color: var(--muted); max-width: 40em; }
.articles .status { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) { .articles li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Forms ---------- */

.form-panel { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: 0 1px 0 var(--rule), 0 24px 60px -32px rgba(14, 42, 51, 0.35); }
.section--paper .form-panel { background: var(--limestone); box-shadow: none; }
.form-panel h2, .form-panel h3 { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--bay); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--paper); border: 1.5px solid #c3cfcc; border-radius: 8px;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px rgba(36, 96, 110, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3412e; }
.field .error { display: block; color: #a33a28; font-size: var(--fs-sm); margin-top: 6px; }
.form-error { margin-top: 16px; font-size: var(--fs-sm); }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.fine { font-size: var(--fs-sm); color: var(--muted); }
.form-done { padding: 8px 0; }
.form-done h3 { margin-bottom: 10px; }

/* ---------- Giving ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; border: 0; }
.tiers legend { font-weight: 600; color: var(--bay); margin-bottom: 14px; padding: 0; }
.tier { position: relative; }
.tier input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tier label {
  display: block; height: 100%; cursor: pointer;
  border: 1.5px solid #c3cfcc; border-radius: 8px; padding: 16px 16px 14px; background: var(--paper);
  transition: border-color .15s ease, background-color .15s ease;
}
.tier .amt { display: block; font-family: var(--serif); font-size: 1.875rem; line-height: 1; color: var(--bay); margin-bottom: 8px; }
.tier .what { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.tier input:checked + label { border-color: var(--bay); background: #e3ecea; box-shadow: inset 0 0 0 1px var(--bay); }
.tier input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.custom-amount { margin-top: 16px; }
.custom-amount[hidden] { display: none; }
@media (max-width: 560px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.impact { list-style: none; margin: 0; padding: 0; }
.impact li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--rule-dark); }
.impact .amt { font-family: var(--serif); font-size: 1.75rem; color: #f3d08e; }

/* ---------- Contact ---------- */

.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--rule); }
.contact-list .k { display: block; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 4px; }
.contact-list .v { font-family: var(--serif); font-size: 1.375rem; color: var(--bay); text-decoration: none; }
.contact-list a.v:hover { color: var(--lake); text-decoration: underline; }

/* ---------- Legal ---------- */

.legal h2 { font-size: 1.625rem; margin: 48px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { max-width: 42em; color: #2c3c41; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.callout { background: #f8ecd3; border-left: 3px solid var(--amber); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 1em; max-width: 42em; }
.toc { list-style: none; padding: 0; margin: 0; font-size: 0.9375rem; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--bay); }

/* ---------- CTA band ---------- */

.cta-band { text-align: left; }
.cta-band h2 { max-width: 14em; }
.cta-band .lede { margin-top: 20px; }
.cta-band .btn-row { margin-top: 32px; }

/* ---------- Footer ---------- */

.site-footer { background: #0a2129 var(--hex-line); border-top: 1px solid var(--rule-dark); color: #b9cfd0; font-size: 0.9375rem; }
.site-footer a { color: #dbe7e7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px;
  padding-block: clamp(56px, 7vw, 96px) 48px;
}
.footer-top .brand { margin-bottom: 20px; }
.footer-motto { font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; color: #eef4f3; max-width: 16em; }
.footer-col h2 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--rule-dark); padding-block: 24px 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: var(--fs-sm); color: #8fb0b3; }
.footer-bottom p { margin: 0; max-width: 60em; }
.footer-bottom .links { display: flex; gap: 20px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

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

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > :first-child { position: static; }
}

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

/* ---------- Donate layout ---------- */

.give-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.impact-panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); position: sticky; top: 104px; }
@media (max-width: 900px) { .give-layout { grid-template-columns: 1fr; } .impact-panel { position: static; } }
