:root {
  --ink: #12222b;
  --muted: #62747b;
  --line: #d9e1df;
  --paper: #f4f7f6;
  --white: #ffffff;
  --accent: #b9864f;
  --accent-dark: #8b6338;
  --teal: #0d5961;
  --teal-deep: #082f3a;
  --charcoal: #10191d;
  --shadow: 0 18px 48px rgba(5, 22, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 7px 24px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 24px;
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--accent));
  border-radius: 6px;
  font-weight: 900;
  font-size: 26px;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--teal-deep);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button.dark {
  color: var(--white);
  background: var(--charcoal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(3, 21, 29, 0.88), rgba(6, 43, 52, 0.58) 48%, rgba(7, 34, 40, 0.18));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1220px) / 2));
  padding: 80px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 13px;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  margin-top: 34px;
}

.hero-stats span {
  min-width: 145px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 92px 24px;
}

.section.compact {
  padding-bottom: 42px;
}

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

.section-heading.wide {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: end;
  max-width: none;
}

.section-heading p {
  color: var(--muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.solution-grid a,
.band-list span {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.solution-grid a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.products-section {
  padding-top: 48px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

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

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card img,
.product-visual {
  aspect-ratio: 1 / 1;
  height: auto;
}

.product-visual {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 35%, rgba(0, 0, 0, 0.16));
  mix-blend-mode: soft-light;
}

.visual-ribbed {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 8px, rgba(0, 0, 0, 0.12) 8px 15px),
    linear-gradient(135deg, #12353f, #6f8d86);
}

.visual-oak {
  background:
    repeating-linear-gradient(8deg, rgba(83, 50, 25, 0.22) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, #c49a6b, #7a583a 48%, #d8b178);
}

.visual-charcoal {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.12), transparent 24%),
    repeating-linear-gradient(90deg, #16242a 0 18px, #24363d 18px 20px),
    #10191d;
}

.visual-marble {
  background:
    linear-gradient(128deg, transparent 0 38%, rgba(128, 111, 96, 0.32) 39% 41%, transparent 42%),
    linear-gradient(32deg, transparent 0 58%, rgba(19, 54, 63, 0.22) 59% 61%, transparent 62%),
    linear-gradient(135deg, #f6f4ef, #d9dedc);
}

.visual-acoustic {
  background:
    repeating-linear-gradient(90deg, #966f49 0 10px, #181f22 10px 15px, #b0865e 15px 25px, #20292c 25px 30px),
    #2b2420;
}

.visual-slate {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(185, 134, 79, 0.24), transparent 24%),
    linear-gradient(135deg, #68777a, #213139 60%, #0d5961);
}

.visual-copperstone {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    repeating-linear-gradient(150deg, #60432d 0 28px, #9f744c 28px 46px, #263a3c 46px 70px);
}

.visual-floor {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(0deg, #6f5035 0 42px, #8a6542 42px 84px, #bd9462 84px 126px);
}

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

.product-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 48px;
  margin-bottom: 10px;
  font-size: 18px;
}

.product-card p,
.case-panel p,
.band-copy p,
.news-grid p,
.why-grid p,
.contact p {
  color: var(--muted);
}

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

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: 76px max(24px, calc((100vw - 1220px) / 2));
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
}

.band .eyebrow,
.contact .eyebrow {
  color: #d8aa76;
}

.band-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.band-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.band-list span {
  color: var(--ink);
}

.case-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  gap: 0;
}

.case-feature > img,
.case-collage {
  min-height: 430px;
  border-radius: 8px;
}

.case-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: #dce5e3;
}

.case-collage span {
  min-height: 190px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f4f0e8, #9db3b2);
}

.case-collage span:nth-child(1) {
  grid-row: span 2;
  background:
    linear-gradient(90deg, rgba(8, 47, 58, 0.52), rgba(8, 47, 58, 0.04)),
    repeating-linear-gradient(90deg, #c79c65 0 22px, #12222b 22px 28px);
}

.case-collage span:nth-child(2) {
  background:
    linear-gradient(132deg, transparent 0 52%, rgba(185, 134, 79, 0.4) 53% 55%, transparent 56%),
    linear-gradient(135deg, #f6f3ec, #cfd8d5);
}

.case-collage span:nth-child(3) {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.24), transparent 25%),
    linear-gradient(135deg, #12353f, #7c8d84);
}

.case-collage span:nth-child(4) {
  display: none;
}

.case-panel {
  margin-left: -80px;
  margin-bottom: 36px;
  padding: 34px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.why-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.why-grid strong {
  color: var(--accent);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.news-grid img,
.journal-visual {
  height: 230px;
}

.journal-visual {
  border-bottom: 1px solid var(--line);
}

.journal-1 {
  background:
    linear-gradient(90deg, rgba(8, 47, 58, 0.52), rgba(8, 47, 58, 0)),
    repeating-linear-gradient(90deg, #bd9563 0 16px, #202b2f 16px 22px),
    #c7d0cd;
}

.journal-2 {
  background:
    linear-gradient(128deg, transparent 0 38%, rgba(18, 34, 43, 0.2) 39% 41%, transparent 42%),
    linear-gradient(34deg, transparent 0 62%, rgba(185, 134, 79, 0.35) 63% 65%, transparent 66%),
    #f1eee8;
}

.journal-3 {
  background:
    radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.18), transparent 22%),
    repeating-linear-gradient(145deg, #22363d 0 24px, #768982 24px 46px, #b9864f 46px 52px);
}

.news-grid h3,
.news-grid p {
  padding: 0 20px;
}

.news-grid h3 {
  margin-top: 18px;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 52px;
  padding: 86px max(24px, calc((100vw - 1220px) / 2));
  color: var(--white);
  background: var(--charcoal);
}

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

.contact ul {
  padding-left: 20px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfa;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1220px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #070b0d;
}

.footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 8px;
}

.footer p {
  max-width: 580px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: center;
}

.floating-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .section-heading.wide,
  .band,
  .case-feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .product-grid,
  .why-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-panel {
    margin: -60px 24px 0;
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  .hero-overlay {
    background: rgba(8, 12, 14, 0.72);
  }

  .section {
    padding: 66px 16px;
  }

  .solution-grid,
  .product-grid,
  .why-grid,
  .news-grid,
  .band-list {
    grid-template-columns: 1fr;
  }

  .band,
  .contact,
  .footer {
    padding-inline: 16px;
  }

  .footer {
    flex-direction: column;
  }
}
