/* =================================================================
   LEW HOME COMFORTS & DESIGNS — Design System
   Warm, architectural, editorial. Caramel + ink + cream, built from
   the client's own logo palette.
   ================================================================= */

:root {
  /* --- Palette (sampled + elevated from the supplied logo) --- */
  --ink: #15110c;
  --ink-2: #221a12;
  --ink-3: #2f251a;
  --caramel: #a9713f;
  --caramel-deep: #7a4c26;
  --caramel-light: #d9ac78;
  --cream: #efe6d5;
  --paper: #faf7f0;
  --white: #ffffff;

  --text-on-dark: #f6efe2;
  --text-muted-on-dark: rgba(246, 239, 226, .68);
  --line-on-dark: rgba(246, 239, 226, .16);
  --line-on-dark-strong: rgba(246, 239, 226, .3);

  --text-on-light: #1a140d;
  --text-muted-on-light: rgba(26, 20, 13, .64);
  --line-on-light: rgba(26, 20, 13, .12);
  --line-on-light-strong: rgba(26, 20, 13, .22);

  --success: #2fae63;

  --max: 1320px;
  --max-narrow: 760px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 11vw, 148px);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22, .8, .32, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--max-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: var(--text-on-dark);
  padding: 12px 18px; border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--caramel);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  background: var(--caramel);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--caramel-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(122, 76, 38, .55); }
.btn.small { padding: 10px 18px; font-size: .84rem; }
.btn.ghost {
  background: transparent;
  color: var(--text-on-light);
  border: 1px solid var(--line-on-light-strong);
}
.btn.ghost:hover { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.btn.on-dark { color: var(--ink); }
.btn.ghost.on-dark { color: var(--text-on-dark); border-color: var(--line-on-dark-strong); background: transparent; }
.btn.ghost.on-dark:hover { background: var(--text-on-dark); color: var(--ink); }
.btn.wa { background: var(--success); }
.btn.wa:hover { background: #24914f; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-visible ~ [data-reveal-delay] { transition-delay: .1s; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 22px;
  transition: padding .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 240, .92);
  backdrop-filter: blur(10px);
  padding-block: 14px;
  border-color: var(--line-on-light);
  box-shadow: 0 12px 30px -24px rgba(21, 17, 12, .4);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--white); }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--text-on-dark);
  transition: color .35s var(--ease);
}
.is-scrolled .brand-text { color: var(--text-on-light); }
.brand-text em { display: block; font-style: normal; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; font-family: var(--font-body); font-weight: 600; margin-top: 2px; }

.navlinks { display: flex; gap: 34px; }
.navlinks a {
  font-size: .88rem; font-weight: 500; letter-spacing: .01em;
  color: var(--text-on-dark); position: relative; padding-block: 4px;
  transition: color .35s var(--ease);
}
.is-scrolled .navlinks a { color: var(--text-on-light); }
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: currentColor; transition: right .35s var(--ease);
}
.navlinks a:hover::after, .navlinks a.active::after { right: 0; }
.navlinks a.active { color: var(--caramel); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn.ghost { color: var(--text-on-dark); border-color: var(--line-on-dark-strong); }
.is-scrolled .nav-actions .btn.ghost { color: var(--text-on-light); border-color: var(--line-on-light-strong); }
.nav-actions .btn.ghost:hover { background: var(--ink); color: var(--text-on-dark); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px; align-items: center; justify-content: center; }
.menu-toggle span { width: 20px; height: 1.5px; background: var(--text-on-dark); transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .3s var(--ease); }
.is-scrolled .menu-toggle span { background: var(--text-on-light); }

/* =================================================================
   HERO — asymmetric split, not a boxed rectangle
   ================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  overflow: hidden;
}
.hero-copy-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  max-width: 640px;
  min-height: 100svh;
  padding: clamp(120px, 16vw, 180px) clamp(24px, 6vw, 72px) 64px clamp(20px, 6vw, 72px);
  color: var(--text-on-dark);
}
.hero-copy-col .eyebrow { color: var(--caramel-light); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title em { font-style: italic; color: var(--caramel-light); font-weight: 400; }
.hero-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--text-muted-on-dark);
  max-width: 42ch;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-meta {
  display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap;
  padding-top: 26px; margin-top: 6px; border-top: 1px solid var(--line-on-dark);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted-on-dark); }
.hero-meta strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--text-on-dark); }

.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  transform: scale(1.08);
  animation: hero-settle 2.4s var(--ease) forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; transform: none; } }

/* Cinematic craft video — sits above the poster image, fades in once playable.
   No src is ever set under prefers-reduced-motion, so this stays invisible and
   the poster photo is the entire experience (see initCinematicVideos in script.js). */
.hero-video, .process-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-video.is-playing, .process-video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video, .process-video { display: none; } }
.hero-media::before {
  content: "";
  position: absolute; inset: 0;
  /* Localized readability gradient: solid behind the headline, easing off so the
     footage stays visible across the right two-thirds of the hero. */
  background: linear-gradient(100deg, var(--ink) 0%, rgba(21,17,12,.62) 24%, rgba(21,17,12,.2) 46%, rgba(21,17,12,0) 64%);
  z-index: 2;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(21,17,12,.5) 0%, rgba(21,17,12,0) 28%);
  z-index: 2;
}

.hero-scroll {
  position: absolute; left: clamp(20px, 6vw, 72px); bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted-on-dark);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
}
.hero-scroll .stem { width: 1px; height: 34px; background: linear-gradient(var(--caramel-light), transparent); animation: stem 1.8s var(--ease) infinite; }
@keyframes stem { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll .stem { animation: none; opacity: .6; } }

