:root {
  --ink: #171717;
  --muted: #6b625a;
  --paper: #f6f1ea;
  --panel: #fffaf3;
  --metal: #242424;
  --brass: #b8894a;
  --green: #223b34;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 24px 60px rgba(25, 20, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.25);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
}

.site-nav .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.18);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.3) 48%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05) 45%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 150px clamp(20px, 6vw, 84px) 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  color: #15120e;
  background: var(--brass);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
}

.button.small {
  width: 100%;
  min-height: 42px;
  color: #fff;
  background: var(--green);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats article {
  min-height: 132px;
  padding: 30px clamp(20px, 4vw, 54px);
  background: var(--panel);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin-bottom: 9px;
  font-size: 18px;
}

.stats span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.intro-copy p {
  margin: 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.portfolio-section {
  background: #ebe3d7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.portfolio-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(22px, 4vw, 38px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.portfolio-card.large {
  grid-row: span 2;
  min-height: 574px;
  background: linear-gradient(135deg, #1d1d1d, #30423b);
  color: #fff;
}

.portfolio-card h3 {
  margin: 20px 0 10px;
  font-size: clamp(24px, 3vw, 38px);
}

.portfolio-card p {
  max-width: 560px;
  margin: 0;
  color: inherit;
  line-height: 1.6;
  opacity: 0.74;
}

.material-swatch {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.material-swatch.brass {
  background: linear-gradient(135deg, #6f4a21, #d6aa62, #8a5f2b);
}

.material-swatch.steel {
  background: linear-gradient(135deg, #151515, #636363, #252525);
}

.material-swatch.stone {
  background: linear-gradient(135deg, #121212, #776f67, #d9d0c3);
}

.material-swatch.leather {
  background: linear-gradient(135deg, #241a14, #6b3e2b, #15100d);
}

.shop-section {
  background: var(--paper);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 9px 13px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-media {
  background-color: #222;
  background-image: linear-gradient(135deg, #1d1d1d, #ba8a49);
}

.product-media.table-a {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, #181818 20%, #33443f 50%, #b8894a);
}

.product-media.table-b {
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.22) 48%, transparent 51%),
    linear-gradient(135deg, #5f4427, #d0a35c 45%, #171717);
}

.product-media.console-a {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent),
    linear-gradient(135deg, #241913, #836145 44%, #202020);
}

.product-media.shelf-a {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(135deg, #1c2421, #6c6f68 52%, #201a16);
  background-size: 42px 100%, auto;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.product-body span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body h3,
.product-body p {
  margin: 0;
}

.product-body h3 {
  font-size: 24px;
}

.product-body p {
  color: var(--muted);
  line-height: 1.55;
}

.process-section {
  background: #171717;
  color: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.process-list li {
  min-height: 220px;
  padding: 28px;
  background: #202020;
}

.process-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-size: 20px;
}

.process-list span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 90px);
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
  background: var(--green);
  color: #fff;
}

.contact-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--panel);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.72);
  background: #111;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    background: rgba(17, 17, 17, 0.96);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 13px;
  }

  .stats,
  .intro,
  .portfolio-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .portfolio-card.large {
    min-height: 360px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 124px 20px 58px;
  }

  .stats,
  .product-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section-heading.inline {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
  }

  .filter {
    flex: 1 1 120px;
  }
}
