/* ==========================================================================
   HUES PlyDecor — design system
   ========================================================================== */

:root {
  --ink: #1c1917;
  --ink-soft: #2b2521;
  --cream: #faf7f2;
  --cream-alt: linear-gradient(135deg, #f6f0e6 0%, #efe3d2 100%);
  --primary: #c14a26;
  --primary-dark: #9c3a1c;
  --primary-light: #e8734a;
  --line: #e6ddd0;
  --text: #29241f;
  --text-muted: #6b6058;
  --white: #ffffff;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-soft: 0 16px 40px -24px rgba(28, 25, 23, 0.3);
  --shadow-card: 0 8px 24px -16px rgba(28, 25, 23, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #fdfbf8 0%, #faf7f2 38%, #f2ebe0 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: 0; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
p { margin: 0; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 17px; margin-top: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, #7e2f16 100%); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn svg { width: 16px; height: 16px; }

/* ---------------------------------- Header --------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.35s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,0.4);
}
.brand img { height: 42px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand img { height: 36px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-alt, var(--ink));
  padding: 8px 0;
  position: relative;
}
.site-header:not(.scrolled) .nav-links a.nav-link,
.site-header:not(.scrolled) .brand-name,
.site-header:not(.scrolled) .header-phone { color: var(--white); }
.nav-links a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-links a.nav-link:hover::after,
.nav-links a.nav-link.active::after { width: 100%; }

.has-dropdown { display: flex; align-items: center; gap: 5px; }
.has-dropdown svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.nav-item-products:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item-products:hover .has-dropdown svg { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink) !important;
}
.dropdown a:hover { background: var(--cream-alt); color: var(--primary) !important; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.header-phone svg { width: 17px; height: 17px; color: var(--primary); }
.site-header:not(.scrolled) .header-phone svg { color: var(--primary-light); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: all 0.25s ease; }
.site-header:not(.scrolled) .menu-toggle span { background: var(--white); }

/* ---------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  /* left-to-right shade keeps the headline readable on bright photos; the vertical one darkens the bottom */
  background:
    linear-gradient(90deg, rgba(18,12,9,0.78) 0%, rgba(18,12,9,0.55) 45%, rgba(18,12,9,0.15) 100%),
    linear-gradient(180deg, rgba(24,17,13,0.4) 0%, rgba(22,16,13,0.35) 40%, rgba(20,11,7,0.93) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 88px;
  color: var(--white);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 26px;
}
.hero-tag::before { content: ""; width: 38px; height: 1.5px; background: var(--primary-light); }
.hero-content h1 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.1;
  max-width: 820px;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-content h1 em { color: var(--primary-light); font-style: normal; }
.hero-content p {
  color: rgba(255,255,255,0.86);
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.32);
  border: none;
  transition: background 0.3s ease;
}
.hero-dots button.active { background: var(--primary-light); }

.trust-strip {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.trust-item svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 14px; font-weight: 600; }
.trust-item span { display: block; font-size: 12.5px; color: var(--text-muted); }

/* ------------------------------- Products ---------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 14px 34px -20px rgba(20,17,15,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card.in-view { opacity: 1; transform: translateY(0); }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -20px rgba(20,17,15,0.5);
}
.product-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover img { transform: scale(1.07); }
.product-card::after {
  content: "";
  position: absolute; inset: 0;
  /* dark enough behind the whole text block, even where the card text runs tall on small screens */
  background: linear-gradient(180deg, rgba(15,13,11,0.1) 0%, rgba(12,10,9,0.55) 30%, rgba(10,9,8,0.88) 55%, rgba(10,9,8,0.97) 100%);
}
.product-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 30px 26px;
  color: var(--white);
}
.product-card-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb590;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  margin-bottom: 10px;
  display: block;
}
.product-card-body h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.product-card-body p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.65); margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: var(--white);
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  padding-bottom: 3px;
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.product-card:hover .card-link { border-color: var(--primary-light); gap: 12px; }
.card-link svg { width: 14px; height: 14px; }

