:root {
  --ink: #111827;
  --ink-soft: #243244;
  --muted: #667085;
  --white: #ffffff;
  --paper: #fbfaf6;
  --paper-strong: #f2efe5;
  --line: #dadfd8;
  --line-dark: #bbc7c0;
  --navy: #10263d;
  --blue: #0d6fa7;
  --aqua: #dff4f1;
  --green: #2f6d55;
  --green-soft: #e8f3ed;
  --coral: #c83f3d;
  --coral-dark: #a93433;
  --gold: #c99735;
  --gold-soft: #f4e7bf;
  --shadow-sm: 0 10px 24px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 20px 48px rgba(17, 24, 39, 0.12);
  --shadow-lg: 0 30px 72px rgba(17, 24, 39, 0.16);
  --radius: 8px;
  --max: 1180px;
  --modal-vw: 100vw;
  --modal-vh: 100dvh;
  --modal-left: 0px;
  --modal-top: 0px;
  --modal-close-size: 44px;
  --modal-close-gap-block: max(12px, env(safe-area-inset-top));
  --modal-close-gap-inline: max(clamp(16px, 3vw, 42px), env(safe-area-inset-right));
  --pattern-page:
    radial-gradient(circle at 18px 18px, rgba(13, 111, 167, 0.05) 0 2px, transparent 2px 100%),
    var(--paper);
  --pattern-hero:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.72) 0 72px, transparent 73px),
    url("assets/site-media/hero-schoolyard-doodles.svg"),
    linear-gradient(180deg, rgba(225, 249, 244, 0.98) 0 52%, rgba(244, 250, 222, 0.96) 100%);
  --pattern-hero-mobile:
    radial-gradient(circle at 74% 14%, rgba(255, 255, 255, 0.68) 0 46px, transparent 47px),
    url("assets/site-media/hero-schoolyard-doodles.svg"),
    linear-gradient(180deg, rgba(225, 249, 244, 0.98) 0 52%, rgba(244, 250, 222, 0.96) 100%);
  --pattern-notebook:
    linear-gradient(90deg, rgba(200, 63, 61, 0.18) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 29px, rgba(13, 111, 167, 0.1) 29px 30px),
    linear-gradient(90deg, rgba(244, 231, 191, 0.78), rgba(251, 250, 246, 0.98));
  --pattern-playroom:
    radial-gradient(circle at 12px 12px, rgba(47, 109, 85, 0.12) 0 3px, transparent 3px 100%),
    radial-gradient(circle at 42px 36px, rgba(201, 151, 53, 0.16) 0 4px, transparent 4px 100%),
    linear-gradient(180deg, var(--aqua), #eefcf7);
  --pattern-pencil:
    repeating-linear-gradient(135deg, rgba(201, 151, 53, 0.18) 0 7px, transparent 7px 26px),
    radial-gradient(circle at 18% 22%, rgba(200, 63, 61, 0.09) 0 32px, transparent 33px),
    linear-gradient(180deg, var(--white), #fff9dc);
  --pattern-reading:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(200, 63, 61, 0.11) 30px 31px),
    radial-gradient(circle at 82% 18%, rgba(201, 151, 53, 0.2) 0 5px, transparent 6px),
    radial-gradient(circle at 18% 78%, rgba(13, 111, 167, 0.12) 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(255, 241, 235, 0.98), rgba(255, 255, 255, 0.96));
  --pattern-workforce:
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, 0.16) 30px 31px, transparent 31px 36px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(255, 255, 255, 0.12) 54px 56px),
    linear-gradient(135deg, rgba(47, 109, 85, 0.86), rgba(13, 111, 167, 0.74));
  --pattern-index:
    repeating-linear-gradient(135deg, rgba(13, 111, 167, 0.1) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 92% 14%, rgba(200, 63, 61, 0.12) 0 30px, transparent 31px),
    linear-gradient(180deg, #eef7fb, var(--paper-strong));
  --pattern-night-blueprint:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 88% 18%, rgba(201, 151, 53, 0.2) 0 46px, transparent 47px),
    linear-gradient(90deg, rgba(16, 38, 61, 0.98), rgba(13, 111, 167, 0.88));
  --pattern-calendar:
    linear-gradient(rgba(201, 151, 53, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 151, 53, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 86% 18%, rgba(47, 109, 85, 0.1) 0 34px, transparent 35px),
    linear-gradient(180deg, #fffaf0, var(--white));
  --pattern-cork:
    radial-gradient(circle at 14px 12px, rgba(201, 151, 53, 0.15) 0 2px, transparent 3px),
    radial-gradient(circle at 42px 34px, rgba(200, 63, 61, 0.08) 0 3px, transparent 4px),
    radial-gradient(circle at 70px 16px, rgba(13, 111, 167, 0.08) 0 3px, transparent 4px),
    linear-gradient(180deg, var(--white), #f7fbff);
  --pattern-tickets:
    repeating-linear-gradient(90deg, rgba(201, 151, 53, 0.18) 0 8px, transparent 8px 18px),
    radial-gradient(circle at 15% 18%, rgba(13, 111, 167, 0.11) 0 26px, transparent 27px),
    linear-gradient(180deg, #fff8e1, var(--paper));
  --pattern-donate:
    url("assets/site-media/donation-money-pattern.svg"),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.82) 0 86px, transparent 87px),
    radial-gradient(circle at 84% 72%, rgba(255, 242, 184, 0.72) 0 94px, transparent 95px),
    linear-gradient(135deg, #f8fff9 0%, #fff8dd 48%, #e4f6f4 100%);
  --pattern-contact:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 88% 16%, rgba(201, 151, 53, 0.16) 0 42px, transparent 43px),
    var(--navy);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--pattern-page);
  background-size: 36px 36px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

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

a {
  color: inherit;
}

.address-link {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(13, 111, 167, 0.38);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.address-link:hover,
.address-link:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
  outline: none;
}

section[id] {
  scroll-margin-top: 92px;
}

.info-panel[id] {
  scroll-margin-top: 92px;
}

figure[id] {
  scroll-margin-top: 92px;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(218, 223, 216, 0.92);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--blue));
  content: "";
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.35vw, 18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  border: 0;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.03rem;
  font-weight: 950;
}

.brand small {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
}

.nav-links a,
.nav-group > summary {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-group > summary:hover,
.nav-group > summary:focus-visible {
  color: var(--navy);
  background: rgba(223, 244, 241, 0.72);
  border-color: rgba(13, 111, 167, 0.16);
  outline: none;
}

.nav-group {
  position: relative;
}

.nav-group[open] > summary,
.nav-group:hover > summary,
.nav-group:focus-within > summary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(13, 111, 167, 0.18);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.nav-group > summary {
  list-style: none;
  cursor: pointer;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  min-width: 238px;
  display: none;
  gap: 4px;
  padding: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 246, 0.94)) padding-box,
    linear-gradient(135deg, rgba(200, 63, 61, 0.55), rgba(201, 151, 53, 0.45), rgba(47, 109, 85, 0.5), rgba(13, 111, 167, 0.55)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: 0 22px 52px rgba(16, 38, 61, 0.16);
  backdrop-filter: blur(18px);
}

.nav-submenu::before {
  position: absolute;
  top: 0;
  right: 10px;
  left: 10px;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--blue));
  border-radius: 2px;
  content: "";
}

.nav-group[open] .nav-submenu,
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  display: grid;
}

.nav-submenu a {
  min-height: 36px;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  white-space: nowrap;
  background: transparent;
}

.nav-submenu a::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: rgba(13, 111, 167, 0.28);
  border-radius: 50%;
  content: "";
  transition: background 160ms ease, transform 160ms ease;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(223, 244, 241, 0.68);
  border-color: rgba(13, 111, 167, 0.12);
  transform: translateX(2px);
}

.nav-submenu a:hover::before,
.nav-submenu a:focus-visible::before {
  background: var(--coral);
  transform: scale(1.25);
}

.nav-toggle {
  display: none;
}

.account-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 11px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.account-button:hover,
.account-button:focus-visible {
  color: var(--navy);
  background: rgba(223, 244, 241, 0.72);
  border-color: rgba(13, 111, 167, 0.16);
  outline: none;
}

.account-button-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: currentColor;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(13, 111, 167, 0.14);
}

.account-profile-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-button.is-signed-in .account-profile-icon {
  display: none;
}

.account-button-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-dialog {
  width: min(92vw, 480px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(16, 38, 61, 0.3);
}

.account-dialog::backdrop {
  background: rgba(16, 38, 61, 0.52);
  backdrop-filter: blur(8px);
}

.account-dialog-shell {
  display: grid;
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 211, 94, 0.26) 0 42px, transparent 43px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 246, 0.98));
}

.account-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 38, 61, 0.98), rgba(13, 111, 167, 0.9));
}

.account-dialog-header .section-kicker {
  color: var(--gold-soft);
}

.account-dialog-header h2 {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 1.48rem;
  line-height: 1.08;
}

.account-dialog-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.account-dialog-close:hover,
.account-dialog-close:focus-visible {
  color: var(--white);
  background: var(--coral);
  outline: none;
}

.account-dialog-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.account-dialog-body p {
  margin: 0;
  color: var(--muted);
}

.account-status {
  padding: 12px 14px;
  color: var(--navy) !important;
  background: rgba(223, 244, 241, 0.74);
  border: 1px solid rgba(13, 111, 167, 0.16);
  border-radius: var(--radius);
  font-weight: 800;
}

.account-status.is-error {
  color: var(--coral-dark) !important;
  background: rgba(255, 241, 235, 0.94);
  border-color: rgba(200, 63, 61, 0.24);
}

.account-profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.account-profile[hidden] {
  display: none;
}

.account-profile img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
}

.account-profile-copy {
  min-width: 0;
  flex: 1 1 190px;
  display: grid;
}

.account-profile strong,
.account-profile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile strong {
  color: var(--navy);
  font-size: 1rem;
}

.account-profile small {
  color: var(--muted);
  font-weight: 750;
}

.account-sign-out-button {
  flex: 0 0 auto;
  min-height: 38px;
  white-space: nowrap;
}

.account-profile [hidden] {
  display: none !important;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.account-actions .button,
.account-actions .google-signin-button {
  flex: 1 1 190px;
}

.account-actions [hidden] {
  display: none !important;
}

.account-admin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.92));
  border: 1px solid rgba(13, 111, 167, 0.18);
  border-left: 6px solid var(--blue);
  border-radius: 14px;
}

.account-admin-panel[hidden] {
  display: none;
}

.account-admin-panel span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-admin-actions,
.admin-dashboard-tool-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.account-admin-actions [hidden],
.admin-dashboard-tool-actions [hidden] {
  display: none !important;
}

.account-admin-panel strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.account-admin-panel small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.account-admin-panel .button[hidden] {
  display: none;
}

.account-family-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 239, 0.94));
  border: 1px solid rgba(201, 151, 53, 0.24);
  border-left: 6px solid var(--gold);
  border-radius: 14px;
}

.account-family-panel[hidden] {
  display: none;
}

.account-family-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-family-heading span,
.account-family-card {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-family-heading strong,
.account-family-section h3,
.account-family-card strong {
  color: var(--navy);
}

.account-family-heading small,
.account-family-card small,
.account-empty-state {
  color: var(--muted);
  font-weight: 800;
}

.account-empty-state.is-error {
  color: var(--coral-dark);
}

.account-family-section {
  display: grid;
  gap: 8px;
}

.account-family-section h3 {
  margin: 0;
  font-size: 0.9rem;
}

.account-family-list {
  display: grid;
  gap: 8px;
}

.account-family-card {
  padding: 11px 12px;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(16, 38, 61, 0.07);
}

.account-family-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.account-family-kicker {
  width: max-content;
  padding: 3px 8px;
  color: var(--green);
  background: rgba(47, 109, 85, 0.1);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-family-reply {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  padding: 9px 10px;
  background: rgba(223, 244, 241, 0.72);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
}

.account-family-reply span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.google-signin-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.google-signin-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
}

.google-signin-button:hover,
.google-signin-button:focus-visible {
  border-color: rgba(13, 111, 167, 0.32);
  outline: none;
  transform: translateY(-1px);
}

.google-signin-button:disabled,
.account-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.admin-dashboard {
  width: min(98vw, 1500px);
  height: min(96vh, var(--modal-vh, 96vh));
  max-height: min(96vh, var(--modal-vh, 96vh));
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(16, 38, 61, 0.34);
}

.admin-dashboard::backdrop {
  background: rgba(16, 38, 61, 0.54);
  backdrop-filter: blur(9px);
}

.admin-dashboard-shell {
  height: 100%;
  max-height: inherit;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background:
    radial-gradient(circle at 93% 7%, rgba(117, 184, 239, 0.2) 0 64px, transparent 65px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.98));
}

.admin-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 4vw, 34px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 38, 61, 0.98), rgba(13, 111, 167, 0.94));
}

.admin-dashboard-header .section-kicker {
  color: var(--gold-soft);
}

.admin-dashboard-header h2 {
  margin: 4px 0 0;
  color: var(--white);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.03;
}

.admin-dashboard-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.admin-dashboard-close:hover,
.admin-dashboard-close:focus-visible {
  color: var(--white);
  background: var(--coral);
  outline: none;
}

.admin-dashboard-body {
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  align-content: start;
}

.admin-dashboard-profile,
.admin-dashboard-section,
.admin-dashboard-status,
.admin-status-card,
.admin-module-card {
  border: 1px solid rgba(16, 38, 61, 0.1);
  box-shadow: 0 16px 36px rgba(16, 38, 61, 0.08);
}

.admin-dashboard-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 16px;
}

.admin-dashboard-profile div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-dashboard-profile strong {
  color: var(--navy);
  font-size: 1.04rem;
}

.admin-dashboard-profile span {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-dashboard-profile .admin-profile-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-profile-actions [hidden] {
  display: none !important;
}

.admin-sign-out-button {
  min-height: 38px;
  white-space: nowrap;
}

.admin-access-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--coral-dark);
  background: rgba(255, 241, 235, 0.95);
  border: 1px solid rgba(200, 63, 61, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-access-badge.is-approved {
  color: #166847;
  background: rgba(222, 246, 233, 0.96);
  border-color: rgba(38, 142, 91, 0.22);
}

.admin-dashboard-status {
  margin: 0;
  padding: 13px 15px;
  color: var(--navy);
  background: rgba(223, 244, 241, 0.72);
  border-radius: 14px;
  font-weight: 850;
}

.admin-dashboard-status.is-error {
  color: var(--coral-dark);
  background: rgba(255, 241, 235, 0.96);
  border-color: rgba(200, 63, 61, 0.22);
}

.admin-notification-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  color: var(--navy);
  background:
    radial-gradient(circle at 96% 12%, rgba(244, 211, 94, 0.2) 0 52px, transparent 53px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.96));
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-left: 7px solid var(--blue);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 38, 61, 0.1);
}

