/* =========================================================================
   Lake Erie West Regional Council — prototype theme
   World: "Lake Erie is the thread that connects." Water→land gradient taken
   from the council's real new logo; bathymetric depth-contour motif; two rooms
   (shoreline light / deep water dark). Fonts named per-prototype so they never
   collide with other Stoa builds. See DESIGN-DNA.md.
   ========================================================================= */

/* ---- Fonts (self-hosted woff2, unique family names) ---- */
@font-face { font-family: "LEWSlab"; src: url("fonts/zilla-slab-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LEWSlab"; src: url("fonts/zilla-slab-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "LEWSlab"; src: url("fonts/zilla-slab-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LEWSans"; src: url("fonts/albert-sans-var-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "LEWMono"; src: url("fonts/space-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* SIGNATURE accents first — sea-glass teal → shoreline sage, the "thread."
     Verified distinct (RGB-distance >55) from every other Stoa prototype accent. */
  --accent: #6aac9a;      /* signature sea-glass teal: thread, focus, highlights, icons */
  --accent-sage: #7cb6a0; /* shoreline sage: land/environment fills & accents */
  --accent-soft: #6aa694; /* soft teal: hovers, markers, dividers */
  /* water → land gradient, from the real logo */
  --depth-900: #161f3f;
  --depth-800: #2c2f59;
  --lake-700: #2f5480;   /* primary action / body links (AA on paper) */
  --lake-600: #3f6f93;
  --teal-500: #437f89;   /* signature accent — large/borders/icons */
  --accent-deep: #256d77;/* small teal text on light (AA 4.5:1+) */
  --teal-400: #6aa9ae;   /* dark-room accent */
  --shore-500: #6fa886;  /* land / environment */
  --shore-300: #a8cdb4;
  --sand-100: #f4efe4;
  --sand-200: #e8ddc8;
  --sand-300: #dccdb0;
  --paper: #fbf9f4;
  --ink: #1b2230;
  --ink-soft: #44505f;
  --amber: #b8761a;      /* caution (never red) */
  --white: #ffffff;

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(22,31,63,.06), 0 2px 8px rgba(22,31,63,.05);
  --shadow-md: 0 4px 14px rgba(22,31,63,.09), 0 14px 38px rgba(22,31,63,.10);
  --ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--accent);

  --font-display: "LEWSlab", Georgia, "Times New Roman", serif;
  --font-body: "LEWSans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "LEWMono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* contain the off-canvas mobile nav, no horizontal scroll */
}
/* in-prose links stay underlined for link-in-text-block (color isn't the only cue) */
.muted a:not(.btn), .lede a:not(.btn), p a:not(.btn):not(.card-link), .foot-disclaimer a, .breadcrumb a, .ask-panel p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Type scale ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; color: var(--depth-800); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.06rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--lake-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--depth-800); }
strong { font-weight: 700; }
.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 .65rem; display: block; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }

/* ---- Layout ---- */
.wrap { width: min(100% - 2.2rem, var(--maxw)); margin-inline: auto; }
.wrap-tight { width: min(100% - 2.2rem, 880px); margin-inline: auto; }
section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.section-sand { background: var(--sand-100); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--depth-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

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

/* ---- The thread: a thin bathymetric contour rule between sections ---- */
.thread {
  height: 22px; border: 0; margin: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 7px, color-mix(in srgb, var(--accent) 0%, transparent) 7px 7px),
    radial-gradient(120% 22px at 50% -10px, transparent 49%, color-mix(in srgb, var(--accent) 32%, transparent) 50% 51%, transparent 52%) repeat-x,
    radial-gradient(120% 26px at 30% -14px, transparent 49%, color-mix(in srgb, var(--accent-sage) 26%, transparent) 50% 51%, transparent 52%) repeat-x;
  background-size: auto, 220px 22px, 280px 26px;
  opacity: .8;
}

