/* Kitch & Klozets — Warm Craftsman site
   Responsive, mobile-first. Fluid type via clamp(). */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Caveat:wght@400;500;600;700&display=swap");

:root {
  --bg:         #EFE7D7;
  --paper:      #F7F0E0;
  --cream:      #FAF4E8;
  --ink:        #2A1F15;
  --walnut:     #3B2A1E;
  --walnut-soft:#5B4434;
  --clay:       #B85A3F;
  --clay-deep:  #8E3F26;
  --sage:       #7E8B6F;
  --muted:      #7A6A58;
  --rule:       rgba(42, 31, 21, 0.14);
  --rule-strong:rgba(42, 31, 21, 0.28);

  --shadow-sm:  0 2px 6px rgba(42,31,21,0.06);
  --shadow-md:  0 12px 28px rgba(42,31,21,0.14);
  --shadow-lg:  0 28px 60px rgba(42,31,21,0.22);

  --easing:     cubic-bezier(.22, 1, .36, 1);
  --max:        1280px;
  --pad-x:      clamp(20px, 5vw, 56px);

  --t-hero:     clamp(40px, 6.4vw, 88px);
  --t-h2:       clamp(36px, 6.2vw, 88px);
  --t-h3:       clamp(24px, 3vw, 40px);
  --t-eyebrow:  clamp(10px, 1.05vw, 12px);
  --t-body:     clamp(15px, 1.1vw, 17px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; }

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

.display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.script {
  font-family: "Caveat", cursive;
  font-weight: 500;
  letter-spacing: 0;
}

.eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { position: relative; }

/* ── reveal animations ────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--easing), transform 0.85s var(--easing);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal="rise-x"] { transform: translateX(-32px); }
[data-reveal="rise-x"].in-view { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none !important; }
}

/* ── keyframes ───────────────────────────────── */
@keyframes drift {
  0%, 100% { transform: translateY(0) var(--rot, rotate(0deg)); }
  50%      { transform: translateY(-6px) var(--rot, rotate(0deg)); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.4); opacity: 1; }
}
@keyframes pin-drop {
  0%   { transform: translate(-50%, -180%) scale(0.4); opacity: 0; }
  60%  { transform: translate(-50%, -100%) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -100%) scale(1); opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── image placeholder + gradient base ──────── */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #3B2A1E 0%, #1c130a 100%);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 0 60%, rgba(0,0,0,0.18) 100%),
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.07), transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.ph > img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.7s var(--easing);
}
.ph > img.loaded { opacity: 1; }
.ph .overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
}

/* grain svg overlay reused inside .ph */
.ph .grain-lines {
  position: absolute; inset: 0;
  opacity: 0.35; mix-blend-mode: screen;
  z-index: 2; pointer-events: none;
}

/* ── buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform 0.25s var(--easing),
              background 0.25s var(--easing),
              color 0.25s var(--easing),
              box-shadow 0.25s var(--easing);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-walnut { background: var(--walnut); color: var(--cream); }
.btn-walnut:hover { background: var(--ink); }

.btn-clay   { background: var(--clay);   color: var(--cream); }
.btn-clay:hover { background: var(--clay-deep); }

.btn-cream  { background: var(--cream);  color: var(--walnut); }
.btn-cream:hover { background: #fff; }

.btn-ghost  { background: transparent; color: var(--walnut); border: 1.5px solid var(--walnut); }
.btn-ghost:hover { background: var(--walnut); color: var(--cream); }

.btn .arrow {
  display: inline-block; transition: transform 0.25s var(--easing);
}
.btn:hover .arrow { transform: translateX(4px); }

/* link with sliding underline */
.link-underline {
  position: relative;
  background-image: linear-gradient(var(--clay), var(--clay));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--easing);
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }

/* ── NAV ───────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 231, 215, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--easing), border-color 0.3s var(--easing), backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(239, 231, 215, 0.92);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 28px;
  padding: 16px 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-mark {
  width: 64px; height: 64px;
  display: block;
  object-fit: contain;
  transition: transform 0.4s var(--easing);
}
.nav-logo:hover .nav-mark { transform: rotate(-8deg); }
.nav-title { lineheight: 1.1; }
.nav-title b { display: block; font-size: 14px; color: var(--walnut); font-weight: 700; letter-spacing: -0.01em; }
.nav-title small {
  display: block; font-size: 10px; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase; margin-top: 1px;
}
.nav-links {
  display: flex; gap: clamp(20px, 2.2vw, 32px); justify-content: center;
  font-size: 14px; font-weight: 500; color: var(--walnut);
  white-space: nowrap; flex-wrap: nowrap; min-width: 0;
}
.nav-links a { white-space: nowrap; }
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-phone {
  font-size: 13px; font-weight: 600; color: var(--clay);
  display: flex; align-items: center; gap: 6px;
}

.nav-toggle {
  display: none; background: none; border: none;
  width: 38px; height: 38px; cursor: pointer; padding: 0;
  color: var(--walnut); border-radius: 8px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(42,31,21,0.06); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-cta .btn, .nav-phone { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-title small { display: none; }
}

/* mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(42,31,21,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--easing);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(380px, 86vw);
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.45s var(--easing);
  display: flex; flex-direction: column;
  padding: 24px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  font-size: 28px; font-weight: 600; color: var(--walnut);
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer-links a::after { content: "→"; opacity: 0.4; }
.drawer-bottom { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* ── HERO ──────────────────────────────────── */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.hero-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.hero-title {
  font-size: var(--t-hero);
  margin: 0; color: var(--walnut);
  text-wrap: balance;
  max-width: 16ch;
}
.hero-title .accent { color: var(--clay); }
.hero-lede {
  font-size: var(--t-body);
  color: var(--muted); line-height: 1.55;
  margin-top: clamp(20px, 2.5vw, 32px);
  max-width: 480px;
}
.hero-ctas {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.video-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 14px; color: var(--walnut);
}
.video-link .play {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--clay); color: var(--cream);
  display: grid; place-items: center; font-size: 11px;
  transition: transform 0.3s var(--easing);
}
.video-link:hover .play { transform: scale(1.1); }

