:root {
  --brown: #cdd6ee;
  --brown-dark: #1f42a5;
  --brown-soft: #6f86c9;
  --gold: #1f42a5;
  --cream: #f7f9ff;
  --muted: rgba(31, 66, 165, 0.72);
  --ink: #1f42a5;
  --notice-banner-height: 58px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--brown);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--brown);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: var(--notice-banner-height, 0px) 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(31, 66, 165, 0.16);
  background: color-mix(in srgb, var(--brown) 88%, transparent);
  backdrop-filter: blur(14px);
}

.notice-banner {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  width: 100%;
  min-height: 58px;
  padding: 14px clamp(20px, 4vw, 48px);
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: clamp(0.95rem, 1.4vw, 1.14rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(31, 66, 165, 0.24);
}

.notice-banner:hover {
  text-decoration: underline;
}

body.notice-hidden {
  --notice-banner-height: 0px;
}

.logo,
.nav-links,
.outline-button,
.solid-button {
  font-weight: 800;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-family: Georgia, "Times New Roman", serif;
}

.logo-mark {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transition: right 180ms ease;
}

.nav-links a:hover::after {
  right: 0;
}

.outline-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.outline-button {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.solid-button {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--cream);
  box-shadow: 0 12px 32px rgba(31, 66, 165, 0.22);
}

.outline-button:hover,
.solid-button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 66, 165, 0.4);
  border-radius: 8px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: calc(112px + var(--notice-banner-height, 0px)) clamp(20px, 4vw, 48px) 48px;
  border-bottom: 1px solid rgba(31, 66, 165, 0.14);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 7.8vw, 8.25rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.scribble {
  position: relative;
  display: inline-block;
}

.scribble::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.03em;
  height: 0.18em;
  background: url("data:image/svg+xml,%3Csvg width='340' height='34' viewBox='0 0 340 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 23C43 7 76 22 121 12C178 -1 209 30 337 8' stroke='%231F42A5' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M18 29C83 11 134 32 199 17C249 6 289 22 329 15' stroke='%231F42A5' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
}

.hero p {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-image {
  margin: 0;
  min-height: clamp(440px, 68vh, 700px);
  border-radius: 8px;
  overflow: hidden;
}

.hero-image img,
.purpose-card img,
.purpose-story-images img,
.service-card img,
.boundary-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 700ms ease;
}

.hero-image:hover img,
.purpose-card:hover img,
.service-card:hover img,
.boundary-image:hover img {
  transform: scale(1.045);
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 4vw, 48px);
  background: var(--cream);
  color: var(--ink);
}

.trust-strip p {
  margin: 0;
  max-width: 720px;
  color: rgba(31, 66, 165, 0.74);
  line-height: 1.6;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-items span {
  padding: 10px 14px;
  border: 1px solid rgba(31, 66, 165, 0.16);
  border-radius: 999px;
  font-weight: 750;
}

.purpose-section,
.services-section,
.boundary-section,
.board-section,
.calendar-section,
.financials-section,
.contact-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 48px);
}

.section-lead {
  max-width: 760px;
  margin: 0 0 34px;
  line-height: 1.64;
}

.purpose-section .section-lead,
.board-section .section-lead,
.financials-section .section-lead {
  color: var(--muted);
}

.services-section .section-lead,
.boundary-section .section-lead,
.calendar-section .section-lead {
  color: rgba(31, 66, 165, 0.72);
}

.section-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
}

.section-title p,
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.4vw, 5.8rem);
  font-weight: 500;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.purpose-section {
  background: var(--brown);
  text-align: center;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.purpose-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}

.purpose-card img {
  height: 320px;
  object-fit: contain;
}

.purpose-card div {
  padding: 26px;
}

.purpose-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}

.purpose-story-images {
  position: relative;
  min-height: 520px;
}

.purpose-story-images img {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(31, 66, 165, 0.18);
  object-fit: cover;
}

.purpose-story-images img:first-child {
  inset: 0 auto auto 0;
  width: 72%;
  height: 70%;
}

.purpose-story-images img:last-child {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 46%;
  border: 10px solid var(--cream);
}

.purpose-story-copy {
  align-self: center;
}

.purpose-card p,
.purpose-story-copy p,
.boundary-copy p,
.service-card p,
.calendar-card p,
.contact-copy p {
  color: rgba(31, 66, 165, 0.72);
  line-height: 1.64;
}

.boundary-section {
  background: var(--cream);
  color: var(--ink);
  display: flex;
  align-items: center;
}

.boundary-section .section-title p {
  color: var(--ink);
}

.boundary-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.boundary-image img {
  object-fit: contain;
  background: #ffffff;
}