@media (max-width: 900px) {
  /* Full-bleed video/photo background persists on mobile; copy overlays on top
     rather than stacking below a separate image panel. */
  .hero-copy-col { max-width: none; padding: 100px var(--gutter) 40px; justify-content: flex-end; }
  .hero-media::before { display: none; }
  .hero-media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(21,17,12,.75) 34%, rgba(21,17,12,.25) 62%, rgba(21,17,12,0) 100%); }
  .hero-scroll { display: none; }
}

/* =================================================================
   TRUST STRIP
   ================================================================= */
.trust-strip { background: var(--ink); border-top: 1px solid var(--line-on-dark); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-block: 22px;
}
.trust-item {
  color: var(--text-muted-on-dark); font-size: .84rem; letter-spacing: .02em;
  display: flex; align-items: baseline; gap: 10px;
  padding-inline: 20px; border-left: 1px solid var(--line-on-dark);
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-item span { font-family: var(--font-display); color: var(--caramel-light); font-size: 1rem; }
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { border-left: none; padding-left: 0; }
}

/* =================================================================
   SECTION shared
   ================================================================= */
.section { padding-block: var(--section-pad); }
.section.on-dark { background: var(--ink); color: var(--text-on-dark); }
.section.on-cream { background: var(--cream); }
.heading { max-width: 720px; display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.heading h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.05; }
.heading .lead { font-size: 1.08rem; color: var(--text-muted-on-light); max-width: 56ch; line-height: 1.6; }
.on-dark .heading .lead { color: var(--text-muted-on-dark); }
.heading.center { align-items: center; text-align: center; margin-inline: auto; }

.positioning .container-narrow { display: flex; flex-direction: column; gap: 30px; }
.big-statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--text-on-light);
}
.big-statement em { font-style: italic; color: var(--caramel); }
.positioning .intro { font-size: 1.05rem; color: var(--text-muted-on-light); max-width: 62ch; line-height: 1.7; }

/* =================================================================
   FURNITURE EXPLORER
   ================================================================= */
.explorer-grid {
  display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.explorer-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-on-light); }
.explorer-tab {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 6px; border-bottom: 1px solid var(--line-on-light);
  text-align: left; width: 100%; transition: padding .35s var(--ease), color .3s var(--ease);
}
.explorer-tab span.num { font-family: var(--font-display); font-size: .95rem; color: var(--text-muted-on-light); transition: color .3s var(--ease); }
.explorer-tab strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; transition: color .3s var(--ease); }
.explorer-tab:hover { padding-left: 14px; }
.explorer-tab.is-active { padding-left: 14px; }
.explorer-tab.is-active span.num,
.explorer-tab.is-active strong { color: var(--caramel); }

.explorer-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px; background: var(--ink);
  display: grid; align-items: end;
  transition: opacity .3s var(--ease);
}
.explorer-panel.is-fading { opacity: .35; }
.explorer-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explorer-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(21,17,12,.86) 0%, rgba(21,17,12,.1) 55%, rgba(21,17,12,0) 75%);
}
.explorer-panel-content { position: relative; z-index: 2; padding: clamp(24px, 4vw, 44px); color: var(--text-on-dark); max-width: 560px; }
.explorer-panel-content .eyebrow { color: var(--caramel-light); margin-bottom: 12px; }
.explorer-panel-content h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.explorer-panel-content p { color: var(--text-muted-on-dark); margin-bottom: 20px; max-width: 48ch; }

@media (max-width: 860px) {
  .explorer-grid { grid-template-columns: 1fr; }
  .explorer-list { flex-direction: row; overflow-x: auto; border-top: none; border-bottom: 1px solid var(--line-on-light); gap: 4px; -webkit-overflow-scrolling: touch; }
  .explorer-tab { border-bottom: none; flex: none; padding: 14px 16px; white-space: nowrap; }
  .explorer-tab:hover, .explorer-tab.is-active { padding-left: 16px; }
  .explorer-panel { min-height: 420px; }
}

/* =================================================================
   SERVICES
   ================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.service-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3.1; display: flex; align-items: flex-end;
  isolation: isolate;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(21,17,12,.9) 0%, rgba(21,17,12,.15) 62%, rgba(21,17,12,0) 82%);
  transition: background .4s var(--ease);
}
.service-card:hover img { transform: scale(1.07); }
.service-card-body { position: relative; z-index: 2; padding: clamp(20px, 2.6vw, 32px); color: var(--text-on-dark); }
.service-card-body .index { font-family: var(--font-display); color: var(--caramel-light); font-size: .95rem; display: block; margin-bottom: 8px; }
.service-card-body h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); margin-bottom: 8px; }
.service-card-body p {
  color: var(--text-muted-on-dark); font-size: .92rem; max-width: 36ch;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .4s var(--ease), max-height .4s var(--ease);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.service-card:hover .service-card-body p,
.service-card:focus-within .service-card-body p { opacity: 1; max-height: 3em; margin-top: 6px; }
.service-card.wide { grid-column: span 2; aspect-ratio: 16 / 7.5; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: span 1; aspect-ratio: 4/3.1; }
  .service-card-body p { opacity: 1; max-height: 3em; }
}

/* =================================================================
   PROCESS
   ================================================================= */
