:root {
  color-scheme: dark;
  --background: #111410;
  --panel: #1c211a;
  --text: #f4ebdb;
  --muted: #c9c4b9;
  --ember: #ff925c;
  --line: #444436;
  --gutter: clamp(1.35rem, 5vw, 4.5rem);
  --display: "Cinzel", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1.125rem/1.55 "Source Sans 3", system-ui, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ember); outline-offset: 5px; }
.wrap { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--text); color: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.masthead { background: #111410; border-bottom: 1px solid #ffffff22; }
.masthead-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.masthead-inner { min-height: 4.25rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .77rem;
  font: 700 .87rem/1.15 var(--display);
  letter-spacing: .035em;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  color: var(--ember);
  border: 1px solid #aa6347;
  font-size: 1.05rem;
}
nav a { color: var(--muted); font-size: .96rem; font-weight: 600; text-underline-offset: .28em; text-decoration-color: #77766b; }
nav a:hover { color: var(--text); }

.hero { position: relative; display: grid; isolation: isolate; min-height: clamp(37rem, 81svh, 59rem); overflow: hidden; }
.hero-art, .hero::after { position: absolute; width: 100%; height: 100%; inset: 0; }
.hero-art { z-index: -2; object-fit: cover; object-position: center 56%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0d100ef5 0%, #101310cf 25%, #10131067 51%, #10131000 76%),
    linear-gradient(0deg, #111410f2, transparent 35%);
}
.hero-inner { display: flex; align-items: center; padding-block: clamp(4rem, 9vw, 8rem); }
.hero-copy { max-width: 42rem; }
.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--ember);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.eyebrow span { margin: 0 .34em; color: #f4ebdb99; }
h1, h2 { margin: 0; font-family: var(--display); }
h1 { font-size: clamp(3.2rem, 7.4vw, 7.7rem); line-height: .94; letter-spacing: -.04em; font-weight: 800; }
h1 span { display: block; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.1; font-weight: 700; letter-spacing: -.027em; }
.lead { margin: 1.55rem 0 .28rem; font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; }
.hero-description { max-width: 32ch; margin: 0 0 1.7rem; color: var(--muted); font-size: 1.12rem; }
.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.55rem;
  padding: .78rem 1.25rem;
  color: #1f130e;
  background: var(--ember);
  border: 1px solid #ffae83;
  border-radius: .22rem;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.button:hover { background: #ffb28b; box-shadow: 0 0 1.4rem #ff925c44; }
.button span { font-size: 1.3em; line-height: 1; }

.story { border-top: 1px solid var(--line); background: var(--background); scroll-margin-top: 1.5rem; }
.story-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 9vw, 8rem); }
.story-copy { align-self: end; max-width: 49ch; color: var(--muted); font-size: clamp(1.05rem, 1.75vw, 1.23rem); }
.story-copy p { margin: 0 0 1rem; }
.story-copy p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 700; }
.join { background: var(--panel); border-block: 1px solid var(--line); }
.join-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.join h2 { font-size: clamp(1.7rem, 3.4vw, 3.15rem); }
.join p { margin: .8rem 0 0; color: var(--muted); }
.footer-inner { min-height: 4.5rem; padding-block: 1rem; color: var(--muted); font-size: .9rem; }
.footer-inner span:first-child { font-family: var(--display); font-weight: 700; color: var(--text); }

@media (max-width: 47rem) {
  .hero { min-height: 43rem; }
  .hero-art { object-position: 69% center; }
  .hero::after { background: linear-gradient(0deg, #111410 1%, #0d100eee 24%, #1013109e 58%, #10131035 100%); }
  .hero-inner { align-items: flex-end; padding-block: 7rem 3.1rem; }
  .hero-copy { max-width: 100%; }
  .story-inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .join-inner { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .27rem; }
}
@media (max-width: 23rem) {
  .eyebrow { letter-spacing: .11em; }
  h1 { font-size: 2.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
