:root {
  --ink: #1f302c;
  --forest: #163e37;
  --moss: #5e7563;
  --clay: #bc694d;
  --cream: #f6f3ed;
  --sand: #e8dfd0;
  --paper: #fdfcf9;
  --line: rgb(31 48 44 / 18%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Rubik, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

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

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

h1, h2, h3 {
  font-family: Heebo, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.12;
}

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(76px, 11vw, 150px); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }

.language-picker {
  position: absolute;
  z-index: 10;
  top: 28px;
  left: 50%;
  display: inline-flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 999px;
  background: rgb(16 39 36 / 34%);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.language-picker__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font: 600 16px/1 Rubik, Arial, sans-serif;
  cursor: pointer;
}

.language-picker__option.is-active {
  color: var(--forest);
  background: #fffaf0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fcf4e8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.eyebrow::before {
  width: 27px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--dark { color: var(--clay); }

.prose { max-width: 610px; }
.prose p + p { margin-top: 20px; }

.hero {
  position: relative;
  min-height: min(800px, 100svh);
  overflow: hidden;
  color: white;
}

.hero__image, .hero__video, .hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image, .hero__video { object-fit: cover; object-position: center 55%; }
.hero__shade { background: linear-gradient(0deg, rgb(8 25 24 / 88%) 0%, rgb(8 25 24 / 56%) 44%, rgb(8 25 24 / 10%) 76%, transparent 100%); }

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding-block: 100px 80px;
}

h1 { max-width: 700px; font-size: clamp(50px, 7vw, 90px); letter-spacing: -.035em; }
.hero__lead {
  max-width: 470px;
  margin-top: 24px;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.42;
}

.bridge__heading { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; margin-bottom: 64px; }
.bridge__heading .eyebrow { margin-top: 10px; font-size: clamp(22px, 2.5vw, 34px); letter-spacing: .03em; line-height: 1.2; }
.bridge__heading h2 { max-width: 740px; }
.bridge__roles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.bridge__roles article { min-height: 260px; padding: 26px 25px; border-inline-start: 1px solid var(--line); }
.bridge__roles article:first-child { padding-inline-start: 0; border-inline-start: 0; }
.bridge__roles h3 { margin: 0 0 22px; color: var(--clay); font-size: 30px; }
.bridge__roles p { font-size: 17px; line-height: 1.6; }
.bridge__roles .bridge__role--highlight { color: #fffaf0; background: var(--forest); }
.bridge__role--highlight h3 { color: #efcf9e; }
.bridge__couples { width: min(880px, 100%); margin: 64px auto 0; }
.bridge__couples img { width: 100%; border-radius: 2px; }
.bridge__couples figcaption { margin-top: 18px; color: var(--forest); font-family: Heebo, Arial, sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.25; text-align: center; }

.memorial { position: relative; overflow: hidden; }
.memorial::after {
  position: absolute;
  top: 50%;
  left: -7vw;
  width: clamp(240px, 34vw, 510px);
  aspect-ratio: 1;
  border: 1px solid rgb(239 207 158 / 16%);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}
.memorial__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: start;
  gap: clamp(48px, 9vw, 120px);
}
.memorial__heading h2 { max-width: 650px; color: #fffaf0; }
.memorial__copy {
  padding-top: 40px;
  border-top: 1px solid rgb(255 250 240 / 28%);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.65;
}
.memorial__copy p + p { margin-top: 30px; }
.memorial__statement {
  color: #efcf9e;
  font-weight: 700;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 9vw, 115px);
}
h2 { font-size: clamp(38px, 4.8vw, 66px); letter-spacing: -.035em; }
.intro__heading .eyebrow { font-size: 20px; letter-spacing: .1em; }
.intro__heading h2 { max-width: 440px; margin-bottom: 28px; }
.intro__image { margin: 0; }
.intro__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.journey__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 9vw, 115px); }
.journey__media { margin: 0; }
.journey__media video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--forest);
}
.journey__closing { color: var(--forest); font-family: Heebo, Arial, sans-serif; font-size: 29px; font-weight: 600; line-height: 1.35; }

.purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 9vw, 115px);
}
.purpose__lead h2 { max-width: 520px; margin-bottom: 24px; }
.purpose__text { font-size: 21px; line-height: 1.6; }
.purpose__image { margin: 0; }
.purpose__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.section--forest { background: var(--forest); color: #fffaf0; }
.impact__title {
  margin-bottom: clamp(48px, 7vw, 80px);
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: -.04em;
}
.impact__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 42px);
}
.impact__stat {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgb(255 250 240 / 28%);
}
.impact__number {
  color: #efcf9e;
  font-family: Heebo, Arial, sans-serif;
  font-size: clamp(88px, 12vw, 160px);
  font-weight: 800;
  line-height: .85;
}
.impact__number--location { font-size: clamp(44px, 5vw, 70px); line-height: 1; }
.impact__number--text { font-size: clamp(38px, 4.4vw, 62px); line-height: 1; }
.impact__stat p {
  max-width: 240px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
}
.impact__stat em { display: block; margin-top: 5px; color: #efcf9e; font-style: normal; font-weight: 600; }
.impact__image { width: min(880px, 100%); margin: clamp(48px, 7vw, 84px) auto 0; }
.impact__image img { width: 100%; border-radius: 2px; }

.how__title { margin-bottom: 55px; }
.how__lead {
  margin-top: 16px;
  max-width: 520px;
  color: var(--moss);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
}
.how__steps { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.how__steps article { min-height: 300px; padding: 28px 28px 0; border-inline-start: 1px solid var(--line); }
.how__steps article:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
.how__steps article:nth-child(n + 3) { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.how__steps span { color: var(--clay); font-size: 15px; font-weight: 700; }
h3 { margin: 36px 0 14px; font-size: 26px; }
.how__steps p { max-width: 280px; font-size: 17px; line-height: 1.55; }
.how__steps p + p { margin-top: 10px; }
.how__steps a { color: var(--clay); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.how__steps .registration-link { margin-inline-start: .28em; }
.how__note {
  max-width: 760px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.55;
}

.support__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 11vw, 150px); }
.support__copy p:not(.eyebrow) { max-width: 480px; margin-top: 24px; font-size: 20px; }
.support__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.support__list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
.support__list li::before { margin-inline-end: 12px; color: var(--clay); content: "✦"; }
.support__image { grid-column: 1 / -1; width: min(880px, 100%); margin: clamp(48px, 7vw, 84px) auto 0; }
.support__image img { width: 100%; border-radius: 2px; }

.connect { padding-block: clamp(80px, 12vw, 150px); text-align: center; }
.connect .eyebrow { justify-content: center; }
.connect h2 { max-width: 700px; margin-inline: auto; }
.connect__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.connect__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 16px 28px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font: 700 19px/1.2 Heebo, Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.connect__links a { text-decoration: none; }
.connect__link--disabled { color: #fffaf0; background: var(--forest); cursor: default; }
.connect__links a:hover { color: #fffaf0; background: var(--forest); transform: translateY(-2px); }

.closing { position: relative; display: grid; place-items: center; min-height: 675px; overflow: hidden; color: #fffaf0; text-align: center; }
.closing > img, .closing__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing > img { object-fit: cover; object-position: center; }
.closing__overlay { background: rgb(12 40 34 / 70%); }
.closing__content { position: relative; z-index: 1; max-width: 900px; padding-block: 80px; }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(40px, 5.6vw, 72px); }
.closing__content > p:last-child { margin-top: 30px; font-size: 22px; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .container { width: min(100% - 40px, 600px); }
  .language-picker { top: 16px; }
  .language-picker__option { min-width: 96px; padding: 9px 12px; }
  .hero { min-height: 740px; }
  .hero__shade { background: linear-gradient(0deg, rgb(8 25 24 / 86%), rgb(8 25 24 / 24%) 70%, transparent); }
  .hero__content { justify-content: end; padding-bottom: 70px; }
  .bridge__heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 38px; }
  .bridge__heading .eyebrow { margin-top: 0; font-size: 23px; }
  .bridge__roles { grid-template-columns: 1fr 1fr; }
  .bridge__roles article,
  .bridge__roles article:first-child { min-height: 210px; padding: 22px 18px; border-inline-start: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .bridge__roles article:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .bridge__roles article:nth-child(3),
  .bridge__roles article:nth-child(4) { border-bottom: 0; }
  .bridge__roles h3 { margin-bottom: 14px; font-size: 26px; }
  .bridge__roles p { font-size: 15px; }
  .bridge__couples { margin-top: 40px; }
  .bridge__couples figcaption { margin-top: 14px; font-size: 24px; }
  .memorial__grid, .intro, .journey__grid, .purpose, .support__grid { grid-template-columns: 1fr; gap: 38px; }
  .memorial::after { top: auto; bottom: -90px; left: -100px; transform: none; }
  .memorial__copy { padding-top: 30px; }
  .intro__heading .eyebrow { font-size: 18px; }
  .intro__image img,
  .journey__media video,
  .purpose__image img { aspect-ratio: 1 / 1; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
  .gallery img { aspect-ratio: 1 / 1; }
  .gallery img:last-child { display: none; }
  .impact__title { margin-bottom: 40px; }
  .impact__stats { grid-template-columns: 1fr; gap: 28px; }
  .impact__stat p { max-width: none; }
  .how__title { margin-bottom: 36px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__steps article, .how__steps article:nth-child(odd), .how__steps article:nth-child(n + 3) { min-height: 0; margin-top: 0; padding: 27px 0; border-inline-start: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .how__steps article:last-child { border-bottom: 0; }
  .how__steps p { max-width: none; }
  .how__note { margin-top: 36px; }
  h3 { margin-top: 18px; }
  .support__copy p:not(.eyebrow) { font-size: 19px; }
  .connect__links { margin-top: 32px; }
  .connect__link { width: 100%; max-width: 340px; }
  .closing { min-height: 590px; }
}