.process-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.process-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding-block: 26px; border-top: 1px solid var(--line-on-dark);
}
.process-step:last-child { border-bottom: 1px solid var(--line-on-dark); }
.process-step .step-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--caramel-light); }
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text-on-dark); }
.process-step p { color: var(--text-muted-on-dark); font-size: .95rem; line-height: 1.6; max-width: 46ch; }
.process-note { margin-top: 24px; font-size: .84rem; color: var(--text-muted-on-dark); max-width: 50ch; line-height: 1.6; }

@media (max-width: 860px) {
  .process-wrap { grid-template-columns: 1fr; }
  .process-media { aspect-ratio: 16/10; }
}

/* =================================================================
   WORK / GALLERY
   ================================================================= */
.work-toolbar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(30px, 5vw, 56px); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px);
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  grid-column: span 3; aspect-ratio: 1/1; isolation: isolate;
}
.gallery-item:nth-child(1) { grid-column: span 4; aspect-ratio: 16/11; }
.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; aspect-ratio: 3/4; }
.gallery-item:nth-child(6) { grid-column: span 6; aspect-ratio: 21/8; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(21,17,12,.78) 0%, rgba(21,17,12,0) 46%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover::after, .gallery-item:focus-within::after { opacity: 1; }
.gallery-label {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--white);
  font-size: .84rem; letter-spacing: .02em;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item:hover .gallery-label, .gallery-item:focus-within .gallery-label { opacity: 1; transform: none; }
.gallery-label strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.gallery-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(21,17,12,.55); backdrop-filter: blur(6px);
  color: var(--text-on-dark); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.work-disclaimer {
  margin-top: clamp(28px, 4vw, 44px); padding: 18px 22px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line-on-light);
  font-size: .88rem; color: var(--text-muted-on-light); max-width: 68ch; line-height: 1.6;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2), .gallery-item:nth-child(3),
  .gallery-item:nth-child(4), .gallery-item:nth-child(5), .gallery-item:nth-child(6) { grid-column: span 1; aspect-ratio: 4/3.4; }
  .gallery-label { opacity: 1; transform: none; }
  .gallery-item::after { opacity: .75; }
}

/* =================================================================
   QUOTE / ENQUIRY
   ================================================================= */
.quote-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 72px); }
.quote-info { display: flex; flex-direction: column; gap: 22px; }
.quote-info .big-statement { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.quote-info-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.quote-info-list li { display: flex; gap: 12px; font-size: .95rem; color: var(--text-muted-on-light); }
.quote-info-list li::before { content: "—"; color: var(--caramel); flex: none; }
.quote-fallback { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-on-light); display: flex; flex-direction: column; gap: 12px; }
.quote-fallback p { font-size: .88rem; color: var(--text-muted-on-light); }

.quote-form {
  background: var(--white); border: 1px solid var(--line-on-light); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  box-shadow: 0 40px 80px -60px rgba(21,17,12,.35);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; color: var(--text-muted-on-light); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line-on-light-strong);
  background: var(--paper); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(169, 113, 63, .16); outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: .78rem; color: var(--text-muted-on-light); }
