/* =============== EXTRAS (page header, swatches, contact form, chatbot, nav-cta) =============== */

/* Hide old single-page-only artifacts */
.hero-bg-ca, .hero-bear, .nav-item .mega, .search-wrap { display: none !important; }
.nav-item > a .chev { display: none !important; }

/* Hamburger removed entirely */
.icon-btn, .icon-btn.mobile-only, .drawer, .drawer-backdrop { display: none !important; }

/* Keep nav links visible on smaller screens (no hamburger fallback) */
@media (max-width: 1024px) {
  .nav-links { display: flex !important; gap: 18px; }
  .nav-links a { font-size: .82rem; }
}
@media (max-width: 720px) {
  .nav-inner { flex-wrap: wrap; padding: 12px 16px; }
  .nav-links { order: 3; width: 100%; justify-content: center; padding-top: 8px; border-top: 1px solid var(--rule); }
  .nav-actions { gap: 8px; }
  .nav-phone span { display: none; }
}

/* Real photo tile (used when we have a real veneer face) */
.img-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.img-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s;
  filter: saturate(0.92) contrast(1.02);
}
.prod-card:hover .img-photo img { transform: scale(1.05); filter: saturate(1.05) contrast(1.05); }

/* ============ PROFESSIONAL POLISH ============ */

/* Tighter, more refined product cards */
.prod-card {
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 1px 3px rgba(28,42,32,0.04);
}
.prod-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168,123,75,0.4);
  box-shadow: 0 12px 28px -16px rgba(28,42,32,0.22);
}
.prod-card::before { display: none; }
.prod-card .body {
  padding: 18px 20px 22px;
}
.prod-card h4 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
  margin-bottom: 6px;
}
.prod-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  opacity: 0.78;
  margin-bottom: 12px;
}
.prod-card .specs { gap: 4px; }
.prod-card .spec {
  border-radius: 3px;
  font-size: .64rem;
  padding: 3px 7px;
  letter-spacing: .04em;
  background: var(--paper);
  border-color: rgba(217,201,163,0.7);
}

/* Refine grid spacing */
.prod-grid { gap: 18px; }

/* Tighter top banner */
.top-banner {
  padding: 9px 20px;
  font-size: .86rem;
}

/* Cleaner nav */
.nav-inner { padding: 16px 28px; }
.nav-logo img { height: 50px; }
.nav-links { gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; }
.nav-phone {
  font-size: .78rem;
  padding: 7px 13px;
}

