/* ==========================================================================
   SCM STEM — site styles
   Hand-written, dependency-free, mobile-first.
   Sections: tokens · base · layout · header/nav · hero · components · footer
   ========================================================================== */

/* ---------- Tokens ----------
   Palette: Stewarts Creek black, white, and red.
   Contrast checked against WCAG AA: red-600 on white 5.9:1, white on red-600
   5.9:1, red-300 on ink-900 7.9:1, text on white 12:1, text-soft on white 6.4:1. */
:root {
  /* Brand */
  --ink-900: #0b0b0d; /* footer, hero overlay */
  --ink-800: #16161a; /* CTA panel */
  --ink-700: #2b2b31; /* link hover, brand mark base */
  --red-600: #c8102e; /* primary: buttons, links, accents */
  --red-500: #e11d38; /* lighter red: hover, focus ring */
  --red-300: #ff8494; /* on-dark accent text */
  --red-050: #fdecee; /* soft tint: icon tiles, chips, active nav */

  /* Neutrals */
  --ink: #141417;
  --text: #34343a;
  --text-soft: #5f5f68;
  --line: #e4e4e8;
  --surface: #ffffff;
  --surface-alt: #f7f7f8;

  /* Type */
  --font: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11, 11, 13, 0.07),
    0 2px 8px rgba(11, 11, 13, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 11, 13, 0.1),
    0 2px 6px rgba(11, 11, 13, 0.06);
  --shadow-lg: 0 18px 44px rgba(11, 11, 13, 0.18);

  /* Rhythm */
  --section-y: clamp(2rem, 3.4vw, 3rem);
  --wrap: 1140px;
  --header-h: 92px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.05rem, 1.4rem + 3.1vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem);
}
h3 {
  font-size: clamp(1.14rem, 1.05rem + 0.4vw, 1.3rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 0.95em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--red-600);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--ink-700);
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}
li + li {
  margin-top: 0.4em;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

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

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip:focus {
  left: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}

.section {
  padding-block: var(--section-y);
}
.section--tight {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.section--alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}
/* A CTA band directly after a content section would otherwise stack both
   paddings into one oversized gap. */
.section + .section--tight {
  padding-top: clamp(0.4rem, 1.2vw, 0.85rem);
}

.stack > * + * {
  margin-top: 0.85em;
}

/* Section headers */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.35rem, 2.5vw, 1.9rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.6;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand__mark {
  width: clamp(40px, 5.5vw, 56px);
  height: auto;
  flex: 0 0 auto;
}
/* The print lockup rebuilt: the logo's STEM letters over the school name in
   live type, so the second line stays legible at any size. */
.brand__lockup {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.brand__stem {
  height: clamp(30px, 5.2vw, 50px);
  width: auto;
  display: block;
}
.brand__sub {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1.5px solid var(--ink);
  font-size: clamp(0.52rem, 1.15vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
  line-height: 1.1;
}
/* Footer keeps the mark on a dark ground, so it gets a light plate */
.site-footer .brand__mark {
  width: 52px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 3px;
}
.nav-toggle__bars span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav {
  display: none;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav__link:hover {
  background: var(--surface-alt);
  color: var(--ink);
}
.nav__link[aria-current="page"] {
  color: var(--red-600);
  background: var(--red-050);
}
.nav__cta {
  margin-left: 0.4rem;
}

/* Mobile panel — scoped so desktop nav is never affected */
@media (max-width: 899px) {
  .nav[data-open="true"] {
    display: block;
    position: absolute;
    inset: var(--header-h) 0 auto;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.6rem clamp(1.15rem, 4vw, 2rem) 1.1rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .nav[data-open="true"] .nav__link {
    padding: 0.75rem 0.6rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav[data-open="true"] .nav__cta {
    margin: 0.5rem 0 0;
  }
  .nav[data-open="true"] .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: block;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.3);
}
.btn--primary:hover {
  background: var(--red-500);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.36);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--red-600);
  color: var(--red-600);
  background: var(--surface);
}

.btn--onDark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--onDark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn--sm {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.hero .btn-row {
  margin-top: 1rem;
}

/* Text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--red-600);
}
.arrow-link::after {
  content: "→";
  transition: transform 0.18s ease;
}
.arrow-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--ink-900);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  /* The stock hero photo is strongly blue; desaturating it keeps the school's
     red from fighting the image. Remove this line if you swap in your own photo. */
  filter: grayscale(55%) contrast(106%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      105deg,
      rgba(8, 8, 10, 0.94) 0%,
      rgba(11, 11, 13, 0.87) 42%,
      rgba(14, 12, 13, 0.6) 72%,
      rgba(80, 10, 20, 0.42) 100%
    ),
    linear-gradient(to top, rgba(8, 8, 10, 0.86), transparent 55%);
}
.hero__inner {
  padding-block: clamp(1.75rem, 3.6vw, 2.6rem);
}
.hero__content {
  max-width: 46rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 0.55rem;
  text-wrap: balance;
}
.hero__eyebrow {
  color: var(--red-300);
}
.hero__lead {
  font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
}

/* Compact hero for interior pages */
.hero--page .hero__inner {
  padding-block: clamp(1.6rem, 3vw, 2.25rem);
}
.hero--page h1 {
  margin-bottom: 0.65rem;
}

/* Stat strip under hero */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(1.4rem, 3vw, 1.9rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__stat {
  min-width: 8rem;
}
.hero__stat dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__stat dd {
  margin: 0.3rem 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.15rem);
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card p {
  color: var(--text-soft);
}
/* Only trailing links/actions get pushed to the card's bottom edge, so cards of
   unequal length still read top-down instead of stranding body copy. */
.card > .arrow-link:last-child,
.card > .card__foot:last-child {
  margin-top: auto;
  padding-top: 0.35rem;
}

.card--link {
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d9d9df;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-050);
  color: var(--red-600);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 auto;
}
.card__icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Numbered objective cards */
.objectives {
  counter-reset: obj;
}
.objective {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.objective::before {
  counter-increment: obj;
  content: counter(obj, decimal-leading-zero);
  position: absolute;
  top: 0.35rem;
  right: 0.9rem;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red-050);
  line-height: 1;
  pointer-events: none;
}
.objective h3 {
  position: relative;
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
}
.objective p {
  position: relative;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
}

/* Split content + media */
.split {
  display: grid;
  gap: clamp(1.35rem, 2.8vw, 2.25rem);
  align-items: start;
}
.split--center {
  align-items: center;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-text {
    grid-template-columns: 1.15fr 0.85fr;
  }
  /* Apply page: give the embedded form ~30% more width than a plain split. */
  .split--form {
    grid-template-columns: 2.4fr 1fr;
  }
}

/* Chips / skill pills */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips li {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--red-050);
  border: 1px solid #f8d6db;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  margin-top: 0.7rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--red-050);
  color: var(--red-600);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Definition-style rows (grading, policies) */
.rows {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.rows__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1.1rem;
}
.rows__item + .rows__item {
  border-top: 1px solid var(--line);
}
.rows__label {
  font-weight: 600;
  color: var(--ink);
}
.rows__value {
  font-weight: 800;
  color: var(--red-600);
  font-variant-numeric: tabular-nums;
}

/* Inside a card, the boxed treatment would be a box within a box. */
.rows--flush {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.rows--flush .rows__item {
  padding-inline: 0;
  /* Keep the percentage on the label's first line even in a narrow card. */
  flex-wrap: nowrap;
  gap: 0.75rem;
}
.rows--flush .rows__label {
  flex: 1 1 auto;
}
.rows--flush .rows__value {
  flex: 0 0 auto;
}
.rows--flush .rows__item:first-child {
  padding-top: 0;
}

/* Link list (student resources) */
.linklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.linklist li {
  margin: 0;
}
.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
.linklist a:hover {
  border-color: var(--red-600);
  transform: translateX(2px);
  box-shadow: var(--shadow-md);
}
.linklist a::after {
  content: "↗";
  color: var(--red-600);
  font-weight: 700;
}
.linklist a[data-internal]::after {
  content: "→";
}

/* FAQ accordion (native details) */
.faq {
  display: grid;
  gap: 0.6rem;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details[open] {
  border-color: #d9d9df;
  box-shadow: var(--shadow-md);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.09rem);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--red-050);
  color: var(--red-600);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.faq summary:hover {
  color: var(--red-600);
}
.faq__body {
  padding: 0 clamp(1rem, 2.2vw, 1.35rem) 1.1rem;
  color: var(--text-soft);
}

/* Video */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Framed photo */
.photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Matches the hero's treatment so the blue stock photo doesn't clash with the
     school red. Drop this line once real classroom photos go in. */
  filter: grayscale(45%) contrast(104%);
}

/* Embedded form (Cognito) */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}
.form-panel iframe {
  width: 100% !important;
  border: 0;
}

/* Seamless (inline) Cognito embed.
   The form's theme in Cognito is set up for a DARK background — its labels are
   white — so this panel is dark to match. Everything inside is then styled by
   Cognito itself rather than patched over here. If the form's theme is ever
   switched to a light one in the Cognito account, drop the --seamless class
   from apply.html and it will sit on a white panel like the rest of the page. */
.form-panel--seamless {
  background: var(--ink-800);
  border-color: rgba(255, 255, 255, 0.14);
}
.form-panel--seamless p {
  color: rgba(255, 255, 255, 0.85);
}
.form-panel--seamless a {
  color: var(--red-300);
}
/* Give the form's navigation buttons a visible edge on the dark ground. */
.form-panel--seamless .cog-button {
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: var(--radius-pill) !important;
}

/* Cognito form embeds.
   Height is deliberately NOT set here: cognitoforms.com/f/iframe.js auto-fits
   the form by writing the iframe's height ATTRIBUTE, and a CSS height would
   override it and reintroduce an inner scrollbar. The height attributes in the
   markup (sized from each form's real rendered height) are the no-JS fallback. */
.form-embed {
  display: block;
  width: 100%;
  border: 0;
}
.form-fallback {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

/* Callout / CTA band */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -8rem;
  top: -12rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(225, 29, 56, 0.5),
    transparent 65%
  );
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .cta__inner {
    grid-template-columns: 1.4fr auto;
  }
}
.cta h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
}