.quote-form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.form-status { font-size: .88rem; color: var(--success); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-note { font-size: .8rem; color: var(--text-muted-on-light); max-width: 40ch; }

@media (max-width: 900px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .field.full { grid-column: 1; }
}

.quote-form.stepper { display: flex; flex-direction: column; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: clamp(24px, 3.4vw, 44px); padding-bottom: 48px; border-bottom: 1px solid var(--line-on-dark); }
.footer-mark { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; background: var(--white); }
.footer-tagline { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.footer-copy { color: var(--text-muted-on-dark); font-size: .92rem; max-width: 40ch; line-height: 1.6; margin-bottom: 18px; }
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-social a, .footer-social .social-pending { font-size: .84rem; color: var(--text-muted-on-dark); border-bottom: 1px solid transparent; }
.footer-social a:hover { color: var(--caramel-light); border-color: currentColor; }
.footer-social .social-pending { opacity: .55; cursor: default; }
.footer-social .social-pending small { display: block; font-size: .68rem; }
.footer-social.on-light a, .footer-social.on-light .social-pending { color: var(--text-muted-on-light); }
.footer-social.on-light a:hover { color: var(--caramel); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .eyebrow { margin-bottom: 6px; }
.footer-link { color: var(--text-muted-on-dark); font-size: .92rem; transition: color .25s var(--ease); }
.footer-link:hover { color: var(--caramel-light); }
.footer-address { color: var(--text-muted-on-dark); font-size: .92rem; line-height: 1.7; }
.footer-note { font-size: .78rem; color: rgba(246,239,226,.45); line-height: 1.6; max-width: 30ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px; font-size: .78rem; color: rgba(246,239,226,.45); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =================================================================
   FLOATING WHATSAPP (desktop) + MOBILE CONVERSION BAR
   ================================================================= */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--success); color: var(--white);
  padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(21,17,12,.45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  font-size: .88rem; font-weight: 600;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -16px rgba(21,17,12,.5); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--ink);
  border-top: 1px solid var(--line-on-dark);
  padding: 8px calc(var(--gutter) * .5) calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 9px 4px; border-radius: var(--radius-sm);
  color: var(--text-muted-on-dark); font-size: .68rem; letter-spacing: .02em; text-transform: uppercase; font-weight: 600;
}
.mobile-bar a svg { width: 18px; height: 18px; }
.mobile-bar a.quote { background: var(--caramel); color: var(--white); }
.mobile-bar a.wa { color: var(--success); }

@media (max-width: 720px) {
  .wa-float { display: none; }
  .mobile-bar { display: block; }
  body { padding-bottom: 66px; }
}

/* ---------- header nav collapses into mobile menu ---------- */
@media (max-width: 900px) {
  /* .navlinks (the desktop inline nav) is simply hidden below 900px — the
     mobile menu is an entirely separate drawer, appended to <body> by
     initMenu() in script.js, not this element transformed on/off screen.
     See that function's comment for exactly why it has to live outside
     .site-header. */
  .navlinks { display: none; }
  .nav-actions a.btn.small { display: none; }
  .nav-actions a.btn.ghost.small { display: inline-flex; }
  .menu-toggle { display: flex; }
  .menu-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (min-width: 901px) {
  .menu-toggle { display: none; }
}

/* ---------- mobile nav drawer + backdrop ----------
   Both live at the body level (see initMenu() in script.js). Full 100dvh
   height, a fully opaque background, and a z-index well above everything
   else fixed on the page (header 100, mobile conversion bar 95, floating
   WhatsApp/enquiry pill 89-90) so nothing on the page can show through or
   sit above the open menu. */
.mobile-nav-backdrop {
  position: fixed; inset: 0;
  height: 100vh; height: 100dvh;
  background: rgba(21, 17, 12, .55);
  z-index: 998;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mobile-nav-backdrop.is-open {
  opacity: 1; visibility: visible;
  transition: opacity .3s var(--ease), visibility 0s linear 0s;
}

.mobile-nav-drawer {
  position: fixed; top: 0; right: 0;
  height: 100vh; height: 100dvh;
  width: min(88vw, 400px);
  background: var(--ink);
  z-index: 999;
  display: flex; flex-direction: column;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(0,0,0,.6);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-drawer.is-open { transform: translateX(0); }

.mobile-nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px; flex: none;
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-nav-drawer-brand {
  font-family: var(--font-display); font-size: 1rem; color: var(--text-on-dark);
}
.mobile-nav-close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  color: var(--text-on-dark);
  transition: background-color .25s var(--ease);
}
.mobile-nav-close svg { width: 20px; height: 20px; }
.mobile-nav-close:hover, .mobile-nav-close:focus-visible { background: var(--line-on-dark); }

.mobile-nav-links { display: flex; flex-direction: column; padding: 8px 24px; }
.mobile-nav-links a {
  color: var(--text-on-dark); font-size: 1.1rem; font-weight: 500;
  padding-block: 15px; border-bottom: 1px solid var(--line-on-dark);
}
.mobile-nav-links a.active { color: var(--caramel-light); }

.mobile-nav-drawer-actions {
  margin-top: auto; display: flex; gap: 12px;
  padding: 24px; flex: none;
}
.mobile-nav-drawer-actions .btn { flex: 1; justify-content: center; }

/* Page scroll lock while the drawer is open. */
body.nav-open { overflow: hidden; }
/* Belt-and-braces: keep the bottom conversion bar and the floating enquiry
   pill (both position:fixed, but lower z-index) from visually competing
   with the open drawer even mid-transition. */
body.nav-open .mobile-bar, body.nav-open .enquiry-float, body.nav-open .wa-float { visibility: hidden; }

/* =================================================================
   INNER-PAGE HERO — consistent editorial opener for every page
   beyond the homepage (distinct from the homepage split hero).
   ================================================================= */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  background: var(--ink); overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(21,17,12,.92) 0%, rgba(21,17,12,.32) 55%, rgba(21,17,12,.18) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: clamp(126px, 16vw, 172px) var(--gutter) 56px; max-width: 920px; color: var(--text-on-dark); }
.page-hero-content h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; }
.page-hero-content h1 em { font-style: italic; color: var(--caramel-light); font-weight: 400; }
.page-hero-content .eyebrow { color: var(--caramel-light); margin-bottom: 16px; }
.page-hero-lead { margin-top: 18px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--text-muted-on-dark); max-width: 58ch; line-height: 1.65; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--text-muted-on-dark); margin-bottom: 18px; letter-spacing: .02em; }
.breadcrumb a { color: var(--text-muted-on-dark); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--caramel-light); }
.breadcrumb [aria-current] { color: var(--caramel-light); }

@media (max-width: 720px) {
  .page-hero { min-height: 50vh; }
  .page-hero-content { padding: 108px var(--gutter) 40px; }
}

/* =================================================================
   SPLIT FEATURE — alternating image/copy editorial sections
   (Furniture, About)
   ================================================================= */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 76px); padding-block: clamp(56px, 8vw, 110px); }
.split-feature + .split-feature { border-top: 1px solid var(--line-on-light); }
.on-dark .split-feature + .split-feature { border-top-color: var(--line-on-dark); }
.split-feature.reverse .split-media { order: 2; }
.split-feature.reverse .split-copy { order: 1; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.05); }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy .index { font-family: var(--font-display); color: var(--caramel); font-size: .95rem; }
.on-dark .split-copy .index { color: var(--caramel-light); }
.split-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.on-dark .split-copy h3 { color: var(--text-on-dark); }
.split-copy p { color: var(--text-muted-on-light); font-size: 1.02rem; line-height: 1.7; max-width: 52ch; }
.on-dark .split-copy p { color: var(--text-muted-on-dark); }
.split-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 860px) {
  .split-feature { grid-template-columns: 1fr; }
  .split-feature.reverse .split-media, .split-feature.reverse .split-copy { order: initial; }
}

/* =================================================================
   QUOTE BREAK — full-bleed texture band with a pull-quote
   ================================================================= */