/* polaroid stack */
.polaroid-stack {
  position: relative;
  height: clamp(420px, 60vw, 580px);
  perspective: 1200px;
}
.polaroid {
  position: absolute;
  background: var(--cream);
  padding: 14px 14px 56px;
  box-shadow: var(--shadow-lg);
  border-radius: 3px;
  width: clamp(220px, 30vw, 300px);
}
.polaroid .ph {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border-radius: 1px;
}
.polaroid-cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-family: "Caveat", cursive;
  font-size: 18px; color: var(--walnut);
}
.polaroid-cap small {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0;
}
.tape {
  position: absolute; top: 12px; left: 120px;
  width: 70px; height: 18px;
  background: rgba(184,90,63,0.32);
  border: 1px dashed rgba(184,90,63,0.55);
  z-index: 5;
}

/* press strip */
.press {
  margin-top: clamp(48px, 6vw, 80px);
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.press-row {
  display: flex; align-items: center; gap: 56px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.press-row .label {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  flex-shrink: 0;
}
.press-row .item {
  font-size: 17px; font-weight: 600;
  color: var(--walnut-soft); opacity: 0.55;
  transition: opacity 0.3s, color 0.3s;
}
.press-row .item:hover { opacity: 1; color: var(--walnut); }

@media (max-width: 720px) {
  .press-row {
    overflow: hidden;
    position: relative;
  }
  .press-marquee {
    display: flex; gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
  }
}

/* ── WOOD LIBRARY ─────────────────────────── */
.wood-section {
  background: var(--paper);
  padding: clamp(60px, 9vw, 120px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-head {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head h2 {
  font-size: var(--t-h2);
  color: var(--walnut);
  margin: 14px 0 0;
}
.section-head .hint {
  font-size: 14px; color: var(--muted);
  line-height: 1.55; max-width: 340px;
}

.wood-grid {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 960px) {
  .wood-grid { grid-template-columns: 1fr; }
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.door {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 7px;
  border: none;
  cursor: pointer; padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(42,31,21,0.18);
  transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing);
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.door.active {
  transform: translateY(-8px);
  box-shadow: 0 0 0 3px var(--clay), 0 22px 36px rgba(42,31,21,0.32);
}
.door-tex {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.door-grain {
  position: absolute; inset: 0; opacity: 0.22;
}
.door-panel {
  position: absolute; inset: 8% 10%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
}
.door-handle {
  position: absolute; top: 46%; right: 8px;
  width: 3px; height: 32px;
  background: var(--cream); opacity: 0.85;
  border-radius: 2px;
}
.door-label {
  position: absolute; left: 6px; right: 6px; bottom: 6px;
  background: rgba(255, 244, 232, 0.94);
  color: var(--walnut);
  font-size: 10px; padding: 5px 8px;
  border-radius: 2px;
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  font-weight: 700; letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden;
}
.door-label > span:first-child {
  overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0;
}

.spec-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(20px, 2.5vw, 32px);
  position: relative;
  /* opacity + transform included so the [data-reveal] transition isn't
     overridden by this rule (same specificity, later in cascade). */
  transition: box-shadow 0.35s var(--easing),
              opacity 0.7s var(--easing),
              transform 0.7s var(--easing);
}
.spec-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.spec-card .eyebrow { color: var(--clay); margin-bottom: 8px; display: block; }
.spec-card h3 {
  font-size: clamp(24px, 2.4vw, 36px);
  color: var(--walnut); margin: 0 0 6px;
  letter-spacing: -0.03em;
  line-height: 1.02;
  /* opacity included so the parent [data-reveal] reveal still animates,
     while keeping the wood-swap fade on opacity/transform working. */
  transition: opacity 0.25s, transform 0.25s var(--easing);
}
.spec-card h3.changing {
  opacity: 0; transform: translateY(8px);
}
.spec-latin {
  font-style: italic; color: var(--muted); font-size: 14px;
}
.spec-swatch {
  width: 64px; height: 64px; border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  flex-shrink: 0;
  background-size: cover;
  transition: background 0.45s var(--easing);
}
.spec-desc {
  font-size: 14px; color: var(--ink);
  line-height: 1.6; margin-bottom: 24px;
}
.spec-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.spec-meta > div {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.spec-meta .k {
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.spec-meta .v {
  font-size: 14px; color: var(--walnut);
  font-weight: 500; margin-top: 2px;
}
.spec-actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.spec-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

/* ── SERVICES ─────────────────────────────── */
.services { padding: clamp(60px, 9vw, 110px) 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5vw, 20px);
}
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  position: relative; overflow: hidden;
  /* opacity transition listed so [data-reveal] reveal still works on this
     card without the .service-card rule clobbering it. */
  transition: transform 0.5s var(--easing),
              box-shadow 0.4s var(--easing),
              opacity 0.7s var(--easing);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-thumb {
  width: 100%; aspect-ratio: 4 / 2.7;
  border-radius: 8px;
  margin-bottom: 20px;
  background: linear-gradient(160deg, #3B2A1E, #1c130a);
  overflow: hidden; position: relative;
}
.service-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
  z-index: 2;
}
.service-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.service-num { color: var(--clay); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; }
.service-count { font-size: 11px; color: var(--muted); }
.service-card h3 {
  font-size: clamp(24px, 2.3vw, 32px);
  color: var(--walnut); margin: 0 0 8px;
  letter-spacing: -0.025em;
}
.service-card p {
  font-size: 14px; color: var(--muted);
  line-height: 1.55; margin: 0 0 20px;
}
.service-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.service-foot span { font-size: 13px; color: var(--walnut); font-weight: 600; }
.service-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--walnut); color: var(--cream);
  display: grid; place-items: center;
  transition: transform 0.3s var(--easing), background 0.3s;
}
.service-card:hover .service-arrow {
  background: var(--clay);
  transform: rotate(-45deg);
}

/* ── BY THE BENCH (numbers) ───────────────── */
.numbers {
  background: var(--walnut);
  color: var(--cream);
  padding: clamp(60px, 9vw, 110px) 0;
}
.numbers .section-head h2 { color: var(--cream); }
.numbers .section-head .hint { color: rgba(250,244,232,0.7); max-width: 480px; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(250,244,232,0.18);
  border: 1px solid rgba(250,244,232,0.18);
}
@media (max-width: 720px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}
.num-cell {
  background: var(--walnut);
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2vw, 28px);
}
.num-cell .v {
  font-size: clamp(56px, 6.4vw, 92px);
  color: var(--clay);
  letter-spacing: -0.05em;
  line-height: 0.92;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.num-cell .l { font-size: 16px; color: var(--cream); font-weight: 600; margin-top: 10px; }
.num-cell .s { font-size: 12px; color: rgba(250,244,232,0.55); margin-top: 4px; }

/* ── WORKSHOP TIMELINE ───────────────────── */
.workshop { padding: clamp(60px, 9vw, 110px) 0; }
.timeline { position: relative; padding-left: clamp(40px, 5vw, 56px); }
.timeline::before {
  content: ""; position: absolute;
  left: 16px; top: 12px; bottom: 12px;
  width: 2px; background: var(--rule);
}
.timeline::after {
  content: ""; position: absolute;
  left: 15px; top: 12px;
  width: 4px; height: var(--prog, 0%);
  background: var(--clay); border-radius: 4px;
  transition: height 1.2s var(--easing);
}
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr 280px;
  gap: clamp(20px, 2.5vw, 32px);
  margin-bottom: clamp(28px, 3vw, 40px);
  position: relative; align-items: start;
}
@media (max-width: 900px) {
  .tl-item { grid-template-columns: 1fr; }
  .tl-item .tl-thumb { max-width: 480px; }
}
.tl-dot {
  position: absolute; left: -50px; top: 6px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream);
  color: var(--walnut);
  border: 2px solid var(--walnut);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--easing);
}
.tl-item.in-view .tl-dot {
  background: var(--clay); color: var(--cream);
  border-color: var(--clay);
  transform: scale(1.05);
}
.tl-week {
  font-size: 12px; color: var(--clay);
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; padding-top: 12px;
}
.tl-body h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--walnut); margin: 0 0 10px;
  letter-spacing: -0.03em; font-weight: 600;
}
.tl-body p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; }
.tl-thumb {
  height: 160px; border-radius: 10px;
}