.admin-notification-summary.has-alerts {
  border-left-color: var(--coral);
  background:
    radial-gradient(circle at 96% 12%, rgba(244, 211, 94, 0.26) 0 52px, transparent 53px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 242, 0.96));
}

.admin-notification-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-notification-main h3,
.admin-notification-main p {
  margin: 0;
}

.admin-notification-main h3 {
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.admin-notification-main p:not(.section-kicker) {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.admin-notification-bell {
  position: relative;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(13, 111, 167, 0.24);
}

.admin-notification-summary.has-alerts .admin-notification-bell {
  background: var(--coral);
  box-shadow: 0 14px 28px rgba(200, 63, 61, 0.24);
}

.admin-notification-bell svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-notification-bell strong {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  color: var(--navy);
  background: var(--gold);
  border: 2px solid var(--white);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.admin-notification-metrics {
  display: flex;
  gap: 10px;
}

.admin-notification-metric {
  min-width: 118px;
  display: grid;
  gap: 2px;
  padding: 11px 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 38, 61, 0.08);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-notification-metric:hover,
.admin-notification-metric:focus-visible {
  border-color: rgba(13, 111, 167, 0.32);
  outline: 3px solid rgba(13, 111, 167, 0.16);
}

.admin-notification-metric span {
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.admin-notification-summary.has-alerts .admin-notification-metric span {
  color: var(--coral-dark);
}

.admin-notification-metric strong {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-status-grid,
.admin-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.admin-status-card,
.admin-module-card,
.admin-dashboard-section {
  background: var(--white);
  border-radius: 16px;
}

.admin-status-card {
  display: grid;
  gap: 6px;
  padding: 15px;
}

.admin-status-card span,
.admin-module-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-status-card strong,
.admin-module-card strong,
.admin-dashboard-section h3 {
  color: var(--navy);
}

.admin-status-card strong {
  font-size: 1.12rem;
}

.admin-status-card small,
.admin-module-card p,
.admin-dashboard-section p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.admin-status-card--good {
  border-left: 6px solid #2c9f6b;
}

.admin-status-card--warning {
  border-left: 6px solid var(--gold);
}

.admin-dashboard-section {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.admin-dashboard-section h3 {
  margin: 3px 0 0;
  font-size: 1.28rem;
}

.admin-dashboard-section h4 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.admin-priority-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.98));
}

.admin-priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.admin-inbox-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 38, 61, 0.06);
}

.admin-dashboard-details {
  display: grid;
  gap: 12px;
}

.admin-dashboard-details summary {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--navy);
  background: rgba(223, 244, 241, 0.72);
  border: 1px solid rgba(13, 111, 167, 0.14);
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.admin-dashboard-details summary::marker {
  color: var(--blue);
}

.admin-dashboard-details[open] summary {
  margin-bottom: 12px;
}

.admin-auth-user-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 252, 0.98));
  border: 1px solid rgba(13, 111, 167, 0.14);
  border-radius: 14px;
}

.admin-auth-user-panel h4 {
  margin: 3px 0 0;
}

.admin-auth-user-panel p {
  margin: 0;
}

.admin-auth-user-panel p.is-error {
  color: var(--coral-dark);
}

.admin-auth-user-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-auth-user-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "avatar copy"
    "avatar badges";
  gap: 8px 10px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 38, 61, 0.06);
  cursor: pointer;
}

.admin-auth-user-card:hover,
.admin-auth-user-card:focus-visible {
  border-color: rgba(13, 111, 167, 0.44);
  outline: 3px solid rgba(13, 111, 167, 0.13);
}

.admin-auth-user-card.has-access {
  border-left: 6px solid #2c9f6b;
}

.admin-auth-user-card.is-disabled {
  opacity: 0.62;
}

.admin-auth-user-avatar {
  grid-area: avatar;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-weight: 950;
  overflow: hidden;
}

.admin-auth-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-auth-user-copy {
  grid-area: copy;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-auth-user-copy strong,
.admin-auth-user-copy small {
  overflow-wrap: anywhere;
}

.admin-auth-user-copy strong {
  color: var(--navy);
  font-weight: 950;
}

.admin-auth-user-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-auth-user-badges {
  grid-area: badges;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-auth-user-badges span {
  padding: 4px 7px;
  color: var(--blue);
  background: rgba(13, 111, 167, 0.1);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-section-actions,
.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(246, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 14px;
}

.admin-editor-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-editor-form .span-2 {
  grid-column: span 2;
}

.admin-editor-form input,
.admin-editor-form textarea,
.admin-editor-form select {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  padding: 10px 11px;
}

.admin-editor-form input[type="file"] {
  padding: 8px;
}

.admin-editor-form .check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: end;
  min-height: 44px;
}

.admin-editor-form .check-option input {
  width: auto;
  min-width: 18px;
}

.admin-editor-form input:focus,
.admin-editor-form textarea:focus,
.admin-editor-form select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(13, 111, 167, 0.16);
}

.admin-photo-list {
  gap: 14px;
}

.admin-photo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-left: 6px solid rgba(47, 109, 85, 0.82);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 38, 61, 0.07);
}

.admin-photo-card.is-archived {
  opacity: 0.74;
  border-left-color: rgba(130, 146, 162, 0.84);
}

.admin-photo-card > img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper-strong);
}

.admin-story-card > img {
  object-fit: contain;
  background:
    linear-gradient(135deg, rgba(246, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
}

.admin-photo-card > .admin-file-preview {
  display: grid;
  min-height: 130px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(246, 250, 252, 0.95), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(13, 111, 167, 0.12) 23px 24px);
  border-radius: 10px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.admin-photo-card-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.admin-content-list {
  gap: 14px;
}

.admin-content-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 15px;
  background:
    linear-gradient(90deg, rgba(200, 63, 61, 0.11) 0 3px, transparent 3px 100%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(13, 111, 167, 0.09) 25px 26px),
    linear-gradient(180deg, #fffdf2, #fff8d5);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-left: 6px solid rgba(244, 211, 94, 0.98);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 38, 61, 0.07);
}

.admin-content-card.is-archived {
  opacity: 0.74;
  filter: saturate(0.65);
}

.admin-reorder-card {
  cursor: grab;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

.admin-reorder-card:active {
  cursor: grabbing;
}

.admin-reorder-card.is-dragging {
  opacity: 0.58;
  transform: scale(0.985);
  box-shadow: 0 18px 34px rgba(16, 38, 61, 0.16);
}

.admin-reorder-handle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 30px;
  padding: 5px 9px;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.92));
  border: 1px solid rgba(16, 38, 61, 0.14);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.1);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.admin-onsite-edit-bar {
  --toolbar-glass-border: rgba(255, 255, 255, 0.58);
  --toolbar-glass-shadow: rgba(16, 38, 61, 0.22);
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
  max-width: min(calc(100vw - 32px), 560px);
  min-height: 54px;
  padding: 6px;
  color: var(--navy);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.86), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(231, 244, 252, 0.5) 54%, rgba(255, 255, 255, 0.38));
  border: 1px solid var(--toolbar-glass-border);
  border-radius: 24px;
  box-shadow:
    0 22px 58px var(--toolbar-glass-shadow),
    0 0 0 1px rgba(16, 38, 61, 0.05),
    inset 0 1px rgba(255, 255, 255, 0.88),
    inset 0 -1px rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(22px) saturate(1.42);
  -webkit-backdrop-filter: blur(22px) saturate(1.42);
  overflow: hidden;
  transform: translateZ(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-onsite-edit-bar::before,
.admin-onsite-edit-bar::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.admin-onsite-edit-bar::before {
  inset: 1px;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(13, 111, 167, 0.14), transparent 38%);
  border-radius: 23px;
}

.admin-onsite-edit-bar::after {
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 44%, rgba(255, 255, 255, 0.66) 45% 60%, rgba(13, 111, 167, 0.2) 61% 100%);
  border-bottom-right-radius: 24px;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  opacity: 0.78;
}

.admin-onsite-edit-bar[hidden] {
  display: none;
}

.admin-onsite-edit-bar.is-editing {
  border-color: rgba(13, 111, 167, 0.38);
  box-shadow:
    0 24px 64px rgba(16, 38, 61, 0.26),
    0 0 0 5px rgba(13, 111, 167, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.92);
}

.admin-onsite-edit-label {
  position: relative;
  z-index: 1;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 12px;
  color: rgba(16, 38, 61, 0.86);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(16, 38, 61, 0.08);
  font-size: 0.73rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-onsite-edit-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: #aab7c2;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(16, 38, 61, 0.1);
}

.admin-onsite-edit-bar.is-editing .admin-onsite-edit-dot {
  background: #2fbb79;
  box-shadow:
    0 0 0 2px rgba(47, 187, 121, 0.18),
    0 0 0 7px rgba(47, 187, 121, 0.12);
}

.admin-onsite-toolbar-actions {
  position: relative;
  z-index: 1;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.26));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(16, 38, 61, 0.08);
}

.admin-onsite-toolbar-button {
  height: 36px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  color: rgba(16, 38, 61, 0.9);
  background: transparent;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-onsite-toolbar-button-primary {
  min-width: 116px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--blue), #14577b);
  box-shadow:
    0 10px 18px rgba(13, 111, 167, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.2);
}

.admin-onsite-edit-bar.is-editing .admin-onsite-toolbar-button-primary {
  background:
    linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow:
    0 10px 18px rgba(200, 63, 61, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.24);
}

.admin-onsite-toolbar-button:hover,
.admin-onsite-toolbar-button:focus-visible {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  box-shadow: 0 8px 16px rgba(16, 38, 61, 0.12);
  transform: translateY(-1px);
}

.admin-onsite-toolbar-button-primary:hover,
.admin-onsite-toolbar-button-primary:focus-visible {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy), #17405f);
}

.admin-inline-edit-target {
  position: relative !important;
}

.admin-onsite-add-target {
  position: relative !important;
}

.admin-onsite-editing .admin-inline-edit-target {
  outline: 2px dashed rgba(13, 111, 167, 0.62);
  outline-offset: 6px;
  box-shadow: 0 0 0 4px rgba(223, 244, 241, 0.52);
}

.admin-onsite-editing .admin-inline-edit-target:not([data-inline-edit-collection="heroSlides"]):not([data-fullscreen-card]):not([data-pdf-src]):not([data-center-closure-card]) {
  margin-top: 46px;
}

.admin-inline-edit-controls,
.admin-onsite-section-control {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 26;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: flex-start;
  max-width: calc(100% - 20px);
  padding: 5px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 38, 61, 0.2);
  backdrop-filter: blur(14px) saturate(1.08);
  pointer-events: auto;
}

.admin-inline-edit-controls--outside {
  top: 0;
  left: 8px;
  max-width: min(100%, 340px);
  transform: translateY(calc(-100% - 6px));
}

.admin-onsite-section-control {
  top: 16px;
  right: max(16px, calc((100% - var(--max)) / 2 + 16px));
  left: auto;
  z-index: 24;
}

.admin-onsite-section-control--inline {
  position: static;
  inset: auto;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.96));
  transform: none;
}

.hero-board-actions .admin-onsite-section-control--inline {
  margin-top: 0;
}

.admin-inline-edit-button,
.admin-onsite-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-onsite-control-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-inline-drag-handle {
  color: var(--navy);
  background: #e4edf4;
  cursor: grab;
  touch-action: none;
}

.admin-inline-drag-handle:active {
  cursor: grabbing;
}

.admin-inline-remove-button {
  background: var(--coral);
}

.admin-onsite-add-button {
  color: var(--navy);
  background:
    linear-gradient(180deg, #ffe28d, var(--gold));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.admin-inline-edit-button:hover,
.admin-inline-edit-button:focus-visible,
.admin-onsite-add-button:hover,
.admin-onsite-add-button:focus-visible {
  background: var(--navy);
  color: var(--white);
  outline: 3px solid rgba(13, 111, 167, 0.22);
  transform: translateY(-1px);
}

.admin-onsite-editing .update-card::after,
.admin-onsite-editing .event-card::after {
  display: none;
}

.admin-onsite-editing .admin-inline-edit-target--media {
  cursor: default;
}

.admin-onsite-editing .admin-inline-reorder-target {
  cursor: grab;
}

body.admin-onsite-drag-active {
  user-select: none;
}

body.admin-onsite-drag-active .admin-inline-reorder-target {
  touch-action: none;
}

.admin-onsite-editing .admin-inline-reorder-target.is-onsite-dragging {
  opacity: 0.62;
  cursor: grabbing;
  transform: scale(0.992);
}

.admin-onsite-editing .admin-inline-reorder-target.is-onsite-drop-before,
.admin-onsite-editing .admin-inline-reorder-target.is-onsite-drop-after {
  outline-color: rgba(13, 111, 167, 0.86);
}

.admin-onsite-editing .admin-inline-reorder-target.is-onsite-drop-before {
  box-shadow:
    inset 0 5px 0 rgba(13, 111, 167, 0.95),
    0 16px 34px rgba(16, 38, 61, 0.16);
}

.admin-onsite-editing .admin-inline-reorder-target.is-onsite-drop-after {
  box-shadow:
    inset 0 -5px 0 rgba(13, 111, 167, 0.95),
    0 16px 34px rgba(16, 38, 61, 0.16);
}

.admin-onsite-edit-dialog {
  width: min(760px, calc(var(--modal-vw, 100vw) - 28px));
  max-height: calc(var(--modal-vh, 100vh) - 28px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.admin-onsite-edit-dialog::backdrop {
  background: rgba(16, 38, 61, 0.52);
  backdrop-filter: blur(8px);
}

.admin-onsite-edit-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0;
  max-height: calc(var(--modal-vh, 100vh) - 28px);
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow:
    0 28px 70px rgba(16, 38, 61, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-onsite-edit-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
  border-bottom: 1px solid rgba(16, 38, 61, 0.1);
}

.admin-onsite-edit-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--blue));
  content: "";
}

.admin-onsite-edit-header h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.admin-onsite-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: auto;
  padding: 18px 22px;
}

.admin-onsite-field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-onsite-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-onsite-label-text {
  line-height: 1.25;
}

.admin-onsite-required {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: var(--blue);
  background: rgba(13, 111, 167, 0.1);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.admin-onsite-edit-fields .span-2 {
  grid-column: span 2;
}

.admin-onsite-edit-fields input:not([type="file"]):not([type="checkbox"]),
.admin-onsite-edit-fields textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  padding: 10px 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-onsite-edit-fields input:not([type="file"]):not([type="checkbox"]):focus,
.admin-onsite-edit-fields textarea:focus {
  background: #fff;
  border-color: rgba(13, 111, 167, 0.58);
  box-shadow: 0 0 0 4px rgba(13, 111, 167, 0.1);
  outline: none;
}

.admin-onsite-edit-fields textarea {
  min-height: 112px;
  resize: vertical;
}

.admin-onsite-file-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 252, 0.98));
  border: 1.5px dashed rgba(13, 111, 167, 0.34);
  border-radius: 14px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-onsite-file-box:hover,
