* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-soft: rgba(241, 237, 231, 0.78);
  --text: #171717;
  --muted: #66625d;
  --line: rgba(23, 23, 23, 0.08);
  --primary: #23262d;
  --primary-soft: #5e6673;
  --accent: #8f7a56;
  --shadow: 0 20px 50px rgba(20, 20, 20, 0.08);
  --radius: 24px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(143, 122, 86, 0.08), transparent 26%),
    linear-gradient(180deg, #f9f6f1 0%, #f3efe8 100%);
}

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

.interactive-surface {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 243, 238, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  color: var(--primary);
}

.brand-title {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-script {
  font-family: "Parisienne", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1;
  color: var(--primary-soft);
  white-space: nowrap;
  transform: none;
}

.nav-links,
.mobile-menu,
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 1rem;
}

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

.page-hero {
  background:
    radial-gradient(circle at top left, rgba(143, 122, 86, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(244, 239, 232, 0.72));
}

.page-section {
  background:
    linear-gradient(180deg, rgba(239, 234, 227, 0.58), rgba(255, 255, 255, 0.18));
  border-top: 1px solid rgba(23, 23, 23, 0.04);
}

.hero-fullscreen {
  min-height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-contrast {
  background:
    radial-gradient(circle at 18% 22%, rgba(177, 30, 36, 0.12), transparent 26%),
    radial-gradient(circle at 82% 76%, rgba(122, 89, 56, 0.12), transparent 28%),
    linear-gradient(180deg, #f4efe8 0%, #ece4d9 52%, #e6ddd1 100%);
}

.hero-center,
.footer-grid,
.page-layout {
  display: grid;
  gap: 2rem;
}

.hero-center {
  place-items: center;
  text-align: center;
  gap: 1.35rem;
}

.hero-script-stage {
  width: min(1180px, 100%);
}

.hero-script-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-script-svg text {
  font-family: "Parisienne", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 112px;
  fill: rgba(88, 36, 22, 0.08);
  stroke: #5b2318;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  filter: drop-shadow(0 16px 30px rgba(83, 63, 40, 0.08));
  animation: heroWordDraw 10.2s ease-in-out infinite;
}

.hero-kicker {
  margin: 0.35rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(34, 31, 27, 0.78);
  max-width: 760px;
}

.hero-city-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-city-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 30, 36, 0.16);
  background: rgba(255, 252, 248, 0.82);
  color: #2a2520;
  font-weight: 600;
  box-shadow:
    0 14px 34px rgba(64, 46, 29, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.hero-city-links a:hover {
  transform: translateY(-2px);
  background: #fff8f4;
  color: #8e1e25;
  border-color: rgba(176, 30, 36, 0.32);
  box-shadow:
    0 18px 40px rgba(64, 46, 29, 0.1),
    0 0 28px rgba(176, 30, 36, 0.08);
}

.narrow-copy {
  max-width: 900px;
}

.section-tag {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--primary-soft);
  font-weight: 600;
}

.back-link:hover {
  color: var(--text);
}

h2,
h3,
.page-title {
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-family: "Cormorant Garamond", serif;
}

h2,
.page-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  font-weight: 600;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  font-weight: 600;
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading p,
.footer-copy,
.info-card p,
.news-card p,
.city-copy,
.page-intro p,
.page-card p,
.location-meta p {
  color: var(--muted);
}

.lede-copy {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.8;
  font-weight: 500;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
}

.about-hero {
  padding-bottom: 3.5rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: 2rem;
}

.about-hero-copy {
  display: grid;
  gap: 1rem;
}

.about-lede {
  max-width: 760px;
  font-size: clamp(1.28rem, 2.2vw, 1.7rem);
}

.about-mission-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 240, 0.92));
}

.about-mission-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
}

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

.about-value-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
}

.about-value-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-grid,
.city-group-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.news-card,
.city-panel,
.photo-card,
.page-card,
.location-meta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card,
.news-card,
.city-panel,
.page-card,
.location-meta {
  padding: 1.45rem;
}

.feature-link-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 180px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.95);
}

.feature-link-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}

.feature-link-card p {
  margin: 0;
  color: var(--muted);
}

.feature-link-card-cta {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.feature-link-card-single {
  max-width: 380px;
}

.detail-card {
  display: grid;
  max-width: 320px;
  width: 100%;
  gap: 0.65rem;
  padding: 0.9rem;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.detail-card img,
.detail-card .photo-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.fundraiser-card {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  min-height: 190px;
  align-items: start;
  margin: 0 auto;
}

.fundraiser-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(143, 122, 86, 0.28);
  background: rgba(255, 255, 255, 0.98);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.button-link:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 122, 86, 0.42);
  box-shadow:
    0 18px 34px rgba(20, 20, 20, 0.08),
    0 0 24px rgba(143, 122, 86, 0.16);
}

.section-soft {
  background: linear-gradient(180deg, rgba(241, 237, 231, 0.6), rgba(255, 255, 255, 0.14));
  border-top: 1px solid rgba(23, 23, 23, 0.04);
  border-bottom: 1px solid rgba(23, 23, 23, 0.04);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(35, 38, 45, 0.06);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.45rem;
}

