:root {
  --purple: #56206f;
  --purple-dark: #351241;
  --gold: #c99a31;
  --gold-soft: #f6e9c6;
  --sage: #5f8d69;
  --coral: #d86b50;
  --ink: #251b2b;
  --muted: #6f6574;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: rgba(86, 32, 111, 0.14);
  --shadow: 0 22px 70px rgba(53, 18, 65, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top left, rgba(201, 154, 49, 0.14), transparent 34rem);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(86, 32, 111, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 36px rgba(53, 18, 65, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(86, 32, 111, 0.12);
}

.brand span {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.brand strong {
  max-width: 310px;
  color: var(--purple);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand small {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--purple-dark);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(86, 32, 111, 0.08);
}

.nav-phone {
  color: var(--white) !important;
  background: var(--purple);
  box-shadow: 0 12px 26px rgba(86, 32, 111, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--purple);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  min-height: calc(100vh - 90px);
  padding: clamp(42px, 5vw, 70px) clamp(18px, 5vw, 72px) 48px;
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--purple-dark);
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  max-width: 950px;
}

h2 {
  color: var(--purple-dark);
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
}

h3 {
  color: var(--purple-dark);
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 16px 34px rgba(86, 32, 111, 0.22);
}

.btn.secondary {
  color: var(--purple);
  border-color: rgba(86, 32, 111, 0.18);
  background: rgba(255, 255, 255, 0.7);
}

.btn.light {
  color: var(--purple-dark);
  background: var(--white);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.btn.outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  display: grid;
  align-content: center;
  gap: 18px;
}

.sun-card {
  justify-self: end;
  width: min(360px, 100%);
  padding: 22px;
  border: 1px solid rgba(201, 154, 49, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.sun-card img {
  width: 160px;
  max-width: 100%;
  margin: 0 auto 10px;
  object-fit: contain;
}

.sun-card p {
  margin: 0;
  color: var(--purple);
  font-weight: 800;
  text-align: center;
}

.care-collage {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 18px;
}

.visual-tile {
  display: grid;
  align-content: end;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(53, 18, 65, 0.1), rgba(53, 18, 65, 0.78)),
    linear-gradient(135deg, #87579a, #c99a31 48%, #5f8d69);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tile-large {
  grid-row: span 2;
  min-height: 398px;
  background:
    linear-gradient(180deg, rgba(53, 18, 65, 0.08), rgba(53, 18, 65, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #7a3a8b, #d86b50 54%, #c99a31);
}

.tile-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.tile-icon svg,
.program-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.visual-tile strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.visual-tile small {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
}

.section {
  padding: clamp(68px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.band {
  background:
    linear-gradient(90deg, rgba(246, 233, 198, 0.62), rgba(255, 255, 255, 0.9)),
    linear-gradient(180deg, rgba(95, 141, 105, 0.1), transparent);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 28px;
  align-items: stretch;
}

.about-copy {
  display: grid;
  gap: 18px;
  max-width: 840px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0;
}

.quote-panel,
.contact-card,
.contact-form,
.purpose-card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(53, 18, 65, 0.08);
}

.quote-panel {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.quote-panel span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-panel blockquote {
  margin: 12px 0 0;
  color: var(--purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
}

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

.purpose-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
}

.purpose-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 50%;
  color: var(--white);
  background: var(--purple);
  font-weight: 800;
}

.purpose-card:nth-child(2) .card-mark {
  background: var(--sage);
}

.purpose-card:nth-child(3) .card-mark {
  background: var(--coral);
}

.purpose-card p {
  color: var(--muted);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.impact-strip div {
  display: grid;
  gap: 4px;
  min-height: 156px;
  place-content: center;
  padding: 22px;
  color: var(--white);
  text-align: center;
  background: var(--purple-dark);
}

.impact-strip div:nth-child(2) {
  background: #7a3a8b;
}

.impact-strip div:nth-child(3) {
  background: var(--sage);
}

.impact-strip div:nth-child(4) {
  background: var(--gold);
}

.impact-strip strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.impact-strip span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.programs-section {
  background: var(--white);
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.program-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  min-height: 170px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.86), rgba(255, 255, 255, 0.96));
}

.program-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: var(--gold-soft);
}

.program-item:nth-child(2) .program-icon {
  color: var(--coral);
  background: rgba(216, 107, 80, 0.13);
}

.program-item:nth-child(3) .program-icon {
  color: var(--sage);
  background: rgba(95, 141, 105, 0.15);
}

.program-item:nth-child(4) .program-icon {
  color: var(--gold);
  background: rgba(201, 154, 49, 0.15);
}

.program-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 34px;
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(53, 18, 65, 0.95), rgba(86, 32, 111, 0.88)),
    linear-gradient(90deg, var(--purple-dark), var(--sage));
}

.support-copy {
  max-width: 850px;
}

.support-copy h2 {
  color: var(--white);
}

.support-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.support-panel {
  padding: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.support-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(255, 255, 255, 1)),
    linear-gradient(90deg, rgba(201, 154, 49, 0.12), rgba(95, 141, 105, 0.11));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.contact-card,
.contact-form {
  padding: clamp(24px, 4vw, 38px);
}

.contact-card h3 {
  margin-bottom: 24px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

address {
  margin-bottom: 24px;
  color: var(--muted);
  font-style: normal;
}

.contact-card a {
  display: inline-flex;
  color: var(--purple);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--purple-dark);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(86, 32, 111, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 154, 49, 0.22);
  border-color: var(--gold);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--purple-dark);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.site-footer p {
  margin: 0;
  max-width: 640px;
}

.site-footer div p {
  color: var(--white);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-radius: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .purpose-grid,
  .impact-strip,
  .program-list,
  .support-section,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .impact-strip {
    gap: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    max-width: 185px;
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-actions,
  .support-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .sun-card,
  .care-collage {
    position: static;
  }

  .sun-card {
    width: 100%;
    margin-bottom: 16px;
  }

  .care-collage {
    grid-template-columns: 1fr;
  }

  .tile-large,
  .visual-tile {
    min-height: 220px;
  }

  .program-item {
    grid-template-columns: 1fr;
  }

  .program-icon {
    width: 62px;
    height: 62px;
  }

  .purpose-card {
    min-height: auto;
  }
}