.admin-onsite-file-box:focus-within {
  background: var(--white);
  border-color: rgba(13, 111, 167, 0.62);
  box-shadow: 0 0 0 4px rgba(13, 111, 167, 0.1);
}

.admin-onsite-file-box.has-file {
  border-style: solid;
  border-color: rgba(50, 158, 122, 0.56);
  background: rgba(242, 251, 247, 0.98);
}

.admin-onsite-file-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.admin-onsite-file-action {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(13, 111, 167, 0.98), rgba(9, 92, 143, 0.98));
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
}

.admin-onsite-file-name {
  min-width: 0;
  color: rgba(16, 38, 61, 0.76);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-onsite-edit-fields small {
  color: rgba(16, 38, 61, 0.68);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-onsite-edit-fields .check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: 12px;
}

.admin-onsite-edit-fields .check-option input {
  width: auto;
  min-width: 18px;
}

.admin-onsite-edit-fields .check-option .admin-onsite-label-row {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.admin-onsite-advanced {
  grid-column: span 2;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(236, 246, 252, 0.78), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(13, 111, 167, 0.15);
  border-radius: 14px;
}

.admin-onsite-advanced summary {
  min-height: 46px;
  padding: 13px 14px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 950;
  cursor: pointer;
}

.admin-onsite-advanced summary::marker {
  color: var(--blue);
}

.admin-onsite-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 14px;
}

.admin-onsite-edit-dialog .admin-dashboard-status {
  margin: 0 22px 12px;
  padding: 11px 13px;
}

.admin-onsite-edit-actions {
  justify-content: flex-end;
  padding: 14px 22px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 252, 0.96));
  border-top: 1px solid rgba(16, 38, 61, 0.1);
}

.admin-onsite-edit-actions .button {
  min-width: 170px;
}

@media (max-width: 640px) {
  .admin-onsite-edit-bar {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: auto;
    grid-template-columns: auto;
    max-width: calc(100vw - 20px);
    min-height: 50px;
    padding: 5px;
    border-radius: 22px;
  }

  .admin-onsite-edit-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .admin-onsite-toolbar-actions {
    height: 40px;
    border-radius: 17px;
  }

  .admin-onsite-toolbar-button {
    width: 36px;
    min-width: 36px;
    height: 34px;
    padding: 0;
  }

  .admin-onsite-toolbar-button span {
    display: none;
  }

  .admin-onsite-toolbar-button-primary {
    width: auto;
    min-width: 96px;
    padding: 0 11px;
  }

  .admin-onsite-toolbar-button-primary span {
    display: inline;
  }

  .admin-inline-edit-controls {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
  }

  .admin-onsite-section-control {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }

  .admin-inline-edit-button,
  .admin-onsite-add-button {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .admin-onsite-edit-fields {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .admin-onsite-edit-fields .span-2 {
    grid-column: span 1;
  }

  .admin-onsite-edit-header {
    padding: 18px 16px 14px;
  }

  .admin-onsite-advanced,
  .admin-onsite-advanced .span-2 {
    grid-column: span 1;
  }

  .admin-onsite-advanced-grid {
    grid-template-columns: 1fr;
  }

  .admin-onsite-edit-dialog .admin-dashboard-status {
    margin: 0 16px 12px;
  }

  .admin-onsite-edit-actions {
    padding: 12px 16px 16px;
  }

  .admin-onsite-edit-actions .button {
    width: 100%;
  }

  .admin-onsite-file-box {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-onsite-file-action {
    text-align: center;
  }
}

.admin-content-heading {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

.admin-record-list {
  display: grid;
  gap: 12px;
}

.admin-record-list.is-saving-order {
  pointer-events: none;
  opacity: 0.82;
}

.admin-empty-state {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  background: rgba(246, 250, 252, 0.88);
  border: 1px dashed rgba(16, 38, 61, 0.18);
  border-radius: 12px;
  font-weight: 800;
}

.admin-empty-state.is-error {
  color: var(--coral-dark);
  background: rgba(255, 241, 235, 0.95);
  border-color: rgba(200, 63, 61, 0.26);
}

.admin-record-card {
  display: grid;
  gap: 12px;
  padding: 15px;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-left: 6px solid rgba(117, 184, 239, 0.94);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 38, 61, 0.07);
}

.admin-record-kicker {
  width: fit-content;
  padding: 5px 8px;
  color: #166847;
  background: rgba(222, 246, 233, 0.92);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-record-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
}

.admin-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-record-meta span {
  padding: 6px 8px;
  color: var(--muted);
  background: rgba(246, 250, 252, 0.92);
  border: 1px solid rgba(16, 38, 61, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-record-meta strong {
  color: var(--navy);
}

.admin-record-body {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  white-space: pre-wrap;
}

.admin-record-error {
  margin: 8px 0 0;
  color: var(--coral-dark);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.45;
}

.admin-record-details {
  padding: 10px 12px;
  background: rgba(255, 252, 239, 0.74);
  border: 1px solid rgba(201, 151, 53, 0.2);
  border-radius: 12px;
}

.admin-record-details summary {
  color: var(--navy);
  font-weight: 950;
  cursor: pointer;
}

.admin-record-details dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  gap: 8px 12px;
}

.admin-record-details dt {
  color: var(--muted);
  font-weight: 950;
  text-transform: capitalize;
}

.admin-record-details dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.admin-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-reply-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(246, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 12px;
}

.admin-reply-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 950;
}

.admin-reply-form textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.45;
}

.admin-reply-form textarea:focus {
  outline: 3px solid rgba(117, 184, 239, 0.3);
  border-color: rgba(33, 112, 172, 0.55);
}

.admin-reply-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.admin-module-card {
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border-top: 6px solid rgba(117, 184, 239, 0.92);
}

.admin-module-card p,
.admin-dashboard-security p {
  margin: 0;
}

.admin-dashboard-security {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 239, 0.96));
}

@media (max-width: 640px) {
  .account-admin-panel,
  .admin-dashboard-profile {
    grid-template-columns: 1fr;
  }

  .account-admin-panel {
    align-items: stretch;
  }

  .account-sign-out-button,
  .account-admin-actions,
  .account-admin-panel .button,
  .admin-dashboard-tool-actions,
  .admin-dashboard-tool-actions .button {
    width: 100%;
  }

  .account-sign-out-button,
  .admin-dashboard-tool-actions .button {
    justify-content: center;
  }

  .admin-dashboard {
    width: min(96vw, var(--modal-vw, 96vw));
    height: min(94vh, var(--modal-vh, 94vh));
    max-height: min(94vh, var(--modal-vh, 94vh));
    border-radius: 16px;
  }

  .admin-dashboard-profile {
    display: grid;
    justify-items: start;
  }

  .admin-dashboard-profile .admin-profile-actions {
    width: 100%;
    min-width: 0;
    justify-content: stretch;
  }

  .admin-profile-actions .admin-access-badge,
  .admin-profile-actions .admin-sign-out-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .admin-notification-summary {
    grid-template-columns: 1fr;
  }

  .admin-notification-main {
    align-items: flex-start;
  }

  .admin-notification-metrics,
  .admin-priority-grid,
  .admin-auth-user-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-access-badge {
    white-space: normal;
  }

  .admin-section-heading {
    display: grid;
  }

  .admin-section-actions,
  .admin-editor-actions {
    justify-content: stretch;
  }

  .admin-section-actions .button,
  .admin-editor-actions .button {
    width: 100%;
  }

  .admin-editor-form {
    grid-template-columns: 1fr;
  }

  .admin-editor-form .span-2 {
    grid-column: auto;
  }

  .admin-photo-card {
    grid-template-columns: 1fr;
  }

  .admin-record-details dl {
    grid-template-columns: 1fr;
  }

  .admin-status-grid,
  .admin-module-grid {
    grid-template-columns: 1fr;
  }
}

.home-hero {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: max(20px, calc((100% - var(--max)) / 2)) minmax(0, var(--max)) max(20px, calc((100% - var(--max)) / 2));
  grid-template-areas:
    "photo photo photo"
    ". headline ."
    ". board .";
  row-gap: 22px;
  column-gap: 0;
  align-items: start;
  padding: 0 0 54px;
  background:
    linear-gradient(180deg, rgba(223, 244, 241, 0.38), rgba(255, 247, 227, 0.58)),
    var(--paper);
  border-bottom: 1px solid rgba(201, 151, 53, 0.32);
}

.hero-intro-copy {
  grid-area: headline;
  position: relative;
  justify-self: center;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, max-content) 1px minmax(0, 1fr);
  column-gap: clamp(18px, 2vw, 28px);
  row-gap: 18px;
  align-items: center;
  width: min(1100px, 100%);
  margin: -52px auto 0;
  padding: 24px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 249, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow:
    0 18px 42px rgba(16, 38, 61, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(10px) saturate(1.08);
  color: var(--navy);
  text-align: left;
}

.hero-intro-copy::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--blue));
  border-radius: var(--radius) var(--radius) 0 0;
  content: "";
}

.hero-intro-copy::after {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 0;
  min-height: 64px;
  margin: 4px 0;
  border-left: 1px dashed rgba(13, 111, 167, 0.22);
  content: "";
}

.hero-intro-copy > * {
  position: relative;
  z-index: 1;
}

.hero-intro-copy h1 {
  grid-column: 3;
  grid-row: 1;
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: 2.38rem;
  line-height: 1.06;
  text-shadow: none;
}

.hero-intro-copy .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0 0 0 15px;
  color: rgba(16, 38, 61, 0.68);
  border-left: 5px solid var(--green);
}

.hero-location-link {
  display: inline-grid;
  grid-template-columns: max-content 1px max-content;
  align-items: stretch;
  justify-self: start;
  column-gap: 12px;
  max-width: 100%;
  min-height: 2.35em;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hero-intro-copy .hero-location-link {
  display: inline-grid;
}

.hero-location-link::before {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 1px;
  margin: 1px 0;
  background: rgba(16, 38, 61, 0.22);
  content: "";
}

.hero-location-address {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero-location-address::after {
  content: none;
}

.hero-location-place {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  line-height: 1.05;
}

.hero-location-link:hover,
.hero-location-link:focus-visible {
  color: var(--navy);
  border-left-color: var(--blue);
  box-shadow: inset 0 -2px rgba(13, 111, 167, 0.18);
  outline: none;
}

.hero-photo {
  grid-area: photo;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-strong);
}

.hero-photo[role="button"],
.photo-grid figure[role="button"],
.flyer[role="button"],
.donate-gallery[role="button"] {
  cursor: pointer;
}

.photo-grid figure[role="button"],
.flyer[role="button"],
.donate-gallery[role="button"] {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hero-photo[role="button"]:focus-visible,
.photo-grid figure[role="button"]:hover,
.photo-grid figure[role="button"]:focus-visible,
.flyer[role="button"]:hover,
.flyer[role="button"]:focus-visible,
.donate-gallery[role="button"]:hover,
.donate-gallery[role="button"]:focus-visible {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.photo-grid figure[role="button"]:hover,
.photo-grid figure[role="button"]:focus-visible,
.flyer[role="button"]:hover,
.flyer[role="button"]:focus-visible,
.donate-gallery[role="button"]:hover,
.donate-gallery[role="button"]:focus-visible {
  transform: translateY(-2px);
}

.hero-photo[role="button"]:focus-visible {
  outline: 4px solid rgba(13, 111, 167, 0.38);
  outline-offset: -4px;
}

.hero-photo picture,
.hero-slide {
  display: block;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--paper-strong);
}

.hero-photo-dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 38, 61, 0.14);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.hero-photo-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 38, 61, 0.42);
  transition: width 220ms ease, background 220ms ease;
}

.hero-photo-dot.is-active {
  width: 18px;
  background: var(--blue);
}

.hero-board {
  grid-area: board;
  position: relative;
  width: min(1120px, 100%);
  margin: 2px auto 0;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20px 18px, rgba(84, 52, 29, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 56px 46px, rgba(255, 242, 195, 0.18) 0 2px, transparent 3px),
    linear-gradient(135deg, #c58a51, #b6783e 52%, #d09a5d);
  background-size: 72px 64px, 72px 64px, auto;
  border: 12px solid #8b5b35;
  border-radius: var(--radius);
  box-shadow:
    0 24px 60px rgba(16, 38, 61, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  scroll-margin-top: 92px;
}

.hero-board::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 239, 190, 0.32);
  border-radius: calc(var(--radius) - 2px);
  content: "";
  pointer-events: none;
}

.hero-board > * {
  position: relative;
  z-index: 1;
}

.hero-board .hero-board-cards {
  width: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding-bottom: 0;
  z-index: 1;
}

.hero-board .hero-board-cards .quick-note {
  grid-column: span 2;
  min-height: 236px;
}

.hero-board .quick-info p {
  color: rgba(16, 38, 61, 0.78);
  font-size: 0.94rem;
  line-height: 1.47;
}

.hero-board .hero-board-cards .quick-note:nth-child(4) {
  grid-column: 2 / span 2;
  --note-rotation: 0.65deg;
  background:
    linear-gradient(90deg, rgba(47, 109, 85, 0.16) 0 3px, transparent 3px 100%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(47, 109, 85, 0.1) 25px 26px),
    linear-gradient(180deg, #fff4a8, #fff8bf);
  border-bottom: 5px solid rgba(47, 109, 85, 0.5);
}

.hero-board .hero-board-cards .quick-note:nth-child(5) {
  grid-column: 4 / span 2;
  --note-rotation: -0.85deg;
  background:
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(13, 111, 167, 0.09) 30px 31px),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(13, 111, 167, 0.11) 26px 27px),
    linear-gradient(180deg, #dff4ff, #edf9ff);
  border-bottom: 5px solid rgba(13, 111, 167, 0.46);
}

.hero-board-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.hero-board-actions .button {
  min-width: 210px;
  box-shadow: 0 14px 28px rgba(16, 38, 61, 0.22);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 0;
  font-size: 3.15rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.85rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
}

.eyebrow,
.section-kicker,
.quick-info span,
.resource-card > span:not(.resource-visual),
.event-card span,
.update-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 0 0 10px;
}

.button,
.resource-card {
  font: inherit;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--navy);
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.button-primary,
.button-primary:visited {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 16px 30px rgba(200, 63, 61, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--blue);
}

.button-outline:visited {
  color: var(--navy);
}

.quick-info {
  width: min(var(--max), calc(100% - 40px));
  margin: -18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 34px;
  position: relative;
  z-index: 2;
}

.quick-info .quick-note {
  --note-rotation: -1.1deg;
  position: relative;
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 30px 24px 24px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius);
  color: inherit;
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.12);
  text-decoration: none;
  transform: rotate(var(--note-rotation));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quick-info .quick-note::before {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 82px;
  height: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(17, 24, 39, 0.08);
  content: "";
  transform: translateX(-50%) rotate(-3deg);
}

.quick-info .quick-note::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, transparent 0 48%, rgba(17, 24, 39, 0.08) 49% 100%);
  border-radius: 0 0 var(--radius) 0;
  content: "";
}