.quote-break { position: relative; min-height: 44vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ink); }
.quote-break img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.quote-break::after { content: ""; position: absolute; inset: 0; background: rgba(21,17,12,.6); }
.quote-break blockquote { position: relative; z-index: 2; max-width: 780px; margin: 0; padding-inline: var(--gutter); text-align: center; }
.quote-break blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.32; color: var(--text-on-dark); }
.quote-break cite { display: block; margin-top: 20px; font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel-light); }

/* =================================================================
   CATEGORY JUMP — sticky scroll-spy pill nav (Furniture page)
   ================================================================= */
.category-jump { position: sticky; top: 68px; z-index: 40; background: rgba(250,247,240,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-on-light); }
.category-jump-inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; -webkit-overflow-scrolling: touch; }
.category-jump a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text-muted-on-light); border: 1px solid var(--line-on-light-strong); transition: all .25s var(--ease); }
.category-jump a:hover { border-color: var(--caramel); color: var(--caramel); }
.category-jump a.is-active { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }

/* =================================================================
   FILTER BAR — Our Work category filtering
   ================================================================= */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-bar button { padding: 9px 18px; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line-on-light-strong); color: var(--text-muted-on-light); transition: all .25s var(--ease); }
.filter-bar button:hover { border-color: var(--caramel); color: var(--caramel); }
.filter-bar button.is-active { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }

/* =================================================================
   PORTFOLIO GRID — Our Work full gallery (distinct from the
   homepage's fixed 6-tile .gallery-grid preview)
   ================================================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 20px); grid-auto-flow: dense; }
.portfolio-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  grid-column: span 2; aspect-ratio: 4 / 3.3; isolation: isolate; cursor: pointer;
  transition: opacity .25s var(--ease);
}
.portfolio-item.is-hidden { display: none; }
.portfolio-item.wide { grid-column: span 4; aspect-ratio: 16 / 9; }
.portfolio-item.tall { grid-column: span 2; aspect-ratio: 3 / 4.1; }
.portfolio-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(21,17,12,.82) 0%, rgba(21,17,12,0) 50%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.portfolio-item:hover::before, .portfolio-item:focus-visible::before { opacity: 1; }
.portfolio-label {
  position: absolute; left: 16px; bottom: 14px; right: 46px; z-index: 2; color: var(--white);
  font-size: .82rem; opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.portfolio-item:hover .portfolio-label, .portfolio-item:focus-visible .portfolio-label { opacity: 1; transform: none; }
.portfolio-label strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 500; }
.portfolio-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(21,17,12,.55); backdrop-filter: blur(6px);
  color: var(--text-on-dark); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
}
.portfolio-expand {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(21,17,12,.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; color: var(--text-on-dark);
  opacity: 0; transition: opacity .3s var(--ease);
}
.portfolio-expand svg { width: 15px; height: 15px; }
.portfolio-item:hover .portfolio-expand, .portfolio-item:focus-visible .portfolio-expand { opacity: 1; }

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item, .portfolio-item.wide, .portfolio-item.tall { grid-column: span 1; aspect-ratio: 4 / 3.4; }
  .portfolio-label { opacity: 1; transform: none; }
  .portfolio-item::before { opacity: .68; }
}

/* =================================================================
   LIGHTBOX
   ================================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,8,6,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lightbox-lock { overflow: hidden; }
.lightbox-frame { position: relative; max-width: 1100px; width: 100%; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.lightbox-frame img { max-width: 100%; max-height: 70vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-caption { color: var(--text-on-dark); text-align: center; }
.lightbox-caption strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.lightbox-caption span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel-light); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line-on-dark-strong);
  color: var(--text-on-dark); width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background .25s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.18); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; }
.lightbox-close { top: -58px; right: 0; }
.lightbox-prev { left: -58px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -58px; top: 50%; transform: translateY(-50%); }
@media (max-width: 860px) {
  .lightbox { padding: 18px; }
  .lightbox-close { top: -50px; right: 0; }
  .lightbox-prev { left: 4px; top: auto; bottom: -54px; transform: none; }
  .lightbox-next { right: 4px; top: auto; bottom: -54px; transform: none; }
}

/* =================================================================
   QUOTE STEPPER (quote.html)
   ================================================================= */
.stepper-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.stepper-dots { display: flex; align-items: center; gap: 8px; }
.stepper-dots [data-step-dot] {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-on-light-strong);
  display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600;
  color: var(--text-muted-on-light); transition: all .3s var(--ease); flex: none;
}
.stepper-dots [data-step-dot].is-active { border-color: var(--caramel); color: var(--caramel); background: rgba(169,113,63,.1); }
.stepper-dots [data-step-dot].is-done { background: var(--caramel); border-color: var(--caramel); color: var(--white); }
.stepper-line { width: 26px; height: 1px; background: var(--line-on-light-strong); }
[data-step-label] { font-size: .82rem; color: var(--text-muted-on-light); font-weight: 600; }

.quote-step { display: none; flex-direction: column; gap: 18px; }
.quote-step.is-active { display: flex; }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }

.file-drop {
  border: 1.5px dashed var(--line-on-light-strong); border-radius: var(--radius); padding: 22px;
  text-align: center; color: var(--text-muted-on-light); font-size: .86rem; cursor: pointer;
  transition: border-color .25s var(--ease); position: relative;
}
.file-drop:hover { border-color: var(--caramel); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop strong { display: block; color: var(--text-on-light); margin-bottom: 4px; }
.file-list { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--text-muted-on-light); list-style: none; padding: 0; }

