/* ===== Design Tokens ===== */
:root {
  --bg: #09090b;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --text: #e8e6e3;
  --text-muted: #8a8580;
  --accent: #c97b3d;
  --accent-glow: rgba(201,123,61,0.3);
  --success: #2da580;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
  --transition-snap: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Base Reset ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Typography ===== */
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; color: #fff; margin-bottom: 0.8em; line-height: 1.2; }
h1 { font-size: clamp(2.5rem,5vw,4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem,2.2vw,1.6rem); font-weight: 500; }
p { color: var(--text-muted); margin-bottom: 1rem; }
a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b5653d);
  color: white;
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}
.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.logo-text { letter-spacing: -0.02em; }
.logo-accent { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a { font-size: 0.95rem; color: var(--text-muted); position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { margin-left: 1rem; }

/* Mobile navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('assets/images/showroom/06-luxury-vinyl-plank-warm-brushed-oak-rkp8215-korlok.jpg') center / cover no-repeat;
  animation: kenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,123,61,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(107,99,246,0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(9,9,11,0.55) 0%, rgba(9,9,11,0.92) 80%, var(--bg) 100%);
  z-index: 1;
}
@keyframes kenBurns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.08) translate(-1%,-1%); }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}
.hero .reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero .reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero h1 {
  margin: 0.5rem 0 1.2rem;
  background: linear-gradient(135deg, #fff 40%, #c4a77d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 10px); }
  60% { transform: translate(-50%, 5px); }
}

/* ===== Features ===== */
.features { padding: 8rem 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); background: var(--surface-2); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(201,123,61,0.12);
  color: var(--accent);
}
.feature-icon svg { width: 32px; height: 32px; }

/* ===== Categories ===== */
.categories { padding: 6rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.category-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--glass-border);
}
.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  filter: brightness(0.6);
}
.category-card:hover .category-bg { transform: scale(1.05); filter: brightness(0.8); }
.category-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  width: 100%;
}
.category-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
}
.category-count {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
}