/* ---- Proto banner ---- */
.proto-banner { background: var(--depth-900); color: #d9e2f1; font-size: .8rem; }
.proto-banner .wrap { display: flex; gap: .6rem; align-items: center; justify-content: center; padding: .5rem 1rem; text-align: center; flex-wrap: wrap; }
.proto-banner strong { color: #fff; }
.proto-banner a { color: var(--accent); }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sand-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand .formerly { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border-left: 2px solid var(--shore-500); padding-left: .5rem; line-height: 1.25; }
@media (max-width: 560px) { .brand .formerly { display: none; } .brand img { height: 38px; } }

.primary-nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; align-items: center; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .7rem; border-radius: 8px; color: var(--depth-800); text-decoration: none; font-weight: 500; font-size: .98rem; }
.primary-nav a:hover { background: var(--sand-100); color: var(--lake-700); }
.primary-nav a[aria-current="page"] { color: var(--lake-700); box-shadow: inset 0 -2px 0 var(--teal-500); }
.nav-cta { background: var(--lake-700); color: #fff !important; padding: .5rem 1rem !important; border-radius: 999px !important; }
.nav-cta:hover { background: var(--depth-800) !important; }
.menu-btn { display: none; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .8rem; border: 1.5px solid var(--sand-300); border-radius: 999px; background: var(--paper); color: var(--depth-800); font: 600 .95rem var(--font-body); cursor: pointer; }
.menu-btn .bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menu-btn .bars::before { top: -5px; } .menu-btn .bars::after { top: 5px; }

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .primary-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--paper); transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-md); padding: 4.2rem 1.1rem 2rem; overflow-y: auto; z-index: 130; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .primary-nav a { min-height: 48px; padding: .6rem .8rem; font-size: 1.05rem; }
  .nav-cta { justify-content: center; margin-top: .5rem; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(22,31,63,.42); opacity: 0; visibility: hidden; transition: opacity .28s ease; z-index: 120; }
  .nav-scrim.open { opacity: 1; visibility: visible; }
  .nav-close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--depth-800); cursor: pointer; min-height: 44px; min-width: 44px; }
}
@media (min-width: 881px) { .nav-close, .nav-scrim { display: none; } }
@media (prefers-reduced-motion: reduce) { .primary-nav, .nav-scrim { transition: none; } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .6rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--lake-700); color: #fff; }
.btn-primary:hover { background: var(--depth-800); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--depth-800); border-color: var(--sand-300); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--lake-700); }
.btn-light { background: var(--accent); color: var(--depth-900); }
.btn-light:hover { background: #fff; color: var(--depth-900); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: clip; background: linear-gradient(160deg, var(--depth-900) 0%, var(--depth-800) 42%, var(--lake-700) 100%); color: #fff; }
.hero::before { /* real bathymetric contour texture (Recraft), brand-true */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .34;
  background: url("img/contour-texture.webp") center/cover; mix-blend-mode: screen;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--accent); }
.hero .lede { color: #d8e2f1; }
.hero-quote { margin-top: 1.3rem; padding-left: 1rem; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.05rem; color: #eaf1fb; font-style: italic; }
.hero-quote cite { display: block; font-family: var(--font-mono); font-style: normal; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: .5rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--shore-300); }
@media (prefers-reduced-motion: reduce) { .card-link:hover { transform: none; } }
.card h3 { color: var(--depth-800); }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); background: color-mix(in srgb, var(--accent-deep) 10%, var(--paper)); padding: .25rem .55rem; border-radius: 999px; }