.review-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line-on-light); font-size: .9rem; }
.review-row span { color: var(--text-muted-on-light); flex: none; }
.review-row strong { text-align: right; font-weight: 600; }

@media (max-width: 640px) {
  .step-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.contact-block { display: flex; flex-direction: column; }
.contact-item { display: flex; flex-direction: column; gap: 6px; padding-block: 22px; border-top: 1px solid var(--line-on-light); }
.contact-item:first-child { border-top: none; padding-top: 0; }
.contact-item .eyebrow { margin-bottom: 2px; }
.big-link { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); transition: color .25s var(--ease); }
a.big-link:hover { color: var(--caramel); }
.contact-card { background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.contact-card .big-statement { color: var(--text-on-dark); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.contact-card .big-statement em { color: var(--caramel-light); }
.map-link { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--caramel); border-bottom: 1px solid currentColor; padding-bottom: 2px; width: fit-content; }
.on-dark .map-link { color: var(--caramel-light); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   LEGAL PAGES
   ================================================================= */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.1em; margin-bottom: .6em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted-on-light); line-height: 1.75; font-size: 1rem; margin-bottom: 1em; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal ul li { margin-bottom: .5em; }
.legal strong { color: var(--text-on-light); }
.legal .updated { font-size: .8rem; color: var(--text-muted-on-light); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2em; display: block; }

/* =================================================================
   VALUES STRIP (About page) — editorial list, not icon cards
   ================================================================= */
.values-strip { background: var(--cream); border-top: 1px solid var(--line-on-light); border-bottom: 1px solid var(--line-on-light); }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.values-item { padding: 30px 22px; border-left: 1px solid var(--line-on-light); }
.values-item:first-child { border-left: none; }
.values-item span { font-family: var(--font-display); color: var(--caramel); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.values-item strong { font-size: .92rem; letter-spacing: .01em; color: var(--text-on-light); }

@media (max-width: 860px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-item { border-left: none; border-top: 1px solid var(--line-on-light); }
  .values-item:nth-child(1), .values-item:nth-child(2) { border-top: none; }
}

/* =================================================================
   FURNITURE CATALOGUE — category filters, product cards
   ================================================================= */
.catalogue-toolbar {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(250,247,240,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-light);
  padding-block: 14px;
}
.catalogue-filter {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 2px;
}
.catalogue-filter::-webkit-scrollbar { display: none; }
.catalogue-filter button {
  flex: none; padding: 10px 18px; border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--text-muted-on-light); border: 1px solid var(--line-on-light-strong);
  transition: all .25s var(--ease); min-height: 40px;
}
.catalogue-filter button:hover { border-color: var(--caramel); color: var(--caramel); }
.catalogue-filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.catalogue-count { font-size: .82rem; color: var(--text-muted-on-light); padding-top: 12px; }

.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px);
}
.product-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line-on-light); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover, .product-card:focus-within { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(21,17,12,.35); }
.product-card-media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--cream); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(21,17,12,.72); color: var(--text-on-dark); backdrop-filter: blur(4px);
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  padding: 6px 11px; border-radius: 999px;
}
.product-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-body h3 { font-size: 1.12rem; font-weight: 500; line-height: 1.3; }
.product-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge-mto {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600;
  letter-spacing: .03em; color: var(--caramel-deep); background: rgba(169,113,63,.12);
  padding: 5px 10px; border-radius: 999px;
}
.badge-mto::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--caramel); flex: none; }
.product-card-price { font-size: .84rem; color: var(--text-muted-on-light); margin-top: auto; padding-top: 4px; }
.product-card-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 6px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-on-light-strong); font-size: .86rem; font-weight: 600;
  color: var(--text-on-light); transition: all .25s var(--ease); min-height: 44px;
}
.product-card-cta:hover { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.product-card-cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.product-card-cta:hover svg { transform: translateX(3px); }

.catalogue-empty {
  padding: 60px 20px; text-align: center; color: var(--text-muted-on-light);
  border: 1px dashed var(--line-on-light-strong); border-radius: var(--radius); font-size: .95rem;
}

.custom-cta-band {
  margin-top: clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--ink); color: var(--text-on-dark);
  padding: clamp(30px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.custom-cta-band h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 8px; }
.custom-cta-band p { color: var(--text-muted-on-dark); max-width: 48ch; }
.custom-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card-body { padding: 13px 13px 15px; gap: 8px; }
  .product-card-body h3 { font-size: .96rem; }
  .product-card-cta { padding: 11px 12px; font-size: .8rem; }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   PRODUCT DETAIL
   ================================================================= */
.product-detail-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.product-gallery-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4;
  background: var(--cream);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery-thumbs button {
  width: 72px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent;
  opacity: .7; transition: all .25s var(--ease); flex: none;
}
.product-gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs button.is-active, .product-gallery-thumbs button:hover { opacity: 1; border-color: var(--caramel); }
.product-note {
  margin-top: 14px; font-size: .84rem; color: var(--text-muted-on-light); font-style: italic;
  padding: 12px 16px; background: var(--cream); border-radius: var(--radius-sm);
}

.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info .breadcrumb { margin-bottom: 0; }
.product-info-head { display: flex; flex-direction: column; gap: 10px; }
.product-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
.product-info-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.product-info-desc { font-size: 1.02rem; color: var(--text-muted-on-light); line-height: 1.7; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 18px 0; border-top: 1px solid var(--line-on-light); border-bottom: 1px solid var(--line-on-light); }
.product-facts div { display: flex; flex-direction: column; gap: 4px; }
.product-facts span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted-on-light); font-weight: 600; }
.product-facts strong { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--text-on-light); }

