:root {
  --wood-900: #24170f;
  --wood-800: #3a2619;
  --wood-700: #633d22;
  --wood-500: #a96f3c;
  --cream: #f7f2ea;
  --paper: #fffaf2;
  --green: #24483a;
  --green-soft: #dfe9df;
  --line: rgba(36, 23, 15, 0.13);
  --muted: #6d6257;
  --shadow: 0 22px 70px rgba(36, 23, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--wood-900);
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--green);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.nav-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 74px));
  overflow: hidden;
  background: var(--wood-900);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 13, 8, 0.86), rgba(20, 13, 8, 0.38) 52%, rgba(20, 13, 8, 0.12)),
    linear-gradient(0deg, rgba(20, 13, 8, 0.76), rgba(20, 13, 8, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(96px, 15vw, 178px) clamp(20px, 6vw, 86px) 220px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #dbe8d8;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.45;
}

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

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-secondary {
  color: var(--wood-900);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.56);
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  left: clamp(18px, 5vw, 72px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.hero-strip div {
  padding: 24px;
}

.hero-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.hero-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

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

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.products {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 44px auto 0;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(36, 23, 15, 0.06);
}

.product-card img {
  height: 230px;
}

.product-card div {
  padding: 22px;
}

.product-card p,
.process-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.showroom {
  background: var(--wood-900);
  color: #fff;
}

.showroom .section-kicker,
.showroom .section-heading p {
  color: #d9c8b4;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-tabs button {
  min-height: 42px;
  padding: 0 14px;
  color: #f6eadb;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  cursor: pointer;
}

.filter-tabs button.active {
  color: var(--wood-900);
  background: #f7e6cf;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
  max-width: 1180px;
  margin: 44px auto 0;
}

.gallery-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3) {
  grid-row: span 2;
}

.gallery-grid figure:nth-child(5) {
  grid-column: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(15, 10, 6, 0.58);
  border-radius: 8px;
}

.gallery-grid figure.is-hidden {
  display: none;
}

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

.process > .section-kicker,
.process > h2 {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 42px auto 0;
}

.process-steps div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--wood-500);
  font-size: 13px;
  font-weight: 800;
}

.process-steps strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: clamp(64px, 9vw, 110px) auto;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact .button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--wood-900);
  font-weight: 800;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 270px;
  }

  .hero-strip,
  .intro-grid,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    right: 18px;
    left: 18px;
  }

  .hero-strip div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

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

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

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-content {
    padding: 76px 18px 430px;
  }

  .hero-strip {
    bottom: 18px;
  }

  .hero-strip div {
    padding: 18px;
  }

  .section {
    padding: 58px 18px;
  }

  .product-grid,
  .gallery-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 220px;
  }

  .gallery-grid {
    grid-auto-rows: 245px;
  }

  .gallery-grid figure:nth-child(2),
  .gallery-grid figure:nth-child(3),
  .gallery-grid figure:nth-child(5) {
    grid-row: auto;
    grid-column: auto;
  }

  .contact {
    margin: 58px 18px;
  }

  .button,
  .contact-actions {
    width: 100%;
  }
}
