:root {
  color-scheme: light;
  --farm-red: #8f271f;
  --farm-red-dark: #5f1814;
  --cream: #f6efe3;
  --paper: #fffaf1;
  --ink: #241d19;
  --muted: #6f6258;
  --field: #4c6a45;
  --line: rgba(36, 29, 25, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--farm-red-dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 12, 9, 0.76), rgba(18, 12, 9, 0.34) 46%, rgba(18, 12, 9, 0.04)),
    linear-gradient(0deg, rgba(18, 12, 9, 0.58), transparent 52%);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: white;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a,
.hero-actions a,
.email-panel a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.nav-links .mail-link {
  background: rgba(143, 39, 31, 0.9);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  padding: 170px 0 12vh clamp(20px, 5vw, 72px);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #f3d4b2;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary {
  color: white;
  background: var(--farm-red);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

main {
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.intro,
.email-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto clamp(44px, 7vw, 88px);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro > p,
.feature p,
.email-panel p,
footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-kicker {
  color: var(--farm-red);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto clamp(44px, 7vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
}

.feature-number {
  display: block;
  margin-bottom: 36px;
  color: var(--field);
  font-weight: 900;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.email-panel {
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  background: var(--farm-red-dark);
  color: white;
}

.email-panel h2 {
  margin-bottom: 0;
}

.email-panel .section-kicker,
.email-panel p {
  color: #f1d3ba;
}

.email-panel a {
  justify-self: end;
}

.primary.dark {
  background: var(--paper);
  color: var(--farm-red-dark);
}

footer {
  padding: 28px clamp(20px, 5vw, 72px) 42px;
  border-top: 1px solid var(--line);
}

footer p {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: 88vh;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.86rem;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-left: 16px;
    padding-bottom: 8vh;
  }

  .intro,
  .email-panel,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .email-panel a {
    justify-self: start;
  }
}