.product-cta-group { display: flex; flex-direction: column; gap: 12px; }
.product-cta-primary { display: flex; gap: 12px; flex-wrap: wrap; }
.product-cta-primary .btn { flex: 1 1 200px; }
.product-cta-secondary { display: flex; }
.product-cta-secondary .btn { width: 100%; }
.product-disclaimer { font-size: .8rem; color: var(--text-muted-on-light); line-height: 1.6; }

@media (max-width: 900px) {
  .product-detail-wrap { grid-template-columns: 1fr; }
}

/* =================================================================
   ENQUIRY FLOW — selected-design summary + reused stepper form
   ================================================================= */
.enquiry-section { scroll-margin-top: 90px; }
.selected-design-card {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line-on-light); margin-bottom: 22px;
  box-shadow: 0 20px 40px -32px rgba(21,17,12,.3); grid-column: 1 / -1;
}
.quote-form > fieldset { grid-column: 1 / -1; }
.selected-design-card img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.selected-design-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.selected-design-card-body span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--caramel); font-weight: 600; }
.selected-design-card-body strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.order-type-toggle { display: flex; gap: 10px; flex-wrap: wrap; }
.order-type-toggle label {
  flex: 1 1 220px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-on-light-strong);
  transition: all .25s var(--ease);
}
.order-type-toggle input { margin-top: 3px; accent-color: var(--caramel); flex: none; width: 18px; height: 18px; }
.order-type-toggle label:has(input:checked) { border-color: var(--caramel); background: rgba(169,113,63,.08); }
.order-type-toggle strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.order-type-toggle span { font-size: .82rem; color: var(--text-muted-on-light); }

.field-note { font-size: .78rem; color: var(--text-muted-on-light); margin-top: -4px; }

.enquiry-added-confirm {
  margin-top: 18px; padding: 22px clamp(20px, 3vw, 32px); border-radius: var(--radius-lg);
  background: rgba(47,174,99,.08); border: 1px solid rgba(47,174,99,.3); text-align: center;
}
.enquiry-added-confirm p { font-size: 1.05rem; margin-bottom: 14px; }
.enquiry-added-confirm strong { color: var(--success); }
.enquiry-added-confirm .hero-actions { justify-content: center; }
.enquiry-added-confirm[hidden] { display: none; }

@media (max-width: 720px) {
  .selected-design-card img { width: 52px; height: 52px; }
}

/* =================================================================
   CUSTOM ORDER PAGE
   ================================================================= */
.custom-hero-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line-on-light); margin-bottom: 26px;
}
.custom-hero-note svg { width: 22px; height: 22px; flex: none; color: var(--caramel); margin-top: 2px; }
.custom-hero-note p { font-size: .9rem; color: var(--text-muted-on-light); line-height: 1.6; }
.custom-hero-note strong { color: var(--text-on-light); }

/* =================================================================
   HOMEPAGE — "Furniture Made for Your Space" curated grid
   ================================================================= */
.featured-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px);
}
.feature-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 4.6; isolation: isolate;
}
.feature-card picture, .feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-card:hover img, .feature-card:focus-visible img { transform: scale(1.07); }
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(21,17,12,.88) 0%, rgba(21,17,12,.15) 55%, rgba(21,17,12,0) 75%);
}
.feature-card-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.9); color: var(--text-on-light);
  font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.feature-card-body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: var(--text-on-dark); display: flex; flex-direction: column; gap: 3px; }
.feature-card-body strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; line-height: 1.25; }
.feature-card-body em { font-style: normal; font-size: .72rem; letter-spacing: .04em; color: var(--caramel-light); }
.featured-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(28px, 3.6vw, 40px); }

@media (max-width: 980px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card { aspect-ratio: 4 / 4.8; }
}

/* =================================================================
   PRICING — shared across catalogue cards, product detail, enquiry
   ================================================================= */
.price-line { font-size: .98rem; font-weight: 600; color: var(--text-on-light); }
.on-dark .price-line { color: var(--text-on-dark); }
.price-line.is-quote { font-weight: 500; color: var(--text-muted-on-light); }
.price-note { font-size: .76rem; color: var(--text-muted-on-light); line-height: 1.5; }
.deposit-line { font-size: .82rem; color: var(--text-muted-on-light); }
.deposit-line strong { color: var(--caramel-deep); font-weight: 600; }

/* =================================================================
   CATALOGUE CARD — Add to Enquiry action + selected state
   ================================================================= */
.product-card-actions { display: flex; gap: 8px; margin-top: 6px; }
.product-card-actions .product-card-cta { flex: 1 1 0; margin-top: 0; }
.btn-add-enquiry {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--caramel);
  background: transparent; color: var(--caramel-deep); font-size: .86rem; font-weight: 600;
  transition: all .25s var(--ease); min-height: 44px;
}
.btn-add-enquiry:hover { background: var(--caramel); color: var(--white); }
.btn-add-enquiry svg { width: 15px; height: 15px; flex: none; }
.btn-add-enquiry.is-added { background: var(--success); border-color: var(--success); color: var(--white); }
.btn-add-enquiry.is-added:hover { background: #24914f; }

/* =================================================================
   PERSISTENT ENQUIRY PILL — floating cart-style control
   ================================================================= */
.enquiry-float {
  position: fixed; right: 28px; bottom: 96px; z-index: 89;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--text-on-dark);
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(21,17,12,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  font-size: .86rem; font-weight: 600;
}
.enquiry-float:hover { transform: translateY(-3px); }
.enquiry-float[hidden] { display: none; }
.enquiry-float .count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--caramel); color: var(--white); font-size: .76rem; font-weight: 700;
}