/* ── MAP GALLERY ─────────────────────────── */
.map-section {
  background: var(--paper);
  padding: clamp(60px, 9vw, 110px) 0;
  border-top: 1px solid var(--rule);
}
.map-head .legend {
  display: flex; gap: 24px; align-items: center;
  font-size: 12px; color: var(--muted);
  flex-wrap: wrap;
}
.map-head .legend .swatch {
  display: inline-flex; align-items: center; gap: 8px;
}
.map-head .legend .pin-mark {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--clay); border: 1.5px solid var(--cream);
}
.map-head .legend .shop-mark {
  width: 16px; height: 16px; background: var(--walnut);
  color: var(--cream); display: grid; place-items: center;
  font-weight: 700; font-size: 9px; border-radius: 3px;
}
.map-frame {
  position: relative;
  height: clamp(380px, 50vw, 560px);
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.map-bg { position: absolute; inset: 0; }

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%) scale(0);
  cursor: pointer;
  background: transparent; border: none; padding: 0;
  z-index: 3;
}
.map-pin.dropped {
  animation: pin-drop 0.6s var(--easing) forwards;
  animation-delay: var(--d, 0s);
}
.map-pin .pin-body {
  position: relative; width: 22px; height: 28px;
  transition: transform 0.25s var(--easing);
}
.map-pin:hover .pin-body { transform: translateY(-4px) scale(1.18); }
.map-pin .pin-circ {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--clay); border: 2.5px solid var(--cream);
  box-shadow: 0 4px 10px rgba(42,31,21,0.3);
  margin-left: 3px;
}
.map-pin .pin-tail {
  position: absolute; left: 50%; top: 14px;
  width: 0; height: 0; transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--clay);
}
.map-pin.shop {
  width: 32px; transform: translate(-50%, -100%) scale(0);
  z-index: 4;
}
.map-pin.shop.dropped { animation: pin-drop 0.7s var(--easing) forwards; }
.map-pin.shop .pin-shop {
  width: 32px; height: 32px; border-radius: 5px;
  background: var(--walnut); color: var(--cream);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  box-shadow: 0 6px 14px rgba(42,31,21,0.35);
  transition: transform 0.25s var(--easing);
}
.map-pin.shop:hover .pin-shop { transform: scale(1.1) rotate(-4deg); }