/* Page header — more refined */
.page-header {
  padding: 80px 0 50px;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(244,236,216,0.4) 100%);
}
.page-header h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}
.page-header .lede {
  font-size: 1.02rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* Group head — more refined */
.group-head {
  margin: 60px 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.group-head h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.01em;
}

/* Hero polish */
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero p.lede {
  font-size: 1.08rem;
  max-width: 50ch;
}
.hero-strip {
  padding: 28px 0 0;
  margin-top: 60px;
}
.strip-item .val {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

/* Category tiles — more refined */
.cat-tile {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}
.cat-tile .content {
  padding: 22px 24px;
}
.cat-tile .content h3 {
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}
.cat-tile .content p {
  font-size: .85rem;
}

/* Section spacing tighter */
.section { padding: 90px 0; }
.catalog-page { padding: 60px 0 100px; }

/* Footer polish */
footer { padding: 70px 0 32px; }
.foot-top { gap: 50px; padding-bottom: 40px; }
.foot-brand img { height: 56px; margin-bottom: 18px; }
.foot-brand p { font-size: .88rem; line-height: 1.55; }
footer ul a { font-size: .88rem; }
footer h4 { font-size: .68rem; margin-bottom: 14px; }
.foot-bottom { font-size: .68rem; }

/* Cleaner contact form */
.contact-form { padding: 32px; border-radius: 6px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 4px;
  font-size: .94rem;
}

/* Map card refinement */
.map-card { border-radius: 4px; }

/* Buttons more refined */
.btn {
  padding: 13px 22px;
  font-size: .9rem;
  letter-spacing: 0.01em;
}

/* Tighter marquee */
.marquee { padding: 16px 0; }
.marquee-item { font-size: 1.05rem; }

/* Active nav link */
.nav-links a.active {
  color: var(--forest-deep);
  font-weight: 600;
}
.nav-links a.active::after {
  transform: scaleX(1) !important;
}

/* Pill contact button in nav */
.nav-cta-pill {
  background: var(--forest);
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-cta-pill:hover { background: var(--forest-deep); color: var(--cream); }
/* Contact pill visible on all screen sizes — including mobile */

/* Hero — home variant (no California outline behind it) */
.hero { min-height: auto; padding: 90px 0 80px; }
.hero-home { min-height: 78vh; padding: 110px 0 90px; }

/* Page header (used on all interior pages) */
.page-header {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 60% 50% at 70% 0%, rgba(168,123,75,0.10), transparent 70%),
    var(--paper);
  position: relative; z-index: 2;
}
.page-eyebrow { color: var(--tan); display: inline-block; margin-bottom: 20px; }
.page-header h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  color: var(--forest-deep);
  max-width: 18ch;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.page-header .lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 56ch;
}

/* Catalog page padding tweak */
.catalog-page { padding: 80px 0 100px; }
.catalog-page .group-head { margin-top: 0; }

/* ======= SWATCH (replaces product photos with intentional color block) ======= */
.img-swatch {
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.img-swatch::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.prod-card .img-swatch { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.prod-card:hover .img-swatch { transform: scale(1.02); }

/* Override prod-card to allow the swatch */
.prod-card .img-wrap { display: none; }
.prod-card { display: flex; flex-direction: column; }

/* ======= CONTACT PAGE ======= */
.contact-page { padding: 90px 0 110px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-grid h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest-deep);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.contact-grid .lede { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 36px; max-width: 46ch; }
.contact-direct {
  display: flex; flex-direction: column; gap: 20px;
  padding: 24px 26px;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.direct-row { display: flex; flex-direction: column; gap: 4px; }
.direct-row .mono { color: var(--tan); }
.direct-row .val {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--forest-deep);
}

/* Form */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 30px 60px -30px rgba(28,42,32,0.18);
}
.contact-form .row { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.contact-form .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
}
.contact-form label > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tan);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--forest-deep);
  background: #FFFBEE;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
}
.contact-form textarea { resize: vertical; line-height: 1.5; }
.contact-form .form-note {
  color: var(--ink-soft); opacity: .7;
  margin-top: 16px;
  font-size: .68rem;
}

.form-success {
  background: var(--forest);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 28px;
  font-size: .98rem;
  line-height: 1.5;
  border: 1px solid var(--forest-deep);
  animation: slideIn .5s ease;
}
.form-success strong { color: var(--tan-light); display: block; margin-bottom: 4px; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 26px; }
  .contact-form .row.two { grid-template-columns: 1fr; }
}

/* ======= MODERN CONTACT (overrides legacy) ======= */
.contact-modern {
  padding: 80px 0 110px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(168,123,75,0.06), transparent 60%),
    var(--paper);
}
.contact-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(28,42,32,0.18);
  position: relative;
}

/* Left side — dark info panel */
.contact-side {
  background: linear-gradient(180deg, #1C2A20 0%, #16221A 100%);
  color: var(--cream);
  padding: 48px 40px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 36px;
}
.contact-side::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 0%, rgba(168,123,75,0.18), transparent 70%);
  pointer-events: none;
}
.cs-head, .cs-list, .cs-hours { position: relative; z-index: 2; }
.cs-head .mono { color: var(--tan-light); display: block; margin-bottom: 18px; letter-spacing: .12em; }
.cs-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.cs-head p { color: rgba(244,236,216,0.7); font-size: .94rem; line-height: 1.55; max-width: 32ch; }
.cs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.cs-list li { display: flex; gap: 14px; align-items: flex-start; }
.cs-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(244,236,216,0.06);
  border: 1px solid rgba(244,236,216,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--tan-light);
}
.cs-icon svg { width: 16px; height: 16px; }
.cs-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tan-light);
  display: block;
  margin-bottom: 4px;
}
.cs-val {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.35;
  display: inline-block;
}
.cs-hours {
  border-top: 1px solid rgba(244,236,216,0.12);
  padding-top: 24px;
}
.cs-hrs-rows {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(244,236,216,0.75);
  margin-top: 10px;
}
.cs-hrs-rows div { display: flex; justify-content: space-between; padding: 4px 0; }
.cs-hrs-rows .closed { color: var(--tan-light); }

