:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #17201e;
  background: #f3f5f2;
  font-synthesis: none;
  --ink: #17201e;
  --muted: #66706c;
  --green: #0d8a63;
  --green-dark: #086247;
  --line: rgba(23, 32, 30, 0.14);
  --paper: #f3f5f2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: 82px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(12, 21, 20, 0.28);
  backdrop-filter: blur(12px);
  border-radius: 6px;
}

.language-switch button {
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(88vh, 900px);
  height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("./assets/wait4me-homecoming-hero.webp") center center / cover no-repeat;
  transform: scale(1.01);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 18, 24, 0.77) 0%, rgba(8, 18, 24, 0.48) 43%, rgba(8, 18, 24, 0.05) 73%);
}

.hero-content {
  position: relative;
  width: min(650px, calc(100% - 44px));
  margin-left: clamp(22px, 9vw, 142px);
  padding-top: 40px;
}

.hero-kicker,
.section-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: #8fe2bf;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 9vw, 122px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-tagline {
  max-width: 600px;
  margin: 28px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.hero-intro {
  max-width: 510px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 700;
}

.story-section,
.how-section,
.closing-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.story-section {
  padding: 132px 0 148px;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.section-label {
  color: var(--green);
}

.story-lead {
  position: sticky;
  top: 48px;
}

.story-lead h2,
.section-heading h2,
.closing-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  font-weight: 500;
}

.story-copy {
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.65;
}

.story-copy p {
  margin: 0 0 1.45em;
}

.story-copy blockquote {
  margin: 1.7em 0;
  padding: 0 0 0 28px;
  border-left: 4px solid var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.12;
}

.promise-band {
  min-height: 330px;
  padding: 70px max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  background: var(--green-dark);
  color: var(--white);
}

.promise-band p {
  max-width: 970px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
}

.how-section {
  padding: 132px 0 144px;
}

.section-heading {
  max-width: 730px;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.steps {
  margin: 86px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  min-height: 280px;
  padding: 30px 36px 30px 0;
  border-right: 1px solid var(--line);
}

.steps li + li {
  padding-left: 36px;
}

.steps li:last-child {
  border-right: 0;
}

.step-number {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.steps h3 {
  margin: 62px 0 16px;
  font-size: 25px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.closing-section {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(50px, 9vw, 130px);
  border-top: 1px solid var(--line);
}

.closing-copy > p:last-child {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.closing-statement {
  align-self: end;
  padding-left: 34px;
  border-left: 4px solid var(--green);
}

.closing-statement p {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
}

.closing-statement strong {
  color: var(--green);
  font-size: 18px;
}

.boundary-section {
  padding: 34px max(22px, calc((100vw - 1180px) / 2));
  color: #dfe7e3;
  background: #1b2522;
}

.boundary-section p {
  max-width: 930px;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

footer {
  min-height: 160px;
  padding: 38px max(22px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 30px;
  color: #dfe7e3;
  background: #111816;
}

footer p {
  margin: 0;
  color: #9aa7a2;
  font-size: 13px;
}

.footer-note {
  justify-self: end;
  color: #dfe7e3;
  font-size: 13px;
}

.footer-brand {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #dfe7e3;
  font-size: 13px;
}

.footer-links a {
  text-underline-offset: 4px;
}

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

@media (max-width: 760px) {
  .site-header {
    height: 70px;
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    height: 720px;
    min-height: 86svh;
    align-items: flex-end;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(8, 18, 24, 0.9) 0%, rgba(8, 18, 24, 0.42) 62%, rgba(8, 18, 24, 0.2) 100%);
  }

  .hero-content {
    width: calc(100% - 44px);
    margin: 0 22px;
    padding: 0 0 58px;
  }

  .hero h1 {
    font-size: clamp(56px, 19vw, 78px);
  }

  .hero-tagline {
    max-width: 350px;
  }

  .story-section {
    padding: 84px 0 96px;
    display: block;
  }

  .story-lead {
    position: static;
    margin-bottom: 62px;
  }

  .story-copy {
    font-size: 20px;
    line-height: 1.65;
  }

  .story-copy blockquote {
    padding-left: 20px;
  }

  .promise-band {
    min-height: 280px;
  }

  .how-section {
    padding: 86px 0 92px;
  }

  .steps {
    margin-top: 62px;
    display: block;
  }

  .steps li,
  .steps li + li {
    min-height: 0;
    padding: 28px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps h3 {
    margin-top: 32px;
  }

  .closing-section {
    padding: 84px 0;
    display: block;
  }

  .closing-statement {
    margin-top: 68px;
  }

  footer {
    padding-top: 48px;
    padding-bottom: 48px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-note {
    justify-self: start;
  }
}

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