:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --ink: #1c2420;
  --muted: #657268;
  --line: #d8d1c2;
  --green: #36624a;
  --green-soft: #dce8df;
  --copper: #c76d4a;
  --gold: #f0b85c;
  --white: #fffaf0;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 24px 18px;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.brand:hover,
.contact-link:hover {
  color: var(--copper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  align-items: center;
  gap: 42px;
  max-width: var(--max);
  min-height: calc(100svh - 112px);
  margin: 0 auto;
  padding: 34px 24px 80px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: .98;
  letter-spacing: 0;
}

h1 {
  max-width: 8ch;
  font-size: clamp(4.8rem, 16vw, 9.4rem);
}

h2 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: #334039;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 650;
  line-height: 1.25;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-art {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border-radius: 18px;
  box-shadow: 0 34px 70px rgb(28 36 32 / 18%);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1fr);
  gap: 52px;
}

.accent {
  background:
    linear-gradient(90deg, transparent 0, transparent 24px, rgb(220 232 223 / 72%) 24px, rgb(220 232 223 / 72%) calc(100% - 24px), transparent calc(100% - 24px));
}

.section-body {
  align-self: end;
}

.section-body p {
  margin: 0;
  color: #2f3934;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border: 1px solid color-mix(in srgb, var(--green) 42%, var(--paper));
  border-radius: 999px;
  background: rgb(255 250 240 / 68%);
  color: #2f4639;
  padding: 8px 12px;
  font-size: .92rem;
  font-weight: 800;
}

.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px 104px;
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 13ch;
}

.contact-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--copper);
  font-size: clamp(1.55rem, 4vw, 3rem);
  font-weight: 900;
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.error-page {
  width: min(720px, 100%);
  padding: 48px 24px;
}

.error-page h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 14vw, 8rem);
}

.error-page p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.2rem;
}

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

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

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

  .hero-art {
    max-width: 440px;
    justify-self: start;
  }

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

  h1 {
    max-width: 7ch;
    font-size: clamp(4.4rem, 24vw, 7rem);
  }

  h2 {
    max-width: 11ch;
  }

  .section,
  .contact {
    padding-top: 68px;
    padding-bottom: 72px;
  }
}

@media (max-width: 430px) {
  .site-header,
  .hero,
  .section,
  .contact,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}

