* {
  box-sizing: border-box;
}

:root {
  --bg: #121212;
  --surface: rgba(248, 246, 242, 0.97);
  --surface-soft: rgba(30, 33, 38, 0.94);
  --text: #17181b;
  --muted: #5f6670;
  --line: rgba(28, 32, 38, 0.14);
  --primary: #181818;
  --primary-soft: #8998a8;
  --accent: #8ea0b3;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  --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(142, 160, 179, 0.12), transparent 22%),
    linear-gradient(180deg, #17191d 0%, #111216 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(18, 18, 18, 0.96);
  border-bottom: 1px solid rgba(142, 160, 179, 0.24);
}

.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: #fff8f1;
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff8f1;
}

.brand-script {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 248, 241, 0.7);
  white-space: nowrap;
  text-align: center;
  transform: none;
}

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

.nav-links a,
.footer-links a {
  color: rgba(255, 248, 241, 0.74);
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 248, 241, 0.16);
  background: rgba(255, 255, 255, 0.06);
  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: #fff8f1;
}

.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(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #232323 0%, #151515 100%);
}

.page-section {
  background:
    linear-gradient(180deg, #f6f3ee 0%, #eeebe5 100%);
  border-top: 1px solid rgba(24, 21, 18, 0.08);
}

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

.hero-contrast {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #14161a 0%, #0d0f13 100%);
}

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

.hero-center {
  position: relative;
  z-index: 1;
  place-items: center;
  text-align: center;
  gap: 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.54) 0%, rgba(12, 12, 12, 0.26) 38%, rgba(10, 10, 10, 0.56) 100%);
  z-index: 2;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at center, rgba(255, 248, 241, 0.04), transparent 42%);
  z-index: 3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: none;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1100ms ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

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

.hero-script-svg text {
  font-family: "Bodoni Moda", "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 118px;
  fill: rgba(255, 248, 241, 0.14);
  stroke: #fff8f1;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
  animation: heroWordDraw 11.6s ease-in-out infinite;
}

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

.page-hero .section-tag,
.page-hero .page-title,
.page-hero p,
.page-hero .back-link {
  color: #fff8f1;
}

.page-hero .back-link {
  opacity: 0.88;
}

.page-hero .back-link:hover {
  opacity: 1;
  color: #ffffff;
}

.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: #ffffff;
}

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

.intro-section .section-tag {
  color: rgba(255, 248, 241, 0.72);
}

.intro-section .lede-copy {
  color: #fff8f1;
}

.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.97), rgba(241, 244, 247, 0.94));
}

.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(142, 160, 179, 0.26);
  background: rgba(250, 251, 252, 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(142, 160, 179, 0.42);
  box-shadow:
    0 18px 34px rgba(20, 20, 20, 0.08),
    0 0 24px rgba(142, 160, 179, 0.14);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(29, 31, 36, 0.97), rgba(17, 19, 23, 0.99));
  border-top: 1px solid rgba(142, 160, 179, 0.18);
  border-bottom: 1px solid rgba(142, 160, 179, 0.18);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(142, 160, 179, 0.16);
  color: #516274;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #121212;
  border-top: 1px solid rgba(142, 160, 179, 0.16);
}

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

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

.footer-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.45rem;
}

.footer-brand .brand-title {
  letter-spacing: 0.05em;
}

.footer-brand .brand-script {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.footer-brand .brand-script::before {
  content: "|";
  color: rgba(255, 248, 241, 0.42);
  font-weight: 500;
}

.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(45, 54, 66, 0.18), rgba(142, 160, 179, 0.14)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 36%),
    #d8dde3;
}

.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(142, 160, 179, 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(142, 160, 179, 0.14);
}

.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(142, 160, 179, 0.24);
  background:
    linear-gradient(145deg, rgba(182, 192, 204, 0.3), rgba(214, 221, 229, 0.34)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 42%),
    #d5dce4;
}

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

.about-daves-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.25rem;
  align-items: stretch;
}

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

.about-daves-copy p {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.8;
}

.about-daves-copy a {
  color: #516274;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  font-weight: 700;
}

.about-daves-copy a:hover {
  color: #334355;
}

.about-daves-image-card {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-daves-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  display: block;
}

.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(142, 160, 179, 0.1)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.26), transparent 35%),
    rgba(245, 247, 249, 0.84);
  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(252, 252, 252, 0.98), rgba(240, 243, 246, 0.96));
  border: 1px solid rgba(28, 32, 38, 0.12);
}

.featured-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 160, 179, 0.34);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.16),
    0 0 24px rgba(142, 160, 179, 0.12);
}

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

.partner-section {
  background:
    linear-gradient(180deg, #283240 0%, #1a222c 100%);
}

.partner-section .section-tag {
  color: rgba(255, 248, 241, 0.76);
}

.partner-section .lede-copy {
  color: #ffffff;
}

.partner-form-card {
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(12, 12, 12, 0.96));
  border-color: rgba(255, 248, 241, 0.12);
}

.partner-form {
  display: grid;
  gap: 1rem;
}

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

.partner-field {
  display: grid;
  gap: 0.45rem;
}

.partner-field span {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff8f1;
}

.partner-field input,
.partner-field select,
.partner-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 248, 241, 0.14);
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.96);
  color: #17181b;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.partner-field textarea {
  min-height: 180px;
  resize: vertical;
}

.partner-field-full {
  grid-column: 1 / -1;
}

.partner-field input:focus,
.partner-field select:focus,
.partner-field textarea:focus {
  outline: none;
  border-color: rgba(142, 160, 179, 0.48);
  box-shadow:
    0 0 0 3px rgba(142, 160, 179, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.partner-form-actions {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.partner-form-note {
  margin: 0;
  color: rgba(255, 248, 241, 0.84);
  font-size: 0.92rem;
  line-height: 1.5;
}

.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(142, 160, 179, 0.14)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 35%),
    #d5dbe2;
}

.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(30, 36, 42, 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: #8193a7;
  color: #fff8f1;
  font-weight: 700;
  width: fit-content;
}

.city-link:hover {
  background: #67788b;
}

.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 heroSlideshow {
  0%, 26% {
    opacity: 1;
    transform: scale(1.02);
  }
  34%, 100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes heroWordDraw {
  0%, 8% {
    stroke-dashoffset: 1700;
    fill: rgba(255, 248, 241, 0);
  }
  31% {
    stroke-dashoffset: 0;
    fill: rgba(255, 248, 241, 0.08);
  }
  35% {
    stroke-dashoffset: 0;
    fill: rgba(255, 248, 241, 0.94);
  }
  95% {
    stroke-dashoffset: 0;
    fill: rgba(255, 248, 241, 0.94);
  }
  100% {
    stroke-dashoffset: 1700;
    fill: rgba(255, 248, 241, 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,
  .partner-form-grid,
  .city-group-grid,
  .community-link-grid,
  .detail-card-grid,
  .home-news-grid,
  .about-daves-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .hero-fullscreen {
    min-height: calc(100svh - 85px);
  }

  .hero-center {
    padding: 0 0.2rem;
  }

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

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

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

  .hero-script-svg text {
    font-size: 46px;
    stroke-width: 0.85;
  }

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

@media (max-width: 420px) {
  .hero-script-stage {
    width: min(100%, 390px);
  }

  .hero-script-svg text {
    font-size: 38px;
    stroke-width: 0.8;
  }
}