/* Right side — form */
.contact-modern-form {
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 18px;
  background: #fff;
}
.form-eyebrow { color: var(--tan); margin-bottom: 8px; letter-spacing: .12em; }
.form-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--forest-deep);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.form-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tan);
  display: block;
  margin-bottom: 10px;
}

/* Role chips (radio-as-button) */
.role-chips { margin-bottom: 4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.chip {
  font-size: .86rem; font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  background: var(--paper);
  transition: background .2s, color .2s, border-color .2s;
  user-select: none;
}
.chip:hover { color: var(--forest-deep); border-color: var(--tan); }
.chip-row input[type="radio"]:checked + .chip {
  background: var(--forest-deep);
  color: var(--cream);
  border-color: var(--forest-deep);
}

/* Floating labels */
.float-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 6px;
}
.float, .float-wide {
  position: relative;
}
.float-wide { grid-column: 1 / -1; }
.float input, .float-wide textarea {
  width: 100%;
  font-family: inherit;
  font-size: .98rem;
  color: var(--forest-deep);
  background: #FBFAF3;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 22px 14px 10px;
  transition: border-color .2s, background .2s;
  outline: none;
}
.float-wide textarea {
  padding-top: 26px; resize: vertical; line-height: 1.5;
}
.float input:focus, .float-wide textarea:focus {
  border-color: var(--forest);
  background: #fff;
}
.float label, .float-wide label {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: .94rem;
  color: var(--ink-soft);
  pointer-events: none;
  transition: all .2s ease;
  background: transparent;
  padding: 0 4px;
  opacity: 0.7;
}
.float-wide label { top: 22px; transform: none; }
.float input:focus + label,
.float input:not(:placeholder-shown) + label,
.float-wide textarea:focus + label,
.float-wide textarea:not(:placeholder-shown) + label {
  top: 8px;
  transform: none;
  font-size: .68rem;
  color: var(--tan);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 1;
}

/* Submit button */
.form-submit {
  margin-top: 18px;
  background: var(--forest-deep);
  color: var(--cream);
  border: 0;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .25s ease, transform .15s ease, gap .2s ease;
  align-self: flex-start;
}
.form-submit:hover { background: var(--forest); gap: 14px; }
.form-submit svg { width: 16px; height: 16px; }
.form-fine {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.65;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .contact-shell { grid-template-columns: 1fr; }
  .contact-side { padding: 36px 28px; }
  .contact-modern-form { padding: 36px 28px; }
  .float-grid { grid-template-columns: 1fr; }
}

/* Hide legacy form styles when modern is present */
.contact-page { display: none; }

/* =================== SIMPLE CONTACT (final) =================== */
.contact-simple { padding: 80px 0 110px; background: var(--paper); }
.cs-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.cs-intro { padding-top: 8px; }
.cs-intro .mono { color: var(--tan); display: block; margin-bottom: 18px; letter-spacing: .12em; }
.cs-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--forest-deep);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.cs-intro p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; margin-bottom: 36px; max-width: 36ch; }

.cs-direct { display: flex; flex-direction: column; gap: 22px; }
.cs-direct-item { display: block; }
.cs-direct-item .mono {
  color: var(--tan);
  font-size: .62rem;
  letter-spacing: .14em;
  margin-bottom: 4px;
  display: block;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}
.cs-direct-val {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--forest-deep);
  display: block;
  line-height: 1.3;
}
a.cs-direct-item:hover .cs-direct-val { color: var(--forest); }