/* ---- Subtle background glow (reusable, for light sections) ---- */
.bg-glow { position: relative; overflow: hidden; }
.bg-glow > .container { position: relative; z-index: 1; }
.bg-glow::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,74,38,0.06), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -140px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,74,38,0.04), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------- Why grid --------------------------------- */
.why-section { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 60px;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.why-card.in-view { opacity: 1; transform: translateY(0); }
.why-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 32px; height: 32px; color: var(--primary); }
.why-text { min-width: 0; }
.why-text h3 { color: var(--ink); margin-bottom: 8px; font-size: 16.5px; }
.why-text p { color: var(--text-muted); font-size: 14.5px; }

/* -------------------------------- Gallery ----------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item .tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(20,17,15,0.72);
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.gallery-item::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%); }

/* --------------------------------- Stats ------------------------------------ */
.stats-band {
  background: linear-gradient(180deg, #fbf7f1 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 56px 28px;
}
.stat { text-align: center; border-right: 1px solid var(--line); padding: 0 14px; }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: clamp(28px, 3.6vw, 38px); font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.stat span { font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-muted); text-transform: none; }

/* --------------------------------- About ------------------------------------ */
.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.about-media .badge {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--ink);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.about-media .badge strong { display: block; font-size: 26px; color: var(--primary-light); font-weight: 800; }
.about-media .badge span { font-size: 12.5px; color: rgba(255,255,255,0.7); }
.about-copy p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 18px; }
.about-list { margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.about-list svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.about-copy .btn { margin-top: 30px; }

/* ---------------------------------- CTA -------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #211c18 0%, #16120e 100%);
  border-radius: 10px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,115,74,0.12), transparent 72%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03), transparent 72%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-copy h2 { color: var(--white); margin-bottom: 14px; }
.cta-copy p { color: rgba(255,255,255,0.65); font-size: 16px; }
.enquiry-form {
  background: linear-gradient(160deg, #fdfbf8 0%, #f5efe3 100%);
  border-radius: var(--radius-sm);
  padding: 30px;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  color: var(--text);
}
.enquiry-form textarea { resize: vertical; min-height: 90px; }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus { outline: none; border-color: var(--primary); }
.enquiry-form button { width: 100%; justify-content: center; margin-top: 4px; }

/* --------------------------------- Footer ------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding-top: 90px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; max-width: 300px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--primary);
}
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { font-size: 14.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--primary-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact span.muted { display: block; font-size: 12.5px; color: rgba(255,255,255,0.42); margin-top: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 22px; }

/* ------------------------------ Reveal utility -------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ----------------------------------- Mobile ------------------------------------ */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .cta-band { grid-template-columns: 1fr; padding: 44px; }
  .about-section .container { grid-template-columns: 1fr; }
  .about-media .badge { right: 16px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links, .header-actions .header-phone, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item.tall { grid-row: span 2; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat { border-right: none; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 128px; padding-bottom: 48px; }
  .hero-tag { font-size: 11.5px; margin-bottom: 16px; }
  .hero-content h1 { font-size: 36px; margin-bottom: 16px; }
  .hero-content p { font-size: 15px; margin-bottom: 26px; }
  .hero-actions { gap: 12px; margin-bottom: 34px; }
  .cta-band { padding: 30px; border-radius: 8px; }
}

/* ----------------------------------- Mobile nav panel -------------------------- */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 200;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: grid; gap: 6px; }
.mobile-nav > ul > li > a,
.mobile-nav .mnav-toggle {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 22px; font-weight: 700; color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; text-align: left;
}
.mobile-nav .sub { display: none; padding-left: 16px; }
.mobile-nav .sub.open { display: grid; gap: 4px; padding-bottom: 10px; }
.mobile-nav .sub a { font-size: 15.5px; font-weight: 600; color: rgba(255,255,255,0.7); padding: 10px 0; }
.mobile-close {
  position: absolute; top: 26px; right: 28px;
  background: none; border: none; color: #fff;
}
.mobile-close svg { width: 26px; height: 26px; }
.mobile-nav-foot { margin-top: 30px; display: grid; gap: 14px; }

/* ================================================================
   INNER PAGES — page header, breadcrumb, product/about/contact bits
   ================================================================ */

.page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,10,0.5) 0%, rgba(16,10,7,0.93) 100%);
}
.page-header .container { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 44px; color: var(--white); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb svg { width: 13px; height: 13px; }
.page-header h1 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.12;
  max-width: 680px;
  text-shadow: 0 4px 26px rgba(0,0,0,0.3);
}
.page-header p { color: rgba(255,255,255,0.78); font-size: 17.5px; line-height: 1.6; max-width: 560px; margin-top: 16px; }

