:root {
  --bg: #f6f3f5;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #67605f;
  --line: #e4e4e4;
  --accent: #ce8e78;
  --accent-deep: #824b3c;
  --olive: #536b5c;
  --charcoal: #1d1d1d;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(26, 26, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

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

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--charcoal);
}

.brand-text {
  max-width: 340px;
  font-size: 1rem;
  line-height: 1.16;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: #302c2b;
  font-size: 0.95rem;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 120px) clamp(20px, 7vw, 96px);
  overflow: hidden;
  color: #ffffff;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 29, 29, 0.86), rgba(29, 29, 29, 0.42) 52%, rgba(29, 29, 29, 0.18)),
    url("assets/flooring-process.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

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

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  background: #ffffff;
  color: var(--charcoal);
}

.button-card {
  width: max-content;
  margin-top: 8px;
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button-card:hover,
.button-card:focus-visible {
  color: #ffffff;
  background: var(--charcoal);
}

.button-dark {
  width: 100%;
  margin-top: 12px;
  background: var(--charcoal);
  color: #ffffff;
}

.cart-link {
  gap: 8px;
}

.cart-link span {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  color: #ffffff;
  background: var(--accent-deep);
  border-radius: 999px;
  font-size: 0.78rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px clamp(18px, 4vw, 46px);
  background: var(--surface);
}

.trust-strip strong,
.spec-grid strong,
.service-list strong {
  font-size: 1rem;
}

.trust-strip span,
.spec-grid span,
.service-list p,
.product-card p,
.split-copy p,
.project-band p,
.quote-copy p,
.site-footer p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 86px);
}

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

.section h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

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

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(26, 26, 26, 0.07);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.accent-card img {
  object-position: center;
}

.product-card-body {
  display: grid;
  gap: 12px;
  min-height: 236px;
  padding: 24px;
}

.product-tag {
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.product-card p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #ffffff;
}

.split-copy > p {
  max-width: 650px;
  font-size: 1.04rem;
}

.service-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.service-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.service-list span {
  grid-row: span 2;
  color: var(--accent-deep);
  font-weight: 800;
}

.service-list p {
  margin: 6px 0 0;
}

.split-image {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.specs {
  background: #f1edec;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #d8d4d1;
  border: 1px solid #d8d4d1;
}

.spec-grid div {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: #ffffff;
}

.project-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(29, 29, 29, 0.9), rgba(83, 107, 92, 0.74)),
    url("assets/wood-floor.jpg") center / cover no-repeat;
}

.project-band > div {
  max-width: 760px;
}

.project-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 800;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-deep);
  font-size: 1.3rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 24px 22px;
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: #ffffff;
}

.quote-copy p {
  max-width: 560px;
}

address {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--ink);
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: #f8f7f7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

label {
  display: grid;
  gap: 8px;
  color: #302c2b;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7d2d0;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(206, 142, 120, 0.25);
  border-color: var(--accent);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px clamp(20px, 6vw, 86px);
  color: #ffffff;
  background: var(--charcoal);
}

.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  max-width: 460px;
  color: #bfb7b5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  align-content: start;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.catalog-hero {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 86px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(29, 29, 29, 0.88), rgba(29, 29, 29, 0.48)),
    url("assets/flooring-process.jpg") center / cover no-repeat;
}

.catalog-hero > div {
  max-width: 820px;
}

.catalog-hero h1,
.product-purchase h1 {
  margin: 0;
  line-height: 1.05;
}

.catalog-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.catalog-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
  line-height: 1.7;
}

.catalog-tools,
.catalog-results,
.breadcrumb-lite,
.product-detail,
.product-description,
.product-info-tabs {
  padding-right: clamp(20px, 6vw, 86px);
  padding-left: clamp(20px, 6vw, 86px);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 460px) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding-top: 28px;
  padding-bottom: 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.search-field {
  max-width: 460px;
}

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

.filter-buttons button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8f7f7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.filter-buttons button.is-active,
.filter-buttons button:hover,
.filter-buttons button:focus-visible {
  color: #ffffff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.catalog-results {
  padding-top: 42px;
  padding-bottom: clamp(64px, 8vw, 112px);
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.catalog-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.catalog-heading span {
  color: var(--muted);
  font-weight: 800;
}

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

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.07);
}