.quick-info .quick-note:hover,
.quick-info .quick-note:focus-visible {
  box-shadow: 0 24px 38px rgba(17, 24, 39, 0.14);
  transform: translateY(-3px) rotate(0deg);
  outline: none;
}

.quick-info .quick-note:nth-child(1) {
  background:
    linear-gradient(90deg, rgba(200, 63, 61, 0.16) 0 3px, transparent 3px 100%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(200, 63, 61, 0.1) 25px 26px),
    linear-gradient(180deg, #fff4a8, #fff8bf);
  border-bottom: 5px solid rgba(200, 63, 61, 0.5);
}

.quick-info .quick-note:nth-child(2) {
  --note-rotation: 1deg;
  background:
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(13, 111, 167, 0.09) 30px 31px),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(13, 111, 167, 0.11) 26px 27px),
    linear-gradient(180deg, #dff4ff, #edf9ff);
  border-bottom: 5px solid rgba(13, 111, 167, 0.46);
}

.quick-info .quick-note:nth-child(3) {
  --note-rotation: -0.6deg;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0 10px, transparent 10px 100%),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(47, 109, 85, 0.1) 27px 28px),
    linear-gradient(180deg, #dff7d9, #effbe7);
  background-size: 78px 78px, auto, auto;
  border-bottom: 5px solid rgba(47, 109, 85, 0.48);
}

.quick-info .quick-note:nth-child(2)::before {
  transform: translateX(-50%) rotate(2deg);
}

.quick-info .quick-note:nth-child(3)::before {
  transform: translateX(-50%) rotate(-1deg);
}

.quick-info strong {
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.16;
}

.quick-info p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  position: relative;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 720px;
  font-size: 1.05rem;
}

.split {
  width: 100%;
  display: grid;
  grid-template-columns: max(20px, calc((100% - var(--max)) / 2)) minmax(0, 0.85fr) minmax(320px, 0.55fr) max(20px, calc((100% - var(--max)) / 2));
  gap: 42px;
  padding: 86px 0;
  background: var(--pattern-notebook);
  background-position: 34px 0, 0 0, 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split > div:first-child {
  grid-column: 2;
}

.split > div:last-child {
  grid-column: 3;
}

.stacked-copy {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.split .stacked-copy {
  align-self: center;
  gap: 18px;
  padding: 8px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.split .stacked-copy p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.62;
}

.stacked-copy p:last-child {
  margin-bottom: 0;
}

.director {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.5fr);
  gap: 18px;
  align-items: start;
  padding: 82px max(20px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(16, 38, 61, 0.96), rgba(13, 111, 167, 0.78));
  border-bottom: 1px solid rgba(16, 38, 61, 0.2);
}

.director-card,
.contact-card,
.info-panel,
.program-card,
.event-card,
.update-card,
.resource-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.director-card,
.contact-card,
.info-panel,
.program-card,
.event-card,
.update-card,
.resource-card,
.donate-copy,
.stacked-copy {
  overflow-wrap: anywhere;
}

.director-card {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.director-card h2,
.director-card p {
  color: var(--white);
}

.director-card h2 {
  margin-bottom: 0;
}

.director-card p {
  max-width: 78ch;
  line-height: 1.68;
}

.director-card .teacher-note {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 750;
}

.director-card .section-kicker {
  color: var(--gold);
}

.director .contact-card {
  --contact-line: 32px;
  --contact-rule-offset: 38px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 48px 26px 30px;
  background:
    linear-gradient(90deg, transparent 0 54px, rgba(200, 63, 61, 0.24) 54px 56px, transparent 56px 100%),
    repeating-linear-gradient(0deg, transparent 0 calc(var(--contact-line) - 1px), rgba(13, 111, 167, 0.17) calc(var(--contact-line) - 1px) var(--contact-line)),
    linear-gradient(180deg, #fffef8, #fbfaf1);
  background-position: 0 0, 0 var(--contact-rule-offset), 0 0;
  border-color: #d6d1bf;
  border-top: 0;
  box-shadow:
    0 18px 38px rgba(17, 24, 39, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(0.4deg);
}

.director .contact-card::before {
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 3;
  width: 118px;
  height: 29px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04)),
    rgba(223, 244, 241, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.12);
  content: "";
  transform: translateX(-50%) rotate(2deg);
}

.director .contact-card h3,
.director .contact-card p {
  position: relative;
  z-index: 1;
}

.director .contact-card h3 {
  margin-bottom: 0;
  padding-left: 42px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: var(--contact-line);
}

.director .contact-card p {
  margin: 0;
  padding-left: 42px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: var(--contact-line);
}

.director .contact-card strong {
  color: var(--ink);
}

.director .contact-card p:last-child a {
  display: block;
}

.contact-card,
.info-panel {
  padding: 28px;
}

.contact-card p,
.director-card p,
.info-panel p,
.program-card p,
.event-card p,
.update-card p,
.feature-copy p {
  margin-bottom: 0;
}

.contact-card a,
.feature-copy a {
  color: var(--blue);
  font-weight: 850;
}

/* Preserved content section: Learning Spaces */
.media-strip {
  width: 100%;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-playroom);
  background-size: 54px 54px, 54px 54px, auto;
  border-top: 1px solid rgba(47, 109, 85, 0.13);
  border-bottom: 1px solid rgba(47, 109, 85, 0.13);
}

.photo-grid {
  display: grid;
  gap: 16px;
}

.photo-grid-spaces {
  display: block;
}

figure {
  margin: 0;
}

.photo-grid figure,
.flyer,
.calendar-frame {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.photo-grid figure {
  border-bottom: 5px solid var(--green);
}

.photo-grid-spaces .learning-space-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin: 0 auto 16px;
}

.photo-grid-spaces .learning-space-row:last-child {
  margin-bottom: 0;
}

.photo-grid-spaces figure {
  flex: 0 1 var(--space-basis, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.photo-grid-spaces img {
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
}

.photo-grid figcaption {
  min-height: 48px;
  padding: 13px 14px;
  color: var(--navy);
  font-weight: 950;
}

.programs {
  width: 100%;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-pencil);
  background-size: auto, auto, auto;
  border-bottom: 1px solid rgba(201, 151, 53, 0.24);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.program-card {
  --card-accent: var(--coral);
  --card-paper: #fff8d6;
  --card-tape: rgba(223, 244, 241, 0.76);
  --card-tilt: -0.7deg;
  grid-column: span 2;
  position: relative;
  min-height: 322px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 38px 24px 24px;
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(90deg, transparent 0 30px, rgba(200, 63, 61, 0.2) 30px 32px, transparent 32px 100%),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(13, 111, 167, 0.11) 29px 30px),
    linear-gradient(180deg, var(--card-paper), #fffef8);
  border-color: color-mix(in srgb, var(--card-accent) 34%, var(--line));
  box-shadow:
    0 16px 34px rgba(16, 38, 61, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.72) inset;
  transform: rotate(var(--card-tilt));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card::before {
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 3;
  width: 118px;
  height: 29px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04)),
    var(--card-tape);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.12);
  content: "";
  transform: translateX(-50%) rotate(2deg);
}

.program-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--card-accent);
  border-radius: var(--radius) var(--radius) 0 0;
  content: "";
}

.program-card:first-child {
  grid-column: span 2;
  --card-accent: var(--green);
  --card-paper: #f8fff0;
  --card-tape: rgba(244, 231, 191, 0.82);
  --card-tilt: -0.35deg;
}

.program-card:nth-child(2) {
  --card-accent: var(--coral);
  --card-paper: #fff7e3;
  --card-tape: rgba(223, 244, 241, 0.8);
  --card-tilt: 0.55deg;
}

.program-card:nth-child(3) {
  --card-accent: var(--blue);
  --card-paper: #edf7fb;
  --card-tape: rgba(247, 183, 196, 0.68);
  --card-tilt: -0.55deg;
}

.program-card:nth-child(4) {
  --card-accent: var(--gold);
  --card-paper: #fbf0f0;
  --card-tape: rgba(223, 244, 241, 0.78);
  --card-tilt: 0.45deg;
}

.program-card:nth-child(5) {
  --card-accent: var(--green);
  --card-paper: #f0f5ec;
  --card-tape: rgba(255, 247, 227, 0.86);
  --card-tilt: -0.4deg;
}

.program-card:hover {
  transform: translateY(-3px) rotate(var(--card-tilt));
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}

.program-art {
  width: 74px;
  height: 74px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(16, 38, 61, 0.1);
}

.program-art svg {
  width: 66px;
  height: 66px;
  display: block;
}

.program-card strong {
  color: var(--green);
  font-size: 0.95rem;
}

.program-grid > :nth-last-child(2):nth-child(3n + 1) {
  grid-column: 2 / span 2;
}

.program-grid > :last-child:nth-child(3n + 1) {
  grid-column: 3 / span 2;
}

.program-grid > :last-child:nth-child(3n + 2) {
  grid-column: 4 / span 2;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.52fr);
  gap: 58px;
  align-items: center;
}

#summer {
  width: 100%;
  position: relative;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.48fr);
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 211, 94, 0.24) 0 62px, transparent 63px),
    radial-gradient(circle at 92% 16%, rgba(223, 244, 241, 0.94) 0 110px, transparent 111px),
    var(--pattern-reading);
  border-top: 1px solid rgba(200, 63, 61, 0.1);
  border-bottom: 1px solid rgba(201, 151, 53, 0.18);
}

#summer .feature-copy {
  position: relative;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 239, 0.96));
  border: 1px solid rgba(200, 63, 61, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

#summer .feature-copy::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--blue));
  border-radius: var(--radius) var(--radius) 0 0;
  content: "";
}

#summer h2 {
  max-width: 760px;
}

#summer h2 span {
  display: block;
  color: var(--coral);
}

#summer .button-primary,
#summer .button-primary:visited {
  color: var(--white);
}

#summer .flyer {
  align-self: stretch;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(201, 151, 53, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.feature-alt {
  width: 100%;
  grid-template-columns: minmax(310px, 0.52fr) minmax(0, 0.9fr);
  padding: 88px max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-workforce);
  background-size: 28px 28px, 28px 28px, auto;
  border-top: 1px solid rgba(47, 109, 85, 0.12);
  border-bottom: 1px solid rgba(47, 109, 85, 0.12);
}

.feature-alt .feature-copy {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(47, 109, 85, 0.18);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature-copy {
  display: grid;
  gap: 20px;
}

.flyer {
  background: var(--white);
}

.flyer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 2px);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 850;
}

.check-list li::before {
  position: absolute;
  top: 0.74em;
  left: 2px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--green-soft);
  content: "";
}

.detail-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(218, 223, 216, 0.88);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list strong {
  color: var(--navy);
  font-weight: 900;
}

.detail-list span {
  color: var(--ink-soft);
  font-weight: 800;
  text-align: right;
}

.resources {
  width: 100%;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-index);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.resource-card {
  --resource-accent: var(--blue);
  --resource-tilt: -1deg;
  position: relative;
  min-height: 214px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  grid-template-areas:
    "label art"
    "title art";
  align-content: start;
  align-items: start;
  gap: 12px 16px;
  padding: 24px;
  color: inherit;
  text-align: left;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border-left: 5px solid var(--resource-accent);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.resource-card > * {
  position: relative;
  z-index: 1;
}

.resource-card::before {
  position: absolute;
  inset: auto -34px -38px auto;
  width: 142px;
  height: 142px;
  background: color-mix(in srgb, var(--resource-accent) 13%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.resource-card:nth-child(1) {
  --resource-accent: var(--blue);
  --resource-tilt: -1.5deg;
  background:
    radial-gradient(circle at 88% 16%, rgba(13, 111, 167, 0.12) 0 48px, transparent 49px),
    linear-gradient(90deg, rgba(13, 111, 167, 0.1) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(13, 111, 167, 0.1) 25px 26px),
    linear-gradient(180deg, #f8fdff, #edf9ff);
  background-position: 0 0, 26px 0, 0 10px, 0 0;
}

.resource-card:nth-child(2) {
  --resource-accent: var(--coral);
  --resource-tilt: 1.2deg;
  background:
    radial-gradient(circle at 18px 20px, rgba(244, 211, 94, 0.18) 0 7px, transparent 8px),
    radial-gradient(circle at 88% 82%, rgba(200, 63, 61, 0.12) 0 34px, transparent 35px),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(200, 63, 61, 0.1) 27px 28px),
    linear-gradient(180deg, #fffaf6, #fff0ea);
  background-size: 38px 38px, auto, auto, auto;
}

.resource-card:nth-child(3) {
  --resource-accent: var(--green);
  --resource-tilt: -0.7deg;
  background:
    radial-gradient(circle at 88% 22%, rgba(47, 109, 85, 0.12) 0 38px, transparent 39px),
    linear-gradient(90deg, rgba(200, 63, 61, 0.12) 0 3px, transparent 3px 100%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(13, 111, 167, 0.1) 28px 29px),
    linear-gradient(180deg, #fffef8, #f5fbff);
  background-position: 0 0, 32px 0, 0 6px, 0 0;
}

.resource-card:nth-child(4) {
  --resource-accent: var(--gold);
  --resource-tilt: 1.1deg;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 63, 61, 0.1) 0 46px, transparent 47px),
    linear-gradient(rgba(201, 151, 53, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 151, 53, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf6, #fff8df);
  background-size: auto, 26px 26px, 26px 26px, auto;
}

.resource-card:nth-child(5) {
  --resource-accent: var(--blue);
  --resource-tilt: -1deg;
  background:
    radial-gradient(circle at 88% 18%, rgba(13, 111, 167, 0.12) 0 34px, transparent 35px),
    linear-gradient(90deg, rgba(13, 111, 167, 0.09) 0 54px, transparent 54px 100%),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(47, 109, 85, 0.1) 29px 30px),
    linear-gradient(180deg, #f7fcff, #eff9f4);
}

.resource-card:nth-child(6) {
  --resource-accent: var(--coral);
  --resource-tilt: -0.8deg;
  background:
    radial-gradient(circle at 18px 50%, var(--paper) 0 12px, transparent 13px),
    radial-gradient(circle at calc(100% - 18px) 50%, var(--paper) 0 12px, transparent 13px),
    repeating-linear-gradient(90deg, rgba(200, 63, 61, 0.12) 0 8px, transparent 8px 18px),
    linear-gradient(180deg, #fff8e1, #fff0ea);
}

.resource-card:nth-child(7) {
  --resource-accent: var(--coral);
  --resource-tilt: -0.8deg;
  background:
    radial-gradient(circle at 18px 50%, var(--paper) 0 12px, transparent 13px),
    radial-gradient(circle at calc(100% - 18px) 50%, var(--paper) 0 12px, transparent 13px),
    repeating-linear-gradient(90deg, rgba(200, 63, 61, 0.12) 0 8px, transparent 8px 18px),
    linear-gradient(180deg, #fff8e1, #fff0ea);
}

.resource-card > span:not(.resource-visual) {
  grid-area: label;
  color: var(--resource-accent);
}

.resource-visual {
  grid-area: art;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: var(--resource-accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: 18px;
  box-shadow:
    0 14px 26px rgba(17, 24, 39, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.8);
  transform: rotate(var(--resource-tilt));
  transition: transform 170ms ease;
}

.resource-visual svg {
  width: 74px;
  height: 74px;
  display: block;
}

.resource-card::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--resource-accent);
  border-radius: 50%;
  content: ">";
  font-weight: 950;
  line-height: 1;
}

.resource-card strong {
  grid-area: title;
  max-width: none;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  outline: none;
  box-shadow: var(--shadow-md);
}

.resource-card:hover .resource-visual,
.resource-card:focus-visible .resource-visual {
  transform: translateY(-2px) rotate(0deg);
}

.resource-grid > :last-child:nth-child(3n + 1) {
  grid-column: span 3;
}

.info-columns {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-night-blueprint);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.info-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.info-panel.enrollment-form-panel {
  grid-column: span 3;
  order: 1;
  position: relative;
  overflow: hidden;
  padding: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(244, 211, 94, 0.28) 0 46px, transparent 47px),
    radial-gradient(circle at 8% 12%, rgba(223, 244, 241, 0.84) 0 60px, transparent 61px),
    linear-gradient(90deg, rgba(200, 63, 61, 0.12) 0 3px, transparent 3px 100%),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(13, 111, 167, 0.1) 32px 33px),
    linear-gradient(180deg, #fffef8, #f7fbff);
  background-position: 0 0, 0 0, 36px 0, 0 8px, 0 0;
  border-color: rgba(13, 111, 167, 0.22);
  border-top: 5px solid var(--coral);
  box-shadow: var(--shadow-md);
}

.enrollment-form-panel::before {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 152px;
  height: 94px;
  background:
    radial-gradient(circle at 28px 32px, var(--coral) 0 9px, transparent 10px),
    radial-gradient(circle at 68px 28px, var(--gold) 0 9px, transparent 10px),
    radial-gradient(circle at 108px 36px, var(--green) 0 9px, transparent 10px),
    linear-gradient(90deg, transparent 0 22px, rgba(16, 38, 61, 0.16) 22px 26px, transparent 26px 100%),
    linear-gradient(180deg, #fff8d5, #f4d35e);
  border: 3px solid rgba(16, 38, 61, 0.78);
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(16, 38, 61, 0.12);
  content: "";
  opacity: 0.36;
  transform: rotate(4deg);
}

.enrollment-form-panel > * {
  position: relative;
  z-index: 1;
}

.enrollment-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 900px;
}

.enrollment-form-heading {
  max-width: 760px;
}

.enrollment-form-heading h2 {
  color: var(--navy);
}

.enrollment-form-heading p:not(.section-kicker) {
  color: var(--ink-soft);
}

.enrollment-builder {
  display: grid;
  gap: 18px;
}

.enrollment-fieldset {
  min-width: 0;
  margin: 0;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 239, 0.92));
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(16, 38, 61, 0.08);
}

.enrollment-fieldset legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--navy);
  font-weight: 950;
}

.enrollment-fieldset legend span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(200, 63, 61, 0.22);
}

