/* Ramm Financial — design system
   Gold on black, drawn from the brand mark. Space Grotesk display + Inter text. */

:root {
  /* Gold on black, taken from the Ramm Financial mark. */
  --bg: hsl(40 8% 4%);
  --bg-deep: hsl(0 0% 0%);
  --fg: hsl(45 25% 95%);
  --muted: hsl(43 10% 13%);
  --muted-fg: hsl(43 12% 64%);
  --card: hsl(43 10% 8%);
  --card-hi: hsl(43 12% 11%);
  --border: hsl(43 22% 17%);
  --border-hi: hsl(45 60% 42%);
  --primary: hsl(45 74% 52%);       /* #D4AF37 */
  --primary-fg: hsl(40 20% 5%);     /* dark text on gold */
  --accent: hsl(45 85% 68%);        /* #F2D77A */

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  --radius: 12px;
  --shell: 1180px;
  --gap: 24px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; }
p  { margin: 0 0 1rem; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--primary-fg);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 16px; }

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

.muted { color: var(--muted-fg); }
.lead { color: var(--muted-fg); font-size: 1.05rem; max-width: 62ch; }
.fine { color: hsl(43 10% 46%); font-size: 0.8rem; max-width: 70ch; margin-top: 18px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 14px;
}
.accent { color: var(--primary); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  padding: 12px 22px; border-radius: 9px;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, transform .18s, color .18s;
}
.btn-sm { padding: 9px 17px; font-size: 0.85rem; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: hsl(45 80% 61%); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-hi); background: hsl(43 14% 13%); }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.is-center { justify-content: center; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(40 8% 4% / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-stuck { border-bottom-color: var(--border); background: hsl(0 0% 0% / 0.92); }

.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
/* Full lockup artwork (mark + wordmark in one file). */
.brand-lockup { height: 48px; width: auto; flex: none; object-fit: contain; }
.footer-brand .brand-lockup { height: 58px; }
@media (max-width: 480px) { .brand-lockup { height: 38px; } }
.brand-word { display: grid; line-height: 1; }
/* Italic weight matches the wordmark in the brand lockup. */
.brand-name { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 1.02rem; letter-spacing: 0.05em; color: var(--primary); }
.brand-sub { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 0.58rem; letter-spacing: 0.3em; color: hsl(45 55% 58%); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav-link {
  position: relative; text-decoration: none; font-size: 0.87rem; font-weight: 500;
  color: var(--muted-fg); padding: 6px 0; transition: color .18s;
}
.nav-link:hover { color: var(--fg); }
.nav-link.is-active { color: var(--fg); }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}

/* ---- dropdown ---- */

.nav-item.has-menu { position: relative; display: inline-flex; align-items: center; gap: 3px; }
.nav-caret {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 6px 2px; margin: 0;
  color: var(--muted-fg); cursor: pointer; border-radius: 5px;
  transition: color .18s;
}
.nav-caret:hover { color: var(--fg); }
.chev { width: 11px; height: 11px; flex: none; transition: transform .2s; }
.nav-item.has-menu.is-open .chev { transform: rotate(180deg); }
.nav-item.has-menu.is-open .nav-link,
.nav-item.has-menu.is-open .nav-caret { color: var(--fg); }

.nav-menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px; z-index: 60;
  min-width: 232px; padding: 6px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 18px 40px hsl(0 0% 0% / .55);
  display: grid; gap: 1px;
}
.nav-menu[hidden] { display: none; }
.nav-menu a {
  text-decoration: none; font-size: 0.86rem; font-weight: 500;
  color: var(--muted-fg); padding: 9px 12px; border-radius: 7px;
  transition: color .15s, background-color .15s;
}
.nav-menu a:hover { color: var(--fg); background: hsl(45 74% 52% / .12); }
.nav-menu a:first-child { color: var(--primary); font-weight: 600; }

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

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 9px;
  background: transparent; border: 1px solid var(--border);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.nav-toggle .bar { display: block; width: 16px; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--border); background: var(--bg-deep); padding-block: 14px 22px; }
.mobile-nav .shell { display: grid; gap: 4px; }
.mobile-nav a { text-decoration: none; padding: 11px 4px; color: var(--muted-fg); font-weight: 500; border-radius: 8px; }
.mobile-nav a:hover { color: var(--fg); background: var(--muted); }
.mobile-nav .btn { margin-top: 12px; justify-content: center; }