.catalog-image {
  display: block;
  background: #f0eeee;
}

.catalog-image img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.catalog-card-body {
  flex: 1;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.catalog-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.32;
}

.catalog-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.catalog-price strong,
.price-line strong {
  font-size: 1.22rem;
}

.catalog-price s,
.price-line s {
  color: #8f8582;
}

.catalog-price span,
.price-line span,
.unit-detail {
  color: var(--muted);
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-actions {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 8px;
  align-self: end;
  margin-top: 6px;
}

.catalog-actions .button {
  min-height: 44px;
  padding: 0 12px;
}

.catalog-actions .button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.breadcrumb-lite {
  display: flex;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.breadcrumb-lite a {
  color: var(--accent-deep);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: 24px;
  padding-bottom: clamp(44px, 6vw, 82px);
}

.product-gallery {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.product-gallery > img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thumb-row button {
  width: 78px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.thumb-row button.is-active {
  border-color: var(--accent);
}

.thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-purchase {
  padding: clamp(22px, 4vw, 40px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(26, 26, 26, 0.08);
}

.product-purchase h1 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
}

.unit-detail {
  margin: 8px 0 0;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 26px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-meta div {
  padding: 15px;
  background: #fbfaf9;
}

.product-meta dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-meta dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.purchase-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.purchase-row input {
  min-height: 48px;
}

.product-description {
  padding-top: 44px;
  padding-bottom: clamp(64px, 8vw, 112px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.product-description h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.product-description p,
.product-description li {
  max-width: 920px;
  color: var(--muted);
  line-height: 1.7;
}

.product-description ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.product-info-tabs {
  padding-top: 44px;
  padding-bottom: clamp(64px, 8vw, 112px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.product-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1120px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-tab-list button {
  min-height: 52px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 800;
}

.product-tab-list button[aria-selected="true"],
.product-tab-list button:hover,
.product-tab-list button:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.product-tab-panels {
  max-width: 1120px;
}

.product-tab-panel {
  display: none;
  padding-top: 14px;
}

.product-tab-panel.is-active {
  display: block;
}

.product-tab-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.product-tab-panel p,
.product-tab-panel li,
.detail-list dd {
  color: var(--muted);
  line-height: 1.7;
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

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

.detail-list div {
  min-height: 104px;
  padding: 18px;
  background: #fbfaf9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-list dt {
  color: var(--ink);
  font-weight: 800;
}

.detail-list dd {
  margin: 8px 0 0;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(26, 26, 26, 0.36);
}

.cart-drawer.is-open {
  display: flex;
}

.cart-panel {
  width: min(460px, 100%);
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #ffffff;
  box-shadow: -24px 0 80px rgba(26, 26, 26, 0.25);
}

.cart-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
}

.icon-button,
.cart-item > button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
  font-size: 1.45rem;
}

.cart-items {
  overflow: auto;
  padding: 16px;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 42px;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 88px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #f2eeee;
}

.cart-item a,
.cart-item strong {
  display: block;
  font-weight: 800;
}

.cart-item span {
  display: block;
  margin: 5px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.cart-item label {
  max-width: 92px;
  margin-top: 8px;
  font-size: 0.82rem;
}

.cart-item input {
  padding: 8px;
}

.cart-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.08rem;
}

.cart-summary .button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.cart-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 50px;
    padding: 0 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .trust-strip,
  .product-grid,
  .catalog-tools,
  .catalog-grid,
  .split-section,
  .spec-grid,
  .product-detail,
  .quote {
    grid-template-columns: 1fr;
  }

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

  .product-gallery {
    position: static;
  }

  .split-image,
  .split-image img {
    min-height: 390px;
  }

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

@media (max-width: 620px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-text {
    max-width: 210px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 68svh;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.5rem);
  }

  .hero-actions .button,
  .project-band .button,
  .catalog-actions,
  .purchase-row {
    width: 100%;
  }

  .catalog-actions,
  .purchase-row,
  .product-meta {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

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

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) 40px;
  }

  .cart-item img {
    width: 72px;
    height: 86px;
  }

  .trust-strip div {
    min-height: 96px;
  }

  .product-card-body {
    min-height: auto;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  summary {
    min-height: 62px;
    padding: 0 18px;
  }

  details p {
    padding: 0 18px 18px;
  }
}
