:root {
  --bg: #f5f3e8;
  --paper: #fffdf7;
  --paper-strong: #ffffff;
  --ink: #1f3126;
  --muted: #607064;
  --green-700: #6aa84f;
  --green-800: #4e7d3a;
  --green-900: #325229;
  --coral-500: #ff6961;
  --coral-700: #9f3f3a;
  --coral-800: #7f2f2b;
  --coral-200: #ffd2cf;
  --coral-100: #fff0ee;
  --yellow-400: #f4db79;
  --yellow-300: #fff0b8;
  --mint: #e7f1df;
  --sky: #dcecf8;
  --peach: #f8d1c8;
  --line: rgba(50, 82, 41, 0.1);
  --shadow: 0 22px 48px rgba(50, 82, 41, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-heading: var(--font-body);
  /* Revert option: set --font-heading to "Fraunces", Georgia, serif; */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 210, 207, 0.34), transparent 28%),
    radial-gradient(circle at bottom right, rgba(106, 168, 79, 0.12), transparent 30%),
    linear-gradient(180deg, #faf8f1 0%, #f4f0e4 100%);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(35, 89, 47, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 120;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--green-900);
  color: white;
  font-weight: 800;
}

.skip-link:focus-visible {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.top-band {
  height: 8px;
  background: linear-gradient(90deg, var(--coral-500) 0%, #ff8b82 32%, var(--green-700) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 243, 232, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(31, 49, 38, 0.05);
  border-bottom: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
  margin-bottom: 0;
  position: static;
  z-index: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 0.35rem;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 207, 0.42), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 248, 0.92));
  border: 1px solid rgba(31, 49, 38, 0.1);
  box-shadow:
    0 16px 32px rgba(31, 49, 38, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 800;
}

.brand-subtitle {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.header-note {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(255, 105, 97, 0.14);
  box-shadow: 0 14px 24px rgba(31, 49, 38, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.homepage-hero-slideshow {
  position: relative;
  width: 100%;
  height: clamp(210px, 26vw, 280px);
  margin-top: 0.35rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(31, 49, 38, 0.08);
  box-shadow: 0 20px 40px rgba(31, 49, 38, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 210, 207, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 246, 0.88));
}

.homepage-hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 2;
}

.homepage-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.homepage-hero-slide[hidden] {
  display: none !important;
}

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

.homepage-hero-slideshow-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--green-900);
  box-shadow: 0 12px 24px rgba(31, 49, 38, 0.12);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.homepage-hero-slideshow-button.is-prev {
  left: 0.9rem;
}

.homepage-hero-slideshow-button.is-next {
  right: 0.9rem;
}

.homepage-hero-slideshow:hover .homepage-hero-slideshow-button,
.homepage-hero-slideshow:focus-within .homepage-hero-slideshow-button {
  opacity: 1;
}

.homepage-hero-slideshow-button:hover,
.homepage-hero-slideshow-button:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  color: var(--coral-500);
}

.nav-shell {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
    linear-gradient(90deg, #98db6f 0%, #81ce58 18%, #5aa73f 50%, #75c14e 82%, #9ee176 100%);
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  border-bottom: 7px solid var(--coral-500);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
  padding: 0;
  justify-content: flex-start;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.nav-inner::before {
  display: none;
}

.nav-inner::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 14px;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.16);
  color: var(--coral-500);
  font-weight: 800;
  cursor: pointer;
}

.site-nav {
  width: 100%;
  overflow: visible;
}

.menu,
.submenu,
.link-list,
.check-list,
.doc-list,
.meta-list,
.person-list,
.page-section-block ul,
.page-section-block ol,
.card-richtext ul,
.card-richtext ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.45rem;
  overflow: visible;
  padding: 0;
}

.menu-item {
  position: relative;
  flex: 0 0 auto;
}

.menu-item.is-open {
  z-index: 5;
}

.menu-item > a,
.menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0.75rem 1.15rem;
  border-radius: 12px 12px 0 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #17361d;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  white-space: nowrap;
  text-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-item > a:hover,
.menu-item > a:focus-visible,
.menu-trigger:hover,
.menu-trigger:focus-visible,
.menu-item.is-open > .menu-trigger {
  background: rgba(255, 255, 255, 0.22);
  color: var(--coral-500);
  transform: none;
}

.menu-item > a.current,
.menu-trigger.current {
  background: rgba(255, 255, 255, 0.22);
  color: var(--coral-500);
  box-shadow: none;
}

.menu-item.has-submenu > .menu-trigger::after {
  content: "▾";
  margin-left: 0.45rem;
  font-size: 0.78rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  transition: transform 0.22s ease;
}

