/* SchooLoka design system. One stylesheet for the whole site. */
:root {
  --c-bg: #FAF6EF; --c-surface: #FFFFFF; --c-sand: #F3ECE0; --c-ink: #2B2A26; --c-muted: #5F5B52;
  --c-line: #E6DDCF; --c-forest: #2F3B2A; --c-forest-2: #45553D; --c-terracotta: #9A4A26; --c-sage: #8A9A78;
  --c-sage-soft: #E9EDDF; --c-ok: #2E6B3A; --c-warn: #8A5A00; --c-pending: #6B675E; --c-info: #EFE7D6;
  --radius: 14px; --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(43,42,38,.05), 0 6px 24px rgba(43,42,38,.06);
  --shadow-lg: 0 2px 4px rgba(43,42,38,.06), 0 14px 40px rgba(43,42,38,.10);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px; --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.nav-locked { overflow: hidden; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--c-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-terracotta); }
small, .small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }
em.accent, .accent { color: var(--c-terracotta); font-style: italic; }

:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .pill:focus-visible { outline-offset: 3px; border-radius: var(--radius-pill); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-forest); color: #fff; padding: 10px 18px; border-radius: var(--radius-pill); text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--sand { background: var(--c-sand); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-terracotta); margin-bottom: .75rem; }
.lead { font-size: 1.125rem; color: var(--c-muted); max-width: 60ch; }
.muted { color: var(--c-muted); }
.stack > * + * { margin-top: 1rem; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.divider-flourish { display: block; width: 64px; height: 12px; margin: 1.25rem 0; color: var(--c-terracotta); background: none; position: relative; }
.divider-flourish::before { content: ""; position: absolute; left: 0; right: 10px; top: 50%; height: 1px; background: currentColor; opacity: .7; }
.divider-flourish::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border: 1px solid currentColor; border-radius: 50% 0 50% 0; transform: rotate(45deg); }
.divider-flourish--center { margin-inline: auto; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 28px; border-radius: var(--radius-pill); border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; text-align: center; }
.btn--primary { background: var(--c-forest); color: #fff; }
.btn--primary:hover { background: var(--c-forest-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-forest); border-color: var(--c-forest); }
.btn--ghost:hover { background: var(--c-forest); color: #fff; }
.btn--ghost[aria-pressed="true"] { background: var(--c-sage-soft); border-color: var(--c-forest-2); }
.btn--ghost[aria-pressed="true"]:hover { background: var(--c-forest); color: #fff; }
.btn--light { background: #fff; color: var(--c-forest); }
.btn--light:hover { background: var(--c-sand); color: var(--c-forest); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--c-ink); text-decoration: none; }
.link-arrow::after { content: "\2192"; transition: transform .15s; }
.link-arrow:hover { color: var(--c-terracotta); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- cards, tags, badges ---------- */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card--flat { box-shadow: none; }
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card h3 { margin-bottom: .4em; }

.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: var(--radius-pill); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font: 500 .875rem/1.2 var(--font-body); cursor: pointer; transition: background .15s, border-color .15s; text-decoration: none; }
.pill:hover { border-color: var(--c-forest-2); color: var(--c-ink); }
.pill[aria-pressed="true"], .pill.is-active { background: var(--c-forest); border-color: var(--c-forest); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.tag { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--c-sage-soft); color: var(--c-forest); font-size: .75rem; font-weight: 500; line-height: 1.6; border: 1px solid #D6DDC8; }
.tag--soft { background: var(--c-sand); border-color: var(--c-line); color: var(--c-muted); margin-left: .25em; }
.badge { display: inline-flex; align-items: center; gap: .35em; padding: 2px 10px; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 600; line-height: 1.6; border: 1px solid currentColor; background: #fff; cursor: help; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--verified { color: var(--c-ok); background: #EAF3EC; }
.badge--school-confirmed { color: #1F5C7A; background: #E8F1F6; }
.badge--public-source { color: var(--c-warn); background: #FBF1DD; }
.badge--pending { color: var(--c-pending); background: #F1EEE8; }
.unknown { font-style: italic; color: var(--c-muted); }
.notice { padding: 16px 20px; border-radius: var(--radius); background: var(--c-info); border: 1px solid var(--c-line); border-left: 4px solid var(--c-terracotta); color: var(--c-ink); }
.notice > :last-child { margin-bottom: 0; }
.notice--ok { border-left-color: var(--c-ok); }
.notice--warn { border-left-color: var(--c-warn); background: #FBF1DD; }

.meter { display: block; width: 100%; height: 8px; border-radius: 99px; background: var(--c-line); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--c-forest-2); border-radius: 99px; }
.empty-state { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--c-line); border-radius: var(--radius); background: var(--c-surface); color: var(--c-muted); }
.empty-state h2, .empty-state h3 { color: var(--c-ink); }
.breadcrumb { font-size: .875rem; color: var(--c-muted); margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--c-line); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-terracotta); }
.breadcrumb [aria-current="page"] { color: var(--c-ink); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); max-width: min(92vw, 460px); padding: 12px 20px; border-radius: var(--radius-pill); background: var(--c-forest); color: #fff; font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- forms ---------- */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label, .form-field legend, .form-label { font-weight: 500; font-size: .9rem; color: var(--c-ink); padding: 0; }
.form-field .hint { font-size: .8125rem; color: var(--c-muted); }
.form-field .error { font-size: .8125rem; color: #A22B1A; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="url"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #CFC4B2; border-radius: 10px; background: #fff; color: var(--c-ink); font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6F6A60; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 1px; border-color: var(--c-terracotta); }
[aria-invalid="true"] { border-color: #A22B1A; }
.form-row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; margin-bottom: 18px; }
.checkbox input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-forest); }
fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }

/* ---------- tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table caption { text-align: left; padding: 12px 16px; font-weight: 600; color: var(--c-muted); }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.data-table thead th { background: var(--c-sand); font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody th { font-weight: 600; background: #FDFBF7; }
.data-table--sticky th:first-child, .data-table--sticky td:first-child { position: sticky; left: 0; z-index: 1; background: #FDFBF7; box-shadow: 1px 0 0 var(--c-line); }
.data-table--sticky thead th:first-child { background: var(--c-sand); z-index: 2; }
.data-table .is-diff { background: #FFF6DD; }
.data-table .group-row th { background: var(--c-sage-soft); color: var(--c-forest); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,246,239,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-forest); }
.logo:hover { color: var(--c-forest); }
.logo__mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font: 600 1.7rem/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .005em; color: var(--c-ink); }
.logo__name em { font-style: italic; color: var(--c-terracotta); }
.logo__petal { fill: var(--c-terracotta); }
.logo__tag { font-size: .6875rem; color: var(--c-muted); margin-top: 3px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-panel { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 24px; }
.site-nav { margin-inline: auto; }
.site-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.site-nav a { display: block; white-space: nowrap; padding: 10px 14px; text-decoration: none; color: var(--c-ink); font-size: .9rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--c-terracotta); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--c-terracotta); }
.header-actions { white-space: nowrap; display: flex; align-items: center; gap: 16px; }
.shortlist-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; text-decoration: none; color: var(--c-ink); font-size: .9rem; }
.shortlist-link:hover { color: var(--c-terracotta); }
.shortlist-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--c-terracotta); }
.shortlist-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--c-terracotta); color: #fff; font-size: .75rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.shortlist-count.is-empty { background: var(--c-line); color: var(--c-muted); }
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-bg); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 16px var(--gutter) 32px; overflow-y: auto; gap: 20px; border-top: 1px solid var(--c-line); }
  .nav-open .nav-panel { display: flex; }
  .site-nav { margin: 0; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 16px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--c-line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--c-terracotta); }
  .header-actions { flex-direction: column; align-items: stretch; }
  .header-actions .btn { min-height: 52px; }
  .shortlist-link { padding: 12px 4px; font-size: 1rem; }
}
@media (min-width: 1200px) and (max-width: 1320px) { .logo__tag { display: none; } .site-nav a { padding-inline: 8px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--c-forest); color: #E8E4D8; padding-block: 56px 28px; margin-top: 0; }
.site-footer a { color: #F3ECE0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo, .site-footer .logo__name { color: #fff; }
.site-footer .logo__name em, .site-footer .logo__petal { color: #E3A57A; fill: #E3A57A; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: .9rem; color: #D5D0C2; }
.footer-title { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #D5D0C2; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: .9rem; }
.site-footer .tag--soft { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #F3ECE0; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .8125rem; color: #D5D0C2; }
.footer-bottom p { margin: 0; }

/* ---------- school card ---------- */
.school-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; transition: box-shadow .2s, transform .2s; }
.school-card:hover { box-shadow: var(--shadow-lg); }
.school-card__name { margin: 0; font-size: 1.3rem; }
.school-card__name a { text-decoration: none; color: var(--c-ink); }
.school-card__name a:hover { color: var(--c-terracotta); }
.school-card__place { margin: 0; color: var(--c-muted); font-size: .9rem; }
.school-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.school-card__meta { margin: 0; font-size: .875rem; color: var(--c-muted); }
.school-card__label { font-weight: 600; color: var(--c-ink); margin-right: .35em; }
.school-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.phil-illus { width: 100%; height: auto; display: block; }

/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 64px) 0; background: linear-gradient(180deg, #FBF8F1 0%, var(--c-bg) 100%); }
.hero__grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.hero__copy { padding-bottom: clamp(16px, 4vw, 48px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line2 { display: block; }
.hero .lead { margin-top: 1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.75rem; }
.hero__media { margin-inline: calc(var(--gutter) * -1); }
.hero__media img { width: 100%; height: clamp(260px, 62vw, 420px); object-fit: cover; object-position: 30% center; border-radius: 0 0 0 55% / 0 0 0 28%; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1.15fr; }
  .hero__media { margin: 0 calc(var(--gutter) * -1) 0 0; }
  .hero__media img { height: clamp(380px, 38vw, 480px); border-radius: 55% 0 0 18% / 40% 0 0 12%; }
}
.values { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .values { grid-template-columns: 1fr 2.2fr; gap: 48px; } }
.values h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .4em; }
.values__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .values__list { grid-template-columns: repeat(4, 1fr); } }
.value { text-align: center; }
.value svg { width: 52px; height: 52px; color: var(--c-terracotta); margin-bottom: 10px; }
.value h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; margin-bottom: .35em; }
.value p { font-size: .8125rem; color: var(--c-muted); margin: 0; line-height: 1.5; }