.enrollment-grid,
.guardian-cards,
.enrollment-repeater,
.pickup-grid {
  display: grid;
  gap: 14px;
}

.enrollment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.enrollment-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enrollment-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guardian-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guardian-card,
.mini-form-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 111, 167, 0.14);
  border-radius: var(--radius);
}

.guardian-card h3,
.mini-form-card strong {
  margin: 0;
  color: var(--navy);
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.enrollment-builder label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.2;
}

.enrollment-builder input,
.enrollment-builder textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: 7px;
  box-shadow: inset 0 1px 2px rgba(16, 38, 61, 0.06);
}

.enrollment-builder textarea {
  resize: vertical;
}

.enrollment-builder input:focus,
.enrollment-builder textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(13, 111, 167, 0.16);
}

.date-field-shell {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: stretch;
  width: 100%;
}

.enrollment-builder .date-field-shell input[data-date-field] {
  cursor: text;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: inset 0 1px 2px rgba(16, 38, 61, 0.06);
}

.enrollment-builder input[aria-invalid="true"] {
  border-color: var(--coral);
  outline: 3px solid rgba(200, 63, 61, 0.12);
}

.date-picker-open {
  min-width: 0;
  min-height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(223, 244, 241, 0.72));
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-left: 0;
  border-radius: 0 7px 7px 0;
  box-shadow: inset 0 1px 2px rgba(16, 38, 61, 0.06);
  cursor: pointer;
}

.date-picker-open svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.date-field-shell:focus-within input[data-date-field],
.date-field-shell:focus-within .date-picker-open {
  border-color: var(--blue);
  outline: 3px solid rgba(13, 111, 167, 0.16);
  outline-offset: 0;
}

.date-picker-popover {
  position: fixed;
  z-index: 10000;
  filter: drop-shadow(0 22px 36px rgba(16, 38, 61, 0.2));
}

.date-picker-popover[hidden] {
  display: none;
}

.date-picker-card {
  padding: 12px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 254, 248, 0.98), rgba(247, 251, 255, 0.98));
  border: 1px solid rgba(16, 38, 61, 0.14);
  border-top: 4px solid var(--blue);
  border-radius: 14px;
}

.date-picker-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.date-picker-nav,
.date-picker-footer button {
  min-height: 38px;
  color: var(--navy);
  font: inherit;
  font-weight: 950;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.13);
  border-radius: 9px;
  cursor: pointer;
}

.date-picker-selects {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(82px, 0.85fr);
  gap: 8px;
}

.date-picker-selects select {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  color: var(--navy);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.13);
  border-radius: 9px;
}

.date-picker-weekdays,
.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-weekdays {
  gap: 4px;
  padding: 12px 0 6px;
  color: rgba(16, 38, 61, 0.56);
  font-size: 0.7rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.date-picker-days {
  gap: 5px;
}

.date-picker-days button,
.date-picker-empty {
  min-width: 0;
  height: 36px;
}

.date-picker-days button {
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 9px;
  cursor: pointer;
}

.date-picker-days button.is-today {
  border-color: rgba(47, 109, 85, 0.38);
  box-shadow: inset 0 0 0 1px rgba(47, 109, 85, 0.12);
}

.date-picker-days button.is-selected {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.date-picker-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.date-picker-footer button {
  min-height: 36px;
  font-size: 0.82rem;
}

.signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(260px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.signature-field {
  grid-column: 1 / -1;
}

.signature-entry-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(300px, 1fr);
  gap: 12px;
  align-items: start;
}

.signature-preview-card {
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 5px 12px;
  background:
    linear-gradient(90deg, rgba(16, 38, 61, 0.08) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(13, 111, 167, 0.09) 22px 23px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 252, 239, 0.72));
  background-position: 32px 0, 0 4px, 0 0;
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: 8px;
}

.signature-preview-label {
  color: rgba(16, 38, 61, 0.56);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signature-preview-card img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.signature-preview-card img[hidden] {
  display: none;
}

.signature-preview-empty {
  grid-column: 2;
  grid-row: 1;
  color: rgba(16, 38, 61, 0.48);
  font-size: 0.88rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-option {
  min-height: 46px;
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  padding: 11px 12px;
  color: var(--ink-soft) !important;
  background: rgba(223, 244, 241, 0.46);
  border: 1px solid rgba(13, 111, 167, 0.12);
  border-radius: 7px;
}

.check-option input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--green);
}

.pickup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pickup-grid label {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
}

.permission-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.permission-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: var(--radius);
}

.permission-row > span {
  color: var(--ink-soft);
  font-weight: 850;
}

.permission-row > span a {
  color: var(--blue);
  font-weight: 950;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.permission-row > span a:hover,
.permission-row > span a:focus-visible {
  color: var(--coral);
}

.permission-row label {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.12);
  border-radius: 999px;
}

.permission-row input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--blue);
}

.permission-note {
  margin: -4px 0 2px;
  padding: 11px 14px;
  color: #7a3717;
  font-weight: 850;
  line-height: 1.45;
  background: #fff2df;
  border: 1px solid rgba(190, 92, 31, 0.24);
  border-radius: 12px;
}

.permission-note[hidden] {
  display: none;
}

.signature-ack {
  margin-top: 14px;
}

.enrollment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(13, 111, 167, 0.24);
  border-radius: var(--radius);
}

.enrollment-status {
  min-height: 1.45em;
  margin: -4px 0 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 850;
}

.enrollment-status.is-error {
  color: var(--coral-dark);
}

.enrollment-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(223, 244, 241, 0.9) 0 54px, transparent 55px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 249, 0.96));
  border: 1px solid rgba(47, 109, 85, 0.2);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(16, 38, 61, 0.12);
  scroll-margin-top: 92px;
}

.enrollment-preview[hidden] {
  display: none;
}

.enrollment-preview-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.enrollment-preview-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.enrollment-preview-copy ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-weight: 750;
}

.enrollment-final-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.enrollment-preview-viewer {
  min-width: 0;
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.14);
  border-radius: var(--radius);
  box-shadow:
    0 16px 34px rgba(16, 38, 61, 0.12),
    0 0 0 8px rgba(255, 255, 255, 0.52);
}

.enrollment-preview-stage {
  height: 100%;
  min-height: 560px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.enrollment-preview-toolbar {
  border-radius: var(--radius) var(--radius) 0 0;
}

.info-panel.program-basics-panel {
  order: 8;
  position: relative;
  overflow: hidden;
  padding-top: 42px;
  background:
    linear-gradient(90deg, rgba(200, 63, 61, 0.16) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 31px, rgba(13, 111, 167, 0.1) 31px 32px),
    linear-gradient(180deg, #fffef8, #f5fbff);
  background-position: 34px 0, 0 0, 0 0;
  border-color: rgba(47, 109, 85, 0.28);
  border-top: 5px solid var(--green);
  box-shadow: var(--shadow-md);
}

.program-basics-panel::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 25px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(183, 192, 203, 0.86));
  border: 1px solid rgba(89, 107, 128, 0.28);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.14);
  content: "";
  transform: translateX(-50%);
}

.program-basics-panel::after {
  position: absolute;
  top: 92px;
  right: -1px;
  width: 10px;
  height: 148px;
  background:
    linear-gradient(180deg, var(--gold) 0 33%, var(--blue) 33% 66%, var(--green) 66% 100%);
  border-radius: var(--radius) 0 0 var(--radius);
  content: "";
}

.program-basics-panel > * {
  position: relative;
  z-index: 1;
}

.program-basics-panel h2 {
  color: var(--navy);
}

.program-basics-panel .detail-list {
  gap: 12px;
  padding: 0;
}

.program-basics-panel .detail-list li {
  --basic-accent: var(--blue);
  --basic-soft: #eaf7ff;
  --basic-border: rgba(13, 111, 167, 0.2);
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  min-height: 94px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--basic-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(16, 38, 61, 0.07);
}

.program-basics-panel .detail-list li:nth-child(4n + 2) {
  --basic-accent: var(--coral);
  --basic-soft: #fff0ec;
  --basic-border: rgba(200, 63, 61, 0.2);
}

.program-basics-panel .detail-list li:nth-child(4n + 3) {
  --basic-accent: var(--green);
  --basic-soft: #edf8ea;
  --basic-border: rgba(47, 109, 85, 0.2);
}

.program-basics-panel .detail-list li:nth-child(4n + 4) {
  --basic-accent: var(--gold);
  --basic-soft: #fff7da;
  --basic-border: rgba(201, 151, 53, 0.24);
}

.program-basics-panel .detail-list li::before,
.program-basics-panel .detail-list li::after {
  content: none;
}

.program-basics-panel .detail-list li:last-child {
  border-bottom: 1px solid var(--basic-border);
}

.program-basics-panel .basic-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--basic-accent);
  background: var(--basic-soft);
  border: 1px solid var(--basic-border);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
}

.program-basics-panel .basic-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.program-basics-panel .basic-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--ink-soft);
  font-weight: 800;
  text-align: left;
}

.program-basics-panel .basic-copy strong {
  display: block;
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.14;
}

.program-basics-panel .basic-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.28;
  text-align: left;
}

.program-basics-panel .detail-list strong,
.program-basics-panel .detail-list span {
  overflow-wrap: normal;
  word-break: normal;
}

.info-columns > .program-basics-panel:last-child {
  grid-column: span 3;
}

.info-columns > .program-basics-panel:last-child .detail-list {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.info-panel.reading-panel {
  grid-column: span 3;
  order: 4;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 111, 167, 0.1) 0 54px, transparent 54px 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 30px, rgba(201, 151, 53, 0.12) 30px 31px),
    linear-gradient(180deg, #fffdf4, #f4fbff);
  border-color: rgba(13, 111, 167, 0.24);
  border-top: 5px solid var(--blue);
  box-shadow: var(--shadow-md);
}

.reading-panel::before {
  position: absolute;
  top: -1px;
  right: 26px;
  width: 34px;
  height: 72px;
  background: linear-gradient(180deg, var(--coral), #e36f57);
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.12);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  content: "";
}

.reading-panel::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 118px;
  height: 58px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 49%, rgba(13, 111, 167, 0.16) 50%, rgba(255, 255, 255, 0.72) 51%),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(13, 111, 167, 0.11) 10px 11px),
    rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(13, 111, 167, 0.16);
  border-radius: var(--radius);
  content: "";
  transform: rotate(-3deg);
}

.reading-panel > * {
  position: relative;
  z-index: 1;
}

.reading-panel h2 {
  color: var(--navy);
}

.reading-panel p {
  max-width: 30rem;
}

.reading-panel .button-outline {
  width: fit-content;
  background: var(--white);
  border-color: rgba(13, 111, 167, 0.3);
  box-shadow: 0 10px 20px rgba(16, 38, 61, 0.08);
}

.info-panel.support-flyer-panel {
  grid-column: span 3;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: stretch;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(16, 38, 61, 0.16);
  box-shadow: var(--shadow-md);
}

.support-flyer-panel::before {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 110px;
  height: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 32% 68%, rgba(255, 255, 255, 0.32)),
    linear-gradient(180deg, rgba(202, 222, 241, 0.9), rgba(126, 183, 219, 0.86));
  border: 1px solid rgba(13, 111, 167, 0.18);
  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(16, 38, 61, 0.12);
  content: "";
  opacity: 0.82;
  transform: translateX(-50%) rotate(-1deg);
}

.support-flyer-panel > * {
  position: relative;
  z-index: 1;
}

.support-flyer-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  max-width: 48rem;
  padding-top: 16px;
}

.support-flyer-copy h2 {
  max-width: 34rem;
  color: var(--navy);
}

.support-flyer-copy p:not(.section-kicker) {
  max-width: 44rem;
  color: var(--ink-soft);
}

.info-flyer-media {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.info-flyer-media:focus-visible {
  outline: 3px solid rgba(13, 111, 167, 0.52);
  outline-offset: 4px;
}

.info-flyer-media img,
.info-flyer-media .story-file-preview {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 38, 61, 0.16);
  border-radius: calc(var(--radius) - 2px);
  box-shadow:
    0 14px 28px rgba(16, 38, 61, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.8);
}

