:root {
  color-scheme: light;
  --paper: #f8f4ea;
  --paper-deep: #e5dcc8;
  --ink: #1d2420;
  --muted: #61685e;
  --green: #123d32;
  --green-soft: #d4e1d5;
  --brass: #aa7a2c;
  --clay: #b45f43;
  --line: rgba(29, 36, 32, 0.16);
  --shadow: 0 28px 80px rgba(29, 36, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(29, 36, 32, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(29, 36, 32, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
  color: var(--ink);
  font-family: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 48px 0 28px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.8rem);
  line-height: 0.9;
  font-weight: 500;
}

.lede {
  width: min(560px, 100%);
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.45;
}

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

.actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.actions a:first-child {
  background: var(--green);
  border-color: var(--green);
  color: #fffaf0;
}

.actions a:hover,
.actions a:focus-visible {
  transform: translateY(-2px);
}

.hero__media {
  position: relative;
  min-height: 360px;
  aspect-ratio: 16 / 11;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 8% -4% -5% 8%;
  border: 1px solid var(--line);
  background: var(--green-soft);
}

.hero__media::after {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 9%;
  width: 32%;
  height: 10px;
  background: var(--clay);
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(29, 36, 32, 0.22);
  box-shadow: var(--shadow);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 48px;
  border: 1px solid var(--line);
  background: var(--line);
}

.index-grid article {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(248, 244, 234, 0.92);
}

.index-grid span {
  color: var(--brass);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.index-grid h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 500;
}

.index-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hero__media {
    min-height: 240px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.6rem);
  }

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

  .index-grid article {
    min-height: 180px;
  }
}
