@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4efe6;
  --surface: #fffaf2;
  --surface-strong: #fff4e1;
  --text: #17312b;
  --muted: #50635d;
  --brand: #0f766e;
  --brand-strong: #134e4a;
  --accent: #d97706;
  --accent-soft: #fde7c3;
  --border: rgba(23, 49, 43, 0.12);
  --shadow: 0 20px 60px rgba(23, 49, 43, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.13), transparent 30%),
    radial-gradient(circle at right 15%, rgba(217, 119, 6, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f1e6 0%, #f2eadf 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--brand);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(244, 239, 230, 0.8);
  border-bottom: 1px solid rgba(23, 49, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #14919b);
  color: white;
  box-shadow: var(--shadow);
}

.brand small {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 2px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
}

.nav a[aria-current='page'],
.nav a:hover {
  color: var(--text);
}

.nav a[aria-current='page']::after,
.nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.28);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

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

.hero {
  padding: 40px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.panel,
.form-card,
.quote,
.metric,
.info-box,
.timeline-item,
.faq-item,
.contact-box {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: '';
  position: absolute;
  inset: auto -60px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
.brand,
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead {
  font-size: 1.16rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), #15908a);
  color: white;
}

.button.secondary {
  border-color: rgba(15, 118, 110, 0.18);
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.6);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-points li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(19, 78, 74, 0.96), rgba(15, 118, 110, 0.9)),
    linear-gradient(135deg, #134e4a, #0f766e);
  color: white;
  display: grid;
  gap: 18px;
}

.panel-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 20px;
}

.panel-card h3,
.panel-card p,
.panel-card a {
  color: white;
}

.panel-card p {
  margin: 8px 0 0;
  opacity: 0.9;
  line-height: 1.7;
}

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

.metric {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--brand-strong);
}

.section {
  padding: 26px 0 56px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-header p {
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

.grid-3,
.grid-2,
.contact-layout,
.about-layout,
.program-layout,
.involved-layout {
  display: grid;
  gap: 20px;
}

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

.grid-2,
.contact-layout,
.about-layout,
.program-layout,
.involved-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.panel,
.form-card,
.quote,
.info-box,
.timeline-item,
.faq-item,
.contact-box {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card h3,
.panel h3,
.form-card h3,
.info-box h3,
.timeline-item h3,
.faq-item h3,
.contact-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card p,
.panel p,
.form-card p,
.info-box p,
.timeline-item p,
.contact-box p,
.faq-item p {
  color: var(--muted);
  line-height: 1.7;
}

.card .tag,
.panel .tag,
.info-box .tag,
.timeline-item .tag,
.contact-box .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a4b00;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card ul,
.panel ul,
.form-card ul,
.contact-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.story-image,
.feature-image {
  min-height: 320px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(19, 78, 74, 0.08), rgba(217, 119, 6, 0.16)),
    url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80') center/cover;
  box-shadow: var(--shadow);
}

.feature-image {
  background-image:
    linear-gradient(180deg, rgba(19, 78, 74, 0.08), rgba(217, 119, 6, 0.16)),
    url('https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=1200&q=80');
}

.quote {
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: '“';
  position: absolute;
  right: 20px;
  top: -10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 7rem;
  color: rgba(15, 118, 110, 0.1);
}

.quote p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  border-left: 4px solid var(--brand);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text);
}

.faq-item button span {
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-item .answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item .answer > div {
  overflow: hidden;
}

.faq-item[data-open='true'] .answer {
  grid-template-rows: 1fr;
}

.faq-item .toggle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand);
  font-weight: 700;
  flex: 0 0 auto;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 49, 43, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-strong);
  display: none;
}

.notice.show {
  display: block;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 49, 43, 0.08);
}

.contact-item strong {
  font-family: 'Space Grotesk', sans-serif;
}

.footer {
  margin-top: 28px;
  padding: 30px 0 36px;
  border-top: 1px solid rgba(23, 49, 43, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .contact-layout,
  .about-layout,
  .program-layout,
  .involved-layout,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .section-header,
  .header-inner {
    align-items: center;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(23, 49, 43, 0.08);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a[aria-current='page']::after,
  .nav a:hover::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-copy,
  .hero-panel,
  .card,
  .panel,
  .form-card,
  .quote,
  .info-box,
  .timeline-item,
  .faq-item,
  .contact-box {
    padding: 20px;
  }

  .hero-copy {
    padding-bottom: 30px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .hero {
    padding-top: 26px;
  }

  .section {
    padding-bottom: 42px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .header-cta {
    width: 100%;
  }
}