.menu-item.is-open > .menu-trigger::after {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 250px;
  max-width: min(320px, calc(100vw - 2rem));
  width: max-content;
  padding: 0.55rem;
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(31, 49, 38, 0.1);
  box-shadow: 0 30px 56px rgba(20, 35, 22, 0.18);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.submenu[hidden] {
  display: none !important;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(255, 253, 247, 0.97);
  border-left: 1px solid rgba(31, 49, 38, 0.08);
  border-top: 1px solid rgba(31, 49, 38, 0.08);
}

.menu-item.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 0.78rem 0.92rem;
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a.current {
  background: rgba(106, 168, 79, 0.16);
  color: var(--green-900);
  transform: translateX(2px);
}

.page-hero {
  padding: 4.8rem 0 3rem;
}

.page-hero + .section {
  padding-top: 1.4rem;
}

.homepage-hero {
  padding-top: 0.65rem;
  padding-bottom: 1rem;
}

.homepage-hero + .section {
  padding-top: 0.2rem;
}

.homepage-hero .homepage-hero-content {
  padding-top: 0.1rem;
}

.homepage-hero-shell {
  display: grid;
  gap: 1.1rem;
}

.hero-layout,
.two-col,
.content-split,
.contact-layout,
.cta-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-800);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.page-hero h1,
.section-head h2,
.content-block h2,
.panel h2,
.card h3,
.info-card h3,
.footer-block h3,
.page-title {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero h1 {
  font-size: clamp(1.425rem, 2.736vw, 2.679rem);
}

.section-head h2,
.content-block h2 {
  font-size: clamp(0.854rem, 1.642vw, 1.608rem);
}

.lead,
.card p,
.card-richtext p,
[data-page-section-body] p,
.info-card p,
.panel p,
.footer-block p,
.text-block p,
.section-head p,
.meta-list li,
.doc-list li,
.card-richtext li,
[data-page-section-body] li,
.person-list li,
.check-list li,
.link-list li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.badge-row,
.subpage-links,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.badge-row {
  margin-top: 1.4rem;
}

.homepage-badge-row {
  margin-top: 0.8rem;
  flex-wrap: nowrap;
}

.badge,
.kicker,
.page-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 49, 38, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.badge {
  border-radius: 999px;
  color: var(--muted);
}

.kicker,
.page-tag {
  border-radius: 18px;
  color: var(--green-800);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card .page-tag,
.card .kicker {
  margin-bottom: 0.55rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(140deg, var(--green-900), #719e57);
  color: white;
  box-shadow:
    0 16px 34px rgba(50, 82, 41, 0.28),
    0 6px 18px rgba(255, 105, 97, 0.12);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 240, 238, 0.92), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(255, 105, 97, 0.18);
  border-radius: 18px;
  color: var(--coral-500);
}

.btn-secondary:visited {
  color: var(--coral-500);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--green-800);
}

.section {
  padding: 4.2rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 244, 242, 0.44), rgba(255, 255, 255, 0.38));
  border-top: 1px solid rgba(31, 49, 38, 0.04);
  border-bottom: 1px solid rgba(31, 49, 38, 0.04);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head > * {
  flex: 1;
}

.grid-2,
.grid-3,
.grid-4,
.footer-grid,
.contact-cards,
.stats-grid,
.subpage-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card,
.info-card,
.panel,
.notice-card,
.footer-block,
.content-block,
.hero-panel,
.contact-card,
.page-nav,
.stat,
.highlight-box {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card,
.info-card,
.panel,
.notice-card,
.footer-block,
.content-block,
.contact-card,
.page-nav,
.stat,
.highlight-box {
  padding: 1.45rem;
}

.panel,
.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel.warm {
  background: linear-gradient(180deg, rgba(255, 246, 202, 0.95), rgba(255, 255, 255, 0.92));
}

.panel.mint {
  background: linear-gradient(180deg, rgba(231, 241, 223, 0.97), rgba(255, 255, 255, 0.92));
}

.panel.sky {
  background: linear-gradient(180deg, rgba(220, 236, 248, 0.95), rgba(255, 255, 255, 0.92));
}

.notice-card.featured,
.highlight-box {
  background:
    radial-gradient(circle at top right, rgba(255, 105, 97, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(50, 82, 41, 0.97), rgba(106, 168, 79, 0.92));
  color: white;
}

.notice-card.featured p,
.notice-card.featured li,
.notice-card.featured a,
.highlight-box p,
.highlight-box li,
.highlight-box a {
  color: rgba(255, 255, 255, 0.92);
}

.card h3,
.info-card h3,
.notice-card h3,
.footer-block h3,
.contact-card h3,
.content-block h2,
.page-nav h3 {
  margin-bottom: 0.7rem;
}

.link,
.doc-link {
  display: inline-flex;
  margin-top: 0.85rem;
  font-weight: 800;
  color: var(--green-800);
  text-decoration: underline;
}

.meta-list li,
.doc-list li,
.card-richtext li,
[data-page-section-body] li,
.person-list li,
.check-list li,
.link-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-top: 0.72rem;
}

.meta-list li::before,
.doc-list li::before,
.card-richtext li::before,
[data-page-section-body] li::before,
.person-list li::before,
.check-list li::before,
.link-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-700);
}