/* Support callout — compact banner meant to sit high on the page */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  background: var(--red-050);
  border: 1px solid #f6cdd3;
  border-left: 5px solid var(--red-600);
  border-radius: var(--radius);
  padding: clamp(0.9rem, 2vw, 1.25rem) clamp(1rem, 2.4vw, 1.5rem);
  box-shadow: var(--shadow-sm);
}
.callout__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--red-600);
  flex: 0 0 auto;
  border: 1px solid #f6cdd3;
}
.callout__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.callout__body {
  flex: 1 1 18rem;
  min-width: 0;
}
.callout__body h2,
.callout__body h3 {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  margin: 0 0 0.15rem;
}
.callout__body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
}
.callout .btn {
  flex: 0 0 auto;
}

/* Info panel (address block) */
.info {
  display: grid;
  gap: 1rem;
}
.info__item dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}
.info__item dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}
.info__item a {
  font-weight: 600;
}

/* Note / aside */
.note {
  border-left: 3px solid var(--red-500);
  background: var(--red-050);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-700);
  font-size: 0.97rem;
}
.note strong {
  color: var(--ink-800);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(2rem, 4vw, 2.75rem) 1.35rem;
  font-size: 0.95rem;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
}
.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  }
}
.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.9rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li + li {
  margin-top: 0.5rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-col p {
  margin: 0 0 0.4em;
  line-height: 1.6;
}
.footer-brand .brand__mark {
  width: 42px;
  height: 42px;
}
.footer-brand__name {
  color: #fff;
  font-weight: 800;
  font-size: 1.12rem;
  margin: 0.9rem 0 0.45rem;
  letter-spacing: -0.01em;
}
.footer-bottom {
  margin-top: clamp(1.35rem, 2.5vw, 1.9rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Utilities ---------- */
.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .btn-row,
  .cta {
    display: none !important;
  }
  body {
    color: #000;
  }
  .hero {
    background: none;
    color: #000;
  }
  .hero::after,
  .hero__media {
    display: none;
  }
  .hero h1,
  .hero__lead {
    color: #000;
  }
  .card,
  .rows,
  .faq details {
    box-shadow: none;
    break-inside: avoid;
  }
  .faq details {
    open: true;
  }
}