.info-flyer-media img {
  height: auto;
  display: block;
}

.info-flyer-media .story-file-preview {
  min-height: 260px;
}

.info-flyer-media figcaption {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.childcare-assistance-panel {
  order: 5;
  background:
    radial-gradient(circle at 10% 24%, rgba(47, 109, 85, 0.12) 0 42px, transparent 43px),
    radial-gradient(circle at 93% 18%, rgba(244, 211, 94, 0.22) 0 48px, transparent 49px),
    linear-gradient(90deg, rgba(47, 109, 85, 0.14) 0 7px, transparent 7px 100%),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(47, 109, 85, 0.08) 30px 31px),
    linear-gradient(180deg, #fffef4, #f2fbf4);
  border-top: 5px solid var(--green);
}

.childcare-assistance-panel .section-kicker {
  color: var(--green);
}

.childcare-assistance-panel::before,
.iep-help-panel::before {
  display: none;
}

.childcare-assistance-panel .support-flyer-copy,
.iep-help-panel .support-flyer-copy {
  padding-top: 0;
}

.iep-help-panel {
  order: 6;
  background:
    radial-gradient(circle at 88% 18%, rgba(13, 111, 167, 0.16) 0 52px, transparent 53px),
    linear-gradient(90deg, rgba(13, 111, 167, 0.12) 0 56px, transparent 56px 100%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(201, 151, 53, 0.1) 28px 29px),
    linear-gradient(180deg, #f9fcff, #fffaf0);
  border-top: 5px solid var(--blue);
}

.iep-help-panel .section-kicker {
  color: var(--blue);
}

.info-panel.transportation-panel {
  grid-column: span 3;
  order: 7;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 22%, rgba(244, 211, 94, 0.24) 0 42px, transparent 43px),
    linear-gradient(90deg, rgba(201, 151, 53, 0.16) 0 10px, transparent 10px 22px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(13, 111, 167, 0.1) 32px 33px),
    linear-gradient(180deg, #fffdf2, #f0fbff);
  border-color: rgba(201, 151, 53, 0.3);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.transportation-panel::before {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 142px;
  height: 58px;
  background:
    radial-gradient(circle at 28px 47px, var(--navy) 0 8px, transparent 9px),
    radial-gradient(circle at 112px 47px, var(--navy) 0 8px, transparent 9px),
    linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.82) 16px 34px, transparent 34px 42px, rgba(255, 255, 255, 0.82) 42px 60px, transparent 60px 68px, rgba(255, 255, 255, 0.82) 68px 86px, transparent 86px 94px, rgba(255, 255, 255, 0.82) 94px 112px, transparent 112px 100%),
    linear-gradient(180deg, #f4d35e 0 72%, #c99735 72% 100%);
  border: 3px solid rgba(16, 38, 61, 0.78);
  border-radius: 18px 18px 12px 12px;
  box-shadow: 0 14px 28px rgba(16, 38, 61, 0.12);
  content: "";
  transform: rotate(-2deg);
}

.transportation-panel::after {
  position: absolute;
  right: 38px;
  bottom: 104px;
  width: 212px;
  height: 76px;
  background:
    radial-gradient(circle at 9px 62px, var(--green) 0 5px, transparent 6px),
    radial-gradient(circle at 76px 38px, var(--blue) 0 5px, transparent 6px),
    radial-gradient(circle at 148px 58px, var(--coral) 0 5px, transparent 6px),
    linear-gradient(145deg, transparent 0 46%, rgba(13, 111, 167, 0.26) 46% 49%, transparent 49% 100%),
    linear-gradient(20deg, transparent 0 53%, rgba(13, 111, 167, 0.2) 53% 56%, transparent 56% 100%);
  opacity: 0.62;
  content: "";
}

.transportation-panel > * {
  position: relative;
  z-index: 1;
}

.transportation-panel h2 {
  color: var(--navy);
}

.transportation-panel p {
  max-width: 48rem;
  color: var(--ink-soft);
}

.transport-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transport-list li {
  position: relative;
  min-height: 74px;
  display: grid;
  align-items: center;
  padding: 13px 14px 13px 42px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(201, 151, 53, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(16, 38, 61, 0.06);
}

.transport-list li::before {
  position: absolute;
  left: 15px;
  width: 14px;
  height: 14px;
  background: var(--green-soft);
  border: 3px solid var(--green);
  border-radius: 50%;
  content: "";
}

.closures {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.64fr);
  gap: 52px;
  align-items: center;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 63, 61, 0.08) 0 72px, transparent 73px),
    var(--pattern-calendar);
  background-size: auto, 72px 72px, 72px 72px, auto, auto;
  border-bottom: 1px solid rgba(201, 151, 53, 0.18);
}

.closures .section-heading {
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 151, 53, 0.24);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.calendar-frame {
  position: relative;
  padding: 12px;
  cursor: pointer;
  background: var(--white);
  border: 1px solid rgba(201, 151, 53, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.calendar-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--paper-strong);
  border-radius: calc(var(--radius) - 2px);
}

.calendar-file-preview {
  display: grid;
  min-height: clamp(16rem, 40vw, 34rem);
  place-items: center;
  gap: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(227, 244, 255, 0.92)),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(13, 111, 167, 0.14) 23px 24px);
  border-radius: calc(var(--radius) - 2px);
  color: var(--navy);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.calendar-file-preview span {
  width: 4rem;
  height: 5rem;
  border: 4px solid currentColor;
  border-radius: 0.35rem;
  background: var(--paper);
  box-shadow: 0.55rem 0.55rem 0 rgba(16, 38, 61, 0.12);
}

.story-file-preview {
  display: grid;
  min-height: clamp(13rem, 30vw, 22rem);
  place-items: center;
  gap: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 213, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(13, 111, 167, 0.12) 22px 23px);
  color: var(--navy);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.story-file-preview span {
  width: 4rem;
  height: 5rem;
  border: 4px solid currentColor;
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, var(--paper) 0 72%, rgba(13, 111, 167, 0.12) 72% 100%);
  box-shadow: 0.55rem 0.55rem 0 rgba(16, 38, 61, 0.12);
}

.flyer-file-preview {
  min-height: 100%;
  border-radius: calc(var(--radius) - 2px);
}

.story-pdf-preview {
  overflow: hidden;
}

.story-pdf-preview.has-pdf-thumbnail {
  display: block;
  min-height: 0;
  background: var(--white);
  letter-spacing: 0;
}

.story-pdf-preview-canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  background: var(--white);
}

.calendar-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px 2px;
  color: var(--navy);
  font-weight: 950;
}

.calendar-frame figcaption span {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.calendar-frame:hover,
.calendar-frame:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  outline: none;
  transform: translateY(-2px);
}

/* Preserved content section: Community Updates */
.updates {
  width: 100%;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-cork);
  background-size: 84px 72px, 84px 72px, 84px 72px, auto;
  border-top: 1px solid rgba(13, 111, 167, 0.12);
}

.updates .section-heading {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(13, 111, 167, 0.14);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.update-grid,
.event-grid {
  display: block;
}

.update-row,
.event-row {
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin: 0 auto 18px;
}

.update-row:last-child,
.event-row:last-child {
  margin-bottom: 0;
}

.update-card,
.event-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.update-card,
.event-card {
  flex: 0 1 var(--media-card-basis, 100%);
  min-width: min(100%, var(--media-card-min-width, 0px));
}

.update-card::after,
.event-card::after {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(16, 38, 61, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  content: "Open full view";
  font-size: 0.72rem;
  font-weight: 950;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.update-card:hover,
.update-card:focus-visible,
.event-card:hover,
.event-card:focus-visible {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
  outline: none;
  transform: translateY(-2px);
}

.update-card:hover::after,
.update-card:focus-visible::after,
.event-card:hover::after,
.event-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.update-card img,
.event-card img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper-strong);
}

.update-card h3,
.event-card h3 {
  margin: 18px 18px 9px;
  font-size: 1.08rem;
}

.update-card p,
.event-card p {
  display: -webkit-box;
  min-height: 4.4em;
  margin: 0 18px 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.94rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.update-card span,
.event-card span {
  display: block;
  min-height: 21px;
  margin: 0 18px 18px;
  color: var(--green);
  text-transform: none;
  overflow-wrap: anywhere;
}

.update-date {
  display: block;
  margin: 0 18px 18px;
  padding-top: 10px;
  color: var(--blue);
  border-top: 1px dashed rgba(13, 111, 167, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.update-card span + .update-date,
.event-card span + .update-date {
  margin-top: -8px;
}

.update-card p + .update-date {
  margin-top: -4px;
}

.update-grid > :last-child:nth-child(4n + 1),
.event-grid > :last-child:nth-child(4n + 1) {
  grid-column: span 4;
}

/* Preserved content section: Events */
.events {
  width: 100%;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-tickets);
  background-size: auto, auto, auto;
  border-top: 1px solid rgba(201, 151, 53, 0.18);
}

.events .section-heading {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(201, 151, 53, 0.2);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.event-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 760px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(201, 151, 53, 0.14) 0 3px, transparent 3px 100%),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(201, 151, 53, 0.11) 27px 28px),
    linear-gradient(180deg, #fffdf7, #fff8e7);
  border: 1px solid rgba(201, 151, 53, 0.2);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.event-empty strong {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.2;
}

.event-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
}

.donate {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--pattern-donate);
  background-position: center, 0 0, 100% 100%, 0 0;
  background-size: 420px 260px, auto, auto, auto;
  border-top: 1px solid rgba(47, 109, 85, 0.16);
  border-bottom: 1px solid rgba(47, 109, 85, 0.14);
}

.donate::before {
  position: absolute;
  inset: 18px auto auto max(20px, calc((100% - var(--max)) / 2));
  width: 128px;
  height: 128px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px dashed rgba(47, 109, 85, 0.22);
  border-radius: 50%;
  content: "";
}

.donate-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.donate-copy {
  display: grid;
  gap: 22px;
  max-width: 710px;
  padding: 0;
}

.donate-copy h2 {
  max-width: 650px;
}

.donate-copy > p:not(.section-kicker) {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.donate-impact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.donate-impact article {
  min-width: 0;
  min-height: 146px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 238, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(13, 111, 167, 0.1) 28px 29px);
  border: 1px solid rgba(201, 151, 53, 0.32);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
}

.donate-impact article:nth-child(2) {
  border-top-color: var(--gold);
}

.donate-impact article:nth-child(3) {
  border-top-color: var(--blue);
}

.donate-impact strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.18;
}

.donate-impact span {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.45;
}

.donate-media-panel {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 16px;
}

.donate-note {
  width: min(360px, 100%);
  margin: 0;
  padding: 12px 14px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(47, 109, 85, 0.18);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.donate-gallery {
  position: relative;
  width: min(360px, 100%);
  justify-self: end;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(47, 109, 85, 0.2);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

.donate-gallery::before {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 142px;
  height: 34px;
  background: rgba(223, 244, 241, 0.86);
  border: 1px solid rgba(13, 111, 167, 0.12);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  content: "";
  transform: translateX(-50%) rotate(-1.5deg);
}

.donate-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.document-source {
  margin: 10px 0 0;
  color: rgba(16, 38, 61, 0.68);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.document-source a {
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.enrollment-form-heading .document-source {
  color: rgba(16, 38, 61, 0.68);
}

.resource-source {
  max-width: var(--content-width);
  margin: 18px auto 0;
  padding: 0 4px;
}

.donate-button,
.donate-button:visited {
  position: relative;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px 12px 14px;
  overflow: hidden;
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 16px 28px rgba(16, 38, 61, 0.16);
}

.donate-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%);
  content: "";
  pointer-events: none;
}

.donate-button > span {
  position: relative;
  z-index: 1;
}

.donate-button-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  font-weight: 950;
  line-height: 1;
  border-radius: 7px;
}

.donate-button-paypal,
.donate-button-paypal:visited {
  background: linear-gradient(135deg, #003087, #0070ba);
  box-shadow: 0 16px 30px rgba(0, 48, 135, 0.24);
}

.donate-button-paypal .donate-button-mark {
  color: #003087;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 68%, #ffc439 69% 100%),
    var(--white);
}

.donate-button-cashapp,
.donate-button-cashapp:visited {
  background: linear-gradient(135deg, #00d632, #00a83b);
  box-shadow: 0 16px 30px rgba(0, 168, 59, 0.24);
}

.donate-button-cashapp .donate-button-mark {
  color: #00a83b;
  background: var(--white);
}

.donate-button-paypal:hover,
.donate-button-paypal:focus-visible {
  background: linear-gradient(135deg, #00266d, #005ea6);
}

.donate-button-cashapp:hover,
.donate-button-cashapp:focus-visible {
  background: linear-gradient(135deg, #00be2d, #008f34);
}

.contact {
  padding: 76px 0;
  color: var(--white);
  background: var(--pattern-contact);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.contact-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact h2 {
  color: var(--white);
}

.contact-copy > p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
  line-height: 1.7;
}

.contact address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.contact address a {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 950;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact address a:hover,
.contact address a:focus-visible {
  color: var(--gold);
  outline: none;
}

.contact-form-card {
  scroll-margin-top: 120px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(200, 63, 61, 0.12) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(13, 111, 167, 0.09) 31px 32px),
    linear-gradient(180deg, #fffdf8, #f8fcff);
  background-position: 32px 0, 0 10px, 0 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  box-shadow:
    0 24px 56px rgba(16, 38, 61, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.86);
}

.contact-form-card::before {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 118px;
  height: 29px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04)),
    rgba(223, 244, 241, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.12);
  content: "";
  transform: translateX(-50%) rotate(2deg);
}

.contact-form-card > * {
  position: relative;
  z-index: 1;
}

.contact-form-heading,
.contact-form-message,
.contact-form-actions {
  grid-column: 1 / -1;
}

.contact-form-heading {
  padding-bottom: 4px;
}

.contact-form-heading .section-kicker {
  color: var(--green);
}

.contact-form-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.08rem);
  line-height: 1.08;
}

.contact-form-card label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 38, 61, 0.18);
  border-radius: 12px;
  font: inherit;
  text-transform: none;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: rgba(13, 111, 167, 0.56);
  outline: 3px solid rgba(13, 111, 167, 0.16);
}

.contact-form-card textarea {
  resize: vertical;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.contact-form-status {
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 850;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--navy);
  font-weight: 950;
  text-decoration: none;
}

.pdf-modal {
  position: fixed;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: var(--modal-vw);
  max-width: none;
  height: var(--modal-vh);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  background: var(--white);
  border: 0;
  border-radius: 0;
  transform: translate(var(--modal-left), var(--modal-top));
}

.pdf-modal::backdrop {
  background: rgba(16, 38, 61, 0.82);
}

.pdf-modal-shell {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 66px auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
}

.pdf-modal-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding:
    var(--modal-close-gap-block)
    calc(var(--modal-close-size) + var(--modal-close-gap-inline) + 14px)
    10px
    max(22px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  z-index: 1;
}