.doc-list a,
.link-list a,
.person-list a,
.meta-list a,
.page-section-block a,
.card-richtext a {
  color: var(--green-900);
  font-weight: 700;
  text-decoration: underline;
}

.card-richtext > *:first-child,
[data-page-section-body] > *:first-child,
[data-section-body] > *:first-child {
  margin-top: 0;
}

.card-richtext > *:last-child,
[data-page-section-body] > *:last-child,
[data-section-body] > *:last-child {
  margin-bottom: 0;
}

.page-nav {
  position: sticky;
  top: 142px;
}

.page-nav .subpage-links {
  margin-top: 1rem;
}

.subpage-links a {
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 105, 97, 0.1);
  border: 1px solid rgba(255, 105, 97, 0.16);
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.table-card {
  overflow: auto;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.meal-plan-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(31, 49, 38, 0.08);
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(31, 49, 38, 0.08);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 246, 0.84));
}

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

.hero-map-embed {
  margin-top: 1.2rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(31, 49, 38, 0.08);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 246, 0.84));
}

.contact-hero-block {
  grid-column: 1 / -1;
  width: min(75%, 900px);
  max-width: 100%;
  justify-self: center;
}

.hero-map-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.table-card th,
.table-card td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(31, 49, 38, 0.08);
  text-align: left;
  color: var(--muted);
}

.site-footer {
  margin-top: 4rem;
  padding: 20px 0;
  background:
    linear-gradient(180deg, rgba(255, 105, 97, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(39, 64, 31, 0.98), rgba(28, 46, 23, 0.98));
  color: rgba(255, 255, 255, 0.85);
  border-top: 4px solid rgba(255, 105, 97, 0.45);
}

.noscript-banner {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 210, 207, 0.48);
  border: 1px solid rgba(255, 105, 97, 0.2);
  color: var(--ink);
  font-weight: 700;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: 1.4rem;
}

.footer-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 210, 207, 0.14);
  box-shadow: none;
}

.footer-grid > .footer-block:first-child,
.footer-school-card {
  position: relative;
  min-height: 250px;
}

.footer-grid > .footer-block:first-child .footer-school-logo,
.footer-school-logo {
  position: absolute;
  right: calc(clamp(1rem, 3vw, 2.3rem) + 35px);
  bottom: calc(1.35rem + 49px);
  width: 108px;
  height: 108px;
  display: block;
  object-fit: contain;
  padding: 0.45rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(14, 22, 11, 0.12);
  opacity: 0.98;
  pointer-events: none;
}

.footer-block a {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

@media (max-width: 1080px) {
  .menu-item > a {
    font-size: 0.9rem;
    padding-inline: 0.95rem;
  }

  .menu-trigger {
    font-size: 0.9rem;
    padding-inline: 0.95rem;
  }

  .hero-layout,
  .two-col,
  .content-split,
  .contact-layout,
  .cta-band,
  .section-head,
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .footer-grid,
  .contact-cards,
  .stats-grid,
  .subpage-grid {
    grid-template-columns: 1fr;
  }

  .page-nav {
    position: static;
  }

  .contact-hero-block {
    width: 100%;
    justify-self: stretch;
  }

  .homepage-badge-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-note {
    width: 100%;
  }

  .homepage-hero-slideshow {
    height: 220px;
  }

  .homepage-hero-slideshow-button {
    width: 38px;
    height: 38px;
    opacity: 1;
  }

  .nav-shell {
    padding-top: 0;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open {
    display: block;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    overflow: visible;
  }

  .menu-item {
    flex: initial;
    position: static;
  }

  .menu-item > a,
  .menu-trigger {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.95rem;
    border-radius: 12px;
    color: #17361d;
    font-size: 0.98rem;
    text-align: left;
    background: transparent;
  }

  .menu-item > a.current,
  .menu-item > a:hover,
  .menu-item > a:focus-visible,
  .menu-trigger.current,
  .menu-trigger:hover,
  .menu-trigger:focus-visible,
  .menu-item.is-open > .menu-trigger {
    background: rgba(255, 255, 255, 0.22);
    color: var(--coral-500);
  }

  .submenu {
    position: relative;
    left: 50%;
    display: none;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0.25rem 0 0.5rem;
    padding: 0.65rem 1rem 0.7rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    gap: 0.35rem;
    border-radius: 0;
    box-shadow: none;
  }

  .submenu::before {
    display: none;
  }

  .submenu li {
    width: 100%;
  }

  .submenu a {
    display: block;
    width: 100%;
  }

  .menu-item.is-open .submenu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .page-hero,
  .section {
    padding: 3.2rem 0;
  }

  .card,
  .info-card,
  .panel,
  .notice-card,
  .footer-block,
  .content-block,
  .contact-card,
  .page-nav,
  .stat,
  .highlight-box {
    padding: 1.2rem;
  }

  .footer-school-logo {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-map-embed iframe {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