.explore { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .explore { grid-template-columns: 260px 1fr; gap: 40px; } }
.explore h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.carousel { position: relative; min-width: 0; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; list-style: none; margin: 0; }
.carousel__item { flex: 0 0 min(210px, 62%); scroll-snap-align: start; }
.phil-card { display: block; height: 100%; padding: 14px 14px 16px; border-radius: var(--radius); background: linear-gradient(180deg, #FFFDF9, #F7F0E4); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); transition: box-shadow .2s, transform .2s; }
.phil-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--c-ink); }
.phil-card__art { background: #FBF7EE; border-radius: 10px; padding: 8px; margin-bottom: 12px; }
.phil-card h3 { font-size: 1.15rem; margin: 0 0 4px; }
.phil-card p { font-size: .8125rem; color: var(--c-muted); margin: 0 0 8px; line-height: 1.45; }
.phil-card .link-arrow { font-size: .8125rem; color: var(--c-terracotta); }
.carousel__btn { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; box-shadow: var(--shadow); cursor: pointer; display: none; align-items: center; justify-content: center; color: var(--c-ink); z-index: 2; }
.carousel__btn:hover { background: var(--c-sand); }
.carousel__btn--prev { left: -14px; } .carousel__btn--next { right: -14px; }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
@media (min-width: 640px) { .carousel__btn { display: inline-flex; } }

.discover { position: relative; display: grid; grid-template-columns: 1fr; background: var(--c-bg); overflow: hidden; }
.discover__media { position: relative; min-height: 220px; }
.discover__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.discover__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,246,239,0) 55%, var(--c-bg) 100%); display: none; }
.discover__body { padding: clamp(32px, 6vw, 64px) var(--gutter); max-width: 640px; }
@media (min-width: 900px) {
  .discover { grid-template-columns: 1fr 1fr; }
  .discover__media::after { display: block; }
  .discover__body { padding-left: 24px; }
}
.search-box { display: flex; max-width: 520px; margin: 1.25rem 0 .75rem; }
.search-box input { border-radius: 10px 0 0 10px; border-right: 0; min-width: 0; }
.search-box button { flex: none; width: 56px; border: 0; border-radius: 0 10px 10px 0; background: var(--c-forest); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.search-box button:hover { background: var(--c-forest-2); }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8125rem; color: var(--c-muted); margin-bottom: 1.25rem; }
.popular .pill { min-height: 34px; padding: 4px 12px; font-size: .8125rem; }

