:root {
  --navy: #0E2A47;
  --navy-700: #16375A;
  --navy-900: #081B30;
  --gold: #C8A24B;
  --gold-hover: #D4B062;
  --gold-600: #A8842F; /* large decorative numerals on light backgrounds only */
  --gold-100: #F4EBD5;
  --cream: #FAF7F1;
  --white: #FFFFFF;
  --teal: #3E6B63;
  --teal-100: #E3ECE9;
  --ink: #1F2A36;
  --text: #3D4652;
  --muted: #5B6573;
  --line: #E4DED2;
  --field-border: #8A8374;
  --error: #9B2C2C;
  --on-dark: #F5F1E8;
  --on-dark-muted: #C9D3DE;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(14, 42, 71, 0.06), 0 8px 24px rgba(14, 42, 71, 0.08);
  --shadow-lift: 0 2px 4px rgba(14, 42, 71, 0.08), 0 16px 40px rgba(14, 42, 71, 0.12);
  --container: 72rem;
  --gutter: 1rem;
  --header-h: 76px;
}
@media (min-width: 720px) {
  :root { --gutter: 1.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3, .h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--gold); }
main:focus { outline: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }
.lead { font-size: var(--step-1); max-width: 42rem; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.eyebrow--gold { color: var(--gold); }
.note { color: var(--muted); }
.text-link { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 0.3s ease, transform 0.3s ease; }
  .reveal-hidden { opacity: 0; transform: translateY(16px); }
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--tight { padding-block: 2.5rem; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.card-grid { display: grid; gap: 1.25rem; }
.split { display: grid; gap: 2.5rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.75rem; }
.aside-stack { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 720px) {
  .card-grid--2, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .split--form { grid-template-columns: 1.6fr 1fr; }
  .split--form > aside { order: 2; }
}
@media (min-width: 1000px) {
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 241, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { width: 58px; height: auto; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.1; color: var(--navy); }
.brand-name span { display: block; font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); }
.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; display: inline-block; padding: 0.5rem 0; }
.site-nav a:not(.btn):hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-block: 0.75rem; }
.site-nav .nav-phone { font-weight: 600; color: var(--navy); }
.site-nav .nav-donate { color: var(--muted); font-size: var(--step--1); text-decoration: underline; }
.nav-toggle { display: none; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
@media (max-width: 899px) {
  .site-header.has-js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); cursor: pointer; }
  .site-header.has-js .site-nav { display: none; padding-bottom: 1rem; }
  .site-header.has-js.nav-open .site-nav { display: block; }
  .site-header.has-js .site-nav ul { flex-direction: column; }
  .site-header.has-js .site-nav a:not(.btn) { padding: 0.75rem 0; }
}
@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 1.75rem; width: auto; }
  .nav-actions { padding: 0; }
}

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-top: 3.5rem; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 2rem; }
.footer-logo { display: inline-block; background: var(--cream); border-radius: 12px; padding: 0.6rem; margin-bottom: 1rem; }
.footer-logo img { width: 84px; }
.footer-heading { font-family: var(--font-sans); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-bottom { margin-top: 2.5rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; display: grid; gap: 0.5rem; font-size: var(--step--1); }
.fg-credit { display: flex; justify-content: center; margin-top: 0.75rem; }
.site-footer .fg-credit a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #9AA8B8; text-decoration: none; transition: color 0.2s; }
.site-footer .fg-credit a:hover { color: #fff; }
.fg-credit img { height: 20px; width: auto; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 2fr; gap: 0.5rem;
  padding: 0.625rem var(--gutter) calc(0.625rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(14, 42, 71, 0.08);
  transition: transform 0.2s ease, visibility 0.2s;
}
.mobile-cta.is-hidden { transform: translateY(110%); visibility: hidden; }
@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  .mobile-cta { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius-pill);
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-hover); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { min-height: 54px; padding: 0.9rem 1.75rem; font-size: 1.0625rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }

/* Home hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(120% 90% at 50% 100%, #1B4468 0%, var(--navy) 55%, var(--navy-900) 100%);
  padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(6rem, 5rem + 5vw, 9rem);
}
/* Photo sits under a navy overlay: strongest on the left where the copy is, so white and gold text keep AA contrast. */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 65% center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 27, 48, 0.94) 0%, rgba(14, 42, 71, 0.82) 60%, rgba(14, 42, 71, 0.3) 85%, rgba(14, 42, 71, 0.15) 100%); }
@media (max-width: 719px) { .hero-overlay { background: rgba(8, 27, 48, 0.8); } }
.hero-horizon { opacity: 0.7; position: absolute; left: 50%; bottom: -10px; width: min(1200px, 160%); max-width: none; transform: translateX(-50%); pointer-events: none; }
.hero-copy { position: relative; max-width: 46rem; }
.hero-title { color: #fff; font-size: clamp(2.5rem, 1.8rem + 3.6vw, 4.25rem); }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: var(--step-1); color: var(--on-dark); max-width: 40rem; }
.hero-sub { color: var(--on-dark-muted); }
.hero-phone { margin-top: 1.25rem; color: var(--on-dark-muted); }
.hero-phone a { color: #fff; font-weight: 600; }

/* Inner page hero */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem); background: linear-gradient(180deg, var(--white), var(--cream)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22ch; }
.jump-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.jump-links a { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); color: var(--navy); font-weight: 500; text-decoration: none; }
.jump-links a:hover { border-color: var(--teal); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.card--link { display: flex; flex-direction: column; gap: 0.5rem; color: var(--text); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--gold); color: var(--text); }
.card-title { margin-bottom: 0.25rem; }
.card-photo { display: block; width: calc(100% + 3.5rem); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: -1.75rem -1.75rem 0.75rem; border-radius: var(--radius) var(--radius) 0 0; }
.card--link:has(.card-photo) { overflow: hidden; }