.cs-form {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 24px 50px -28px rgba(28,42,32,0.16);
}
.cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-form input,
.cs-form textarea {
  font-family: inherit;
  font-size: .98rem;
  color: var(--forest-deep);
  background: #FBFAF3;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color .2s, background .2s;
}
.cs-form input::placeholder,
.cs-form textarea::placeholder { color: var(--ink-soft); opacity: 0.6; }
.cs-form input:focus,
.cs-form textarea:focus {
  border-color: var(--forest);
  background: #fff;
}
.cs-form textarea { resize: vertical; line-height: 1.5; min-height: 130px; }

.cs-submit {
  margin-top: 6px;
  background: var(--forest-deep);
  color: var(--cream);
  border: 0;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .25s ease, gap .2s ease;
  align-self: flex-start;
}
.cs-submit:hover { background: var(--forest); gap: 14px; }
.cs-submit svg { width: 16px; height: 16px; }

@media (max-width: 820px) {
  .cs-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-row { grid-template-columns: 1fr; }
  .cs-form { padding: 26px; }
}

/* =================== UNIFORM PHOTOS (same size + fully visible) =================== */
.prod-card .img-swatch,
.prod-card .img-photo {
  aspect-ratio: 1 / 1 !important;
  width: 100%;
  background: #FBF6E9;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.prod-card .img-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
  object-position: center center;
  filter: saturate(0.95) contrast(1.02);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s;
}
.prod-card:hover .img-photo img {
  transform: scale(1.04);
  filter: saturate(1.02) contrast(1.04);
}
.prod-card .body {
  min-height: 110px;
  display: flex; flex-direction: column;
}
.prod-card h4 {
  min-height: 2.4em;
}
.prod-card .meta {
  min-height: 2em;
}

/* ======= CATEGORY TILES (home) — make text more readable on color blocks ======= */
.cat-tile {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
  display: block;
  background: #1C2A20;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -20px rgba(28,42,32,.45), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.cat-tile-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .35s;
  filter: saturate(0.85) brightness(0.85);
  z-index: 0;
}
.cat-tile:hover .cat-tile-img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.95);
}
.cat-tile .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,18,15,0.15) 0%, rgba(15,18,15,0.55) 55%, rgba(15,18,15,0.92) 100%);
  z-index: 1;
}

/* Special tinting for the walnut board tile so its gray studio background blends with the cream card edges */
.cat-tile[href="hardwood.html"] {
  background: linear-gradient(160deg, #6a6c70 0%, #3a3c40 100%);
}
.cat-tile[href="hardwood.html"] .cat-tile-img {
  background-size: contain;
  background-color: transparent;
  filter: saturate(1) brightness(0.95);
  mix-blend-mode: multiply;
}
.cat-tile[href="hardwood.html"]:hover .cat-tile-img {
  filter: saturate(1.05) brightness(1);
}

/* ============== FINAL POLISH PASS ============== */

/* Hero refinement */
.hero-home {
  min-height: 84vh;
  padding: 100px 0 80px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.0;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--tan);
  font-weight: 500;
}
.hero p.lede {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 52ch;
}
.hero-eyebrow {
  color: var(--tan);
  font-weight: 600;
}
.hero-eyebrow::before {
  background: var(--tan);
}

/* Better section transitions */
.section { position: relative; }
.section + .section { border-top: 1px solid var(--rule); }