/* ---- Two-audience doors ---- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
@media (max-width: 700px) { .doors { grid-template-columns: 1fr; } }
.door { position: relative; overflow: hidden; border-radius: var(--radius); padding: 1.7rem; background: var(--white); border: 1px solid var(--sand-200); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.door::after { content: ""; position: absolute; left: 1.7rem; right: 1.7rem; bottom: 1.2rem; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-sage)); transform: scaleX(.18); transform-origin: left; transition: transform .3s ease; }
.door:hover::after, .door:focus-visible::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .door::after { transition: none; transform: scaleX(1); } }
.door h3 { font-size: 1.45rem; }
.door .door-list { margin: .8rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); }
.door .door-list li { padding-left: 1.2rem; position: relative; margin-bottom: .3rem; }
.door .door-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border: 1.5px solid var(--teal-500); border-radius: 50%; }

/* ---- Four areas connected band ---- */
.areas-band { background: linear-gradient(180deg, var(--sand-100), var(--paper)); }
.area-card { display: flex; flex-direction: column; min-height: 100%; }
.area-card .area-photo { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; background: var(--sand-200); }
.area-card .area-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-card .num { font-family: var(--font-mono); font-size: .72rem; color: var(--teal-500); letter-spacing: .12em; }

/* ---- Search & Ask ---- */
.searchbox { position: relative; }
.searchbox input[type="search"] { width: 100%; font: 500 1.1rem var(--font-body); padding: .95rem 1.1rem .95rem 3rem; border: 1.5px solid var(--sand-300); border-radius: 999px; background: var(--white) url("img/icon-search.png") no-repeat .95rem center / 1.15rem; color: var(--ink); }
.searchbox input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.ac { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); box-shadow: var(--shadow-md); z-index: 40; overflow: hidden; display: none; }
.ac.open { display: block; }
.ac a { display: flex; gap: .6rem; align-items: baseline; justify-content: space-between; padding: .7rem 1rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--sand-100); }
.ac a:hover, .ac a.active { background: var(--sand-100); }
.ac a .ac-type { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-deep); white-space: nowrap; }