@media (max-width: 720px) {
  .enquiry-float { right: 16px; bottom: 82px; padding: 11px 16px; font-size: .8rem; }
}

/* =================================================================
   ENQUIRY PAGE — multi-item review, quantities, summary, WhatsApp CTA
   ================================================================= */
.enquiry-empty { text-align: center; padding: clamp(48px, 8vw, 88px) 20px; }
.enquiry-empty p { color: var(--text-muted-on-light); font-size: 1.02rem; margin-bottom: 20px; }

.enquiry-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }

.enquiry-list { display: flex; flex-direction: column; gap: 16px; }
.enquiry-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 16px;
  background: var(--white); border: 1px solid var(--line-on-light); border-radius: var(--radius);
  padding: 16px;
}
.enquiry-item-media { width: 88px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; flex: none; }
.enquiry-item-media img { width: 100%; height: 100%; object-fit: cover; }
.enquiry-item-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.enquiry-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.enquiry-item-head h3 { font-size: 1.05rem; font-weight: 500; }
.enquiry-item-head .eyebrow { margin-bottom: 4px; font-size: .68rem; }
.enquiry-item-remove {
  flex: none; font-size: .78rem; font-weight: 600; color: var(--text-muted-on-light);
  border: 1px solid var(--line-on-light-strong); border-radius: var(--radius-sm);
  padding: 7px 12px; transition: all .2s var(--ease); min-height: 36px;
}
.enquiry-item-remove:hover { border-color: #c0392b; color: #c0392b; }

.enquiry-item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.enquiry-item-grid .field { gap: 4px; }
.enquiry-item-grid .field label { font-size: .68rem; }
.enquiry-item-grid input, .enquiry-item-grid select { padding: 9px 10px; font-size: .86rem; }
.enquiry-item-notes { grid-column: 1 / -1; }

.enquiry-item-order-type { display: flex; gap: 8px; flex-wrap: wrap; }
.enquiry-item-order-type label {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-on-light-strong);
  color: var(--text-muted-on-light); cursor: pointer; transition: all .2s var(--ease);
}
.enquiry-item-order-type label:has(input:checked) { border-color: var(--caramel); color: var(--caramel-deep); background: rgba(169,113,63,.08); }
.enquiry-item-order-type input { accent-color: var(--caramel); width: 14px; height: 14px; }

.enquiry-item-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line-on-light); flex-wrap: wrap; }
.enquiry-item-price { font-size: .84rem; color: var(--text-muted-on-light); }
.enquiry-item-total { font-size: .98rem; font-weight: 700; color: var(--text-on-light); }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-on-light-strong); border-radius: var(--radius-sm); overflow: hidden; }
.qty-stepper button { width: 34px; height: 34px; font-size: 1.05rem; font-weight: 600; color: var(--text-on-light); transition: background .2s var(--ease); }
.qty-stepper button:hover { background: var(--cream); }
.qty-stepper input { width: 40px; height: 34px; border: 0; border-left: 1px solid var(--line-on-light-strong); border-right: 1px solid var(--line-on-light-strong); text-align: center; font-size: .9rem; font-weight: 600; background: var(--white); }

.enquiry-summary {
  position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 60px -44px rgba(21,17,12,.35); display: flex; flex-direction: column; gap: 18px;
}
.enquiry-summary h3 { font-size: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; color: var(--text-muted-on-light); }
.summary-row strong { color: var(--text-on-light); font-weight: 600; }
.summary-row.total { padding-top: 14px; border-top: 1px solid var(--line-on-light); font-size: 1.05rem; }
.summary-row.total strong { font-size: 1.2rem; color: var(--caramel-deep); }
.summary-row.deposit strong { color: var(--caramel-deep); }
.summary-note { font-size: .8rem; color: var(--text-muted-on-light); line-height: 1.55; padding: 12px 14px; background: var(--cream); border-radius: var(--radius-sm); }
.summary-note strong { color: var(--text-on-light); }
.summary-unknown { font-size: .84rem; color: var(--caramel-deep); font-weight: 600; }

.deposit-rule-note { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--text-muted-on-light); line-height: 1.55; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(169,113,63,.08); border: 1px solid rgba(169,113,63,.2); }
.deposit-rule-note svg { width: 18px; height: 18px; flex: none; color: var(--caramel); margin-top: 1px; }

.date-warning { font-size: .8rem; color: #b3541e; background: rgba(179,84,30,.1); border: 1px solid rgba(179,84,30,.25); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 6px; line-height: 1.5; }
.date-warning[hidden] { display: none; }

.enquiry-clear { font-size: .8rem; color: var(--text-muted-on-light); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .enquiry-layout { grid-template-columns: 1fr; }
  .enquiry-summary { position: static; }
  .enquiry-item { grid-template-columns: 64px 1fr; }
  .enquiry-item-media { width: 64px; height: 64px; }
  .enquiry-item-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .enquiry-item { grid-template-columns: 1fr; }
  .enquiry-item-media { width: 100%; height: 140px; }
}

/* =================================================================
   HOMEPAGE — concise commercial info line (made to order / deposit / lead time)
   ================================================================= */
.commercial-note {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--text-muted-on-light);
  margin-top: 14px;
}
.commercial-note span { display: inline-flex; align-items: center; gap: 10px; }
.commercial-note span:not(:last-child)::after { content: "•"; margin-left: 10px; color: var(--caramel); }
