/* Shared base stylesheet. Page-specific styles go in their own small file next to this one. */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("/assets/fonts/public-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/playfair-display-600-italic-latin.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --navy: #0A2342;
  --cream: #FDFBF6;
  --sand: #F5EBDD;
  --sky: #85B7CB;
  --gold: #F0A202;
  --gold-deep: #B87A02;
  --gold-bright: #FFB524;
  --charcoal: #383D3B;
  --white: #fff;

  --ink: rgba(56, 61, 59, .88);
  --ink-soft: rgba(56, 61, 59, .75);
  --ink-navy: rgba(10, 35, 66, .86);
  --on-dark: rgba(253, 251, 246, .84);
  --line: rgba(10, 35, 66, .16);
  --line-soft: rgba(10, 35, 66, .1);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  --gutter: clamp(18px, 4vw, 44px);
  --pad-lg: clamp(70px, 10vh, 130px);
  --pad-md: clamp(56px, 8vh, 110px);
  --pad-sm: clamp(40px, 6vh, 80px);
  --radius: 20px;
  --radius-lg: 22px;
  --header-h: 85px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-gold: 0 8px 24px rgba(240, 162, 2, .26);
}

/* ---------- reset & type ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font-family: var(--font-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }
/* iPhone Safari turns plain phone numbers, dates and addresses into links; without this they take the navy link colour and vanish on navy sections. */
a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font: inherit !important; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy); font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.wrap--form { max-width: 820px; }
.section { padding-block: var(--pad-lg); }
.section-md { padding-block: var(--pad-md); }
.section-sm { padding-block: var(--pad-sm); }
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.stack-md { display: grid; gap: 28px; }
.stack-lg { display: grid; gap: 40px; }
.section-head { max-width: 60ch; gap: 16px; }
.split {
  display: grid; gap: clamp(30px, 5vw, 70px); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.split--center { align-items: center; }
.grid-auto {
  --min: 260px;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min), 100%), 1fr));
}

/* ---------- colour bands ---------- */
.band--navy { background: var(--navy); color: var(--cream); }
.band--charcoal { background: var(--charcoal); color: var(--cream); }
.band--sand { background: var(--sand); }
.band--sky { background: var(--sky); }
.band--gold { background: var(--gold); }
.band--navy h1, .band--navy h2, .band--navy h3,
.band--charcoal h1, .band--charcoal h2, .band--charcoal h3 { color: var(--cream); }