.pin-tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: var(--walnut); color: var(--cream);
  padding: 10px 14px; border-radius: 7px;
  font-size: 12px; line-height: 1.4; white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--easing), transform 0.25s var(--easing);
}
.pin-tip strong { display: block; font-size: 13px; }
.pin-tip span { color: rgba(250,244,232,0.7); }
.map-pin:hover .pin-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.map-legend-overlay {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(250,244,232,0.95);
  padding: 14px 18px; border-radius: 8px;
  font-size: 12px; color: var(--walnut); line-height: 1.5;
  box-shadow: var(--shadow-sm);
  max-width: 280px; white-space: nowrap;
}
.map-legend-overlay > div { white-space: normal; }
.map-legend-overlay b { display: block; font-size: 13px; }
.map-legend-overlay .more { color: var(--clay); font-weight: 600; margin-top: 6px; display: inline-block; }

/* ── POLAROID TESTIMONIALS ─────────────── */
.polaroids { padding: clamp(60px, 9vw, 120px) 0; }
.polaroid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  padding-top: 24px;
}
@media (max-width: 960px) {
  .polaroid-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
.testimonial {
  background: var(--cream);
  padding: 16px 16px 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.45s var(--easing),
              box-shadow 0.45s var(--easing),
              opacity 0.7s var(--easing);
}
/* Reveal start state for testimonials: invisible AND already tilted, so the
   in-view state just fades to opacity 1 (transform stays at its rotation
   set via --rot, set per-card inline). */
.testimonial[data-reveal] { opacity: 0; }
.testimonial[data-reveal].in-view { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.testimonial:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.testimonial .tape {
  position: absolute; left: 50%; top: -8px;
  transform: translateX(-50%) rotate(-2deg);
  width: 90px; height: 18px;
  background: rgba(184,90,63,0.35);
  border: 1px dashed rgba(184,90,63,0.6);
}
.testimonial .ph { width: 100%; aspect-ratio: 4 / 2.4; }
.testimonial-body { padding: 20px 12px 4px; }
.testimonial-body .quote {
  font-family: "Caveat", cursive;
  font-size: clamp(20px, 1.7vw, 24px);
  color: var(--walnut);
  line-height: 1.4; margin: 0;
}
.testimonial-foot {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--muted);
  gap: 10px;
}
.testimonial-foot b { color: var(--walnut); font-weight: 700; }

/* ── CTA ──────────────────────────────── */
.cta-section { padding: 0 var(--pad-x) clamp(48px, 6vw, 64px); }
.cta-card {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--clay);
  color: var(--cream);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 60px);
  border-radius: 18px;
  position: relative; overflow: hidden;
  /* include opacity/transform so the [data-reveal="scale"] reveal animation
     isn't dropped by any inherited transition rule on the card. */
  transition: opacity 0.85s var(--easing), transform 0.85s var(--easing);
}
.cta-card .grain-bg {
  position: absolute; inset: 0; opacity: 0.16; pointer-events: none;
}
.cta-grid {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 800px) {
  .cta-grid { grid-template-columns: 1fr; }
}
.cta-card h2 {
  font-size: clamp(36px, 5.5vw, 88px);
  margin: 0; color: var(--cream);
  line-height: 0.95;
}
.cta-card p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(250,244,232,0.85);
  line-height: 1.55;
  margin-top: 20px; max-width: 540px;
}
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { justify-content: center; padding: 18px 24px; font-size: 15px; }
.cta-call {
  margin-top: 8px;
  font-size: 12px; color: rgba(250,244,232,0.78);
  text-align: center;
}

/* ── FOOTER ────────────────────────────── */
.footer {
  background: var(--walnut);
  color: var(--cream);
  padding: clamp(48px, 6vw, 72px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 3vw, 48px);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
}
.footer-brand .mark {
  width: 80px; height: 80px; border-radius: 14px;
  background: var(--cream);
  display: grid; place-items: center;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}
