:root {
  --ink: #171716;
  --muted: #66625b;
  --paper: #fbfaf6;
  --soft: #efede6;
  --line: #dbd6ca;
  --forest: #163f35;
  --forest-2: #0f2d27;
  --brass: #b88746;
  --clay: #9a5f42;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(18, 28, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-visible {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background-image: url("./assets/hero-showroom.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 17, 15, 0.82) 0%, rgba(9, 17, 15, 0.62) 34%, rgba(9, 17, 15, 0.1) 74%),
    linear-gradient(0deg, rgba(9, 17, 15, 0.62) 0%, rgba(9, 17, 15, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 44px;
}

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

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

h1 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--forest-2);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin: 58px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats div {
  min-width: 0;
  padding: 18px;
  background: rgba(17, 24, 22, 0.48);
}

.hero-stats dt {
  color: var(--brass);
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.intro-section {
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.section-heading,
.process-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

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

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

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(23, 23, 22, 0.08);
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-card.hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--soft);
}

.product-card-body {
  padding: 18px;
}

.product-card-body p {
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-body span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.capabilities-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: var(--forest-2);
  color: var(--white);
}

.capabilities-section h2 {
  max-width: 780px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-list article {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  background: #143a32;
}

.capability-list span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--brass);
  font-weight: 900;
}

.capability-list h3 {
  margin-bottom: 14px;
}

.capability-list p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.68;
}

.projects-section {
  border-bottom: 1px solid var(--line);
}

.text-link {
  justify-self: end;
  color: var(--forest);
  font-weight: 800;
  border-bottom: 2px solid var(--brass);
}

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

.project-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 29, 25, 0.04), rgba(17, 29, 25, 0.88)),
    url("./assets/hero-showroom.png") center / cover;
}

.project-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(17, 29, 25, 0.04), rgba(17, 29, 25, 0.88)),
    url("./edited-dimension-images/9232-30x29cm.png") center / cover;
}

.project-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(17, 29, 25, 0.04), rgba(17, 29, 25, 0.88)),
    url("./edited-dimension-images/9858-30x29cm.png") center / cover;
}

.project-grid strong {
  font-size: 22px;
}

.project-grid span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  font-weight: 850;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.process-list p {
  color: var(--muted);
  line-height: 1.58;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 76px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 72px;
  padding: clamp(42px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 63, 53, 0.96), rgba(17, 23, 22, 0.94)),
    url("./assets/hero-showroom.png") center / cover;
  border-radius: 8px;
}

.contact-copy h2 {
  max-width: 560px;
}

.contact-copy p {
  max-width: 580px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  gap: 13px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-list strong {
  color: var(--brass);
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.inquiry-form input,
.inquiry-form select {
  height: 44px;
  padding: 0 12px;
}

.inquiry-form textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.45;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 135, 70, 0.18);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #111716;
}

.site-footer a {
  color: var(--brass);
  font-weight: 800;
}

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

  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    padding: 13px 0;
  }

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

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

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

  .capability-list,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    top: 68px;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    width: min(100% - 28px, 520px);
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .section {
    width: min(100% - 28px, 620px);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-section {
    width: min(100% - 28px, 620px);
    padding: 28px 18px;
  }

  .contact-list li,
  .process-list li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