/* ---- Product detail blocks ---- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.product-block:last-child { border-bottom: none; }
.product-block.reverse .product-media { order: 2; }
.product-media img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; }
.product-copy .eyebrow { margin-bottom: 12px; }
.product-copy h2 { margin-bottom: 16px; }
.product-copy > p { color: var(--text-muted); font-size: 16px; margin-bottom: 22px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill-list span {
  font-size: 13px; font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--cream-alt);
  border: 1px solid var(--line);
  color: var(--ink);
}

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:first-child { border-top: 1px solid var(--line); }
.spec-table td { padding: 12px 4px; font-size: 14.5px; }
.spec-table td:first-child { color: var(--text-muted); font-weight: 600; width: 44%; }
.spec-table td:last-child { color: var(--ink); font-weight: 700; }

.swatch-sheet { margin-top: 26px; }
.swatch-sheet-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.swatch-sheet-frame img { width: 100%; display: block; }
.swatch-sheet-caption { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 13.5px; color: var(--text-muted); }
.swatch-sheet-caption strong { color: var(--ink); }

.swatch-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.swatch-tabs button {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.swatch-tabs button.active,
.swatch-tabs button:hover { border-color: var(--primary); color: var(--primary); background: var(--cream-alt); }
.swatch-panel { display: none; }
.swatch-panel.active { display: block; }

/* ---- About page ---- */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.mission-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mission-card .why-icon { margin-bottom: 18px; }
.mission-card .why-icon svg { color: var(--primary); }
.mission-card h3 { margin-bottom: 10px; }
.mission-card p { color: var(--text-muted); font-size: 15px; }