.promises { position: relative; }
.promises__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .promises__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .promises__grid { grid-template-columns: repeat(4, 1fr); } }
.promise { background: rgba(255,255,255,.85); }
.promise__num { font: 600 1.6rem/1 var(--font-display); color: var(--c-terracotta); display: block; margin-bottom: 10px; }
.promise h3 { font-size: 1.15rem; }
.promise p { font-size: .9rem; color: var(--c-muted); margin: 0; }
.promises__hills { display: none; }
@media (min-width: 1000px) { .promises__hills { display: block; position: absolute; right: 0; bottom: 0; width: 260px; opacity: .35; pointer-events: none; } }

.insights { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .insights { grid-template-columns: 260px 1fr; gap: 40px; } }
.insight-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.insight { display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 22px; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--c-forest); position: relative; overflow: hidden; }
.insight::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(138,154,120,.55), transparent 60%); }
.insight--b { background: #5A3A28; } .insight--b::before { background: radial-gradient(120% 90% at 100% 0%, rgba(201,140,100,.5), transparent 60%); }
.insight--c { background: #3E4A33; }
.insight > * { position: relative; }
.insight:hover { color: #fff; box-shadow: var(--shadow-lg); }
.insight__kicker { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: #E9D9B8; margin-bottom: 8px; }
.insight h3 { color: #fff; font-size: 1.35rem; margin: 0 0 8px; }
.insight__more { font-size: .8125rem; color: #F3ECE0; }

.cta-band { background: var(--c-sand); padding-block: 40px; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .25em; }
.cta-band p { margin: 0; color: var(--c-muted); }

/* ---------- content pages (about, privacy, resources) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px); }
.page-head .lead { margin-bottom: 0; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.legend { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 12px; }
.legend li { display: grid; gap: 4px 16px; grid-template-columns: 1fr; align-items: start; padding: 14px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); margin: 0; }
@media (min-width: 640px) { .legend li { grid-template-columns: 150px 1fr; } }
.legend p { margin: 0; font-size: .9375rem; color: var(--c-muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--c-line); }
.timeline li { position: relative; padding: 0 0 22px 20px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-bg); border: 2px solid var(--c-terracotta); }
.timeline strong { display: block; }

@media print { .site-header, .site-footer, .toast, .skip-link { display: none !important; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
