/* ==========================================================================
   Grewal Place Community Living
   Palette drawn from the logo: spruce (roof shelter), sandstone (roofline),
   sea glass (Nanaimo waterfront).
   ========================================================================== */

:root {
  --spruce: #1E4D47;
  --spruce-700: #173D38;
  --spruce-900: #0F2A27;
  --sandstone: #E0B25B;
  --sandstone-300: #F0D49A;
  --seaglass: #8FC1B5;
  --tide: #E8F0ED;
  --paper: #FBFCFA;
  --white: #FFFFFF;
  --ink: #1B2826;
  --ink-soft: #44524F;
  --line: #D5E0DC;
  --error: #B42318;

  --focus-ring: var(--spruce);

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;

  --radius: 6px;
  --container: 72rem;
  --header-h: 5.5rem;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--spruce);
  line-height: 1.18;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); }

p { margin: 0 0 var(--space-4); }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }

a {
  color: var(--spruce);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--sandstone);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  --focus-ring: var(--sandstone);
  position: relative;
  z-index: 40;
  background: var(--spruce);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 3.25rem; height: 3.25rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  letter-spacing: 0.01em;
}
.brand-tag {
  margin-top: 0.3rem;
  color: var(--sandstone-300);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li + li { border-left: 1px solid rgba(255, 255, 255, 0.3); }
.site-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--white);
  font-size: 1.0625rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.site-nav a:hover { color: var(--sandstone-300); }
.site-nav a[aria-current="page"] {
  color: var(--sandstone-300);
  border-bottom-color: var(--sandstone);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 66rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--spruce-700);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(15, 42, 39, 0.25);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-2) clamp(1rem, 4vw, 2rem) var(--space-4);
  }
  .site-nav li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav a { display: block; padding: 0.875rem 0; font-size: 1.125rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: transparent; }
  .site-nav a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 0.5rem; height: 0.5rem;
    margin-right: 0.625rem;
    vertical-align: middle;
    background: var(--sandstone);
    border-radius: 50%;
  }
}

@media (max-width: 26rem) {
  .brand-mark { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.375rem; }
  .brand-tag { font-size: 0.8125rem; }
  .nav-toggle { padding-inline: 0.75rem; }
  .nav-toggle span {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

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

.hero {
  --focus-ring: var(--sandstone);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 82vh, 46rem);
  color: var(--white);
  background: var(--spruce-900);
  border-bottom: 6px solid var(--sandstone);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 1100ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.hero-track.no-transition { transition: none; }
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 42, 39, 0.92) 0%, rgba(15, 42, 39, 0.55) 38%, rgba(15, 42, 39, 0) 70%),
    linear-gradient(to right, rgba(15, 42, 39, 0.45), rgba(15, 42, 39, 0) 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-7) var(--space-5);
}

/* Messages are stacked in one grid cell so the block keeps the height of the longest */
.hero-statements {
  display: grid;
  margin-bottom: var(--space-4);
}
.hero-statement {
  grid-area: 1 / 1;
  align-self: end;
  max-width: 17ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  line-height: 1.08;
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
  visibility: hidden;
}
.hero-statement.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 800ms var(--ease-out) 350ms, transform 800ms var(--ease-out) 350ms;
}
.hero-sub {
  max-width: 40rem;
  margin-bottom: var(--space-5);
  font-size: 1.25rem;
  color: var(--tide);
}

/* Carousel controls */
.hero-controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.hero-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--white);
  background: rgba(15, 42, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.hero-btn:hover { background: rgba(15, 42, 39, 0.8); border-color: var(--white); }
.hero-btn svg { width: 1.25rem; height: 1.25rem; }
.hero-pause .icon-play,
.hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }
.hero-pause { margin-right: var(--space-2); }