.placeholder-list,
.name-list {
  margin: 20px 0 0;
  padding-left: 1.2rem;
  line-height: 1.8;
}

.board-section {
  background: var(--brown);
}

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

.roster-card {
  min-height: 220px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(31, 66, 165, 0.16);
  border-radius: 8px;
  background: rgba(247, 249, 255, 0.58);
}

.roster-role {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.roster-card p:last-child {
  color: var(--muted);
}

.calendar-section {
  background: var(--cream);
  color: var(--ink);
}

.calendar-section .section-title p {
  color: var(--ink);
}

.calendar-section .section-title {
  margin-bottom: 24px;
}

.calendar-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calendar-embed {
  max-width: 960px;
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.calendar-card {
  min-height: 220px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(31, 66, 165, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.calendar-card span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.name-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.financials-section {
  background: var(--brown);
}

.financials-section .section-title {
  margin-bottom: 24px;
}

.financials-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.budget-modal {
  width: min(920px, calc(100% - 32px));
  max-height: min(820px, calc(100svh - 32px));
  padding: 0;
  border: 1px solid rgba(31, 66, 165, 0.22);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}

.notice-modal {
  width: min(980px, calc(100% - 32px));
  max-height: min(860px, calc(100svh - 32px));
  padding: 0;
  border: 1px solid rgba(31, 66, 165, 0.22);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-18px);
}

.notice-modal[open] {
  animation: notice-modal-in 220ms ease forwards;
}

.notice-modal.is-closing {
  animation: notice-modal-out 180ms ease forwards;
}

.notice-modal::backdrop {
  background: rgba(31, 66, 165, 0.44);
}

.notice-modal-content {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
}

.notice-modal img {
  width: 100%;
  max-height: calc(100svh - 120px);
  object-fit: contain;
  border-radius: 8px;
}

@keyframes notice-modal-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notice-modal-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-18px);
  }
}

.budget-modal::backdrop {
  background: rgba(31, 66, 165, 0.36);
}

.budget-modal-content {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(31, 66, 165, 0.2);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.budget-subtitle {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.budget-note {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(31, 66, 165, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.budget-note span {
  color: var(--muted);
  line-height: 1.55;
}

.table-wrap {
  overflow-x: auto;
  margin: 14px 0 28px;
  border: 1px solid rgba(31, 66, 165, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(31, 66, 165, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 900;
}

td:last-child,
th:last-child {
  text-align: right;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.services-section {
  background: var(--cream);
  color: var(--ink);
}

.services-section .section-title p {
  color: var(--ink);
}

.services-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}

.service-card {
  min-height: 450px;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  scroll-snap-align: start;
}

.service-card img {
  height: 270px;
}

.service-card h3,
.service-card p,
.service-card span {
  margin-left: 22px;
  margin-right: 22px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card span {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-section {
  background: var(--brown);
}

.contact-copy h2 {
  max-width: 720px;
  margin-bottom: 24px;
}

.contact-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-form {
  max-width: 420px;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(31, 66, 165, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

button.solid-button {
  border: 1px solid var(--gold);
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(31, 66, 165, 0.14);
  background: var(--brown);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-content {
  display: grid;
  gap: 8px;
  margin-left: auto;
  text-align: right;
}

.footer-content p {
  margin: 0;
}

.footer-logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--gold);
  font-weight: 750;
}

.full {
  width: 100%;
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 270ms;
}

@media (max-width: 980px) {
  .site-header .outline-button {
    display: none;
  }

  .hero,
  .purpose-story,
  .boundary-layout,
  .contact-section,
  .trust-strip,
  .section-title {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .purpose-grid,
  .calendar-cards,
  .roster-grid {
    grid-template-columns: 1fr;
  }

  .purpose-story-images {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 8px 20px;
  }

  .nav-links {
    position: fixed;
    inset: calc(var(--notice-banner-height, 0px) + 73px) 12px auto;
    display: none;
    padding: 20px;
    border-radius: 8px;
    background: var(--cream);
    box-shadow: 0 22px 60px rgba(31, 66, 165, 0.24);
  }

  body.menu-open .nav-links {
    display: grid;
  }

  .menu-button {
    display: block;
  }

  .hero {
    padding-top: calc(104px + var(--notice-banner-height, 0px));
  }

  .hero h1 {
    font-size: clamp(3.35rem, 14.5vw, 4.75rem);
  }

  .hero-image {
    min-height: 360px;
  }

  .trust-items {
    justify-content: flex-start;
  }

  .purpose-card img,
  .service-card img {
    height: 230px;
  }

  .purpose-story-images {
    min-height: 320px;
  }

  .financials-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