.ask-panel { background: linear-gradient(165deg, var(--depth-900), var(--depth-800)); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; overflow: hidden; isolation: isolate; }
.ask-panel::before { content: ""; position: absolute; inset: 0; background: url("img/contour-texture.webp") right center/cover; opacity: .2; mix-blend-mode: screen; pointer-events: none; z-index: -1; }
.ask-panel h2, .ask-panel h3 { color: #fff; }
.ask-panel .eyebrow { color: var(--accent); }
.ask-form { display: flex; gap: .6rem; margin: 1rem 0; flex-wrap: wrap; }
.ask-form input { flex: 1 1 260px; font: 500 1.05rem var(--font-body); padding: .85rem 1.1rem; border-radius: 999px; border: 1.5px solid transparent; background: rgba(255,255,255,.95); color: var(--ink); }
.ask-form input:focus { outline: none; box-shadow: 0 0 0 4px var(--accent); }
.ask-chips { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .5rem; }
.ask-chip { font: 500 .85rem var(--font-body); background: rgba(255,255,255,.12); color: #eaf1fb; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; }
.ask-chip:hover { background: rgba(106,169,174,.35); }
.ask-answer { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; margin-top: 1rem; display: none; }
.ask-answer.show { display: block; }
.ask-answer p { color: #eef3fb; }
.source-cards { display: grid; gap: .6rem; margin-top: .9rem; }
.source-card { display: flex; gap: .7rem; align-items: center; background: rgba(255,255,255,.95); color: var(--ink); border-radius: var(--radius-sm); padding: .7rem .9rem; text-decoration: none; }
.source-card:hover { background: #fff; }
.source-card .sc-ico { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--lake-700); border-radius: 6px; padding: .35rem .45rem; white-space: nowrap; }
.source-card .sc-title { font-weight: 600; color: var(--depth-800); line-height: 1.25; }

/* ---- Region map ---- */
.region { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: center; }
@media (max-width: 820px) { .region { grid-template-columns: 1fr; } }
.region-map { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); background: radial-gradient(120% 120% at 70% 30%, var(--lake-600), var(--depth-800)); overflow: hidden; box-shadow: var(--shadow-md); }
.county-btn { position: absolute; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.10); color: #fff; font: 600 .8rem var(--font-body); border-radius: 10px; padding: .4rem .55rem; cursor: pointer; backdrop-filter: blur(2px); transition: background .18s ease, transform .18s ease; min-height: 36px; }
.county-btn:hover, .county-btn.active { background: var(--accent); color: var(--depth-900); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .county-btn:hover, .county-btn.active { transform: none; } }
.region-readout { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.region-readout .stat { font-family: var(--font-display); font-size: 2rem; color: var(--lake-700); line-height: 1; }
.county-list { columns: 2; gap: 1rem; margin: .8rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.county-list li { break-inside: avoid; padding: .25rem 0; }
.county-list button { background: none; border: 0; padding: .15rem 0; color: var(--lake-700); font: 600 .95rem var(--font-body); cursor: pointer; text-align: left; }
.county-list button:hover { color: var(--depth-800); text-decoration: underline; }

/* ---- Document desk ---- */
.deskbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.deskbar select, .deskbar input { font: 500 .95rem var(--font-body); padding: .6rem .8rem; border: 1.5px solid var(--sand-300); border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
.doc-row { display: flex; gap: .9rem; align-items: center; padding: .8rem .4rem; border-bottom: 1px solid var(--sand-200); text-decoration: none; color: inherit; }
.doc-row:hover { background: var(--sand-100); }
.doc-row .doc-type { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--lake-600); border-radius: 6px; padding: .35rem .5rem; white-space: nowrap; min-width: 88px; text-align: center; }
.doc-row .doc-title { font-weight: 600; color: var(--depth-800); flex: 1; line-height: 1.3; }
.doc-row .doc-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); white-space: nowrap; }
.doc-empty { padding: 1.4rem; text-align: center; color: var(--ink-soft); }

/* ---- Stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat-block .n { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--lake-700); line-height: 1; }
.stat-block .l { color: var(--ink-soft); font-size: .95rem; margin-top: .3rem; }
.section-dark .stat-block .n { color: var(--accent); }
.section-dark .stat-block .l { color: #c6d2e6; }

/* ---- Dark room ---- */
.section-dark { position: relative; isolation: isolate; background: linear-gradient(170deg, var(--depth-900), var(--depth-800)); color: #eaf1fb; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: url("img/contour-texture.webp") center/cover; opacity: .18; mix-blend-mode: screen; pointer-events: none; z-index: -1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark a:not(.btn) { color: var(--accent); }

/* ---- Media figure ---- */
.figure { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure.duotone img { filter: saturate(.7) contrast(1.02); }
.figure .credit { position: absolute; bottom: 0; right: 0; font-family: var(--font-mono); font-size: .56rem; color: #fff; background: rgba(22,31,63,.6); padding: .2rem .4rem; border-top-left-radius: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--depth-900); color: #c6d2e6; padding: 3rem 0 1.5rem; }
.site-footer a { color: #d8e2f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gap); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.foot-logo { height: 46px; margin-bottom: .9rem; }
.site-footer h2 { color: #fff; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; margin: 0 0 .6rem; }
.site-footer .foot-disclaimer a, .site-footer .foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: #9fb0cb; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot-disclaimer { background: rgba(0,0,0,.25); border-radius: 8px; padding: .7rem .9rem; font-size: .78rem; color: #b9c6dd; margin-top: 1rem; }

/* ---- Reveal on scroll — the STILL version is the default. Content is only
   hidden when JS is present AND the user allows motion; no-JS or reduced-motion
   shows everything immediately. ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---- Utilities ---- */
.center { text-align: center; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.pill { display: inline-flex; align-items: center; gap: .4rem; font: 600 .8rem var(--font-body); background: var(--sand-100); border: 1px solid var(--sand-200); border-radius: 999px; padding: .3rem .7rem; color: var(--depth-800); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-sage); display: inline-block; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); padding: 1rem 0 0; }
.breadcrumb a { color: var(--lake-700); }
.page-head { background: var(--sand-100); border-bottom: 1px solid var(--sand-200); padding: clamp(1.6rem,4vw,2.6rem) 0; }
.page-head h1 { margin-bottom: .35rem; }