.mobile-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px; color: var(--muted-fg); font-weight: 500;
  cursor: pointer; list-style: none; border-radius: 8px;
}
.mobile-group > summary::-webkit-details-marker { display: none; }
.mobile-group[open] > summary { color: var(--fg); }
.mobile-group[open] > summary .chev { transform: rotate(180deg); }
.mobile-group > a { padding-left: 18px; font-size: .92rem; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(46% 52% at 22% 34%, hsl(45 74% 52% / .14), transparent 68%),
    radial-gradient(38% 44% at 78% 18%, hsl(45 85% 68% / .09), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead { max-width: 54ch; }

/* Pages with no side visual: single column, wider measure. */
.hero-inner.is-solo { grid-template-columns: 1fr; }
.hero-inner.is-solo h1 { max-width: 20ch; }
.hero-inner.is-solo .lead { max-width: 64ch; }

.hero-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 20% 0%, hsl(45 70% 42% / .26), transparent 60%),
    linear-gradient(160deg, hsl(43 14% 13%), hsl(40 10% 4%));
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Photographic hero: sink the edges into the black page so it reads as one surface. */
.hero-visual.has-photo { margin: 0; aspect-ratio: 16 / 11; background: var(--bg-deep); }
.hero-visual.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual.has-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, hsl(40 8% 4% / .78) 0%, transparent 46%),
    radial-gradient(120% 100% at 50% 50%, transparent 52%, hsl(40 8% 4% / .55) 100%);
}

.stat-strip {
  border-block: 1px solid var(--border);
  background: hsl(43 10% 9%);
}
.stat-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stat-strip .stat {
  padding: 22px 20px; display: flex; align-items: center; gap: 11px;
  font-size: 0.86rem; color: var(--muted-fg);
}
.stat-strip .stat + .stat { border-left: 1px solid var(--border); }
.stat-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- sections ---------- */

section { padding-block: clamp(56px, 7vw, 92px); }
section.tight { padding-block: clamp(40px, 5vw, 64px); }
.alt { background: hsl(43 9% 6.5%); border-block: 1px solid var(--border); }

.section-head { margin-bottom: 44px; max-width: 70ch; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lead { margin-inline: auto; }

.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); }

/* ---------- cards ---------- */

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s, background-color .25s, transform .25s;
}
.card:hover { border-color: hsl(45 74% 52% / .38); background: var(--card-hi); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted-fg); font-size: 0.92rem; }
.card .card-foot { margin-top: auto; padding-top: 18px; }
.card-link { color: var(--primary); text-decoration: none; font-size: 0.87rem; font-weight: 600; display: inline-flex; gap: 7px; align-items: center; }
.card-link:hover { text-decoration: underline; }

.card-icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center; flex: none;
  background: hsl(45 74% 52% / .13); color: var(--primary);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pill {
  font-size: 0.74rem; font-weight: 500; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  background: hsl(43 12% 14%); border: 1px solid var(--border); color: var(--muted-fg);
}

/* program detail cards */
.program {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 30px; scroll-margin-top: 96px;
}
.program-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.program-head h3 { font-size: 1.5rem; margin: 0; }
.program-kicker {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; margin: 24px 0;
}
.spec { background: hsl(43 10% 9%); padding: 16px 18px; }
.spec dt {
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 6px;
}
.spec dd { margin: 0; font-size: 0.98rem; font-weight: 600; }

/* numbered steps */
.step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; height: 100%; }
.step-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: hsl(45 74% 52% / .32); line-height: 1; margin-bottom: 10px;
}
.step-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  background: hsl(45 85% 68% / .10); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted-fg); font-size: 0.9rem; margin: 0; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted-fg); font-size: 0.94rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: hsl(45 85% 68% / .15);
  box-shadow: inset 0 0 0 1px hsl(45 85% 68% / .45);
}
.checklist li::after {
  content: ''; position: absolute; left: 5px; top: 12px;
  width: 6px; height: 3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* insights */
.post { display: flex; flex-direction: column; }
.post-tag {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.post h3 { font-size: 1.1rem; }
.post-meta { display: flex; gap: 14px; font-size: 0.78rem; color: hsl(43 10% 46%); margin-top: 14px; }

/* accordion */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--fg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted-fg); font-size: 0.93rem; }

