:root {
  --cream: #f5f0e6;
  --cream-deep: #ede4d3;
  --green: #2d4a3e;
  --green-soft: #476658;
  --terracotta: #c45c3a;
  --ink: #333333;
  --line: #ded5c6;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(45, 74, 62, 0.12);
  --content-width: 1180px;
  --reading-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

::selection {
  background: var(--green);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

h1,
h2,
h3 {
  color: var(--green);
  font-weight: 400;
  line-height: 1.18;
}

h1,
h2,
h3,
.brand,
.hero-title,
.display-title {
  text-wrap: balance;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 240, 230, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(45, 74, 62, 0.08);
}

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

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

.brand {
  color: var(--green);
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 50px);
  color: var(--green);
  font-size: 0.96rem;
}

.primary-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.hero {
  min-height: 60vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--green);
  background-position: center;
  background-size: cover;
}

.hero-bg-layer {
  position: absolute;
  z-index: -2;
  inset: -4% 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1.04);
  transform-origin: center;
  pointer-events: none;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(45, 74, 62, 0.33);
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.hero-title {
  max-width: 950px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.98;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  will-change: transform;
}

.hero--home .hero-title {
  max-width: 1020px;
}

.hero--left .hero-inner {
  justify-content: flex-start;
}

.hero--center .hero-inner {
  justify-content: center;
}

.section {
  padding: clamp(72px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.section--tight {
  padding-block: 70px;
}

.section--quiet {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
}

.display-title {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.15rem);
  text-align: center;
}

.section-heading {
  margin-bottom: 42px;
  text-align: center;
}

.section-heading h2,
.section-heading h3 {
  margin-bottom: 0;
}

.label {
  margin: 0 0 22px;
  color: var(--terracotta);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.reading {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
}

.reading p:last-child {
  margin-bottom: 0;
}

.intro-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.photo-note {
  display: grid;
  justify-items: center;
  gap: 36px;
  text-align: center;
}

.photo-note p {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
}

.photo-note img {
  width: 200px;
  aspect-ratio: 1 / 1.35;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
}

.split--wide {
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
}

.split--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.split-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.split-copy p {
  max-width: 560px;
}

.split-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-image--portrait {
  max-width: 360px;
  aspect-ratio: 3 / 4;
}

.split--reverse .split-image--portrait {
  margin-left: auto;
}

.centered-image {
  width: min(100%, 340px);
  margin: 0 auto;
}

.centered-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.story-intro {
  min-height: 315px;
}

.story-block {
  display: grid;
  justify-items: center;
  gap: 30px;
  text-align: center;
}

.story-block .label {
  justify-self: start;
  margin-bottom: 0;
}

.story-block h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
}

.story-block img {
  width: min(100%, 310px);
  max-height: 430px;
  object-fit: cover;
}

.story-block--future img {
  width: min(100%, 390px);
}

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

.gallery-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.gallery-row--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-row img,
.gallery-grid img,
.philosophy-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-row img {
  aspect-ratio: 4 / 3;
}

.gallery-row--children img {
  aspect-ratio: 4 / 5;
}

.gallery-row--friends img {
  aspect-ratio: 4 / 3;
}

.feature-band {
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  background-position: center;
  background-size: cover;
  position: relative;
  isolation: isolate;
}

.feature-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(45, 74, 62, 0.12), rgba(45, 74, 62, 0.6));
}

.feature-band h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.media-stack {
  display: grid;
  gap: 16px;
}

.about-section {
  padding-block: clamp(72px, 9vw, 130px);
  border-bottom: 1px solid var(--line);
}

.about-section > .label {
  width: min(calc(100% - 64px), var(--content-width));
  margin-inline: auto;
}

.about-section .section-heading {
  margin-bottom: 38px;
}

.section-heading--spaced {
  margin-top: 48px;
  margin-bottom: 28px;
}

.section-heading--large-gap {
  margin-top: 78px;
}

.gallery-row--spaced,
.feature-band--spaced {
  margin-top: 38px;
}

.gallery-grid--spaced {
  margin-top: 16px;
}

.tea-reason {
  align-items: start;
}

.tea-reason .split-copy h2 {
  margin-top: 0;
}

.quote {
  position: relative;
  width: min(100%, var(--reading-width));
  margin: 52px auto 0;
  padding: 12px 48px;
  color: var(--green);
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}

.quote::before,
.quote::after {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--terracotta);
}

.quote::before {
  left: 0;
}

.quote::after {
  right: 0;
}

.quote small {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.4;
}

.stats-band {
  background: var(--cream-deep);
}

.stats-title {
  margin-bottom: 38px;
  color: var(--terracotta);
  font-size: 1rem;
}

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

.stats-grid--two {
  width: min(100%, 680px);
  margin: 52px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  text-align: center;
}