.page-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.locations-overview {
  display: grid;
  gap: 1.5rem;
}

.section-stack {
  display: grid;
  gap: 2rem;
}

.compact-stack {
  gap: 1rem;
}

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

.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
  justify-content: center;
  justify-items: center;
  gap: 32px;
}

.gallery-section {
  display: grid;
  gap: 0.55rem;
}

.gallery-section h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
}

.section-link-heading {
  width: fit-content;
}

.section-link-heading:hover {
  color: var(--primary-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.compact-gallery {
  gap: 0.5rem;
}

.gallery-placeholder {
  aspect-ratio: 1 / 0.72;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(145deg, rgba(35, 38, 45, 0.16), rgba(143, 122, 86, 0.12)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 36%),
    #d9d1c7;
}

.gallery-placeholder,
.news-tile,
.city-panel,
.photo-card,
.feature-link-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.gallery-placeholder:hover,
.news-tile:hover,
.city-panel:hover,
.photo-card:hover,
.feature-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 122, 86, 0.35);
  box-shadow:
    0 22px 40px rgba(20, 20, 20, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(143, 122, 86, 0.16);
}

.compact-gallery .gallery-placeholder {
  aspect-ratio: 1 / 1;
  min-height: 46px;
}

.compact-gallery-small .gallery-placeholder {
  min-height: 88px;
}

.photo-card-small {
  min-height: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
}

.school-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
  justify-content: center;
  gap: 32px;
}

.school-photo-frame {
  max-width: 320px;
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.school-photo-image {
  min-height: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px solid rgba(138, 126, 110, 0.24);
  background:
    linear-gradient(145deg, rgba(183, 173, 161, 0.36), rgba(206, 196, 183, 0.34)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 42%),
    #c8bfb3;
}

.school-photo-image::after {
  content: "Photo placeholder";
  inset: auto 1.1rem 1.1rem auto;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-tile {
  min-height: 140px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    linear-gradient(145deg, rgba(35, 38, 45, 0.11), rgba(143, 122, 86, 0.1)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 35%),
    rgba(255, 255, 255, 0.78);
  aspect-ratio: 16 / 10;
}

.news-tile-wide {
  min-height: 150px;
}

.featured-media-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1rem;
}

.featured-media-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
}

.featured-media-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.featured-article-card {
  text-decoration: none;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 245, 240, 0.94));
}

.featured-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 30, 36, 0.22);
  box-shadow:
    0 20px 40px rgba(64, 46, 29, 0.1),
    0 0 24px rgba(176, 30, 36, 0.08);
}

.media-embed-shell {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  background: #111;
  box-shadow: var(--shadow);
}

.media-embed-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.city-group {
  display: grid;
  gap: 1rem;
}

.city-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.city-heading h2 {
  margin: 0;
}

.city-group-grid {
  grid-template-columns: repeat(2, 1fr);
}

.city-group-grid.single-card {
  grid-template-columns: 1fr;
}

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

.city-panel-row {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  align-items: stretch;
}

.city-panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
}

.photo-card {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(35, 38, 45, 0.18), rgba(143, 122, 86, 0.14)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 35%),
    #d8d0c5;
}

.photo-card-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-card::after {
  content: "Photo placeholder";
  position: absolute;
  inset: auto 1rem 1rem auto;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.55);
}

.photo-card-image::after {
  content: none;
}

.location-photo-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  justify-content: center;
  gap: 30px;
}

.location-photo-stack.single-photo {
  grid-template-columns: repeat(1, minmax(320px, 420px));
  justify-items: center;
}

.location-photo-card {
  display: grid;
  max-width: 420px;
  width: 100%;
  gap: 0.6rem;
  padding: 0.9rem;
}

.location-photo-card h3 {
  margin: 0.1rem 0 0;
}

.location-photo-image {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  display: block;
}

.city-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  width: fit-content;
}

.city-link:hover {
  background: #111318;
}

.location-meta + .location-meta {
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroWordDraw {
  0%, 8% {
    stroke-dashoffset: 1700;
    fill: rgba(88, 36, 22, 0);
  }
  48% {
    stroke-dashoffset: 0;
    fill: rgba(88, 36, 22, 0.06);
  }
  52% {
    stroke-dashoffset: 0;
    fill: rgba(91, 35, 24, 0.92);
  }
  92% {
    stroke-dashoffset: 0;
    fill: rgba(91, 35, 24, 0.92);
  }
  100% {
    stroke-dashoffset: 1700;
    fill: rgba(88, 36, 22, 0);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.open {
    display: flex;
  }

  .card-grid.three,
  .footer-grid,
  .page-layout,
  .about-hero-grid,
  .about-values-grid,
  .city-group-grid,
  .community-link-grid,
  .detail-card-grid,
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .city-panel-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero-script-svg text {
    font-size: 86px;
  }
}

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

  .brand-title {
    font-size: 1rem;
  }

  .brand-script {
    font-size: 0.86rem;
  }

  .hero-script-svg text {
    font-size: 60px;
  }

  .hero-kicker {
    margin-top: 0;
    font-size: 1.05rem;
  }

  .city-heading {
    align-items: start;
    flex-direction: column;
  }
}