.hero-dots { display: flex; align-items: center; }
.hero-dot {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hero-dot span {
  display: block;
  width: 1.5rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: background-color 200ms ease, width 200ms ease;
}
.hero-dot:hover span { background: rgba(255, 255, 255, 0.85); }
.hero-dot[aria-current="true"] span { background: var(--sandstone); }

@media (prefers-reduced-motion: no-preference) {
  .hero-sub,
  .hero .btn-row {
    animation: rise 900ms var(--ease-out) both;
  }
  .hero-sub { animation-delay: 150ms; }
  .hero .btn-row { animation-delay: 300ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Page banner ---------- */

.page-banner {
  position: relative;
  height: clamp(13rem, 30vw, 25rem);
  background: var(--spruce-900);
  border-bottom: 6px solid var(--sandstone);
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.btn-primary { background: var(--spruce); color: var(--white); }
.btn-primary:hover { background: var(--spruce-700); }

.btn-gold { background: var(--sandstone); color: var(--ink); }
.btn-gold:hover { background: var(--sandstone-300); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.8); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline { border-color: var(--spruce); color: var(--spruce); }
.btn-outline:hover { background: var(--tide); }

.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- Sections and layout ---------- */

.section { padding-block: var(--space-7); }
.section-tight { padding-block: var(--space-6); }
.section-tide { background: var(--tide); }

.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: var(--space-6); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-5); }
.prose ul { padding-left: 1.25rem; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: var(--space-2); }
.prose li::marker { color: var(--spruce); }

.with-sidebar {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 60rem) {
  .with-sidebar {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: var(--space-7);
    align-items: start;
  }
  .with-sidebar.sidebar-left { grid-template-columns: 19rem minmax(0, 1fr); }
  .sidebar { position: sticky; top: var(--space-5); }
}

.rule {
  width: 5rem;
  height: 3px;
  margin: var(--space-5) 0;
  background: var(--sandstone);
  border: 0;
}

/* Sidebar */

.sidebar { display: grid; gap: var(--space-3); }
.sidebar .btn { width: 100%; justify-content: space-between; }
.sidebar .btn:nth-of-type(2) { background: var(--spruce-700); }
.sidebar .btn:nth-of-type(3) { background: var(--ink); }
.sidebar .btn:nth-of-type(n+2):hover { background: var(--spruce); }

.side-card {
  padding: var(--space-4);
  background: var(--tide);
  border-left: 4px solid var(--seaglass);
  border-radius: var(--radius);
}
.side-card h2,
.side-card h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.side-card p { margin-bottom: var(--space-2); font-size: 1rem; }
.side-card p:last-child { margin-bottom: 0; }

.side-photo {
  margin: 0;
}
.side-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Who we support (home intro) */

.support-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.support-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.support-list li:last-child { border-bottom: 0; }
.support-list svg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; color: var(--spruce); margin-top: 0.15rem; }
.support-list strong { display: block; font-size: 1.125rem; color: var(--spruce); }
.support-list span { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Programs ---------- */

.program-grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  margin-top: var(--space-5);
}
@media (min-width: 48rem) { .program-grid { grid-template-columns: repeat(3, 1fr); } }

.program-teaser img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}
.program-teaser p { color: var(--ink-soft); }
.program-teaser .who {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: var(--spruce);
  font-weight: 700;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  font-weight: 700;
}
.text-link svg { width: 1.125rem; height: 1.125rem; }

.program {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}
.program:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 52rem) {
  .program { grid-template-columns: 22rem minmax(0, 1fr); gap: var(--space-6); align-items: start; }
}
.program img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}
.program-meta li {
  padding: 0.25rem 0.75rem;
  background: var(--tide);
  color: var(--spruce-700);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
}
.program-columns {
  display: grid;
  gap: var(--space-2) var(--space-5);
}
@media (min-width: 40rem) { .program-columns { grid-template-columns: 1fr 1fr; } }
.program-columns h3 { font-size: 1.1875rem; margin-top: 0; }
.program-columns ul { padding-left: 1.25rem; margin: 0 0 var(--space-4); }
.program-columns li { margin-bottom: var(--space-2); }

/* Referral steps: a real sequence, so numbered */

.steps {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step;
  padding-top: var(--space-3);
  border-top: 3px solid var(--spruce);
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--sandstone);
  -webkit-text-stroke: 0.5px var(--spruce);
}
.steps h3 { font-size: 1.1875rem; margin-bottom: var(--space-2); }
.steps p { font-size: 1rem; color: var(--ink-soft); margin: 0; }

/* ---------- Testimonial band ---------- */

