:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #4f5f6f;
  --paper: #f6f3ec;
  --panel: #ffffff;
  --line: #d9d2c1;
  --green: #275f47;
  --blue: #275f95;
  --gold: #c48a2c;
  --red: #a94c3f;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--paper), #fbfaf7 34%, var(--paper));
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  border-bottom: 1px solid rgba(23, 32, 42, 0.11);
  background: rgba(248, 246, 239, 0.94);
  padding: 10px max(16px, calc((100vw - 1120px) / 2));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  margin-left: 0;
  padding: 4px 0;
  scrollbar-width: thin;
}

nav a {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 8px 10px;
  color: #42515f;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(46, 109, 79, 0.11);
  color: var(--green);
}

main {
  width: min(1024px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: calc(100vh - 58px);
  padding: clamp(56px, 10vh, 112px) 0 clamp(40px, 7vh, 72px);
  text-align: center;
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--green);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.62;
}

.lede {
  max-width: 720px;
  color: #334250;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.45;
}

.plain-statement {
  max-width: 680px;
  color: var(--ink);
  font-weight: 800;
}

.story-section {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  padding: clamp(48px, 10vh, 92px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 76px;
  justify-items: center;
  text-align: center;
}

.story-section img {
  display: block;
  width: min(100%, 880px);
  max-height: 72vh;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
  object-fit: contain;
}

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

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

.final-section {
  padding-bottom: clamp(68px, 12vh, 118px);
}

footer {
  width: min(1024px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 30px 0 48px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
  }

  nav {
    width: 100%;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .story-section {
    scroll-margin-top: 116px;
  }
}

@media (max-width: 560px) {
  main,
  footer {
    width: min(100% - 22px, 1120px);
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }
}