.card-cta { margin-top: auto; padding-top: 0.75rem; font-weight: 600; color: var(--teal); }
.audience { position: relative; z-index: 2; margin-top: -4rem; padding-top: 0; }
.card--link .illo { order: -1; }

/* Program facts strip */
.facts { background: var(--white); border-block: 1px solid var(--line); }
.facts-list { list-style: none; margin: 0; padding: 1.75rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.facts-list li { display: flex; flex-direction: column; gap: 0.2rem; padding-left: 1rem; border-left: 3px solid var(--gold); }
.facts-figure { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.facts-label { color: var(--muted); font-size: var(--step--1); }
@media (min-width: 900px) { .facts-list { grid-template-columns: repeat(4, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.step { counter-increment: step; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 2.75rem; line-height: 1; color: var(--gold-600); margin-bottom: 0.75rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Lists */
.checklist, .icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.checklist li, .icon-list li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.icon-list li::before { content: ""; position: absolute; left: 0.35rem; top: 0.6em; width: 0.55rem; height: 0.55rem; background: var(--gold); transform: rotate(45deg); }

/* Tags, badges, panels */
.tag, .badge { display: inline-block; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 600; }
.tag { background: var(--teal-100); color: var(--teal); }
.badge { background: var(--gold-100); color: var(--navy); border: 1px solid rgba(200, 162, 75, 0.5); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.panel--quiet { background: var(--teal-100); border-color: transparent; }
.panel--alert { background: #FFF8E6; border-color: #EBD9A6; }
.band-card { display: grid; gap: 1.5rem; background: var(--navy); color: var(--on-dark); border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); }
.band-card h2 { color: #fff; }
@media (min-width: 900px) {
  .band-card { grid-template-columns: 1.6fr auto; align-items: center; }
  .band-card .btn-row { margin-top: 0; }
}

/* Program tracks */
.track + .track { border-top: 1px solid var(--line); }
.track-head { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.track-grid { display: grid; gap: 1.25rem; margin-block: 1.5rem 1.25rem; }
@media (min-width: 800px) { .track-grid { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 50rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { position: relative; cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-more { margin-top: 1.5rem; }

/* Closing CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .container { position: relative; }
.cta-band p { max-width: 40rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-horizon { position: absolute; left: 50%; bottom: -40px; width: min(1200px, 180%); max-width: none; transform: translateX(-50%); opacity: 0.6; pointer-events: none; }
.cta-area { margin-top: 1.5rem; color: var(--on-dark-muted); font-size: var(--step--1); }

/* Illustrations: meaningful images that sit next to their words (never replace them). */
.illo { display: block; width: 100%; max-width: 160px; height: auto; margin: 0 auto 0.75rem; border-radius: var(--radius-sm); object-fit: cover; aspect-ratio: 1 / 1; }
.illo--card { max-width: 120px; margin: 0 0 0.5rem; }
.illo--step { max-width: 140px; margin: 0 0 0.75rem; }
.illo--rule { max-width: 120px; margin: 0; }
.illo--panel { max-width: 112px; margin: 0 0 0.75rem; }
.illo--choice { width: 96px; max-width: 96px; margin: 0; flex: none; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.25rem 1rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qualify-age { font-size: var(--step-1); color: var(--ink); }
.rules--qualify { margin-block: 1rem 1.25rem; }
.track-photo { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin: 0 0 1.25rem; }

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-label { display: block; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.team-role { color: var(--teal); font-weight: 600; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow); }
.form-title { font-size: var(--step-2); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: grid; gap: 1.25rem; min-width: 0; margin: 0 0 1.5rem; padding: 0; border: 0; }
.form-group-title { padding: 0; margin-bottom: 0.25rem; font-family: var(--font-serif); font-size: var(--step-1); font-weight: 600; color: var(--ink); }
.field { display: grid; gap: 0.4rem; min-width: 0; margin: 0 0 1.25rem; padding: 0; border: 0; }
.form-grid > .field, .form-group > .field { margin-bottom: 0; }
.field label, .field legend { padding: 0; font-weight: 600; color: var(--ink); }
.req { color: var(--error); margin-left: 0.15rem; }
.optional { font-weight: 400; color: var(--muted); }
.hint { margin: 0; font-size: var(--step--1); color: var(--muted); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; font-size: var(--step--1); font-weight: 500; color: var(--error); }
.choice-cards { display: grid; gap: 0.75rem; }
@media (min-width: 720px) { .choice-cards { grid-template-columns: repeat(3, 1fr); } }
.choice-card { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.1rem; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); background: var(--white); font-weight: 600; color: var(--ink); cursor: pointer; }
.choice-card input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--teal); }
.choice-card:has(input:checked) { border-color: var(--teal); background: var(--teal-100); box-shadow: 0 0 0 1px var(--teal); }
.choice-card:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice-hint { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-block: 0.5rem; }
.privacy-note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); }
.form-alert { margin-bottom: 1.25rem; padding: 1rem 1.25rem; border: 1px solid #E3B3B3; border-radius: var(--radius-sm); background: #FBEAEA; color: #6B1F1F; }
.form-alert a { color: #6B1F1F; font-weight: 600; }
.form-success { padding: 2rem 1rem; text-align: center; }
.form-success:focus { outline: none; }
.choice-card:has(.illo) { flex-direction: column; align-items: center; text-align: center; }
.choice-card:has(.illo) input { order: -2; }
.choice-card .illo { order: -1; }

/* Long-form pages: privacy, terms, accessibility, house rules. */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1em; display: grid; gap: 0.4rem; }
.prose address { font-style: normal; }
.updated { color: var(--muted); font-size: var(--step--1); margin-top: 1rem; }
.legal-layout { display: grid; gap: 2.5rem; }
.legal-toc { align-self: start; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: var(--step--1); }
.legal-toc a { color: var(--navy); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .legal-layout { grid-template-columns: 15rem minmax(0, 1fr); }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* House rules detail list */
.rule-details { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.rule-detail { display: grid; gap: 1rem; align-items: start; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.rule-detail h3 { margin-bottom: 0.35rem; }
@media (min-width: 640px) { .rule-detail { grid-template-columns: 120px 1fr; gap: 1.5rem; } }

.link-button { padding: 0; border: 0; background: none; color: var(--teal); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-button:hover { color: var(--navy); }

/* Footer legal row */
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; }
.footer-link-button { padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 0.2em; cursor: pointer; }
.footer-link-button:hover { color: var(--gold); }

/* Cookie consent banner, email-updates banner, and chat launcher placement. */
.consent, .updates {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 10000;
  max-width: 38rem; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lift);
}
.consent { background: var(--navy); color: var(--on-dark); padding: 1.25rem 1.25rem 1.1rem; border: 1px solid rgba(200, 162, 75, 0.55); box-shadow: 0 18px 50px rgba(8, 27, 48, 0.45); }
.consent h2, .updates h2 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.consent h2 { color: #fff; }
.consent p { font-size: 0.95rem; margin-bottom: 0.9rem; }
.consent a { color: #fff; }
.consent a:hover { color: var(--gold); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-actions .btn { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.consent-options { margin: 0 0 1rem; padding: 0; border: 0; display: grid; gap: 0.6rem; }
.consent-options legend { font-weight: 600; margin-bottom: 0.35rem; color: #fff; }
.consent-option { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; }
.consent-option input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--gold); flex: none; }
.consent-option small { display: block; color: var(--on-dark-muted); }

.updates { background: var(--white); color: var(--text); border: 1px solid var(--line); padding: 1.25rem; }
.updates-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.updates-close:hover { background: var(--cream); }
.updates h2 { padding-right: 2.5rem; }
.updates p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.updates-form { display: grid; gap: 0.5rem; }
.updates-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.updates-row input { flex: 1 1 14rem; min-height: 48px; padding: 0.6rem 0.9rem; border: 1px solid var(--field-border); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: var(--white); }
.updates-row .btn { flex: 0 0 auto; }
.updates-error { color: var(--error); font-size: 0.9rem; font-weight: 600; margin: 0; }
.updates-fine { color: var(--muted); font-size: var(--step--1); margin: 0; }

.consent, .updates { transition: transform 0.25s ease, opacity 0.25s ease; }
.is-entering { transform: translateY(1rem); opacity: 0; }

/* Keep the chat launcher and banners clear of the sticky mobile call bar. */
@media (max-width: 899px) {
  .consent, .updates { bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100vh - 100px - env(safe-area-inset-bottom)); overflow-y: auto; }
  .fg-chat-launcher-wrap { bottom: calc(84px + env(safe-area-inset-bottom)); right: 16px; }
}
@media (min-width: 481px) and (max-width: 899px) {
  .fg-chat-window { bottom: calc(152px + env(safe-area-inset-bottom)); }
}
/* A banner covers the launcher's corner on small screens, so hide chat until the banner closes. */
@media (max-width: 719px) {
  body.has-banner #fg-chat-root { display: none; }
}
@media (min-width: 900px) {
  .consent, .updates { right: auto; left: 1.5rem; bottom: 1.5rem; }
}