.stat::before {
  content: "";
  display: block;
  width: 138px;
  max-width: 100%;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--green);
}

.stat-label {
  display: block;
  color: var(--green);
}

.stat-value {
  display: block;
  margin-top: 14px;
  color: var(--terracotta);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.stages {
  display: grid;
  gap: 70px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.stage h3 {
  margin-bottom: 18px;
  font-size: 1.35rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.stage p {
  margin-bottom: 0;
}

.regret {
  background: var(--cream-deep);
}

.regret-heading {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
}

.regret-heading img {
  width: 130px;
  height: 92px;
  object-fit: contain;
}

.regret-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.agency {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  max-width: 760px;
  margin: 54px auto 70px;
}

.agency-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
}

.agency-copy {
  text-align: center;
}

.agency-copy h3 {
  margin-bottom: 22px;
  font-size: 1.15rem;
}

.agency-copy p {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 10px 24px;
  color: var(--green);
}

.agency-copy p::before,
.agency-copy p::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--terracotta);
}

.agency-copy p::before {
  left: 0;
}

.agency-copy p::after {
  right: 0;
}

.link-list {
  display: grid;
  gap: 30px;
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.link-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
}

.link-item a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: 0.9rem;
}

.report-stats {
  margin-bottom: 70px;
}

.certificates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
  margin-bottom: 80px;
}

.certificates img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: rgba(255, 253, 248, 0.55);
}

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

.gallery-grid img {
  aspect-ratio: 4 / 3;
}

.volunteer-grid img {
  aspect-ratio: 3 / 4;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin-inline: auto;
}

.philosophy-grid img {
  aspect-ratio: 4 / 3;
}

.next-cta {
  min-height: 280px;
  background: var(--green);
}

.next-cta a {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 44px minmax(0, auto);
  align-items: center;
  column-gap: 26px;
}

.cta-arrow {
  width: 24px;
  height: 34px;
  position: relative;
}

.cta-arrow::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  width: 1px;
  height: 23px;
  background: var(--white);
}

.cta-arrow::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 13px;
  height: 13px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(45deg);
}

.cta-copy {
  text-align: center;
}

.cta-description {
  display: block;
  margin-top: 14px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.9rem;
}

.cta-title {
  display: block;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.closing {
  min-height: 310px;
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.closing-link {
  min-height: 310px;
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.closing-link:hover h2 {
  text-decoration-thickness: 2px;
}

.closing h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.closing p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.82);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.65s ease var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.media-frame {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.media-frame img {
  transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .media-frame:hover img {
    transform: scale(1.03);
  }
}

.countup-number {
  font-variant-numeric: tabular-nums;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.motion-ready {
  animation: page-fade-in 0.5s ease-out both;
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 36px), var(--content-width));
  }

  .header-inner {
    min-height: 62px;
    gap: 16px;
  }

  .primary-nav {
    gap: 12px;
    font-size: 0.76rem;
  }

  .hero,
  .hero-inner {
    min-height: 56vh;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  .section,
  .about-section {
    padding-block: 72px;
  }

  .split,
  .split--wide,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .split--reverse .split-image--portrait {
    margin-inline: auto;
  }

  .split-copy h2 {
    font-size: 2.1rem;
  }

  .gallery-row,
  .gallery-row--two,
  .gallery-grid {
    gap: 10px;
  }

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

  .feature-band {
    min-height: 240px;
    padding: 24px;
  }

  .stats-grid {
    gap: 40px 14px;
  }

  .stats-grid--two {
    margin-top: 40px;
  }

  .stat-value {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
  }

  .agency {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .certificates img {
    height: 300px;
  }

  .quote {
    padding-inline: 28px;
    font-size: 1.15rem;
  }

  .next-cta,
  .next-cta a {
    min-height: 240px;
  }

  .cta-inner {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 12px;
  }
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .hero-bg-layer {
    transform: translate3d(0, 0, 0) scale(1.04);
    will-change: auto;
  }

  .hero-title {
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    transition: none;
  }

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

  .hero-bg-layer,
  .hero-title {
    transform: none;
    will-change: auto;
  }

  .media-frame img {
    transition: none;
  }

  body.motion-ready {
    animation: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 13px;
  }

  .primary-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 2px;
    column-gap: 10px;
  }

  .gallery-row {
    grid-template-columns: 1fr;
  }

  .gallery-row--two,
  .gallery-grid,
  .philosophy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .gallery-grid {
    gap: 8px;
  }

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

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

  .stat-value {
    font-size: 2rem;
  }

  .regret-heading {
    align-items: flex-start;
    gap: 18px;
  }

  .regret-heading img {
    width: 92px;
    height: 70px;
  }

  .regret-heading h2 {
    font-size: 1.9rem;
  }
}
