:root {
  --bg: #fdf8f3;
  --surface: #ffffff;
  --primary: #c47b4a;
  --primary-dark: #a4623a;
  --accent: #e8a87c;
  --brand-bg: #d99464;
  --text: #2b2118;
  --muted: #6b5a4d;
  --border: #ecd9c6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--primary-dark);
}

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

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(196, 123, 74, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--primary-dark);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.hero {
  background:
    linear-gradient(180deg, rgba(217, 148, 100, 0.18) 0%, rgba(253, 248, 243, 0) 100%),
    var(--bg);
  padding: 5rem 0 4rem;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin: 0 0 1rem;
  color: var(--primary-dark);
  line-height: 1.15;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: background 0.15s, transform 0.1s;
}

.button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button-secondary {
  background: transparent;
  color: var(--primary-dark);
}

.button-secondary:hover {
  background: var(--primary);
  color: white;
}

.page-section {
  padding: 2.5rem 0;
}

.features-grid,
.info-grid,
.program-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 1rem;
}

.features-grid article,
.info-grid article,
.program-grid article,
.story-card,
.contact-grid > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(196, 123, 74, 0.05);
}

.features-grid article h2,
.info-grid article h2,
.program-grid article h2,
.story-card h3 {
  color: var(--primary-dark);
  margin-top: 0;
}

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

.info-grid,
.program-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.story-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.5fr 1fr;
  align-items: stretch;
}

.story-text h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

.page-content {
  padding: 3rem 0 4rem;
}

.page-content h1 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.page-content .lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 720px;
}

.page-content h2 {
  color: var(--primary-dark);
  margin-top: 2.25rem;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content ul li {
  margin: 0.4rem 0;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 320px 1fr;
  align-items: start;
  margin-top: 2rem;
}

.program-intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 0.5rem 0 1.25rem;
}

.program-intro-text .lede {
  margin: 0;
}

.program-intro-image {
  display: flex;
  justify-content: center;
}

.program-intro-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(196, 123, 74, 0.18);
  border: 4px solid #fff;
}

.about-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(196, 123, 74, 0.18);
  border: 4px solid #fff;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.about-caption span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}


.callout {
  background: linear-gradient(135deg, var(--brand-bg), var(--accent));
  color: white;
  border-radius: 22px;
  padding: 2.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

.callout h2 {
  color: white !important;
  margin: 0 0 0.75rem;
}

.callout p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.callout .button {
  background: white;
  color: var(--primary-dark);
  border-color: white;
}

.callout .button:hover {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 123, 74, 0.18);
}

.contact-form button {
  width: fit-content;
  padding: 0.9rem 1.85rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--primary-dark);
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  margin-top: 2rem;
}

.contact-info p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.contact-info a {
  color: var(--primary-dark);
  font-weight: 600;
}

.update-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.update-card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
}

.update-date {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

.site-footer {
  padding: 2.25rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--primary-dark);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .program-intro {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .site-nav {
    gap: 1rem;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .callout {
    padding: 1.75rem;
  }
}