.footer-brand .mark img {
  width: 100%; height: 100%; object-fit: contain;
}
.footer-brand .name {
  font-size: 26px; color: var(--cream); font-weight: 600;
  letter-spacing: -0.025em;
}
.footer-about {
  margin-top: 16px;
  font-size: 13px; color: rgba(250,244,232,0.65);
  line-height: 1.65; max-width: 320px;
}
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay);
  margin: 0 0 14px; font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 13px; color: rgba(250,244,232,0.85);
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s var(--easing);
}
.footer-col a:hover { color: var(--clay); transform: translateX(4px); }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(250,244,232,0.12);
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 11px; color: rgba(250,244,232,0.55);
  flex-wrap: wrap;
}

/* ── FAQ section ───────────────────────────── */
.faq {
  padding: clamp(80px, 9vw, 140px) 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.faq-list {
  max-width: 880px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-top: 1px solid var(--rule-strong);
  padding: 0;
  transition: background 0.3s var(--easing);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq-item[open] { background: rgba(255,255,255,0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(20px, 2.4vw, 28px) clamp(8px, 1vw, 16px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--walnut);
  transition: color 0.25s var(--easing);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink); }
.faq-num {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--clay);
  min-width: 32px;
  font-weight: 600;
}
.faq-q {
  flex: 1;
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq-mark {
  font-size: 22px;
  color: var(--walnut-soft);
  transition: transform 0.4s var(--easing);
  font-weight: 300;
}
.faq-item[open] .faq-mark { transform: rotate(45deg); color: var(--clay); }
.faq-a {
  padding: 0 clamp(8px, 1vw, 16px) clamp(24px, 2.6vw, 32px) clamp(54px, 4.5vw, 70px);
  color: var(--muted);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.7;
  max-width: 70ch;
}

/* ── MEGA MENU ───────────────────────────── */
.nav-mega-trigger {
  background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0; margin: 0;
}
.nav-mega-trigger.active { color: var(--clay); }
.nav-mega-caret {
  font-size: 10px; opacity: 0.65;
  transition: transform 0.25s var(--easing);
}
.nav-mega-trigger.active .nav-mega-caret { transform: rotate(180deg); opacity: 1; }

.mega-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
  box-shadow: 0 18px 40px rgba(42,31,21,0.18);
  z-index: 90;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--easing), transform 0.25s var(--easing), visibility 0s linear 0.25s;
}
.nav.mega-open .mega-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition-delay: 0s;
}
.mega-menu-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--pad-x);
}
.mega-menu-cols {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: clamp(24px, 3vw, 48px);
  min-height: 360px;
}
@media (max-width: 980px) {
  .mega-menu-cols { grid-template-columns: 240px 1fr; }
  .mm-col-promo { display: none; }
}

.mm-col-cats {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--rule);
  padding-right: clamp(12px, 1.5vw, 20px);
}
.mm-cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--walnut);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.2s var(--easing), color 0.2s var(--easing);
  cursor: pointer;
}
.mm-cat:hover, .mm-cat.active {
  background: rgba(184,90,63,0.08);
  color: var(--clay);
}
.mm-cat-arrow {
  font-size: 18px; opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s var(--easing), transform 0.2s var(--easing);
}
.mm-cat:hover .mm-cat-arrow, .mm-cat.active .mm-cat-arrow {
  opacity: 1; transform: translateX(0);
}

.mm-col-secs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 4px 12px;
  padding: 4px 0;
}
.mm-sec {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--walnut-soft);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.2s var(--easing), color 0.2s var(--easing), padding-left 0.2s var(--easing);
  position: relative;
}
.mm-sec:hover {
  background: rgba(42,31,21,0.04);
  color: var(--walnut);
  padding-left: 20px;
}
.mm-sec::before {
  content: ""; position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  width: 0; height: 1.5px; background: var(--clay);
  transition: width 0.25s var(--easing);
}
.mm-sec:hover::before { width: 6px; }

.mm-col-promo {
  border-left: 1px solid var(--rule);
  padding-left: clamp(16px, 2vw, 28px);
  display: flex; align-items: center;
}
.mm-promo {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
}
.mm-promo .display {
  font-size: 20px; color: var(--walnut);
  margin: 6px 0 10px;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.mm-promo p {
  font-size: 13px; color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.mm-promo-cta {
  font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 600;
}

/* mobile drawer accordion group */
.drawer-group { border-bottom: 1px solid var(--rule); }
.drawer-group-trigger {
  width: 100%; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--walnut);
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
}
.drawer-group-caret {
  font-size: 14px; transition: transform 0.25s var(--easing);
  color: var(--muted);
}
.drawer-group.open .drawer-group-caret { transform: rotate(180deg); color: var(--clay); }
.drawer-group-list {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px 0 18px 14px;
  border-left: 2px solid var(--rule);
  margin: 0 0 8px 6px;
}
.drawer-group-list > a {
  font-size: 15px; color: var(--walnut-soft); padding: 6px 0;
}
.drawer-group-list > a:hover { color: var(--clay); }

.drawer-subgroup { border-top: 1px solid var(--rule); padding: 4px 0; }
.drawer-subgroup:first-child { border-top: 0; }
.drawer-subgroup-trigger {
  width: 100%; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--walnut);
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
}
.drawer-subgroup-caret {
  font-size: 12px; color: var(--muted);
  transition: transform 0.2s var(--easing);
}
.drawer-subgroup.open .drawer-subgroup-caret { transform: rotate(180deg); color: var(--clay); }
.drawer-subgroup-list {
  display: flex; flex-direction: column;
  padding: 4px 0 10px 14px;
  border-left: 2px solid var(--rule);
  margin: 0 0 6px 6px;
  gap: 4px;
}
.drawer-subgroup-list a {
  font-size: 14px; color: var(--walnut-soft); padding: 5px 0;
}
.drawer-subgroup-list a:hover { color: var(--clay); }
.drawer-subgroup-all {
  font-weight: 600 !important;
  color: var(--clay) !important;
  font-size: 13px !important;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 4px;
}

