:root {
  --forest: #18352a;
  --pine: #274b3c;
  --cream: #f5eddd;
  --sand: #dfc99e;
  --graphite: #222523;
  --terracotta: #b66a48;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--graphite);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgb(24 53 42 / 10%);
  background: rgb(245 237 221 / 86%);
  backdrop-filter: blur(18px);
}

header > div:first-child,
section > div,
footer > div {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

header > div:first-child {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header a:first-child {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
}

header a:first-child > span:first-child {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 12px 26px rgb(24 53 42 / 18%);
}

nav {
  display: none;
}

main {
  overflow: hidden;
  background: var(--cream);
}

section {
  padding: 5rem 1rem;
}

#top {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding-top: 6rem;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}

#top > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgb(15 22 19 / 92%), rgb(24 53 42 / 76%) 46%, rgb(15 22 19 / 22%)),
    linear-gradient(0deg, rgb(15 22 19 / 62%), rgb(15 22 19 / 8%) 48%, rgb(15 22 19 / 18%));
}

#top > div {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-block: 2.5rem 7rem;
}

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

h1 {
  max-width: 58rem;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: .98;
  font-weight: 600;
  text-wrap: balance;
}

h2 {
  max-width: 52rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  font-weight: 600;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
}

p {
  line-height: 1.75;
}

#top p {
  max-width: 42rem;
  margin-top: 1.75rem;
  color: rgb(245 237 221 / 78%);
  font-size: 1.125rem;
}

#top p:first-child,
.text-terracotta,
[class*="tracking-"] {
  color: var(--sand);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

[data-slot="button"],
button,
.inline-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

[data-slot="button"] {
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: background-color .15s ease, transform .15s ease;
}

.bg-terracotta,
[href="#lead"][data-slot="button"] {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 18px 40px rgb(182 106 72 / 22%);
}

.bg-forest {
  background: var(--forest);
}

.bg-cream {
  background: var(--cream);
}

.text-cream {
  color: var(--cream);
}

.text-graphite {
  color: var(--graphite);
}

.text-forest {
  color: var(--forest);
}

.rounded-full {
  border-radius: 999px;
}

.rounded-\[24px\],
article,
figure {
  border-radius: 24px;
}

article,
figure,
.bg-white\/84,
.bg-white\/88 {
  background: rgb(255 255 255 / 84%);
  box-shadow: 0 18px 70px rgb(25 38 31 / 9%);
}

article {
  padding: 1.5rem;
}

figure {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-3 {
  gap: .75rem;
}

.gap-5 {
  gap: 1.25rem;
}

.mt-3 {
  margin-top: .75rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-7,
.mt-8 {
  margin-top: 2rem;
}

.mt-9,
.mt-10 {
  margin-top: 2.5rem;
}

.py-20 {
  padding-block: 5rem;
}

.leading-8 {
  line-height: 2;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgb(24 53 42 / 12%);
  border-radius: 1rem;
  background: #fff;
  padding: .75rem 1rem;
}

textarea {
  min-height: 8rem;
}

@media (min-width: 640px) {
  header > div:first-child,
  section > div,
  footer > div {
    padding-inline: 1.5rem;
  }

  #top p {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  header > div:first-child,
  section > div,
  footer > div {
    padding-inline: 2rem;
  }

  nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
