:root {
  --wood: #8a5a32;
  --dark: #24170f;
  --leaf: #446b3c;
  --cream: #fff1d8;
  --orange: #e88935;
  --muted: #6d6256;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background: var(--cream);
}

a { color: inherit; text-decoration: none; }

.wood-hero {
  min-height: 820px;
  padding: 30px clamp(18px, 5vw, 78px) 88px;
  background:
    repeating-linear-gradient(90deg, rgba(138, 90, 50, 0.18) 0 18px, rgba(255, 241, 216, 0.2) 18px 36px),
    radial-gradient(circle at 80% 24%, rgba(68, 107, 60, 0.25), transparent 30%),
    var(--cream);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  padding: 13px 18px;
  color: white;
  background: var(--dark);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

button {
  padding: 12px 16px;
  border: 0;
  color: white;
  background: var(--leaf);
  cursor: pointer;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  gap: 64px;
  align-items: center;
  padding-top: 104px;
}

.mark {
  margin: 0 0 18px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero p:last-child,
.planks p,
.market-bazaar p,
.joinery dd,
footer p,
address span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero p:last-child {
  max-width: 780px;
  font-size: 21px;
}

.plank-card {
  display: grid;
  align-content: space-between;
  min-height: 440px;
  padding: 34px;
  color: white;
  background: linear-gradient(135deg, var(--wood), var(--dark));
  border-radius: 18px;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.12);
}

.plank-card span {
  color: #ffd9a2;
  font-weight: 900;
  text-transform: uppercase;
}

.plank-card b {
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
}

.sawmill, .market-bazaar, .joinery, footer {
  padding: 94px clamp(18px, 5vw, 78px);
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.sawmill { background: white; }

.planks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.planks article {
  min-height: 330px;
  padding: 28px;
  background: var(--cream);
  border-left: 12px solid var(--wood);
}

.planks span {
  color: var(--wood);
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-bazaar {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  color: white;
  background: var(--leaf);
}

.market-bazaar .mark { color: #ffe1b6; }

.market-bazaar p { color: #e5f0df; }

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: center;
}

.signals span {
  padding: 18px 22px;
  border-radius: 999px;
  color: var(--dark);
  background: #ffe1b6;
  font-weight: 900;
  text-transform: uppercase;
}

.signals span:nth-child(even) {
  background: var(--orange);
}

.joinery { background: #f7e6cd; }

.joinery dl {
  display: grid;
  grid-template-columns: 280px 1fr;
  margin-top: 36px;
  border: 3px solid var(--dark);
}

.joinery dt,
.joinery dd {
  margin: 0;
  padding: 24px;
  border-bottom: 3px solid var(--dark);
}

.joinery dt {
  color: white;
  background: var(--wood);
  font-weight: 900;
  text-transform: uppercase;
}

.joinery dd { background: white; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  background: white;
}

address {
  display: grid;
  gap: 12px;
  min-width: min(100%, 430px);
  padding: 30px;
  color: white;
  background: var(--dark);
  font-style: normal;
}

address a {
  color: #ffe1b6;
  font-size: 24px;
  font-weight: 900;
}

address span { color: #e6d4bd; }

@media (max-width: 1000px) {
  .hero, .planks, .market-bazaar, .joinery dl, footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  nav { flex-wrap: wrap; }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
}
