:root {
  --ink: #17201c;
  --muted: #5f6d66;
  --line: #d9e2dc;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --sage: #dce9df;
  --forest: #173f2f;
  --moss: #6f7f3e;
  --copper: #a46129;
  --gold: #d8a84a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(23, 63, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(23, 32, 28, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

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

nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: stretch;
  min-height: 680px;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1rem, 4vw, 4rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at top right, rgba(216, 168, 74, 0.24), transparent 32rem),
    linear-gradient(135deg, var(--cream), var(--sage));
}

.hero-copy {
  width: min(920px, 100%);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy .lead,
.hero-copy .urgent {
  margin-left: auto;
  margin-right: auto;
}

.section-logo-wrap {
  display: flex;
  justify-content: center;
}

.section-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(440px, 92vw);
  max-width: 440px;
  margin: 0 auto 2rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 226, 220, 0.92);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(23, 63, 47, 0.12);
  position: relative;
  z-index: 2;
}

.section-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.3rem;
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.lead {
  max-width: 660px;
  color: #35423c;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.primary {
  color: var(--white);
  background: var(--forest);
}

.secondary {
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
}

.urgent {
  max-width: 590px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  width: min(920px, 100%);
  margin: 0 auto;
  gap: 1rem;
}

.family-feature {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 560px;
  border: 10px solid rgba(255, 253, 248, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #111;
}

.hero-family {
  width: min(980px, 100%);
  margin: 0 auto;
}

.family-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.family-feature figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 360px;
  padding: 0.75rem 0.9rem;
  color: var(--white);
  background: rgba(15, 44, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.help-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--white);
  background: linear-gradient(160deg, #173f2f, #22341f);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.help-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.help-card ul {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.help-card li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.05rem;
  font-weight: 750;
}

.statement,
.quote-band {
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background: var(--forest);
}

.statement p,
.quote-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.035em;
}

.section,
.pathway,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

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

.service-grid article {
  min-height: 245px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(23, 32, 28, 0.05);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--copper);
  font-weight: 900;
}

.service-grid p,
.split p,
.contact-section p,
.pathway li {
  color: var(--muted);
  font-size: 1rem;
}

.pathway {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  background: var(--cream);
}

.pathway ol {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pathway li {
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.pathway strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}

.pathway strong a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pathway strong a:hover,
.pathway strong a:focus {
  color: var(--green);
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.partner-list span {
  padding: 0.65rem 0.85rem;
  color: var(--forest);
  background: var(--sage);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.quote-band {
  background:
    linear-gradient(rgba(23, 63, 47, 0.9), rgba(23, 63, 47, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
}

.contact-section {
  background: linear-gradient(135deg, var(--sage), var(--paper));
}

.contact-card {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-card a {
  display: block;
  padding: 1rem;
  color: var(--forest);
  background: var(--cream);
  border-radius: 16px;
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background: #0f1f19;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .pathway,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .family-feature {
    min-height: 520px;
  }

  .family-feature img {
    min-height: 520px;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .section-logo-card {
    max-width: 240px;
  }

  nav {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .family-feature {
    min-height: 440px;
    border-width: 7px;
    border-radius: 22px;
  }

  .family-feature img {
    min-height: 440px;
  }

  .family-feature figcaption {
    left: 0.8rem;
    right: 0.8rem;
    max-width: none;
    font-size: 0.86rem;
  }

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