.pdf-modal-header > div {
  min-width: 0;
}

.pdf-modal-header h2 {
  margin: 0;
  overflow: hidden;
  font-size: 1.2rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-modal-header .section-kicker {
  margin-bottom: 4px;
}

.pdf-close {
  position: fixed;
  top: calc(var(--modal-top) + var(--modal-close-gap-block));
  left: calc(var(--modal-left) + var(--modal-vw) - var(--modal-close-size) - var(--modal-close-gap-inline));
  z-index: 30;
  width: var(--modal-close-size);
  height: var(--modal-close-size);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  font: inherit;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1;
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(16, 38, 61, 0.18);
}

.pdf-close:hover,
.pdf-close:focus-visible {
  background: var(--blue);
  outline: none;
}

.pdf-toolbar {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px max(14px, env(safe-area-inset-right)) 9px max(14px, env(safe-area-inset-left));
  background: linear-gradient(180deg, #f8fafc, #edf3f8);
  border-bottom: 1px solid rgba(16, 38, 61, 0.12);
}

.pdf-nav-button,
.pdf-download,
.viewer-zoom-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid rgba(16, 38, 61, 0.14);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(16, 38, 61, 0.08);
  cursor: pointer;
}

.pdf-nav-button:hover,
.pdf-nav-button:focus-visible,
.pdf-download:hover,
.pdf-download:focus-visible,
.viewer-zoom-button:hover,
.viewer-zoom-button:focus-visible {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.pdf-nav-button:disabled,
.viewer-zoom-button:disabled {
  color: rgba(16, 38, 61, 0.34);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  cursor: not-allowed;
}

.viewer-zoom-controls {
  --viewer-zoom-button-size: 36px;
  --viewer-zoom-label-width: 54px;
  --viewer-zoom-reset-width: 50px;
  min-width: 0;
  display: inline-grid;
  grid-template-columns:
    var(--viewer-zoom-button-size)
    var(--viewer-zoom-label-width)
    var(--viewer-zoom-button-size)
    var(--viewer-zoom-reset-width);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 999px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.78);
}

.viewer-zoom-button {
  width: var(--viewer-zoom-button-size);
  min-width: var(--viewer-zoom-button-size);
  padding: 0;
}

.viewer-zoom-reset {
  width: var(--viewer-zoom-reset-width);
  min-width: var(--viewer-zoom-reset-width);
}

.viewer-zoom-label {
  width: var(--viewer-zoom-label-width);
  min-width: var(--viewer-zoom-label-width);
  color: rgba(16, 38, 61, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.pdf-page-label {
  min-width: 92px;
  color: rgba(16, 38, 61, 0.78);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
}

.pdf-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.82) 0 24px, transparent 25px),
    linear-gradient(135deg, #d9e7f0, #f6f9fb 48%, #dce9f1);
  scrollbar-width: none;
  cursor: default;
}

.pdf-stage::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pdf-stage.is-zoomed {
  cursor: grab;
}

.pdf-stage.is-panning {
  cursor: grabbing;
  user-select: none;
}

.pdf-page-frame {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-stage.is-zoomed .pdf-page-frame {
  width: max-content;
  height: max-content;
  min-width: 100%;
  min-height: 100%;
  align-items: flex-start;
  justify-content: flex-start;
}

.pdf-page-surface {
  position: relative;
  display: block;
  max-width: 100%;
  max-height: 100%;
  line-height: 0;
}

.pdf-page-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: var(--white);
  border-radius: 8px;
  box-shadow:
    0 22px 54px rgba(16, 38, 61, 0.22),
    0 0 0 1px rgba(16, 38, 61, 0.08);
}

.pdf-link-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pdf-link-layer a {
  position: absolute;
  display: block;
  pointer-events: auto;
  border-radius: 4px;
}

.pdf-link-layer a:hover,
.pdf-link-layer a:focus-visible {
  background: rgba(13, 111, 167, 0.16);
  box-shadow: 0 0 0 2px rgba(13, 111, 167, 0.38);
  outline: none;
}

.pdf-status {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 38, 61, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 38, 61, 0.12);
}

.pdf-status[hidden] {
  display: none;
}

.pdf-status.is-error {
  color: #8b1e1e;
  border-color: rgba(200, 63, 61, 0.24);
}

.media-modal {
  position: fixed;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: var(--modal-vw);
  max-width: none;
  height: var(--modal-vh);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 0;
  transform: translate(var(--modal-left), var(--modal-top));
}

.media-modal::backdrop {
  background: rgba(16, 38, 61, 0.86);
}

.media-modal-shell {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 66px minmax(0, 1fr);
  overflow: hidden;
}