/* ---------- forms ---------- */

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: clamp(22px, 3.5vw, 36px); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-fg);
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.94rem; color: var(--fg);
  background: hsl(43 10% 6%); border: 1px solid var(--border);
  border-radius: 9px; padding: 11px 13px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px hsl(45 74% 52% / .22);
}
.field input::placeholder, .field textarea::placeholder { color: hsl(43 10% 40%); }
.field .prefix-wrap { position: relative; }
.field .prefix-wrap span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-fg); font-size: 0.94rem; }
.field .prefix-wrap input { padding-left: 28px; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 0.87rem; color: var(--muted-fg); }
.check input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: hsl(45 74% 52%); }

/* TCPA consent block — deliberately visible, not buried in fine print. */
.consent {
  margin-top: 22px; padding: 15px 16px;
  background: hsl(43 10% 6%); border: 1px solid var(--border); border-radius: 10px;
}
.consent .check { align-items: flex-start; font-size: 0.82rem; line-height: 1.55; margin: 0; }
.consent a { color: var(--primary); }

/* Legal / long-form pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.prose h3 { font-size: 1rem; margin: 22px 0 6px; color: var(--fg); }
.prose p { color: var(--muted-fg); font-size: 0.95rem; }
.prose a { color: var(--primary); }
.prose > h2:first-child { margin-top: 0; }

.form-status { margin-top: 16px; font-size: 0.9rem; padding: 12px 14px; border-radius: 9px; display: none; }
.form-status.is-ok { display: block; background: hsl(160 60% 45% / .12); border: 1px solid hsl(160 60% 45% / .4); color: hsl(160 60% 70%); }
.form-status.is-err { display: block; background: hsl(0 80% 55% / .12); border: 1px solid hsl(0 80% 55% / .4); color: hsl(0 80% 76%); }

/* contact details */
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item dt {
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 6px;
}
.contact-item dd { margin: 0; font-size: 1rem; }
.contact-item dd a { color: var(--fg); text-decoration: none; }
.contact-item dd a:hover { color: var(--primary); }

/* scheduler */
.sched { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 18px; }
.slot {
  font: inherit; font-size: 0.88rem; font-weight: 600; text-align: center;
  padding: 11px 8px; border-radius: 9px; cursor: pointer;
  background: hsl(43 10% 6%); border: 1px solid var(--border); color: var(--fg);
  transition: border-color .15s, background-color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--primary); background: hsl(45 74% 52% / .12); }
.slot[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.slot:disabled { opacity: .32; cursor: not-allowed; }
.day-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.day-tab {
  font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  padding: 9px 14px; border-radius: 9px; line-height: 1.25; text-align: center;
  background: transparent; border: 1px solid var(--border); color: var(--muted-fg);
}
.day-tab small { display: block; font-weight: 500; font-size: 0.7rem; opacity: .8; }
.day-tab[aria-pressed="true"] { border-color: var(--primary); color: var(--fg); background: hsl(45 74% 52% / .13); }

/* ---------- band + footer ---------- */

.band { background: linear-gradient(180deg, hsl(43 9% 6.5%), hsl(0 0% 0%)); border-top: 1px solid var(--border); }
.band-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.band-inner .lead { margin-inline: auto; }
.band-inner .fine { margin-inline: auto; }

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-head {
  font-size: 0.68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-fg); margin-bottom: 16px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-style: normal; font-size: 0.89rem; color: var(--muted-fg); }
.footer-list a { color: var(--muted-fg); text-decoration: none; }
.footer-list a:hover { color: var(--primary); }
.footer-list .pt-2 { margin-top: 10px; }
.footer-legal { border-top: 1px solid var(--border); padding-block: 24px 32px; }
.footer-legal p { font-size: 0.76rem; color: hsl(43 10% 42%); max-width: 92ch; }
.footer-legal .copyright { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.footer-legal .legal-links a { color: hsl(43 12% 58%); text-decoration: none; }
.footer-legal .legal-links a:hover { color: var(--primary); }

/* ---------- reveal animation ---------- */

/* Content is visible by default. Only hidden once JS confirms it is running and
   can animate it back in — a stalled observer must never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

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

@media (max-width: 1020px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .sched { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .shell { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(odd) { border-left: 0; }
  .stat-strip .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .program { padding: 24px 20px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}