/* ── CATALOG PAGES (category, section, product) ───── */
.catalog-page {
  padding: clamp(80px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
  background: var(--bg);
}

.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.breadcrumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs a { color: var(--muted); transition: color 0.25s var(--easing); }
.breadcrumbs a:hover { color: var(--clay); }
.breadcrumbs .bc-sep { margin: 0 10px; opacity: 0.5; }
.breadcrumbs [aria-current="page"] { color: var(--walnut); font-weight: 600; }

/* category page hero */
.cat-hero {
  max-width: 900px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.cat-hero .display {
  font-size: clamp(40px, 5.8vw, 76px);
  color: var(--walnut);
  margin: 8px 0 18px;
  text-wrap: balance;
}
.cat-hero .cat-lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
}

.cat-sections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 28px);
}
@media (max-width: 980px) { .cat-sections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cat-sections-grid { grid-template-columns: 1fr; } }

.cat-section-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing), border-color 0.35s var(--easing);
}
.cat-section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.cat-section-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  margin-bottom: 14px;
}
.cat-section-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.cat-section-num { font-weight: 600; color: var(--clay); }
.cat-section-arrow {
  font-size: 18px; color: var(--walnut-soft);
  transition: transform 0.35s var(--easing);
}
.cat-section-card:hover .cat-section-arrow { transform: translateX(6px); color: var(--clay); }
.cat-section-card .display {
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--walnut);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.cat-section-card p {
  font-size: 14px; color: var(--muted); line-height: 1.55;
  margin: 0;
}

/* section page */
.sec-hero {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-hero .display {
  font-size: clamp(36px, 5.2vw, 68px);
  color: var(--walnut);
  margin: 8px 0 16px;
  text-wrap: balance;
}
.sec-hero .sec-lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
}

.sec-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 720px) { .sec-products-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing), border-color 0.35s var(--easing);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.product-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  margin-bottom: 16px;
}
.product-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.product-num { font-weight: 600; color: var(--clay); }
.product-arrow {
  font-size: 18px; color: var(--walnut-soft);
  transition: transform 0.35s var(--easing);
}
.product-card:hover .product-arrow { transform: translateX(6px); color: var(--clay); }
.product-card .display {
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--walnut);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.product-card p {
  font-size: 14px; color: var(--muted); line-height: 1.6;
  margin: 0;
}

.sec-explorer {
  border-top: 1px solid var(--rule);
  padding-top: 26px;
  margin-top: 8px;
}
.sec-explorer-row {
  display: flex; flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 10px;
}
.sec-explorer-row a {
  font-size: 15px; color: var(--walnut);
}

/* product page */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(50px, 6vw, 88px);
}
@media (max-width: 880px) { .product-hero-grid { grid-template-columns: 1fr; } }

.product-hero-img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}
.product-hero-body .display.product-title {
  font-size: clamp(32px, 4.4vw, 60px);
  color: var(--walnut);
  margin: 8px 0 18px;
  text-wrap: balance;
}
.product-blurb {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 56ch;
}
.product-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(50px, 6vw, 80px);
}
@media (max-width: 720px) { .product-detail-grid { grid-template-columns: 1fr; } }

.product-detail-grid .display {
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--walnut);
  margin: 0 0 18px;
}
.product-detail-list, .product-process-list {
  margin: 0; padding-left: 18px;
  color: var(--muted); font-size: 15px; line-height: 1.75;
}
.product-process-list { list-style: decimal; }
.product-process-list li b { color: var(--walnut); }

