:root {
  color-scheme: light;
  --forest: #17352d;
  --forest-deep: #0f2922;
  --moss: #5c7c65;
  --cream: #f2eee3;
  --paper: #fbfaf5;
  --copper: #c85e32;
  --ink: #17211d;
  --line: rgba(23, 53, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 300px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 53, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 53, 45, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand strong {
  color: var(--copper);
}

.brand-mark {
  position: relative;
  width: 33px;
  height: 28px;
}

.brand-mark i {
  position: absolute;
  bottom: 2px;
  width: 8px;
  background: var(--forest);
  transform: skewY(-35deg);
}

.brand-mark i:nth-child(1) {
  left: 1px;
  height: 15px;
}

.brand-mark i:nth-child(2) {
  left: 12px;
  height: 23px;
}

.brand-mark i:nth-child(3) {
  left: 23px;
  height: 18px;
  background: var(--copper);
}

.product-name {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 7vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

h1 span {
  color: var(--copper);
  font-style: italic;
}

.intro {
  max-width: 610px;
  margin: 34px 0;
  color: #3e5149;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.7;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  min-height: 58px;
  padding: 0 25px;
  border: 2px solid var(--forest);
  border-radius: 2px;
  color: #fff;
  background: var(--forest);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-action span {
  font-size: 1.3rem;
}

.primary-action:hover {
  color: var(--forest);
  background: transparent;
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.protected-note {
  margin: 18px 0 0;
  color: #5d6d66;
  font-size: 0.78rem;
}

.protected-note span {
  margin-right: 7px;
  color: var(--moss);
  font-size: 0.6rem;
}

.visual {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 2px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.15), transparent 50%),
    var(--forest);
  box-shadow: 24px 24px 0 var(--cream);
}

.sun {
  position: absolute;
  top: 62px;
  right: 72px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(242, 238, 227, 0.45);
  border-radius: 50%;
}

.roof {
  position: absolute;
  border-style: solid;
  transform: rotate(-4deg);
}

.roof-back {
  top: 205px;
  left: 50px;
  border-width: 0 150px 150px;
  border-color: transparent transparent rgba(242, 238, 227, 0.13);
}

.roof-front {
  top: 184px;
  left: 128px;
  border-width: 0 184px 184px;
  border-color: transparent transparent var(--copper);
}

.timber {
  position: absolute;
  bottom: 78px;
  left: 71px;
  height: 12px;
  background: var(--cream);
  transform-origin: left center;
}

.timber-a {
  width: 355px;
  transform: rotate(-38deg);
}

.timber-b {
  left: 155px;
  width: 300px;
  transform: rotate(-128deg);
}

.timber-c {
  bottom: 76px;
  width: 375px;
  transform: rotate(0);
}

.ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 68px;
  background: var(--forest-deep);
}

.compass {
  width: 100%;
  padding: 76px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 80px minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 46px;
  align-items: start;
  color: #fff;
  background: var(--forest);
}

.section-number {
  margin: 2px 0 0;
  color: #9eb2a5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.compass h2 {
  max-width: 520px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.compass > p:last-child {
  max-width: 560px;
  margin: 30px 0 0;
  color: #d4dfd8;
  font-size: 1rem;
  line-height: 1.75;
}

footer {
  min-height: 86px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #66756e;
  background: var(--paper);
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .site-header,
  .hero {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding: 74px 0 58px;
  }

  .visual {
    height: 380px;
    margin-bottom: 64px;
    box-shadow: 12px 12px 0 var(--cream);
  }

  .compass {
    grid-template-columns: 50px 1fr;
    gap: 25px;
  }

  .compass > p:last-child {
    grid-column: 2;
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 74px;
  }

  .product-name {
    display: none;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .intro {
    margin: 28px 0;
  }

  .primary-action {
    width: 100%;
    justify-content: space-between;
  }

  .visual {
    height: 300px;
  }

  .roof-front {
    left: 70px;
  }

  .timber {
    left: 35px;
  }

  .compass {
    padding-top: 58px;
    padding-bottom: 58px;
    grid-template-columns: 1fr;
  }

  .compass > p:last-child {
    grid-column: 1;
  }

  footer {
    padding-block: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  .primary-action {
    transition: none;
  }
}