.quote-band {
  --focus-ring: var(--sandstone);
  position: relative;
  color: var(--white);
  background: var(--spruce-900);
  overflow: hidden;
}
.quote-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 42, 39, 0.9) 0%, rgba(15, 42, 39, 0.75) 50%, rgba(15, 42, 39, 0.35) 100%);
}
.quote-band .container {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
}
.quote-band figure { max-width: 38rem; margin: 0; }
.quote-mark {
  display: block;
  height: 3.5rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--sandstone);
}
.quote-band blockquote {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem);
  line-height: 1.4;
}
.quote-band blockquote p { margin: 0; }
.quote-band figcaption { font-size: 1.0625rem; color: var(--tide); }
.quote-band figcaption strong { color: var(--white); }
.quote-band .quote-logo { width: 4rem; height: 4rem; margin-top: var(--space-5); }

/* ---------- Call-to-action pair ---------- */

.cta-pair {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 48rem) { .cta-pair { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.cta-pair > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-pair p { color: var(--ink-soft); flex-grow: 1; }

/* ---------- Values list ---------- */

.values {
  display: grid;
  gap: var(--space-4) var(--space-5);
  margin: var(--space-4) 0 var(--space-5);
}
@media (min-width: 40rem) { .values { grid-template-columns: 1fr 1fr; } }
.values div { padding-left: var(--space-3); border-left: 3px solid var(--seaglass); }
.values dt { font-weight: 700; color: var(--spruce); font-size: 1.125rem; }
.values dd { margin: var(--space-1) 0 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Placeholder note (content the owner must confirm) ---------- */

.placeholder-note {
  margin: var(--space-5) 0;
  padding: var(--space-4);
  background: #FFF8E8;
  border: 2px dashed var(--sandstone);
  border-radius: var(--radius);
}
.placeholder-note strong { color: #7A5410; }
.placeholder-note p:last-child { margin-bottom: 0; }

/* ---------- Careers ---------- */

.jobs { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.job {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.job summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-4);
  cursor: pointer;
  list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { margin: 0; font-size: 1.375rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.job-tags li {
  padding: 0.2rem 0.7rem;
  background: var(--tide);
  color: var(--spruce-700);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
}
.job-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--spruce);
  font-weight: 700;
  font-size: 1rem;
}
.job-toggle svg { width: 1.25rem; height: 1.25rem; transition: transform 200ms ease; }
.job[open] .job-toggle svg { transform: rotate(180deg); }
.job[open] .job-toggle .label-closed,
.job:not([open]) .job-toggle .label-open { display: none; }
.job-body {
  padding: 0 var(--space-4) var(--space-4);
  border-top: 1px solid var(--line);
}
.job-body > p:first-child { margin-top: var(--space-4); }

/* ---------- Contact ---------- */

.contact-details { font-size: 1.1875rem; }
.contact-details h2 { font-size: 1.375rem; margin-bottom: var(--space-2); }
.contact-details p { margin-bottom: var(--space-2); }
.contact-details a { font-weight: 700; }

.form { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: var(--space-1); align-content: start; }
.field p { margin: 0; }
.field label { font-weight: 700; }
.field .req { color: var(--error); }
.field .hint { font-size: 0.9375rem; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid #9AABA6;
  border-radius: var(--radius);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input[type="file"] { padding: 0.5rem; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--spruce); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error {
  display: flex;
  gap: 0.375rem;
  align-items: flex-start;
  color: var(--error);
  font-size: 1rem;
  font-weight: 700;
}
.field-error:empty { display: none; }
.field-error svg { width: 1.125rem; height: 1.125rem; margin-top: 0.2rem; flex-shrink: 0; }

.error-summary {
  padding: var(--space-4);
  border: 3px solid var(--error);
  border-radius: var(--radius);
  background: #FEF3F2;
}
.error-summary h2 { font-size: 1.25rem; color: var(--error); margin-bottom: var(--space-2); }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--error); font-weight: 700; }

.honeypot { display: none !important; }
.form-footnote { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
  --focus-ring: var(--sandstone);
  background: var(--spruce-900);
  color: var(--tide);
  font-size: 1rem;
}
.site-footer a { color: var(--white); }
.footer-grid {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-7) var(--space-6);
}
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sandstone-300);
  margin-bottom: var(--space-3);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--space-2); }
.footer-grid li a { display: inline-block; padding-block: 0.125rem; }
.footer-grid .brand { margin-bottom: var(--space-3); }
.footer-grid p { margin-bottom: var(--space-2); }
.footer-bottom {
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
  color: #B9CCC7;
}
.footer-bottom p { margin: 0 0 var(--space-2); max-width: 70ch; }
.footer-bottom p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