.product-form-section {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.product-form-head { margin-bottom: 26px; max-width: 600px; }
.product-form-head .display {
  font-size: clamp(26px, 2.8vw, 40px);
  color: var(--walnut);
  margin: 6px 0 12px;
}
.product-form-head p {
  color: var(--muted); font-size: 15px; line-height: 1.6;
  margin: 0;
}

.product-sibling {
  text-align: center;
  padding: 16px 0;
  font-size: 15px;
  color: var(--walnut);
}

/* ── CONTACT FORM ───────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 580px) { .cf-row { grid-template-columns: 1fr; } }

.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field > span {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--walnut); font-weight: 600;
}
.cf-field > span small {
  font-size: 11px; color: var(--muted); font-weight: 400;
  text-transform: none; letter-spacing: 0;
}
.cf-field input, .cf-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s var(--easing), background 0.2s var(--easing);
  resize: vertical;
}
.cf-field input:focus, .cf-field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--clay);
}
.cf-submit-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; margin-top: 6px;
}
.cf-submit-row .btn:disabled { opacity: 0.6; cursor: wait; }
.cf-tiny {
  font-size: 12px; color: var(--muted); margin: 0;
  max-width: 38ch;
}
.cf-error {
  color: var(--clay-deep);
  background: rgba(184,90,63,0.08);
  border: 1px solid rgba(184,90,63,0.25);
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; margin: 8px 0 0;
}

.contact-form-thanks {
  background: rgba(126,139,111,0.08);
  border: 1px solid rgba(126,139,111,0.3);
  border-radius: 12px;
  padding: 28px;
}
.contact-form-thanks .display {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--walnut);
  margin: 0 0 10px;
}
.contact-form-thanks p {
  color: var(--muted); font-size: 15px; line-height: 1.65;
  margin: 0; max-width: 56ch;
}

/* ── ABOUT page pillars ─────────────────── */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  margin-top: clamp(28px, 4vw, 48px);
}
@media (max-width: 880px) { .about-pillars { grid-template-columns: 1fr; } }
.about-pillar {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
}
.about-pillar .display {
  font-size: clamp(20px, 1.9vw, 26px);
  color: var(--walnut);
  margin: 6px 0 10px;
}
.about-pillar p {
  font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0;
}

/* ── PROJECTS placeholder ───────────────── */
.projects-placeholder {
  margin-top: clamp(28px, 4vw, 48px);
}
.projects-placeholder-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 48px);
  max-width: 720px;
}
.projects-placeholder-card .display {
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--walnut);
  margin: 6px 0 14px;
}
.projects-placeholder-card p {
  color: var(--muted); font-size: 15px; line-height: 1.65;
  margin: 0 0 22px;
}
.projects-placeholder-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CATEGORY TABS (top strip on category pages) ──── */
.cat-tabs {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(247,240,224,0.7);
  margin-bottom: clamp(28px, 4vw, 48px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-tabs::-webkit-scrollbar { height: 4px; }
.cat-tabs::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 2px; }
.cat-tabs-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; gap: clamp(20px, 2.5vw, 36px);
  white-space: nowrap;
}
.cat-tab {
  display: inline-flex;
  padding: 18px 0;
  color: var(--muted);
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--easing), border-color 0.2s var(--easing);
}
.cat-tab:hover { color: var(--walnut); }
.cat-tab.active {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

/* ── FILTERS BAR ───────────────────────── */
.filters-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.filter-count {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 14px 0 0;
  border-right: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}
.filter-count b { color: var(--walnut); font-weight: 600; }
.filter-reset {
  background: none; border: 1px solid var(--rule);
  color: var(--muted); font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer;
  padding: 4px 10px; border-radius: 100px;
  transition: color 0.2s var(--easing), border-color 0.2s var(--easing);
}
.filter-reset:hover { color: var(--clay); border-color: var(--clay); }

.filter-select {
  font: inherit;
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--cream)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A6A58' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--walnut);
  font-size: 13px; font-weight: 500;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; min-width: 130px;
  transition: border-color 0.2s var(--easing);
}
.filter-select:hover, .filter-select:focus {
  border-color: var(--clay); outline: none;
}

.filter-search {
  flex: 1; min-width: 200px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--rule); border-radius: 8px;
  background: var(--cream);
  color: var(--muted);
  transition: border-color 0.2s var(--easing);
}
.filter-search:focus-within { border-color: var(--clay); color: var(--walnut); }
.filter-search input {
  flex: 1; background: none; border: 0; outline: none;
  font: inherit; color: var(--walnut);
}
.filter-search input::placeholder { color: var(--muted); }

/* ── CATALOG products grid (flat, filtered) ─────── */
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  margin-bottom: clamp(40px, 5vw, 56px);
}
@media (max-width: 980px) { .catalog-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .catalog-products-grid { grid-template-columns: 1fr; } }

.no-results {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}
.no-results .link-underline {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
}

.cat-sections-shortlist {
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}
.cat-sections-shortlist-row {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-top: 12px;
}
.cat-sections-shortlist-row a {
  font-size: 14px; color: var(--walnut);
}

/* ── /products MASTER PAGE ──────────────── */
.master-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: clamp(28px, 4vw, 48px);
}
@media (max-width: 780px) { .master-grid { grid-template-columns: 1fr; } }
.master-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), border-color 0.3s var(--easing);
}
.master-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.master-card-head {
  padding: 22px 22px 14px;
  display: block;
}
.master-card-thumb {
  aspect-ratio: 16 / 7;
  border-radius: 10px;
  margin-bottom: 16px;
}
.master-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.master-card-num { font-weight: 600; color: var(--clay); }
.master-card-arrow {
  font-size: 18px; color: var(--walnut-soft);
  transition: transform 0.3s var(--easing);
}
.master-card:hover .master-card-arrow { transform: translateX(6px); color: var(--clay); }
.master-card-head .display {
  font-size: clamp(22px, 2vw, 28px);
  color: var(--walnut);
  margin: 4px 0 8px;
}
.master-card-head p {
  font-size: 14px; color: var(--muted); line-height: 1.55;
  margin: 0;
}
.master-card-secs {
  padding: 0 22px 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 12px;
}
.master-card-sec {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--walnut-soft);
  transition: background 0.2s var(--easing), color 0.2s var(--easing), padding-left 0.2s var(--easing);
}
.master-card-sec:hover {
  background: rgba(184,90,63,0.06);
  color: var(--walnut);
  padding-left: 16px;
}
.master-card-all {
  margin: 0 22px 22px;
  font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
}