/* Marquee tighten */
.marquee {
  background: var(--forest-deep);
  color: var(--cream);
  border-top: 1px solid rgba(168,123,75,0.15);
  border-bottom: 1px solid rgba(168,123,75,0.15);
}
.marquee-item {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* Category grid spacing — tighter, more balanced */
.cat-row { gap: 20px; }

/* Category tile content polish */
.cat-tile .content {
  padding: 26px 26px 28px;
}
.cat-tile .content .mono {
  font-size: .62rem;
  color: var(--tan-light);
  letter-spacing: .14em;
  margin-bottom: 10px;
  opacity: 0.95;
}
.cat-tile .content h3 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.cat-tile .content p {
  font-size: .86rem;
  color: rgba(244,236,216,0.78);
  line-height: 1.5;
  max-width: 30ch;
}
.cat-tile .arrow {
  width: 40px; height: 40px;
  background: rgba(244,236,216,0.95);
  color: var(--forest-deep);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s ease, background .25s;
}
.cat-tile:hover .arrow {
  transform: rotate(-45deg);
  background: var(--tan);
  color: var(--cream);
}

/* Product cards — final polish */
.prod-card {
  border-radius: 6px;
  border: 1px solid var(--rule);
  background: #fff;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,123,75,0.45);
  box-shadow: 0 16px 36px -22px rgba(28,42,32,0.28);
}
.prod-card .body {
  padding: 18px 20px 22px;
}
.prod-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.prod-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tan);
  opacity: 0.82;
  margin-bottom: 12px;
}
.prod-card .spec {
  border-radius: 4px;
  font-size: .64rem;
  padding: 3px 8px;
  letter-spacing: .06em;
  background: var(--paper);
  border: 1px solid rgba(217,201,163,0.6);
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

/* Page header refinement */
.page-header {
  padding: 90px 0 60px;
  background:
    radial-gradient(ellipse 50% 50% at 80% 0%, rgba(168,123,75,0.10), transparent 60%),
    var(--paper);
}
.page-header h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--forest-deep);
}
.page-eyebrow {
  color: var(--tan);
  font-weight: 600;
}

/* Section heads — refined hierarchy */
.section-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -0.025em;
  color: var(--forest-deep);
}
.section-head .mono {
  color: var(--tan);
  font-weight: 600;
  letter-spacing: .14em;
}

/* Group head — better hierarchy */
.group-head h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.015em;
  color: var(--forest-deep);
}
.group-head .mono {
  color: var(--tan);
}

