:root {
  color-scheme: light;
  --bg: #f7efdf;
  --bg-alt: #fff8ec;
  --panel: rgba(255, 248, 236, 0.9);
  --panel-strong: #fff3d4;
  --text: #2c2011;
  --muted: #6d5840;
  --accent: #c9821b;
  --accent-dark: #8f5611;
  --accent-soft: #ffd675;
  --accent-cyan: #7ba4d9;
  --line: rgba(44, 32, 17, 0.12);
  --shadow: 0 18px 50px rgba(106, 72, 19, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 117, 0.5), transparent 32%),
    radial-gradient(circle at top right, rgba(123, 164, 217, 0.2), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #f3e4c8 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(247, 239, 223, 0.82);
  border-bottom: 1px solid rgba(44, 32, 17, 0.08);
}

.topbar,
.section-shell,
.footer-grid {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

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

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

.brand-mark {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 0;
  display: block;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 12px 18px rgba(44, 32, 17, 0.36));
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong,
.section-heading h1,
.section-heading h2,
.team-card h2,
.info-card h2,
.pricing-table th,
.feature-card h3,
.service-item strong,
.footer-grid h2,
.mascot-note strong {
  font-family: "Bree Serif", serif;
  letter-spacing: 0.01em;
}

.brand-text small,
.eyebrow,
.lead,
.feature-card p,
.service-item span,
.team-card p,
.info-card p,
.footer-grid p,
.mascot-note p,
.copyright {
  color: var(--muted);
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text small {
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font: inherit;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem;
}

.primary-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--accent);
  color: #fff9ee;
  outline: none;
}

main {
  display: block;
}

.section-shell {
  padding: 2.75rem 0;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
}

.section-heading h1,
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.12;
}

.lead {
  margin: 1.2rem 0 0;
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 62ch;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: #fff8ea;
  box-shadow: 0 12px 28px rgba(143, 86, 17, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  border-color: var(--line);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.mascot-card,
.feature-card,
.service-item,
.team-card,
.info-card,
.pricing-panel,
.contact-cards .info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.mascot-card {
  width: min(100%, 460px);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mascot-image {
  width: 100%;
  min-height: 380px;
  max-height: 460px;
  border-radius: 0;
  object-fit: cover;
  filter: drop-shadow(0 34px 42px rgba(44, 32, 17, 0.32));
}

.intro-band,
.testimonial-band,
.split-section {
  margin-top: 1.25rem;
}

.feature-grid,
.team-grid,
.contact-cards {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.feature-card,
.service-item,
.team-card,
.info-card {
  padding: 1.4rem;
}

.feature-card h3,
.service-item strong,
.team-card h2,
.info-card h2,
.pricing-table th {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
}

.feature-card p,
.service-item span,
.team-card p,
.info-card p {
  margin: 0;
  line-height: 1.7;
}

.services-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.service-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.choice-row span {
  background: rgba(123, 164, 217, 0.14);
  border: 1px solid rgba(123, 164, 217, 0.28);
  color: #2f567f;
  padding: 0.58rem 0.88rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.96rem;
}

#donation-choice .section-heading h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  line-height: 1.14;
}

.inline-email {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}

.page-main {
  padding-bottom: 3rem;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.6rem;
}

.team-photo {
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pricing-panel {
  padding: 1.4rem;
  margin-top: 1.5rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 1rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.footer-links a {
  font-weight: 800;
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid rgba(44, 32, 17, 0.08);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.2), rgba(255, 248, 236, 0.5));
}

.copyright {
  margin: 0;
  padding: 0.25rem 0 1.8rem;
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  animation: rise 540ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .footer-grid,
  .team-grid,
  .feature-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .topbar {
    flex-wrap: wrap;
    padding: 0.9rem 0;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 0.5rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
  }

  .button,
  .choice-row span {
    width: 100%;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }
}
