:root {
  --bg: #f3eee4;
  --bg-alt: #e7dfd0;
  --ink: #1a1916;
  --muted: #5a554c;
  --cream: #faf6ee;
  --moss: #2f5a40;
  --moss-deep: #1e3a2b;
  --forest: #13241b;
  --spore: #c45c26;
  --line: rgba(26, 25, 22, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --max: 72rem;
  --radius: 1.1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a {
  color: var(--moss);
}

a:hover {
  color: var(--spore);
}

h1,
h2,
h3,
.brand-name,
.eyebrow {
  font-family: var(--serif);
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--moss-deep);
  text-decoration: none;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
}

.brand-name {
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--moss);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  color: var(--cream);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 36, 27, 0.15) 0%, rgba(19, 36, 27, 0.72) 62%, rgba(19, 36, 27, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 48rem);
  margin: 0 auto 4.5rem 8vw;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--spore);
  margin-bottom: 0.7rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  background: var(--spore);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.button:hover {
  background: #a94b1c;
  color: #fff;
}

.button-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--cream) 45%, transparent);
  color: var(--cream);
}

.button-ghost:hover {
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  color: var(--cream);
}

.strip {
  background: var(--moss-deep);
  color: var(--cream);
  padding: 1.4rem 0;
}

.strip-grid {
  display: grid;
  gap: 1rem;
}

.strip p,
.strip strong {
  margin: 0;
}

.strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #e7c27a;
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: 4.5rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--forest);
  color: var(--cream);
}

.section-dark .eyebrow {
  color: #e7c27a;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.frame {
  margin: 0;
}

.frame img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-dark .frame figcaption {
  color: color-mix(in srgb, var(--cream) 70%, transparent);
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.cards li {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.card-body i {
  color: var(--muted);
}

.footnote {
  margin-top: 1.5rem;
  color: var(--muted);
}

.markets {
  display: grid;
  gap: 2rem;
}

.market-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.market-list li {
  padding: 1.2rem 1.3rem;
  border: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  border-radius: var(--radius);
}

.contact {
  display: grid;
  gap: 2rem;
}

.contact-card {
  font-style: normal;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--moss-deep);
}

.contact-label {
  margin: 1rem 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

.contact-label:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid p {
  margin: 0 0 0.4rem;
}

.footer-grid .brand-name {
  color: var(--moss-deep);
  font-size: 1.2rem;
}

.page-error {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

@media (min-width: 720px) {
  .strip-grid,
  .cards,
  .market-list,
  .contact,
  .markets,
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact,
  .markets {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 719px) {
  .nav-button {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    cursor: pointer;
  }

  .nav-button-bars,
  .nav-button-bars::before,
  .nav-button-bars::after {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--ink);
    position: relative;
  }

  .nav-button-bars::before,
  .nav-button-bars::after {
    content: "";
    position: absolute;
  }

  .nav-button-bars::before {
    top: -6px;
  }

  .nav-button-bars::after {
    top: 6px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
  }

  .nav a {
    padding: 0.7rem 1.25rem;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .hero-copy {
    margin: 0 auto 3rem;
  }
}

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