/* ===== Featured Products ===== */
.featured-products { padding: 6rem 0; background: linear-gradient(180deg, transparent, var(--surface) 30%, var(--surface) 70%, transparent); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,0.6);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 1.5rem; }
.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.product-title { margin: 0.4rem 0 0.6rem; font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.product-price { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }

/* ===== Story ===== */
.story { padding: 8rem 0; }
.story-inner {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 4rem;
}
.story-content { max-width: 700px; margin-bottom: 3rem; }
.story-highlight {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat {
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.stat strong { display: block; font-size: 2rem; color: var(--accent); margin-bottom: 0.3rem; }

/* ===== CTA ===== */
.cta { padding: 6rem 0; }
.cta-inner {
  background: radial-gradient(ellipse at 80% 50%, rgba(201,123,61,0.15) 0%, transparent 60%),
              var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 4rem;
  text-align: center;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-inner { display: grid; gap: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.footer-logo { height: 40px; border-radius: 6px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.footer-col h5 { font-family: 'Inter', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== Reveal Animations ===== */
.reveal-card { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-card.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle {
    display: block; width: 28px; height: 22px; position: relative; cursor: pointer;
    background: transparent; border: none;
  }
  .mobile-menu-toggle span {
    position: absolute; left: 0; width: 100%; height: 2px; background: var(--text);
    transition: var(--transition);
  }
  .mobile-menu-toggle span:nth-child(1) { top: 0; }
  .mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .mobile-menu-toggle span:nth-child(3) { bottom: 0; }
  .story-inner, .cta-inner { padding: 2.5rem 1.5rem; }
  .hero { min-height: 85vh; }
  .hero-actions { flex-direction: column; align-items: center; }
  .features, .categories, .featured-products, .story, .cta { padding: 4rem 0; }
}

/* Focus states for accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Sierra v2 proof/quote upgrade */
.trust-strip { padding: 1rem 0; background: rgba(201,123,61,.10); border-top:1px solid var(--glass-border); border-bottom:1px solid var(--glass-border); }
.trust-strip .container { display:flex; flex-wrap:wrap; justify-content:center; gap:.65rem; }
.trust-strip span, .badge { border:1px solid var(--glass-border); background:rgba(255,255,255,.06); border-radius:999px; padding:.42rem .65rem; color:var(--text); font-weight:700; font-size:.85rem; }
.proof-section, .quote-process, .trade-section, .gallery-preview { padding: 6rem 0; }
.section-kicker { color: var(--accent); text-transform: uppercase; letter-spacing:.12em; font-weight:800; font-size:.78rem; }
.process-grid, .featured-category-grid, .service-card-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap:1.25rem; }
.process-card, .featured-category-card, .service-card, .quote-panel { background:var(--surface); border:1px solid var(--glass-border); border-radius:var(--radius); padding:1.4rem; }
.featured-category-card img, .service-card img { width:100%; height:180px; object-fit:cover; border-radius: var(--radius-sm); margin-bottom:1rem; }
.card-actions { display:flex; gap:.6rem; flex-wrap:wrap; margin-top:1rem; }
.quote-link { position:relative; }
.quote-count { display:inline-grid; place-items:center; min-width:1.35rem; height:1.35rem; margin-left:.35rem; border-radius:999px; background:var(--accent); color:#fff; font-size:.78rem; }
.quote-drawer { position:fixed; top:0; right:0; bottom:0; width:min(420px,92vw); z-index:2000; transform:translateX(105%); transition:.28s ease; background:#111; border-left:1px solid var(--glass-border); padding:1.25rem; box-shadow:var(--shadow); overflow:auto; }
.quote-drawer-open .quote-drawer { transform:translateX(0); }
.quote-backdrop { display:none; position:fixed; inset:0; z-index:1999; background:rgba(0,0,0,.58); }
.quote-drawer-open .quote-backdrop { display:block; }
.quote-close { float:right; background:none; border:0; color:#fff; font-size:2rem; cursor:pointer; }
.quote-drawer-item { padding:.8rem 0; border-bottom:1px solid var(--glass-border); display:grid; gap:.25rem; }
.quote-drawer-item button { justify-self:start; background:none; color:var(--accent); border:0; cursor:pointer; }
.mobile-sticky-bar { display:none; }
.category-hero, .page-hero { padding: 11rem 0 4rem; background: radial-gradient(circle at top right, rgba(201,123,61,.18), transparent 45%); }
.category-layout { display:grid; grid-template-columns: 1fr 1fr; gap:2rem; align-items:center; }
.category-layout img { border-radius: var(--radius); box-shadow: var(--shadow); }
.shop-category-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin:2rem 0; }
.footer-main.v2 { grid-template-columns: 1.4fr repeat(3,1fr); }
@media(max-width:800px){ .category-layout,.footer-main.v2{grid-template-columns:1fr}.mobile-sticky-bar{position:fixed;bottom:0;left:0;right:0;z-index:1500;display:grid;grid-template-columns:repeat(3,1fr);background:rgba(9,9,11,.95);border-top:1px solid var(--glass-border)}.mobile-sticky-bar a{text-align:center;padding:.9rem .3rem;font-weight:800}.mobile-sticky-bar a:nth-child(3){background:var(--accent);color:#fff}body{padding-bottom:64px} }

/* Final polish: badge/card density cleanup */
.badge,
.trust-strip span,
.hero-points span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
  margin: 0 0.35rem 0.45rem 0;
  vertical-align: top;
}
.featured-category-card > div:not(.card-actions),
.product-info > div,
.process-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: flex-start;
}
.featured-category-card .badge,
.product-info .badge {
  margin: 0;
  font-size: 0.78rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
}
.featured-category-card,
.product-card,
.process-card,
.service-card {
  min-width: 0;
}
.featured-category-card p,
.product-info p,
.process-card p,
.category-count {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.products-grid {
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.product-info .btn {
  margin-top: auto;
}
.product-title {
  min-height: 2.85em;
}
.featured-category-grid {
  align-items: stretch;
}
.featured-category-card {
  display: flex;
  flex-direction: column;
}
.featured-category-card .card-actions {
  margin-top: auto;
}
.card-actions .btn {
  flex: 1 1 140px;
  text-align: center;
}
.quote-panel,
.quote-form,
.form-grid,
.quote-drawer {
  min-width: 0;
  max-width: 100%;
}
.quote-drawer-item strong,
.quote-drawer-item span {
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {

  .mobile-menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.85rem;
    background: rgba(9,9,11,0.98);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    width: 100%;
  }
  .main-nav .nav-links a {
    display: block;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
  }
  .main-nav .nav-links a.active::after { display: none; }
  .main-nav .nav-cta {
    margin: 0.6rem 0 0;
    width: 100%;
    justify-content: center;
  }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .header-inner { height: auto; min-height: 74px; gap: 0.75rem; }
  .logo-text { font-size: 1.05rem; }
  .logo-img { height: 42px; }
  .nav-cta { margin-left: 0; padding: 0.62rem 0.8rem; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .trust-strip .container { justify-content: flex-start; gap: 0.35rem; }
  .trust-strip span { font-size: 0.76rem; padding: 0.35rem 0.52rem; }
  .featured-category-grid,
  .products-grid,
  .process-grid,
  .shop-category-grid { grid-template-columns: 1fr; gap: 1rem; }
  .featured-category-card,
  .product-info,
  .process-card,
  .quote-panel { padding: 1rem; }
  .featured-category-card img { height: 160px; }
  .product-title { min-height: 0; }
  .category-card { height: 240px; }
  .category-content { padding: 1rem; }
  .category-name { font-size: 1.22rem; }
  .category-count { font-size: 0.8rem; }
  .page-hero, .category-hero { padding: 7rem 0 3rem; }
  .quote-drawer { width: 94vw; padding: 1rem; }
  .mobile-sticky-bar a { min-height: 52px; display:flex; align-items:center; justify-content:center; }
}

@media (max-width: 420px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .container { padding-left: 0.85rem; padding-right: 0.85rem; }
  .btn { padding: 0.78rem 1rem; }
  .btn-lg { padding: 0.9rem 1rem; }
  .quote-panel { padding: 0.9rem; }
}

/* Premium showroom polish layer */
:root {
  --color-ink: #241f1a;
  --color-charcoal: #12110f;
  --color-cream: #f6f0e5;
  --color-stone: #e6ded0;
  --color-taupe: #b7a993;
  --color-gold: #b88945;
  --color-gold-dark: #7d5727;
  --color-green: #263d32;
  --color-border: rgba(83, 67, 45, 0.18);
  --shadow-soft: 0 18px 55px rgba(36, 31, 26, 0.13);
  --radius-card: 24px;
  --bg: var(--color-cream);
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: #fffaf1;
  --text: #f9f3ea;
  --text-dark: var(--color-ink);
  --text-muted: #756a5c;
  --accent: var(--color-gold);
  --accent-dark: var(--color-gold-dark);
  --glass-border: var(--color-border);
  --shadow: var(--shadow-soft);
  --radius: var(--radius-card);
}
body { background: var(--color-cream); color: var(--color-ink); }
.site-header { background: rgba(18,17,15,0.92); border-bottom-color: rgba(184,137,69,.32); }
.logo-text { display:none; }
.logo-img { background: #fffaf1; padding: 3px; }
.btn-primary, .nav-cta { background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark)); border-color: rgba(184,137,69,.65); color:#fff; box-shadow: 0 10px 25px rgba(125,87,39,.22); }
.btn-outline { border-color: rgba(125,87,39,.35); color: var(--color-ink); background: rgba(255,250,241,.72); }
.btn:hover { transform: translateY(-2px); }
.hero-bg::before { background: linear-gradient(90deg, rgba(18,17,15,.78), rgba(18,17,15,.45) 48%, rgba(18,17,15,.72)), linear-gradient(180deg, rgba(18,17,15,.08), var(--color-cream) 96%); }
.hero-content { text-align:left; margin-left:0; margin-right:auto; }
.hero h1 { max-width: 920px; }
.hero p { max-width: 760px; }
.trust-strip { background: #fff8eb; border-color: var(--color-border); }
.trust-strip span, .badge { color: var(--color-ink); background: #f0e3cf; border-color: rgba(184,137,69,.24); }
.category-card, .featured-category-card, .product-card, .process-card, .service-card, .quote-panel, .contact-card { background: var(--surface-strong); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.category-card:hover, .featured-category-card:hover, .product-card:hover, .process-card:hover, .service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 70px rgba(36,31,26,.18); }
.section-title, h1, h2, h3, h4 { color: var(--color-ink); letter-spacing: -0.035em; }
.section-kicker, .product-category { color: var(--color-gold-dark); }
.product-price { color: var(--color-green); font-weight: 800; }
.product-image { background: #efe4d2; }
.product-card img { object-fit: cover; }
.product-title { min-height: auto; }
.category-bg::after { background: linear-gradient(180deg, rgba(18,17,15,.08), rgba(18,17,15,.78)); }
.category-content, .category-name { color:#fff; }
.quote-drawer { background: #191713; color:#fff; }
.quote-drawer h3, .quote-drawer strong { color:#fff; }
.site-footer { background: var(--color-charcoal); border-top: 1px solid rgba(184,137,69,.25); color:#f7efe4; }
.site-footer a, .site-footer h3, .site-footer h5 { color:#fff; }
.footer-logo { background:#fffaf1; padding:4px; border-radius:10px; }
.mobile-sticky-bar { background: rgba(18,17,15,.97); }
.mobile-sticky-bar a:nth-child(3), .quote-count { background: var(--color-gold); color:#fff; }
.form-grid label { color: var(--color-ink); }
input, select, textarea { background:#fffaf1 !important; color:var(--color-ink) !important; border-color:var(--color-border) !important; }
.shop-tools { display:grid; grid-template-columns: minmax(180px,2fr) repeat(4,minmax(130px,1fr)); gap:.75rem; margin:1.25rem 0 1.5rem; }
.shop-tools label { display:grid; gap:.35rem; font-weight:700; color:var(--color-ink); font-size:.86rem; }
.status-label { display:inline-flex; width:fit-content; padding:.32rem .52rem; border-radius:999px; background:#e9ddc9; color:var(--color-green); font-size:.76rem; font-weight:800; }
.product-actions { display:flex; gap:.55rem; flex-wrap:wrap; margin-top:auto; }
.product-actions .btn { flex:1 1 135px; text-align:center; }
.breadcrumbs { font-size:.9rem; color:var(--text-muted); margin-bottom:1rem; }
.breadcrumbs a { color:var(--color-gold-dark); }
.item-note-row { display:grid; grid-template-columns: 120px 1fr auto; gap:.6rem; align-items:center; margin-top:.45rem; }
.item-note-row input { padding:.55rem; border-radius:10px; }
@media (max-width: 900px) { .shop-tools { grid-template-columns:1fr; } .hero-content { text-align:center; margin:auto; } .hero p { margin-left:auto; margin-right:auto; } .item-note-row { grid-template-columns:1fr; } }
html { scroll-padding-top: 92px; scroll-padding-bottom: 88px; }
.product-card, .featured-category-card, .quote-panel { scroll-margin-top: 96px; scroll-margin-bottom: 96px; }
.product-actions { position: relative; z-index: 3; }
@media (max-width: 800px) {
  .main-nav.open { z-index: 1300; }
  .site-header { z-index: 1400; }
  .mobile-sticky-bar { z-index: 1200; }
}

/* Accessibility contrast fix: keep the premium cream theme, but force light text on dark image/header/footer surfaces. */
.hero,
.hero h1,
.hero .reveal-text,
.hero p,
.hero .section-kicker {
  color: #fff7ee;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}
.hero h1 {
  background: linear-gradient(135deg, #ffffff 35%, #f3d7a4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: #fff0df;
  font-weight: 500;
}
.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(18, 17, 15, 0.46);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.hero .btn-outline:hover {
  color: #ffffff;
  border-color: #f3d7a4;
  background: rgba(125, 87, 39, 0.78);
}
.site-header .nav-links a {
  color: #f2e7d8;
}
.site-header .nav-links a.active,
.site-header .nav-links a:hover {
  color: #ffffff;
}
.site-footer p,
.site-footer address,
.site-footer li,
.footer-bottom,
.footer-bottom p,
.footer-bottom a {
  color: #e8d8c2;
}
.site-footer a:hover,
.footer-bottom a:hover {
  color: #f3d7a4;
}
.category-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,15,.12), rgba(18,17,15,.84));
}
.category-card:hover .category-bg {
  filter: brightness(0.62);
}
.category-count {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.68);
}
@media (max-width: 800px) {
  .main-nav .nav-links a {
    color: #f2e7d8;
    background: rgba(255,255,255,0.08);
  }
}

/* Final Sierra simple polish pass */
.shop-by-project { padding: 6rem 0; }
.project-card-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap:1.25rem; }
.project-card { background:var(--surface-strong); border:1px solid var(--color-border); border-radius:var(--radius-card); box-shadow:var(--shadow-soft); padding:1.4rem; display:flex; flex-direction:column; gap:.65rem; }
.project-card h3 { margin-bottom:.25rem; }
.project-card p { margin-bottom:.6rem; }
.project-card .btn { margin-top:auto; width:fit-content; }
.quote-page .quote-form { display:grid; gap:1.25rem; }
.quote-section { margin:1.25rem 0; }
.quote-form fieldset { margin:0; min-width:0; }
.quote-form legend { font-family:'Playfair Display', Georgia, serif; color:var(--color-ink); font-size:clamp(1.25rem,2vw,1.65rem); font-weight:600; padding:0 .35rem .55rem 0; }
.quote-form label { display:grid; gap:.4rem; color:var(--color-ink); font-weight:700; }
.quote-form .full { grid-column:1 / -1; }
.quote-send-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.quote-send-actions .field-help { margin:0; }
.contact-card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:.8rem; }
.product-details-modal { position:fixed; inset:0; z-index:2200; display:none; align-items:center; justify-content:center; padding:1rem; background:rgba(18,17,15,.68); }
.product-details-modal.open { display:flex; }
.product-details-card { width:min(720px,94vw); max-height:86vh; overflow:auto; background:#fffaf1; color:var(--color-ink); border:1px solid var(--color-border); border-radius:var(--radius-card); box-shadow:0 30px 90px rgba(0,0,0,.35); padding:1.4rem; }
.product-details-card h3 { color:var(--color-ink); }
.product-details-card p { color:var(--text-muted); }
.product-details-close { float:right; border:0; background:transparent; color:var(--color-ink); font-size:2rem; cursor:pointer; line-height:1; }
@media(max-width:800px){ .shop-by-project { padding:4rem 0; } .project-card .btn { width:100%; } .quote-send-actions .btn { width:100%; } }

/* Word clipping fix: never split normal product/card words at the visual edge. */
.product-card,
.featured-category-card,
.project-card,
.process-card,
.service-card,
.quote-panel {
  overflow: visible;
}
.product-image,
.category-card,
.category-bg {
  overflow: hidden;
}
.product-title,
.product-info p,
.product-info .status-label,
.product-price,
.featured-category-card p,
.project-card p,
.process-card p,
.service-card p,
.category-count,
.badge,
.trust-strip span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: pretty;
}
.product-info p,
.featured-category-card p,
.project-card p,
.process-card p,
.service-card p {
  line-height: 1.55;
}
.badge,
.trust-strip span {
  white-space: normal;
}
.product-info,
.featured-category-card,
.project-card {
  min-width: 0;
}

/* Mobile overflow fix: proof/stat cards must stack instead of forcing the page wider than the phone. */
.story-highlight {
  min-width: 0;
}
.stat {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
@media (max-width: 800px) {
  .story-highlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat {
    width: 100%;
    flex: none;
    text-align: left;
    padding: 1.15rem 1rem;
  }
  .stat strong {
    font-size: 1.35rem;
  }
  .story-inner {
    overflow: hidden;
  }
}

/* Project looks gallery */
.look-gallery { padding-top: 2rem; }
.look-grid, .snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.look-card, .snapshot-grid figure {
  background: var(--surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.look-card img, .snapshot-grid img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #efe4d2;
}
.look-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .55rem; }
.look-card-body h3 { margin-bottom: .15rem; }
.look-card-body p { margin-bottom: .5rem; }
.look-card-body .btn { margin-top: auto; width: fit-content; }
.snapshot-grid figcaption {
  padding: .85rem 1rem 1rem;
  color: var(--text-muted);
  font-weight: 700;
}
.showroom-snapshot { padding-top: 3rem; }
@media (max-width: 800px) {
  .look-grid, .snapshot-grid { grid-template-columns: 1fr; }
  .look-card img, .snapshot-grid img { height: 220px; }
  .look-card-body .btn { width: 100%; }
}

/* Final quote/product polish */
.project-card img { display:block; width:100%; height:190px; object-fit:cover; border-radius: calc(var(--radius-card) - 8px); margin-bottom: .85rem; background:#efe4d2; }
.project-card-body { display:flex; flex-direction:column; gap:.45rem; flex:1; }
.project-card-body .btn { margin-top:auto; }
.option-group { border:1px solid var(--color-border); border-radius: var(--radius-sm); padding: .95rem; display:grid; gap:.55rem; background: rgba(255,250,241,.58); }
.option-group legend { font-family: 'Inter', sans-serif; font-size:.95rem; font-weight:800; padding:0 .35rem; }
.option-group label { display:flex; align-items:center; gap:.45rem; font-weight:650; }
.option-group input { width:auto; margin:0; }
.product-details-layout { display:grid; grid-template-columns: minmax(180px, 260px) 1fr; gap:1.2rem; align-items:start; }
.product-details-image { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius: var(--radius-sm); background:#efe4d2; }
@media (max-width: 760px) { .product-details-layout { grid-template-columns:1fr; } .product-details-image { max-height:260px; } .project-card img { height:210px; } }


/* Final quote readability pass */
.quote-page .quote-section,
.quote-page .quote-intro,
.quote-page .quote-send-actions {
  margin: 1.35rem 0;
}
.quote-page .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 1.15rem;
  align-items: start;
}
.quote-page label span,
.quote-page .option-group legend {
  display: block;
  margin-bottom: .3rem;
}
.quote-page input,
.quote-page select,
.quote-page textarea {
  width: 100%;
}
.quote-page .option-group {
  grid-column: auto;
}
.quote-page .option-group label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .35rem 0;
}
.quote-page .option-group input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
}
.quote-page-items {
  display: grid;
  gap: .8rem;
  margin: 1rem 0;
}
.quote-page .empty-message {
  margin: 0;
  color: var(--text-muted);
}
.quote-page .quote-drawer-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .95rem;
  background: rgba(255,250,241,.58);
}
@media (max-width: 700px) {
  .quote-page .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Linked related-supply badges */
.proof-section a.badge {
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.proof-section a.badge:hover,
.proof-section a.badge:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(125, 87, 39, .55);
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

/* Category QA repair */
.category-product-section { padding: 3rem 0; }
.category-empty { background: var(--surface-strong); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 1.4rem; box-shadow: var(--shadow-soft); }
.badge-row { display:flex; flex-wrap:wrap; gap:.65rem; }
.badge-row a.badge { text-decoration:none; cursor:pointer; }