/* ---------- text ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); font-weight: 600; font-size: 19px; letter-spacing: .06em; line-height: 1.3;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.eyebrow--bright { color: var(--gold); }
.eyebrow--muted { color: var(--navy); opacity: .72; }

.page-title { font-size: clamp(32px, 5.2vw, 72px); line-height: 1.02; max-width: 22ch; }
.section-title { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.04; }
.section-title--sm { font-size: clamp(26px, 3.3vw, 46px); line-height: 1.05; }
.section-title--xs { font-size: clamp(24px, 2.8vw, 38px); }

.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 52ch; color: var(--ink); }
.lead--body { font-size: 17px; line-height: 1.6; }
.lead--light { color: rgba(253, 251, 246, .85); }
.lead--navy { color: var(--ink-navy); }
.body-copy { font-size: 17px; line-height: 1.62; color: var(--ink); max-width: 46ch; }
.body-copy--strong { font-size: 18px; line-height: 1.65; color: var(--navy); max-width: none; }
.body-copy--light { font-size: 16.5px; color: rgba(253, 251, 246, .84); }
.body-copy--navy { font-size: 16px; color: var(--ink-navy); max-width: 52ch; }
.small-note { font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); max-width: 80ch; }
.small-note--light { font-size: 15px; color: rgba(253, 251, 246, .7); max-width: 52ch; }
.quote { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(26px, 4vw, 50px); line-height: 1.22; max-width: 24ch; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 15.5px; line-height: 1.3; text-align: center;
  padding: 16px 28px; border: 0; border-radius: 999px; box-shadow: var(--shadow-gold);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--gold-bright); color: var(--navy); }
.btn--lg { font-size: 16.5px; padding: 18px 32px; }
.btn--sm { font-size: 14.5px; padding: 12px 20px; }
.btn--flat { box-shadow: none; }
.btn--flat:hover { background: var(--cream); }
.btn--block { display: block; }
.btn--self-start { justify-self: start; }
.btn--dark { background: var(--navy); color: var(--cream); box-shadow: none; justify-self: start; }
.btn--dark:hover { background: var(--gold); color: var(--navy); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 700; font-size: 15.5px;
  padding: 6px 0; border-bottom: 2px solid rgba(10, 35, 66, .28);
  justify-self: start;
}
.link-arrow:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.link-arrow--light { color: var(--cream); border-bottom-color: rgba(253, 251, 246, .45); }
.link-arrow--light:hover { color: var(--gold); border-bottom-color: var(--gold); }
.link-arrow--button { background: transparent; border-top: 0; border-left: 0; border-right: 0; }
.arrow { font-size: 17px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.cta-row--center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  background: rgba(253, 251, 246, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 35, 66, .09);
  transition: transform .38s var(--ease), opacity .3s ease;
}
.site-header--hidden { transform: translateY(-105%); opacity: 0; }
.site-header__inner {
  max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: clamp(14px, 3vw, 40px);
}
.site-header__brand { flex-shrink: 0; }
.site-header__logo { height: 56px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); margin-left: auto; }
.site-header__cta { box-shadow: 0 6px 20px rgba(240, 162, 2, .28); white-space: nowrap; }
.site-header__cta:hover { background: var(--navy); color: var(--cream); }

.site-nav { display: none; align-items: center; gap: clamp(12px, 1.8vw, 28px); margin-left: auto; }
.site-nav__link { font-size: 15px; font-weight: 600; letter-spacing: -.01em; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }

.lang-switch {
  display: flex; align-items: center; border: 1px solid rgba(10, 35, 66, .22); border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
}
.lang-switch:hover { background: var(--navy); color: var(--cream); }

.menu-toggle {
  display: flex; flex-direction: column; gap: 4px; background: transparent;
  border: 1px solid rgba(10, 35, 66, .2); border-radius: 10px; padding: 11px 10px;
}
.menu-toggle__bar { display: block; width: 18px; height: 2px; background: var(--navy); }

@media (min-width: 1100px) {
  .site-nav { display: flex; }
  .site-header__actions { margin-left: 0; }
  .menu-toggle { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .site-header__inner { padding: 10px 18px; gap: 12px; }
  .site-header__logo { height: 42px; }
  .site-header__cta { display: none; }
  .lang-switch { padding: 9px 14px; }
}

.site-main { padding-top: var(--header-h); }

/* ---------- menu overlay ---------- */
.site-menu {
  position: fixed; inset: 0; z-index: 950; overflow-y: auto;
  background: var(--navy); color: var(--cream);
  padding: 26px clamp(18px, 5vw, 44px);
}
.site-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.site-menu__logo { height: 52px; width: auto; }
.site-menu__close {
  background: transparent; border: 1px solid rgba(253, 251, 246, .3); color: var(--cream);
  border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.site-menu__links { display: grid; gap: 2px; }
.site-menu__link {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(253, 251, 246, .14); color: var(--cream);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 5vw, 34px); letter-spacing: -.02em; line-height: 1.2;
  transition: padding-left .2s ease, color .2s ease;
}
.site-menu__link:hover { color: var(--gold); padding-left: 10px; }
.site-menu__num { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--sky); opacity: .8; }
.site-menu__actions { display: grid; gap: 18px; justify-items: start; margin-top: 32px; padding-bottom: 20px; }
html.menu-open { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: clamp(56px, 8vh, 96px) 0 30px; }
.site-footer__inner { display: grid; gap: 52px; }
.site-footer__cols { display: grid; gap: 38px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.site-footer__col { display: grid; gap: 11px; align-content: start; }
.site-footer__col--brand { gap: 18px; }
.site-footer__logo { height: 96px; width: auto; }
.site-footer__tag { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 16px; color: var(--sky); max-width: 26ch; }
.site-footer__heading { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 17px; letter-spacing: .005em; color: var(--sky); }
.site-footer__link { color: var(--on-dark); font-size: 15px; }
.site-footer__link:hover { color: var(--gold); }
.site-footer__link--email { overflow-wrap: anywhere; }
.site-footer__name { font-size: 15px; font-weight: 600; }
.site-footer__area { font-size: 15px; color: rgba(253, 251, 246, .7); }
.site-footer__legal { display: grid; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(253, 251, 246, .16); }
.site-footer__legal p { font-size: 12.5px; line-height: 1.65; color: rgba(253, 251, 246, .62); max-width: 98ch; }
/* CMS TPMO disclaimer (42 CFR 422.2267(e)(41)): must be "prominently displayed", so it reads larger and brighter than the fine print. Two classes so it beats the rule above. */
.site-footer__legal .site-footer__tpmo { font-size: 14px; font-weight: 600; color: rgba(253, 251, 246, .92); }
.site-footer__phone { white-space: nowrap; color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.site-footer__phone:hover { color: var(--gold); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(253, 251, 246, .55); }
.site-footer__license-no { white-space: nowrap; }
.site-footer__legal-links { display: flex; gap: 18px; }
.site-footer__legal-links a { color: rgba(253, 251, 246, .7); }
.site-footer__legal-links a:hover { color: var(--gold); }

/* ---------- page heroes ---------- */
.page-hero-band { padding-block: clamp(60px, 9vh, 120px) clamp(40px, 6vh, 70px); }
.page-hero-band--sm { padding-block: clamp(56px, 8vh, 110px) clamp(40px, 6vh, 70px); }
.page-hero-band--plain { padding-block: clamp(60px, 9vh, 120px) clamp(36px, 5vh, 60px); }
.page-hero { display: grid; gap: 24px; align-content: start; min-width: 0; }

/* ---------- cards ---------- */
.card {
  background: var(--cream); border-radius: var(--radius); border: 1px solid rgba(10, 35, 66, .08);
  padding: clamp(22px, 5vw, 28px); display: grid; gap: 12px; align-content: start; min-height: 220px;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.card--link { min-height: 230px; color: var(--navy); }
.card--link:hover { color: var(--navy); transform: translateY(-6px); box-shadow: 0 20px 44px rgba(10, 35, 66, .14); border-color: var(--sky); }
.card--sand { background: var(--sand); border-color: transparent; min-height: 230px; }
.card__num { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sky); }
.card__num--gold { color: var(--gold-deep); }
.card__tag { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 15.5px; color: var(--gold-deep); }
.card__title { font-size: 21px; line-height: 1.15; }
.card__body { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.card__more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--gold-deep); }
.card__more--navy { color: var(--navy); }

/* ---------- stat tiles ---------- */
.stat-tile {
  border-radius: var(--radius-lg); padding: clamp(22px, 5vw, 30px); min-height: 300px;
  display: grid; align-content: space-between; gap: 20px;
}
.stat-tile--sky { background: var(--sky); }
.stat-tile--navy { background: var(--navy); color: var(--cream); }
.stat-tile--gold { background: var(--gold); }
.stat-tile--sand { background: var(--sand); border: 1px solid var(--line-soft); }
.stat-tile__label { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.stat-tile--navy .stat-tile__label { color: var(--sky); font-size: 19px; }
.stat-tile__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 7vw, 86px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-tile__num--long { font-size: clamp(46px, 6.2vw, 78px); }
.stat-tile__num--word { font-size: clamp(44px, 5.6vw, 68px); letter-spacing: -.03em; }
.stat-tile__num--pending { color: rgba(10, 35, 66, .22); }
.stat-tile__body { font-size: 14px; line-height: 1.55; color: rgba(10, 35, 66, .85); }
.stat-tile--navy .stat-tile__body { color: rgba(253, 251, 246, .8); }
.stat-tile--sand .stat-tile__body { color: var(--ink); }
.stat-tile__note { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.stat-tile__link { color: var(--gold); font-weight: 700; font-size: 14px; }
.stat-tile__link:hover { color: var(--cream); }

/* ---------- photo placeholders (swap for <picture> when real photos arrive) ---------- */
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; background: var(--navy); }
.photo-slot {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 6px;
  padding: 24px; text-align: center; color: var(--cream);
  background:
    repeating-linear-gradient(135deg, rgba(253, 251, 246, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, rgba(133, 183, 203, .55), rgba(10, 35, 66, .15));
}
.photo-slot::before { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(253, 251, 246, .45); border-radius: 14px; pointer-events: none; }
.photo-slot__label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.photo-slot__caption { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 16px; line-height: 1.35; max-width: 26ch; }

/* ---------- small shared pieces ---------- */
.star { width: 11px; height: 11px; flex-shrink: 0; }
.notice { display: flex; gap: 12px; align-items: center; background: var(--sand); border-radius: 14px; padding: 14px 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.notice__star { width: 16px; height: 16px; flex-shrink: 0; }

.date-badge {
  display: grid; place-items: center; align-content: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 14px; background: var(--gold); color: var(--navy);
}
.date-badge--sm { width: 44px; height: 44px; border-radius: 12px; }
.date-badge__day { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; }
.date-badge--sm .date-badge__day { font-size: 17px; }
.date-badge__dow { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; opacity: .7; }
.date-badge--sm .date-badge__dow { font-size: 9.5px; }
.date-badge--dark { color: var(--cream); }

.next-up {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-self: start;
  background: var(--cream); border: 1px solid rgba(10, 35, 66, .12); border-radius: 999px;
  padding: 13px 22px; color: var(--navy);
}
.next-up:hover { color: var(--navy); border-color: var(--gold); }
.next-up__text { display: grid; gap: 2px; min-width: 0; }
.next-up__title { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.next-up__meta { font-size: 13.5px; color: rgba(56, 61, 59, .8); }
.next-up__cta { font-size: 13.5px; font-weight: 700; color: var(--gold-deep); margin-left: 8px; }
@media (max-width: 520px) {
  .next-up { border-radius: 22px; }
  .next-up__text { flex: 1 1 0; }
  .next-up__cta { margin-left: 0; flex-basis: 100%; }
}

/* ---------- filter chips (resources, directory) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.filter-bar__title { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 17px; color: rgba(56, 61, 59, .7); margin-right: 8px; }
.filter-chip {
  border: 1px solid rgba(10, 35, 66, .22); border-radius: 999px; padding: 9px 17px;
  font-size: 13.5px; font-weight: 600; background: transparent; color: var(--navy);
}
.filter-chip:hover { border-color: var(--gold); }
.filter-chip[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ---------- forms (organizations, contact) ---------- */
.form-card { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.form-card--sand { background: var(--sand); }
.form-card__note { font-size: 12.5px; color: rgba(56, 61, 59, .7); }
.field { display: grid; gap: 7px; min-width: 0; }
.field__label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(10, 35, 66, .7); }
.field__input {
  width: 100%; border: 1px solid rgba(10, 35, 66, .2); border-radius: 12px; padding: 14px 15px;
  font-size: 16px; background: var(--white); color: var(--navy); -webkit-appearance: none; appearance: none;
}
.field__input:focus { outline: 3px solid rgba(240, 162, 2, .55); outline-offset: 1px; border-color: var(--gold); }
textarea.field__input { resize: vertical; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.field-row--wide { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

.choice-field { display: grid; gap: 9px; align-content: start; padding-top: 6px; }
.choice-field__hint { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 14.5px; color: rgba(56, 61, 59, .7); margin-top: -4px; }
.choice-field__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-chip span {
  display: block; border: 1px solid rgba(10, 35, 66, .22); background: var(--white); color: var(--navy);
  border-radius: 999px; padding: 12px 18px; font-size: 14.5px; font-weight: 600; line-height: 1.3; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.choice-chip span:hover { border-color: var(--gold); }
.choice-chip input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.choice-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.form-thanks {
  position: relative; overflow: hidden; background: var(--navy); color: var(--cream);
  border-radius: var(--radius); padding: clamp(24px, 5vw, 36px); display: grid; gap: 20px; justify-items: start;
}
.form-thanks:focus { outline: none; }
.form-thanks > * { position: relative; }
.form-thanks__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.form-thanks__head { display: flex; align-items: center; gap: 14px; }
.form-thanks__check { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 22px; font-weight: 700; }
.form-thanks__title { color: var(--cream); font-size: clamp(24px, 3vw, 32px); }
.form-thanks__body { font-size: 15.5px; line-height: 1.6; color: rgba(253, 251, 246, .85); max-width: 52ch; }
.form-thanks__next { display: grid; gap: 14px; width: 100%; }
.form-thanks__next-title { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 17px; color: var(--gold); }
.form-thanks__steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.form-thanks__step { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid rgba(240, 162, 2, .55); }
.form-thanks__num { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 16px; color: var(--sky); }
.form-thanks__text { font-size: 14.5px; line-height: 1.55; color: rgba(253, 251, 246, .9); }
.form-thanks__eta { font-size: 14.5px; line-height: 1.55; color: var(--sky); max-width: 52ch; }
.confetti-bit { position: absolute; top: -14px; opacity: 0; animation: cielo-confetti var(--dur, 2s) cubic-bezier(.25, .6, .4, 1) var(--delay, 0s) forwards; }

/* ---------- motion ---------- */
@keyframes cielo-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes cielo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cielo-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes cielo-confetti {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); opacity: 0; }
}
.page-title, .home-hero__title { animation: cielo-rise 1.1s var(--ease) .15s both; }
[data-reveal] { transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(34px); }

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

@media (max-width: 460px) {
  .cta-row { gap: 20px; }
  .cta-row .btn { width: 100%; }
}
/* The contact form's bot trap (src/contact.js HONEYPOT): off-screen, not display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Shown by form.js when a message couldn't be sent (contact + organizations forms). Built from the palette's own tokens (no red exists). */
.form-card__error { margin: 0; padding: 12px 16px; border-left: 4px solid var(--gold-deep); border-radius: 8px; background: var(--cream); color: var(--navy); font-weight: 600; }

/* Oct 8 2026, from flomi's practice (web-checked): the browser's grey tap box becomes a brief dim of what you pressed,
   and page changes cross-fade where supported (Chrome, Edge, Safari 18+, Firefox 144+), instant with reduced motion.
   Behaviour only: nothing here changes how a page looks at rest. */
html { -webkit-tap-highlight-color: transparent; }
a:active, button:active, summary:active, label:active { opacity: .72; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
