:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #526170;
  --paper: #f8f6ef;
  --panel: #fffdf8;
  --line: #d8d0bd;
  --green: #2e6d4f;
  --blue: #255f95;
  --gold: #d8a23b;
  --red: #b65345;
}

* {
  box-sizing: border-box;
}

html {
  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, rgba(37, 95, 149, 0.1), transparent 520px),
    linear-gradient(180deg, var(--paper), #ffffff 34%, var(--paper));
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 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;
  gap: 4px;
  overflow-x: auto;
  margin-left: auto;
  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(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 58px);
  padding: clamp(64px, 12vh, 124px) 0 clamp(44px, 8vh, 84px);
}

.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: 1040px;
  margin-bottom: 24px;
  color: var(--green);
  font-size: clamp(3.35rem, 9vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(2.1rem, 5.8vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

.lede {
  max-width: 760px;
  color: #334250;
  font-size: clamp(1.16rem, 2.5vw, 1.62rem);
  line-height: 1.45;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action {
  color: #ffffff;
  background: var(--green);
}

.secondary-action {
  color: var(--green);
  background: rgba(255, 255, 255, 0.6);
}

.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;
}

.story-section img {
  display: block;
  width: min(100%, 980px);
  max-height: 72vh;
  justify-self: center;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
  object-fit: contain;
}

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

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

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

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

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

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

  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(3rem, 17vw, 4.9rem);
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