/* ── HOME products strips (Featured, Best Sellers) ─── */
.products-strip {
  padding: clamp(60px, 8vw, 110px) 0;
  background: var(--bg);
}
.products-strip-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
@media (max-width: 780px) { .products-strip-head { grid-template-columns: 1fr; } }
.products-strip-head .display {
  font-size: clamp(28px, 3.8vw, 56px);
  color: var(--walnut);
  margin: 8px 0 0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.products-strip-head .hint {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}
@media (max-width: 780px) { .products-strip-head .hint { text-align: left; max-width: 520px; } }

.products-strip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
}
@media (max-width: 980px) { .products-strip-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .products-strip-row { grid-template-columns: 1fr; } }

.strip-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), border-color 0.3s var(--easing);
}
.strip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.strip-thumb {
  aspect-ratio: 5 / 4;
  border-radius: 10px;
  margin-bottom: 14px;
}
.strip-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.strip-cat { color: var(--clay); font-weight: 600; }
.strip-arrow { color: var(--walnut-soft); transition: transform 0.3s var(--easing); }
.strip-card:hover .strip-arrow { transform: translateX(6px); color: var(--clay); }
.strip-card .display {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--walnut);
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.strip-card p {
  font-size: 13px; color: var(--muted); line-height: 1.55;
  margin: 0;
}
.products-strip-foot {
  margin-top: clamp(24px, 3vw, 36px);
  text-align: center;
  font-size: 14px;
}

/* ── CONTACT cards ──────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 48px);
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), border-color 0.3s var(--easing);
}
a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.contact-card .display {
  font-size: clamp(22px, 2vw, 28px);
  color: var(--walnut);
  margin: 6px 0 10px;
  letter-spacing: -0.02em;
}
.contact-card p {
  font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0;
}

/* ── tighter image corners site-wide ─────────────────────── */
/* Override the 10–14 px curves used across catalog thumbnails so product
   images read more like furniture-grade photography than chat bubbles. */
.product-thumb,
.cat-section-thumb,
.strip-thumb,
.master-card-thumb,
.product-hero-img,
.tl-thumb {
  border-radius: 5px !important;
}

/* ── LIKE BUTTON ─────────────────────────────────────────── */
.like-btn {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(250, 244, 232, 0.92);
  color: var(--walnut-soft);
  border: 1px solid var(--rule);
  border-radius: 100px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s var(--easing), background 0.2s var(--easing),
              color 0.2s var(--easing), border-color 0.2s var(--easing);
}
.like-btn:hover { transform: scale(1.08); color: var(--clay); border-color: var(--clay); }
.like-btn:active { transform: scale(0.92); }
.like-btn.liked  { color: var(--clay); border-color: var(--clay); background: var(--cream); }

.product-card    { position: relative; }
.strip-card      { position: relative; }
.product-hero-img { position: relative; }

.like-btn-card { top: 10px; right: 10px; width: 32px; height: 32px; }
.like-btn-hero { top: 16px; right: 16px; width: 42px; height: 42px; }
.like-btn-hero svg { width: 22px; height: 22px; }

/* ── FAVORITES filter toggle ─────────────────────────────── */
.filter-fav {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--cream);
  color: var(--walnut-soft);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--easing), color 0.2s var(--easing),
              border-color 0.2s var(--easing);
}
.filter-fav:hover { color: var(--clay); border-color: var(--clay); }
.filter-fav.active {
  background: var(--clay); color: var(--cream);
  border-color: var(--clay);
}

/* ── SIMILAR PRODUCTS ────────────────────────────────────── */
.similar-products {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(36px, 4.5vw, 64px);
  border-top: 1px solid var(--rule);
}
.similar-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.similar-head .display {
  font-size: clamp(24px, 2.8vw, 38px);
  color: var(--walnut);
  margin: 6px 0 0;
  letter-spacing: -0.022em;
}
.similar-head a { font-size: 14px; font-weight: 600; }
.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
@media (max-width: 980px) { .similar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .similar-grid { grid-template-columns: 1fr; } }

/* ── PRODUCT-PAGE FAQ ────────────────────────────────────── */
.product-faq {
  margin-top:    clamp(56px, 7vw, 96px);
  margin-bottom: clamp(56px, 7vw, 96px);
  padding-top:   clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--rule);
}
.product-faq-head {
  max-width: 880px;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
}
.product-faq-head .display {
  font-size: clamp(26px, 3vw, 42px);
  color: var(--walnut);
  margin: 10px 0 0;
  letter-spacing: -0.025em;
}

/* ── MEGAMENU "see all" hint ─────────────────────────────── */
.mm-sec-more {
  font-weight: 600; color: var(--clay) !important;
  font-size: 12px !important;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-top: 8px;
}

/* selection */
::selection { background: var(--clay); color: var(--cream); }