.media-modal-header {
  min-width: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding:
    var(--modal-close-gap-block)
    calc(var(--modal-close-size) + var(--modal-close-gap-inline) + 14px)
    10px
    max(22px, env(safe-area-inset-left));
  background: rgba(16, 38, 61, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.media-modal-header > div {
  min-width: 0;
}

.media-modal-header h2 {
  margin: 0;
  overflow: hidden;
  color: var(--white);
  font-size: 1.16rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-modal-header .section-kicker {
  margin-bottom: 4px;
  color: var(--gold);
}

.media-close {
  position: fixed;
  top: calc(var(--modal-top) + var(--modal-close-gap-block));
  left: calc(var(--modal-left) + var(--modal-vw) - var(--modal-close-size) - var(--modal-close-gap-inline));
  z-index: 30;
  width: var(--modal-close-size);
  height: var(--modal-close-size);
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--navy);
  font: inherit;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.media-close:hover,
.media-close:focus-visible {
  color: var(--white);
  background: var(--coral);
  outline: none;
}

.media-modal-body {
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.media-modal--details .media-modal-body {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.media-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(18px, 3vw, 42px);
  background:
    radial-gradient(circle at 16% 14%, rgba(13, 111, 167, 0.28) 0 80px, transparent 81px),
    linear-gradient(135deg, #0b1c2f, var(--navy));
  scrollbar-width: none;
  cursor: default;
}

.media-stage::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.media-stage img {
  max-width: 100%;
  max-height: calc(var(--modal-vh, 100dvh) - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.media-stage.is-zoomed {
  place-items: start;
  cursor: grab;
}

.media-stage.is-zoomed img {
  max-width: none;
  max-height: none;
}

.media-stage.is-panning {
  cursor: grabbing;
  user-select: none;
}

.media-zoom-controls {
  position: fixed;
  bottom: var(--media-zoom-controls-bottom, max(16px, env(safe-area-inset-bottom)));
  left: var(--media-zoom-controls-left, 50%);
  z-index: 3;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  will-change: left, bottom;
}

.media-nav {
  position: fixed;
  top: var(--media-nav-top, 50%);
  z-index: 4;
  width: 48px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.media-nav::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.media-nav-prev {
  left: var(--media-nav-prev-left, max(18px, env(safe-area-inset-left)));
}

.media-nav-prev::before {
  transform: translateX(3px) rotate(-45deg);
}

.media-nav-next {
  right: var(--media-nav-next-right, max(18px, env(safe-area-inset-right)));
}

.media-nav-next::before {
  transform: translateX(-3px) rotate(135deg);
}

.media-nav:hover,
.media-nav:focus-visible {
  color: var(--white);
  background: var(--blue);
  outline: none;
}

.media-nav[hidden] {
  display: none;
}

.media-counter {
  position: fixed;
  right: var(--media-counter-right, max(18px, env(safe-area-inset-right)));
  bottom: var(--media-counter-bottom, 16px);
  z-index: 4;
  padding: 7px 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.media-counter[hidden] {
  display: none;
}

.media-modal--details .media-stage {
  padding: 24px;
}

.media-modal--details .media-stage img {
  max-height: calc(var(--modal-vh, 100dvh) - 150px);
}

.media-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.media-details[hidden] {
  display: none;
}

.media-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.media-tags,
.media-meta {
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.media-tags {
  color: rgba(244, 231, 191, 0.9);
}

.media-meta {
  margin-top: auto;
  padding-top: 14px;
  color: var(--aqua);
  border-top: 1px dashed rgba(223, 244, 241, 0.34);
  font-weight: 950;
}

.media-tags[hidden],
.media-meta[hidden] {
  display: none;
}

@media (max-width: 1120px) {
  .home-hero {
    padding-top: 0;
  }

  h1 {
    font-size: 2.95rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .program-grid,
  .update-grid,
  .event-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .program-card,
  .program-card:first-child {
    grid-column: auto;
  }

  .program-grid > :last-child:nth-child(3n + 1),
  .update-grid > :last-child:nth-child(3n + 1),
  .event-grid > :last-child:nth-child(3n + 1) {
    grid-column: span 3;
  }

  .program-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .program-card,
  .program-card:first-child {
    grid-column: span 2;
  }

  .program-grid > :nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
  }

  .program-grid > :last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
  }

  .program-grid > :last-child:nth-child(3n + 2) {
    grid-column: 4 / span 2;
  }

}

@media (max-width: 1020px) {
  .hero-intro-copy {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .hero-intro-copy::after {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-height: 0;
    margin: 0;
    border-top: 1px dashed rgba(13, 111, 167, 0.22);
    border-left: 0;
  }

  .hero-intro-copy .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-intro-copy h1 {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 10px;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-links a,
  .nav-group > summary {
    padding-inline: 8px;
    font-size: 0.86rem;
  }

  .account-button {
    padding-inline: 8px;
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 66px;
    gap: 10px;
  }

  .nav-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    display: block;
    margin-left: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: opacity 170ms ease, transform 170ms ease;
  }

  .nav-toggle span:not(.sr-only):nth-of-type(2) {
    transform: translate(-50%, -50%) translateY(-6px);
  }

  .nav-toggle span:not(.sr-only):nth-of-type(4) {
    transform: translate(-50%, -50%) translateY(6px);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0.2);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(4) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-content: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }

  .account-button {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    margin-left: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(13, 111, 167, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    justify-content: flex-start;
    width: 100%;
    padding: 12px;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group > summary {
    justify-content: flex-start;
    padding: 12px;
  }

  .nav-submenu {
    position: relative;
    top: auto;
    left: auto;
    min-width: 0;
    margin: 4px 0 10px;
    padding: 10px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 246, 0.94)) padding-box,
      linear-gradient(135deg, rgba(200, 63, 61, 0.44), rgba(201, 151, 53, 0.36), rgba(47, 109, 85, 0.4), rgba(13, 111, 167, 0.44)) border-box;
    border-width: 1px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-submenu a {
    padding: 11px 12px;
  }

  .nav-group:not([open]):hover .nav-submenu {
    display: none;
  }

  .nav-group[open] .nav-submenu {
    display: grid;
  }

  .quick-info,
  .director,
  .feature,
  #summer,
  .feature-alt,
  .closures,
  .donate,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-areas:
      "photo photo photo"
      ". headline ."
      ". board .";
    padding: 0 0 42px;
  }

  .hero-intro-copy {
    grid-area: headline;
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 18px;
    margin: -36px auto 0;
    padding: 22px 20px 24px;
  }

  .hero-intro-copy::before {
    height: 4px;
  }

  .hero-intro-copy h1 {
    max-width: 850px;
    color: var(--navy);
    font-size: 2.24rem;
    text-shadow: none;
  }

  .hero-intro-copy .eyebrow {
    margin-bottom: 0;
    color: rgba(16, 38, 61, 0.68);
  }

  .hero-board {
    width: 100%;
    padding: 30px;
  }

  .hero-board .hero-board-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-board .hero-board-cards .quick-note,
  .hero-board .hero-board-cards .quick-note:nth-child(4),
  .hero-board .hero-board-cards .quick-note:nth-child(5) {
    grid-column: auto;
  }

  .hero-board .hero-board-cards .quick-note:nth-child(5) {
    width: min(100%, 420px);
    justify-self: center;
    grid-column: 1 / -1;
  }

  .split {
    width: 100%;
    grid-template-columns: minmax(20px, 1fr) minmax(0, min(var(--max), calc(100% - 40px))) minmax(20px, 1fr);
    margin: 0;
    padding: 72px 0;
    background: var(--pattern-notebook);
    background-position: 22px 0, 0 0, 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .split > div:first-child,
  .split > div:last-child {
    grid-column: 2;
  }

  .enrollment-intro {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .info-columns,
  .program-grid,
  .update-grid,
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-panel.enrollment-form-panel,
  .info-panel.reading-panel,
  .info-panel.support-flyer-panel,
  .info-panel.transportation-panel,
  .info-columns > .program-basics-panel:last-child {
    grid-column: span 2;
  }

  .guardian-cards,
  .enrollment-grid-3,
  .enrollment-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-3 {
    grid-column: span 2;
  }

  .program-card,
  .program-card:first-child {
    grid-column: auto;
  }

  .transport-list {
    grid-template-columns: 1fr;
  }

  .resource-grid > :last-child,
  .program-grid > :last-child,
  .update-grid > :last-child,
  .event-grid > :last-child {
    grid-column: auto;
  }

  .resource-grid > :last-child:nth-child(2n + 1),
  .resource-grid > :last-child:nth-child(3n + 1),
  .program-grid > :last-child:nth-child(2n + 1),
  .program-grid > :last-child:nth-child(3n + 1),
  .update-grid > :last-child:nth-child(2n + 1),
  .update-grid > :last-child:nth-child(3n + 1),
  .update-grid > :last-child:nth-child(4n + 1),
  .event-grid > :last-child:nth-child(2n + 1),
  .event-grid > :last-child:nth-child(3n + 1),
  .event-grid > :last-child:nth-child(4n + 1) {
    grid-column: auto;
  }

  .program-grid > :nth-last-child(2):nth-child(3n + 1),
  .program-grid > :last-child:nth-child(3n + 1),
  .program-grid > :last-child:nth-child(3n + 2) {
    grid-column: auto;
  }

  .resource-grid > :last-child:nth-child(2n + 1),
  .program-grid > :last-child:nth-child(2n + 1),
  .update-grid > :last-child:nth-child(2n + 1),
  .event-grid > :last-child:nth-child(2n + 1) {
    grid-column: span 2;
  }

  .program-grid > :last-child:nth-child(2n + 1) {
    width: min(100%, 520px);
    justify-self: center;
    grid-column: 1 / -1;
  }

  .donate-inner {
    grid-template-columns: 1fr;
  }

  .donate-copy {
    max-width: none;
  }

  .donate-media-panel {
    justify-items: start;
  }

  .donate-gallery {
    width: min(100%, 420px);
    justify-self: start;
  }

  #summer {
    justify-items: center;
  }

  #summer .feature-copy {
    width: min(100%, 720px);
  }

  #summer .flyer {
    width: min(100%, 440px);
    justify-self: center;
  }
}

@media (max-width: 740px) {
  .nav {
    width: min(var(--max), calc(100% - 32px));
    min-height: 66px;
  }

  .brand img {
    width: 54px;
    height: 34px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .account-button {
    min-height: 44px;
    padding: 12px;
  }

  .account-button-icon {
    width: 24px;
    height: 24px;
  }

  .quick-info,
  .section,
  .split,
  .contact-inner,
  .footer {
    width: min(var(--max), calc(100% - 32px));
  }

  .home-hero {
    row-gap: 22px;
    column-gap: 0;
    padding: 0 0 30px;
    background:
      linear-gradient(180deg, rgba(223, 244, 241, 0.38), rgba(255, 247, 227, 0.58)),
      var(--paper);
  }

  .hero-photo-frame {
    aspect-ratio: 4 / 5;
  }

  .hero-photo-dots {
    right: 12px;
    bottom: 12px;
  }

  .hero-intro-copy {
    width: 100%;
    margin-top: -26px;
    padding: 20px;
  }

  .hero-board {
    width: 100%;
    padding: 24px;
    border-width: 8px;
  }

  .hero-board .hero-board-cards {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-board-cards .quick-note,
  .hero-board-cards .quick-note:nth-child(2),
  .hero-board-cards .quick-note:nth-child(3),
  .hero-board-cards .quick-note:nth-child(4),
  .hero-board-cards .quick-note:nth-child(5) {
    width: auto;
    justify-self: stretch;
    grid-column: auto;
    min-height: 0;
    transform: none;
  }

  .hero-board .quick-info p {
    font-size: 0.92rem;
  }

  .quick-info .quick-note,
  .quick-info .quick-note:nth-child(2),
  .quick-info .quick-note:nth-child(3),
  .quick-info .quick-note:hover,
  .quick-info .quick-note:focus-visible {
    transform: none;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero-intro-copy h1 {
    font-size: 1.98rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-location-link {
    align-items: stretch;
    column-gap: 9px;
  }

  .hero-location-place {
    padding-left: 0;
  }

  .section,
  .split {
    padding: 64px 0;
  }

  .split,
  .media-strip,
  .director,
  #summer,
  .feature-alt,
  .programs,
  .resources,
  .info-columns,
  .closures,
  .updates,
  .events,
  .donate {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-top: 64px;
    padding-bottom: 64px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .split {
    grid-template-columns: 16px minmax(0, 1fr) 16px;
    padding-right: 0;
    padding-left: 0;
  }

  .split > div:first-child,
  .split > div:last-child {
    grid-column: 2;
  }

  #summer {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  #summer .feature-copy {
    order: 2;
    padding: 24px;
  }

  #summer h2 {
    font-size: 1.88rem;
    line-height: 1.08;
  }

  #summer .flyer {
    order: 1;
    width: min(100%, 360px);
    padding: 10px;
  }

  .resource-grid,
  .info-columns,
  .program-grid,
  .update-grid,
  .event-grid,
  .photo-grid-spaces,
  .donate-gallery {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 178px;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px 12px;
  }

  .resource-visual {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .resource-visual svg {
    width: 62px;
    height: 62px;
  }

  .resource-card strong {
    font-size: 1.05rem;
  }

  .contact-form-card {
    grid-template-columns: 1fr;
    padding: 24px 18px 22px;
  }

  .resource-grid > :last-child,
  .program-grid > :last-child,
  .update-grid > :last-child,
  .event-grid > :last-child {
    grid-column: auto;
  }

  .resource-grid > :last-child:nth-child(2n + 1),
  .resource-grid > :last-child:nth-child(3n + 1),
  .program-grid > :last-child:nth-child(2n + 1),
  .program-grid > :last-child:nth-child(3n + 1),
  .update-grid > :last-child:nth-child(2n + 1),
  .update-grid > :last-child:nth-child(3n + 1),
  .update-grid > :last-child:nth-child(4n + 1),
  .event-grid > :last-child:nth-child(2n + 1),
  .event-grid > :last-child:nth-child(3n + 1),
  .event-grid > :last-child:nth-child(4n + 1) {
    grid-column: auto;
  }

  .program-grid > :last-child {
    width: auto;
    justify-self: stretch;
  }

  .info-panel.enrollment-form-panel {
    grid-column: auto;
  }

  .info-panel.reading-panel,
  .info-panel.support-flyer-panel,
  .info-panel.transportation-panel,
  .info-columns > .program-basics-panel:last-child {
    grid-column: auto;
  }

  .info-panel.support-flyer-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .support-flyer-copy {
    padding-top: 20px;
  }

  .info-flyer-media {
    justify-self: center;
    width: min(100%, 360px);
  }

  .info-flyer-media img,
  .info-flyer-media .story-file-preview {
    max-height: 420px;
  }

  .info-panel.enrollment-form-panel {
    padding: 16px;
    background:
      linear-gradient(90deg, rgba(200, 63, 61, 0.12) 0 2px, transparent 2px 100%),
      repeating-linear-gradient(0deg, transparent 0 30px, rgba(13, 111, 167, 0.08) 30px 31px),
      linear-gradient(180deg, #fffef8, #f7fbff);
    background-position: 28px 0, 0 8px, 0 0;
    border-top-width: 4px;
    border-radius: 16px;
  }

  .enrollment-form-panel::before {
    display: none;
  }

  .enrollment-form-heading {
    display: grid;
    gap: 8px;
    max-width: none;
    padding: 2px 2px 4px;
  }

  .enrollment-form-heading h2 {
    margin: 0;
    font-size: 1.72rem;
    line-height: 1.08;
  }

  .enrollment-form-heading p:not(.section-kicker) {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .enrollment-builder {
    gap: 14px;
  }

  .enrollment-fieldset {
    padding: 16px 14px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(16, 38, 61, 0.08);
  }

  .enrollment-fieldset:focus-within {
    border-color: rgba(13, 111, 167, 0.28);
    box-shadow: 0 12px 26px rgba(16, 38, 61, 0.1);
  }

  .enrollment-fieldset legend {
    width: calc(100% + 4px);
    margin-left: -2px;
    padding: 0 2px 10px;
    gap: 9px;
    font-size: 0.94rem;
    line-height: 1.15;
  }

  .enrollment-fieldset legend span {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    font-size: 0.85rem;
  }

  .guardian-cards,
  .enrollment-grid,
  .enrollment-grid-3,
  .enrollment-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guardian-card,
  .mini-form-card {
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
  }

  .guardian-card h3,
  .mini-form-card strong {
    font-size: 1rem;
  }

  .enrollment-builder label {
    gap: 6px;
    font-size: 0.78rem;
  }

  .enrollment-builder input,
  .enrollment-builder textarea {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 16px;
  }

  .date-field-shell {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .date-picker-open {
    min-height: 44px;
  }

  .signature-grid,
  .signature-entry-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .check-option {
    min-height: 44px;
    align-items: flex-start;
    padding: 10px 11px;
    line-height: 1.35;
  }

  .check-option:has(input:checked) {
    color: var(--navy) !important;
    background: rgba(223, 244, 241, 0.8);
    border-color: rgba(47, 109, 85, 0.28);
  }

  .pickup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pickup-grid label {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .span-2,
  .span-3 {
    grid-column: auto;
  }

  .permission-list {
    gap: 10px;
    margin-top: 14px;
  }

  .permission-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 12px;
  }

  .permission-row > span {
    grid-column: 1 / -1;
    color: var(--navy);
    font-size: 0.93rem;
    line-height: 1.3;
  }

  .permission-row label {
    min-height: 40px;
    padding: 8px;
    font-size: 0.86rem;
  }

  .permission-row label:has(input:checked) {
    color: var(--navy);
    background: rgba(223, 244, 241, 0.84);
    border-color: rgba(13, 111, 167, 0.28);
    box-shadow: inset 0 0 0 1px rgba(13, 111, 167, 0.08);
  }

  .permission-note {
    margin: -2px 0 2px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .signature-ack {
    font-size: 0.82rem;
  }

  .enrollment-actions {
    padding: 12px;
    background: rgba(255, 255, 255, 0.66);
    border-radius: 14px;
  }

  .enrollment-status {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .enrollment-preview {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border-left-width: 4px;
    border-radius: 14px;
  }

  .enrollment-preview-copy h3 {
    font-size: 1.22rem;
  }

  .enrollment-preview-copy ol {
    gap: 8px;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .enrollment-preview-viewer {
    height: min(68vh, 560px);
    min-height: 480px;
    border-radius: 12px;
  }

  .enrollment-preview-stage {
    min-height: 0;
    border-radius: 0 0 12px 12px;
  }

  .enrollment-preview-toolbar {
    border-radius: 12px 12px 0 0;
  }

  .info-columns > .program-basics-panel:last-child .detail-list {
    grid-template-columns: 1fr;
  }

  .program-basics-panel .detail-list li {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 84px;
    padding: 12px;
  }

  .program-basics-panel .basic-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .program-basics-panel .basic-icon svg {
    width: 38px;
    height: 38px;
  }

  .program-basics-panel .basic-copy span {
    text-align: left;
  }

  .director-card,
  .contact-card,
  .info-panel,
  .program-card,
  .resource-card,
  .donate-copy,
  .stacked-copy {
    padding: 22px;
  }

  .director .contact-card {
    padding: 46px 22px 24px;
  }

  .director .contact-card h3,
  .director .contact-card p {
    padding-left: 32px;
    font-size: 0.94rem;
  }

  .director .contact-card h3 {
    font-size: 1.08rem;
  }

  .director .contact-card p:last-child a {
    font-size: 0.78rem;
  }

  .donate .donate-copy {
    padding: 0;
  }

  .donate::before {
    display: none;
  }

  .donate-impact {
    grid-template-columns: 1fr;
  }

  .donate-impact article {
    min-height: auto;
  }

  .donate-media-panel {
    justify-items: center;
  }

  .donate-note,
  .donate-gallery {
    width: 100%;
  }

  .donate-gallery {
    transform: none;
  }

  .program-card {
    min-height: auto;
  }

  .photo-grid img {
    aspect-ratio: 16 / 11;
  }

  .photo-grid-spaces img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .button {
    width: 100%;
  }

  .pdf-modal {
    --modal-close-size: 40px;
    width: var(--modal-vw);
    height: var(--modal-vh);
  }

  .pdf-modal-shell {
    grid-template-rows: 60px auto minmax(0, 1fr);
  }

  .pdf-modal-header {
    min-height: 60px;
    padding:
      var(--modal-close-gap-block)
      calc(var(--modal-close-size) + var(--modal-close-gap-inline) + 12px)
      8px
      max(14px, env(safe-area-inset-left));
  }

  .pdf-modal-header h2 {
    font-size: 1rem;
  }

  .pdf-modal-header .section-kicker {
    font-size: 0.66rem;
  }

  .pdf-close {
    width: var(--modal-close-size);
    height: var(--modal-close-size);
  }

  .pdf-toolbar {
    gap: 6px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .pdf-nav-button,
  .pdf-download,
  .viewer-zoom-button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .viewer-zoom-controls {
    --viewer-zoom-button-size: 34px;
    --viewer-zoom-label-width: 48px;
    --viewer-zoom-reset-width: 44px;
    gap: 4px;
    padding: 3px;
  }

  .viewer-zoom-button {
    width: var(--viewer-zoom-button-size);
    min-width: var(--viewer-zoom-button-size);
  }

  .viewer-zoom-reset {
    width: var(--viewer-zoom-reset-width);
    min-width: var(--viewer-zoom-reset-width);
  }

  .viewer-zoom-label {
    width: var(--viewer-zoom-label-width);
    min-width: var(--viewer-zoom-label-width);
  }

  .viewer-zoom-label {
    font-size: 0.7rem;
  }

  .pdf-page-label {
    min-width: 76px;
    font-size: 0.72rem;
  }

  .pdf-stage {
    padding: 10px;
  }

  .pdf-page-canvas {
    border-radius: 6px;
  }

  .pdf-status {
    right: 12px;
    bottom: 10px;
    left: 12px;
    font-size: 0.84rem;
  }

  .media-modal {
    --modal-close-size: 40px;
    width: var(--modal-vw);
    height: var(--modal-vh);
  }

  .media-modal-shell {
    grid-template-rows: 60px minmax(0, 1fr);
  }

  .media-modal-header {
    min-height: 60px;
    padding:
      var(--modal-close-gap-block)
      calc(var(--modal-close-size) + var(--modal-close-gap-inline) + 12px)
      8px
      max(14px, env(safe-area-inset-left));
  }

  .media-modal-header h2 {
    font-size: 1rem;
  }

  .media-modal-header .section-kicker {
    font-size: 0.66rem;
  }

  .media-close {
    width: var(--modal-close-size);
    height: var(--modal-close-size);
  }

  .media-modal-body {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
  }

  .media-modal--details .media-modal-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .media-modal--details .media-stage {
    padding: 12px;
  }

  .media-stage {
    padding: 12px;
  }

  .media-nav {
    width: 42px;
    height: 48px;
  }

  .media-nav-prev {
    left: var(--media-nav-prev-left, max(10px, env(safe-area-inset-left)));
  }

  .media-nav-next {
    right: var(--media-nav-next-right, max(10px, env(safe-area-inset-right)));
  }

  .media-counter {
    right: var(--media-counter-right, max(10px, env(safe-area-inset-right)));
    bottom: var(--media-counter-bottom, 10px);
  }

  .media-zoom-controls {
    bottom: var(--media-zoom-controls-bottom, max(10px, env(safe-area-inset-bottom)));
  }

  .media-stage img {
    max-height: calc(var(--modal-vh, 100dvh) - 84px);
  }

  .media-modal--details .media-stage img {
    max-height: min(56dvh, calc(var(--modal-vh, 100dvh) - 300px));
  }

  .media-details {
    max-height: min(32dvh, 250px);
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    overflow: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .footer {
    min-height: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .hero-intro-copy .eyebrow {
    padding-left: 12px;
    border-left-width: 4px;
    font-size: 0.72rem;
  }

  .hero-location-link {
    column-gap: 7px;
  }
}

@media (max-width: 430px) {
  .info-panel.enrollment-form-panel {
    padding: 12px;
    border-radius: 14px;
  }

  .enrollment-form-heading h2 {
    font-size: 1.5rem;
  }

  .enrollment-form-heading p:not(.section-kicker) {
    font-size: 0.9rem;
  }

  .enrollment-fieldset {
    padding: 14px 11px 12px;
  }

  .enrollment-fieldset legend {
    font-size: 0.9rem;
  }

  .guardian-card,
  .mini-form-card {
    padding: 12px;
  }

  .pickup-grid {
    grid-template-columns: 1fr;
  }

  .permission-row {
    padding: 10px;
  }

  .enrollment-preview-viewer {
    height: min(62vh, 520px);
    min-height: 410px;
  }
}

@media (hover: none) {
  .quick-info .quick-note:hover,
  .quick-info .quick-note:focus-visible,
  .program-card:hover,
  .calendar-frame:hover,
  .photo-grid figure[role="button"]:hover,
  .flyer[role="button"]:hover,
  .donate-gallery[role="button"]:hover,
  .update-card:hover,
  .event-card:hover,
  .resource-card:hover,
  .button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-photo-dot {
    transition: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