/* Top banner refinement */
.top-banner {
  background: var(--forest);
  color: var(--cream);
  padding: 10px 20px;
  font-size: .84rem;
  letter-spacing: 0.005em;
}
.top-banner strong {
  font-weight: 600;
  color: var(--cream);
}
.top-banner a {
  color: var(--tan-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

/* Nav — premium feel */
.nav {
  background: rgba(251, 246, 233, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav.scrolled {
  background: rgba(251, 246, 233, 0.98);
  box-shadow: 0 8px 24px -16px rgba(28,42,32,0.15);
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--forest-deep);
  position: relative;
}
.nav-cta-pill {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  transition: background .2s, transform .15s;
}
.nav-cta-pill:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

/* Hero strip refinement */
.hero-strip {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  margin-top: 64px;
  gap: 40px;
}
.strip-item .mono {
  color: var(--tan);
  font-weight: 600;
  letter-spacing: .14em;
}
.strip-item .val {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

/* Footer — final polish */
footer {
  background: var(--forest-deep);
  color: var(--cream-deep);
  padding: 72px 0 36px;
}
.foot-brand img {
  height: 60px;
  margin-bottom: 18px;
}
.foot-brand p {
  font-size: .88rem;
  line-height: 1.6;
  opacity: 0.72;
  max-width: 34ch;
}
footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tan-light);
  font-weight: 600;
  margin-bottom: 16px;
}
footer ul a {
  font-size: .9rem;
  opacity: 0.82;
  transition: opacity .2s, color .2s;
}
footer ul a:hover {
  opacity: 1;
  color: var(--tan-light);
}
.foot-bottom {
  font-size: .64rem;
  letter-spacing: .12em;
  opacity: 0.52;
}

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============== MOBILE OPTIMIZATION ============== */

/* Prevent horizontal scroll on any device */
html, body { overflow-x: hidden; max-width: 100vw; }
* { max-width: 100vw; }

@media (max-width: 1024px) {
  /* Nav refinement for tablet */
  .nav-inner { padding: 12px 18px; gap: 14px; flex-wrap: wrap; }
  .nav-logo img { height: 44px; }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 14px;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid var(--rule);
    flex-wrap: wrap;
  }
  .nav-links a { font-size: .82rem; padding: 4px 6px; }
  .nav-phone { padding: 8px 12px; font-size: .78rem; }
  .nav-cta-pill { padding: 8px 14px; font-size: .82rem; }
}

@media (max-width: 720px) {
  /* Top banner */
  .top-banner { font-size: .76rem; padding: 8px 14px; line-height: 1.4; }

  /* Phone + Contact buttons sit side-by-side, top-right on mobile */
  .nav-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
  }
  .nav-phone {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--forest-deep);
    padding: 9px 13px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
    min-height: 38px;
    white-space: nowrap;
  }
  .nav-phone svg { width: 14px; height: 14px; }
  .nav-cta-pill {
    display: inline-flex !important;
    align-items: center;
    background: var(--forest-deep);
    color: var(--cream);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    min-height: 38px;
    white-space: nowrap;
  }
  .nav-cta-pill:hover, .nav-cta-pill:active { background: var(--forest); color: var(--cream); }

  /* Container padding */
  .container { padding: 0 20px; }

  /* Hero */
  .hero-home { min-height: auto; padding: 50px 0 60px; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); line-height: 1.05; margin-bottom: 22px; }
  .hero p.lede { font-size: .98rem; line-height: 1.6; margin-bottom: 30px; }
  .hero-eyebrow { font-size: .68rem; margin-bottom: 18px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 14px 18px; }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding-top: 24px;
    margin-top: 36px;
  }
  .strip-item .val { font-size: 1rem; }
  .strip-item .mono { font-size: .62rem; }

  /* Marquee */
  .marquee { padding: 14px 0; }
  .marquee-item { font-size: .9rem; }

  /* Section spacing */
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-head p { font-size: .95rem; }

  /* Category tiles - single column */
  .cat-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 0; }
  .cat-tile { aspect-ratio: 5 / 4; }
  .cat-tile .content { padding: 20px 22px 22px; }
  .cat-tile .content h3 { font-size: 1.3rem; }
  .cat-tile .content p { font-size: .82rem; max-width: 40ch; }
  .cat-tile .arrow { width: 36px; height: 36px; top: 18px; right: 18px; }

  /* Page header */
  .page-header { padding: 60px 0 40px; }
  .page-header h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .page-header .lede { font-size: .96rem; }
  .page-eyebrow { font-size: .66rem; margin-bottom: 14px; }

  /* Catalog page */
  .catalog-page { padding: 40px 0 70px; }
  .group-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 36px 0 20px;
    padding-bottom: 12px;
  }
  .group-head h3 { font-size: 1.4rem; }

  /* Product grid — 2 columns on phone for product card */
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-card .body { padding: 14px 14px 16px; }
  .prod-card h4 { font-size: .94rem; line-height: 1.2; min-height: 2.2em; }
  .prod-card .meta { font-size: .58rem; letter-spacing: .06em; margin-bottom: 10px; line-height: 1.4; }
  .prod-card .spec { font-size: .58rem; padding: 2px 6px; }
  .prod-card .specs { gap: 3px; }

  /* Touch targets — minimum 44x44 */
  .btn, .nav-phone, .nav-cta-pill, .cs-submit, .form-submit, .btn-primary, .btn-ghost {
    min-height: 44px;
  }

  /* Footer */
  footer { padding: 50px 0 28px; }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .foot-brand img { height: 50px; }
  .foot-brand p { font-size: .85rem; }
  .foot-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 20px;
  }

  /* Visit page */
  .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .visit h2 { font-size: clamp(1.8rem, 6vw, 2.3rem); }
  .map-card { aspect-ratio: 4/3; }
  .info-row .val.large { font-size: 1.2rem; }

  /* Contact page */
  .contact-simple { padding: 50px 0 70px; }
  .cs-grid { gap: 36px; }
  .cs-intro h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .cs-form { padding: 22px 18px; }
  .cs-row { grid-template-columns: 1fr; gap: 12px; }
  .cs-form input, .cs-form textarea { font-size: 16px; padding: 13px 14px; min-height: 44px; }
  .cs-submit { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* Single column product grid on very small screens */
  .prod-grid { grid-template-columns: 1fr; }
  .prod-card { display: flex; flex-direction: row; align-items: center; }
  .prod-card .img-photo, .prod-card .img-swatch {
    aspect-ratio: 1 / 1 !important;
    width: 110px !important;
    height: 110px !important;
    flex-shrink: 0;
    border-bottom: none !important;
    border-right: 1px solid var(--rule);
  }
  .prod-card .body { padding: 12px 14px; flex: 1; min-height: 0 !important; }
  .prod-card h4 { font-size: .96rem; min-height: 0; margin-bottom: 4px; }
  .prod-card .meta { font-size: .58rem; min-height: 0; margin-bottom: 8px; }

  .nav-links a { font-size: .76rem; }
  .nav-logo img { height: 38px; }

  /* Phone shows only icon on very small screens, Contact pill stays */
  .nav-phone span { display: none; }
  .nav-phone { padding: 9px 11px; }
  .nav-cta-pill { padding: 9px 14px; font-size: .78rem; }

  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero p.lede { font-size: .92rem; }

  .cat-tile { aspect-ratio: 4 / 3; }

  .top-banner { font-size: .72rem; padding: 8px 12px; }
}
.cat-tile .content { z-index: 2; }
.cat-tile .content p {
  color: rgba(244,236,216,0.85);
  font-size: .9rem;
  margin-top: 10px;
  max-width: 32ch;
}