.panel-structure { display: flex; flex-direction: column; gap: 2px; max-width: 520px; margin: 0 auto; }
.panel-layer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
}
.panel-layer span.n { opacity: 0.6; font-weight: 600; font-size: 12.5px; }
.panel-layer:nth-child(1) { background: #3a352f; border-radius: 10px 10px 0 0; }
.panel-layer:nth-child(2) { background: var(--primary); }
.panel-layer:nth-child(3) { background: #55483d; }
.panel-layer:nth-child(4) { background: #2b2521; }
.panel-layer:nth-child(5) { background: #1c1917; border-radius: 0 0 10px 10px; }

.certs-row { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.cert-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 14px;
}
.cert-chip svg { width: 20px; height: 20px; color: var(--primary); }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.contact-info-list { display: grid; gap: 22px; margin-top: 30px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-box {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon-box svg { width: 26px; height: 26px; color: var(--primary); }
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 14.5px; }
.contact-info-item a:hover { color: var(--primary); }

.map-frame {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card > p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 24px; }
.contact-form-card .enquiry-form { padding: 0; background: transparent; }
.contact-form-card .enquiry-form input,
.contact-form-card .enquiry-form select,
.contact-form-card .enquiry-form textarea { background: var(--cream); }
.contact-form-card .enquiry-form button { margin-top: 8px; }

.hours-strip { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.hours-strip div strong { display: block; font-size: 14px; margin-bottom: 3px; }
.hours-strip div span { font-size: 13.5px; color: var(--text-muted); }

/* ---- Product detail pages: mini feature grid + related collections ---- */
.mini-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ---- Inner page responsive ---- */
@media (max-width: 1080px) {
  .product-block { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .product-block.reverse .product-media { order: 0; }
  .mission-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .mini-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .page-header { min-height: 40vh; }
  .page-header .container { padding-top: 120px; }
  .contact-form-card { padding: 24px; }
  .spec-table td { font-size: 13.5px; }
  .certs-row { gap: 10px; }
  .cert-chip { padding: 11px 16px; font-size: 12.5px; }
  .mini-features { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================
   GALLERY PAGE — filter tabs + lightbox
   ================================================================ */
.filter-tabs { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tabs button {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.filter-tabs button.active,
.filter-tabs button:hover { border-color: var(--primary); color: var(--primary); background: var(--cream-alt); }

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 16px;
}
.full-gallery-grid .gallery-item { cursor: pointer; }
.full-gallery-grid .gallery-item.hidden { display: none; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,13,11,0.92);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.8); font-size: 14px; }
.lightbox-close {
  position: absolute; top: 26px; right: 28px;
  background: none; border: none; color: #fff;
}
.lightbox-close svg { width: 28px; height: 28px; }

/* ================================================================
   VISUALIZER PAGE
   ================================================================ */
.visualizer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.visualizer-room {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 110px;
}
.visualizer-room img { width: 100%; display: block; }
/* Room photos: the chosen finish is laid over the outlined surface (clip-path), with the photo's own light and
   shadow put back on top so doors, gaps and highlights still read. */
.viz-scene { display: none; position: relative; }
.viz-scene.active { display: block; }
.tint-overlay, .viz-shade {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  clip-path: var(--viz-clip);
  pointer-events: none;
}
.viz-gloss {
  position: absolute; left: var(--gl, 0%); top: var(--gt, 0%); width: var(--gw, 100%); height: var(--gh, 100%);
  clip-path: var(--gloss-clip);
  pointer-events: none;
}
.tint-overlay { transition: background-color 0.3s ease; }
.viz-shade { mix-blend-mode: soft-light; opacity: 0.9; object-fit: fill; }
.viz-gloss {
  opacity: 0; transition: opacity 0.3s ease; mix-blend-mode: screen;
  /* two soft diagonal light streaks plus a bright top edge, like light reflecting off a glossy sheet */
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 14%, rgba(255,255,255,0.7) 27%, rgba(255,255,255,0.1) 33%, rgba(255,255,255,0) 42%),
    linear-gradient(115deg, rgba(255,255,255,0) 56%, rgba(255,255,255,0.5) 66%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0) 100%);
}
.viz-gloss.on { opacity: 1; }
.visualizer-room-label {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(15,13,11,0.75);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.visualizer-current {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
  background: var(--white);
}
.visualizer-current .swatch-dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; }
.visualizer-current strong { display: block; font-size: 14.5px; }
.visualizer-current span { font-size: 13px; color: var(--text-muted); }

.swatch-picker-panel { display: none; margin-bottom: 22px; }
.swatch-picker-panel.active { display: block; }

.swatch-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.swatch-picker-grid button {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.swatch-picker-grid button:hover { transform: translateY(-2px); }
.swatch-picker-grid button.active { border-color: var(--ink); }
.swatch-picker-grid button.active::after {
  content: "";
  position: absolute; inset: -6px;
  border: 1.5px solid var(--primary);
  border-radius: calc(var(--radius-sm) + 4px);
}
.swatch-picker-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}
.visualizer-note {
  display: flex; gap: 12px;
  margin-top: 30px;
  padding: 16px 18px;
  background: var(--cream-alt);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-muted);
}
.visualizer-note svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

@media (max-width: 1080px) {
  .visualizer-grid { grid-template-columns: 1fr; }
  .visualizer-room { position: static; }
  .full-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .swatch-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .full-gallery-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
}

/* ---- Disabled nav item (Visualizer — coming soon) ---- */
a.disabled {
  color: var(--text-muted) !important;
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.nav-link.disabled::after { display: none; }
.soon-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: 2px;
}
.site-header:not(.scrolled) .soon-badge { color: var(--white); background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.mobile-nav .soon-badge { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* ---- Catalogue card (real cover image, or a clearly-marked placeholder) ---- */
.catalogue-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 26px;
}
.catalogue-cover {
  width: 130px;
  aspect-ratio: 0.68;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.catalogue-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalogue-cover.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px dashed var(--line);
  box-shadow: none;
  padding: 14px;
  text-align: center;
}
.catalogue-cover.is-placeholder img { width: 38px; height: auto; opacity: 0.45; object-fit: contain; }
.catalogue-cover.is-placeholder span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}
.catalogue-card-body h3 { margin-bottom: 6px; }
.catalogue-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; max-width: 420px; }
.catalogue-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .catalogue-card { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .catalogue-cover { width: 96px; }
}

/* Visualizer: photographed samples (thumbnail swatches + photo laid over the cabinet) */
.tint-overlay { background-size: cover; background-position: center; background-repeat: no-repeat; }
.swatch-picker-grid button.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.visualizer-current .swatch-dot { background-size: cover; background-position: center; }

/* Product pages: photographed finishes as a grid of cards with their codes; tap to enlarge */
.finish-section { margin-top: 56px; }
.finish-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.finish-head h3 { font-size: 22px; }
.finish-head span { color: var(--text-muted); font-size: 13.5px; }
.finish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px 18px; }
.finish-card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: zoom-in; font-family: inherit; color: inherit; }
.finish-photo {
  display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream-alt);
  box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.finish-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.finish-card:hover .finish-photo { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.finish-card:hover .finish-photo img { transform: scale(1.04); }
.finish-card:focus-visible .finish-photo { outline: 2px solid var(--primary); outline-offset: 3px; }
.finish-code { display: block; margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--ink); }
.finish-note { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 560px) {
  .finish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .finish-section { margin-top: 40px; }
}

/* Product overview with no description to show: a compact landscape photo instead of a tall portrait one */
.product-block.is-sparse .product-media img { aspect-ratio: 4 / 3; max-height: 480px; object-fit: cover; }

/* ---- Legal pages (Privacy Policy, Terms) ---- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; overflow-wrap: anywhere; }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; }
.legal-content li { color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; overflow-wrap: anywhere; }
.form-consent { font-size: 12.5px; line-height: 1.5; margin: 2px 0 4px; color: inherit; opacity: 0.7; }
.form-consent a { text-decoration: underline; }

/* ---- Header on tablets and small laptops: collapse to the menu button before the links get cramped ---- */
.header-phone { white-space: nowrap; }
.nav-links a.nav-link { white-space: nowrap; }
@media (max-width: 1320px) {
  .nav-links { gap: 24px; }
  .header-actions { gap: 14px; }
}
@media (max-width: 1100px) {
  .nav-links, .header-actions .header-phone, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
}

/* The logo's lettering is black, so show it in white while the header sits over a dark photo */
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }

/* Portrait room photos: on wide screens keep the whole photo within the window height so it stays in view while the page scrolls */
@media (min-width: 1081px) {
  .visualizer-room { background: transparent; box-shadow: none; overflow: visible; }
  .viz-scene { max-width: calc((100vh - 150px) * 0.8); min-width: 340px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
}

/* Tablets: keep the portrait room photo a sensible size when the page is a single column */
@media (max-width: 1080px) {
  .viz-scene { max-width: 560px; margin: 0 auto; }
}