/* ======= CHAT WIDGET (REMOVED) ======= */
.chat-launcher, .chat-panel, .chat-msg, .chat-quick, .chat-form, .chat-head { display: none !important; }
/* Leftover (kept for reference) ======= */
.chat-launcher {
  position: fixed; bottom: 22px; right: 22px;
  background: var(--forest);
  color: var(--cream);
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  box-shadow: 0 18px 40px -10px rgba(28,42,32,0.45);
  z-index: 80;
  transition: transform .25s ease, background .2s;
  font-weight: 500; font-size: .92rem;
}
.chat-launcher:hover { background: var(--forest-deep); transform: translateY(-2px); }
.chat-launcher svg { width: 26px; height: 14px; }
.chat-launcher-label { white-space: nowrap; }
@media (max-width: 540px) {
  .chat-launcher { padding: 14px; }
  .chat-launcher-label { display: none; }
}

.chat-panel {
  position: fixed; bottom: 22px; right: 22px;
  width: min(380px, calc(100vw - 32px));
  height: min(580px, calc(100vh - 100px));
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(28,42,32,0.5);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  z-index: 81;
  opacity: 0; transform: translateY(20px) scale(0.97);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.chat-panel.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--forest-deep);
  border-radius: 14px 14px 0 0;
  color: var(--cream);
}
.chat-title { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.chat-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tan-light);
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px;
}
.chat-sub .dot { width: 7px; height: 7px; border-radius: 50%; background: #5BD679; box-shadow: 0 0 6px #5BD679; }
.chat-close {
  background: transparent; border: 0;
  color: var(--cream); cursor: pointer;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.chat-close svg { width: 18px; height: 18px; }
.chat-close:hover { background: rgba(244,236,216,0.12); }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.chat-msg {
  max-width: 88%;
  font-size: .92rem;
  line-height: 1.5;
}
.chat-msg.bot {
  align-self: flex-start;
  background: var(--cream);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  color: var(--forest-deep);
  border: 1px solid var(--rule);
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--forest);
  color: var(--cream);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
}
.chat-msg a { color: var(--tan); text-decoration: underline; }
.chat-msg.user a { color: var(--cream); }

.chat-msg em { font-style: italic; color: var(--tan); }

.chat-msg.typing {
  padding: 14px 16px;
}
.chat-msg.typing .td {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--forest);
  margin: 0 2px;
  opacity: 0.4;
  animation: tdBounce 1.2s infinite ease-in-out;
}
.chat-msg.typing .td:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing .td:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 6px;
}
.chat-quick button {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--forest-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chat-quick button:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.chat-form {
  display: flex; gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 0 0 14px 14px;
}
.chat-form input {
  flex: 1;
  font-family: inherit;
  font-size: .9rem;
  background: #FFFBEE;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--forest-deep);
}
.chat-form input:focus { outline: none; border-color: var(--forest); }
.chat-form button {
  background: var(--forest);
  color: var(--cream);
  border: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.chat-form button:hover { background: var(--forest-deep); }
.chat-form button svg { width: 16px; height: 16px; }
