/* =========================================================
   SWAGAT PLY — DESIGN TOKENS
   Palette derived from the brief: white, black, dark charcoal,
   wood brown, gold, light grey, accent green.
   Signature: the laminate swatch — this business sells colour,
   so colour chips (not stock photography) drive the visual system.
   ========================================================= */
:root {
  /* ---- Colour tokens ---- */
  --c-white: #ffffff;
  --c-paper: #f3efe7;          /* light grey, warmed toward paper */
  --c-paper-dim: #e8e2d6;
  --c-charcoal: #100d0a;       /* deeper, richer near-black */
  --c-charcoal-soft: #1b1611;
  --c-charcoal-mute: #382f26;
  --c-wood: #6b4226;           /* deep espresso wood brown */
  --c-wood-light: #9c6a3a;
  --c-gold: #cf9f35;           /* rich gold */
  --c-gold-bright: #edc158;
  --c-green: #2f4a3a;          /* deep emerald, dark & rich */
  --c-green-bright: #4a7160;
  --c-burgundy: #6e1f2d;       /* deep oxblood red — new accent */
  --c-burgundy-bright: #9c3042;

  /* ---- Semantic (light mode default) ---- */
  --bg: var(--c-paper);
  --bg-alt: var(--c-white);
  --bg-inverse: var(--c-charcoal);
  --text: var(--c-charcoal);
  --text-soft: #5a5346;
  --text-inverse: var(--c-paper);
  --border: #ddd4c2;
  --border-soft: rgba(23, 20, 15, 0.08);
  --accent: var(--c-gold);
  --accent-2: var(--c-green);
  --accent-3: var(--c-burgundy);
  --surface: var(--c-white);
  --surface-glass: rgba(255, 255, 255, 0.6);
  --shadow-color: 23, 20, 15;

  /* ---- Type ---- */
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3rem);
  --step-4: clamp(2.8rem, 2.1rem + 3.5vw, 4.5rem);
  --step-5: clamp(3.4rem, 2.4rem + 5vw, 6rem);

  /* ---- Spacing scale ---- */
  --sp-1: 0.4rem;
  --sp-2: 0.8rem;
  --sp-3: 1.2rem;
  --sp-4: 2rem;
  --sp-5: 3.2rem;
  --sp-6: 5rem;
  --sp-7: 8rem;

  /* ---- Layout ---- */
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,.9,.24,1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;

  /* ---- Shadows ---- */
  --shadow-sm: 0 2px 10px rgba(var(--shadow-color), 0.06);
  --shadow-md: 0 12px 32px rgba(var(--shadow-color), 0.10);
  --shadow-lg: 0 24px 60px rgba(var(--shadow-color), 0.16);
  --shadow-gold: 0 10px 30px rgba(212, 165, 49, 0.35);

  --nav-h: 78px;
}

[data-theme="dark"] {
  --bg: var(--c-charcoal);
  --bg-alt: var(--c-charcoal-soft);
  --bg-inverse: var(--c-paper);
  --text: var(--c-paper);
  --text-soft: #b9b0a0;
  --text-inverse: var(--c-charcoal);
  --border: #3a352c;
  --border-soft: rgba(243, 239, 231, 0.08);
  --surface: var(--c-charcoal-soft);
  --surface-glass: rgba(23, 20, 15, 0.55);
  --shadow-color: 0, 0, 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   BASE / RESET / TYPOGRAPHY
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--sp-3); color: var(--text-soft); }

:focus-visible {
  outline: 2px solid var(--c-gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-4); }
.section { padding: var(--sp-7) 0; position: relative; }
.section-tight { padding: var(--sp-6) 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--c-gold);
}
.section-alt .eyebrow { color: var(--c-burgundy-bright); }
.section-alt .eyebrow::before { background: var(--c-burgundy-bright); }
[data-theme="dark"] .section-alt .eyebrow { color: var(--c-burgundy-bright); }

.section-head { max-width: 640px; margin-bottom: var(--sp-5); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: var(--step-1); }

.text-soft { color: var(--text-soft); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--c-charcoal); color: var(--c-paper);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-sm);
  z-index: 999; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-gold));
  color: var(--c-charcoal);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212,165,49,0.42); }
.btn-dark {
  background: var(--c-charcoal); color: var(--c-paper);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent; border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); }
.btn-ghost { background: transparent; color: var(--text); padding: 0.6em 1em; }
.btn-sm { padding: 0.6em 1.3em; font-size: var(--step--1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---- Glass / neumorphism helpers ---- */
.glass {
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-soft);
}
.neu {
  background: var(--surface);
  box-shadow: 8px 8px 20px rgba(var(--shadow-color),0.10), -8px -8px 20px rgba(255,255,255,0.5);
}
[data-theme="dark"] .neu { box-shadow: 8px 8px 20px rgba(0,0,0,0.5), -6px -6px 16px rgba(255,255,255,0.03); }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-6) 0; }
  h1 { font-size: var(--step-4); }
}

/* ---- Reveal-on-scroll utility (driven by IntersectionObserver in main.js) ---- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---- Loading screen ---- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  font-family: var(--font-display); color: var(--c-paper);
  font-size: 2.4rem; letter-spacing: 0.05em; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.loader-bar { width: 160px; height: 2px; background: rgba(243,239,231,0.15); overflow: hidden; border-radius: 2px; }
.loader-bar::after {
  content: ""; display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, var(--c-gold-bright), transparent);
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes loaderSlide { 0% { transform: translateX(-120%);} 100% { transform: translateX(360%);} }
/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), height var(--dur-med) var(--ease);
}
.navbar.is-scrolled {
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--border-soft), var(--shadow-sm);
  height: 66px;
}
.nav-inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.brand-mark {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
}
.brand-mark .glyph {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-wood));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-charcoal); font-family: var(--font-display); font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.brand-mark small { display: block; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.16em; color: var(--text-soft); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: var(--sp-4); }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  font-size: var(--step--1); font-weight: 600; padding: 0.5rem 0;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--c-gold); transition: width var(--dur-fast) var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-soft);
  transition: all var(--dur-fast) var(--ease);
}
.icon-btn:hover { border-color: var(--c-gold); color: var(--c-gold); transform: translateY(-2px); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-soft); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: all var(--dur-fast) var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 640px; max-width: 90vw;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: var(--sp-4); display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega a { display: flex; flex-direction: column; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); }
.mega a:hover { background: var(--bg); }
.mega a strong { font-size: var(--step--1); }
.mega a span { font-size: 0.78rem; color: var(--text-soft); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; justify-content: flex-start;
    padding: var(--sp-5) var(--sp-4); background: var(--bg); overflow-y: auto;
    transform: translateX(100%); transition: transform var(--dur-med) var(--ease);
    align-items: stretch; gap: 0;
  }
  .nav-links.is-open { transform: translateX(0);min-height:500px; margin-top-10px; }
  .nav-links > li { border-bottom: 1px solid var(--border-soft); }
  .nav-links a.nav-link { display: block; padding: 1rem 0; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; width: 100%; box-shadow: none; border: none; padding: 0 0 1rem; grid-template-columns: 1fr; display: none; }
  .has-mega.is-open .mega { display: grid; transform:none;}
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumbs {
  padding-top: calc(var(--nav-h) + var(--sp-3)); padding-bottom: var(--sp-2);
  font-size: var(--step--1); color: var(--text-soft);
}
.breadcrumbs a:hover { color: var(--c-gold); }
.breadcrumbs .sep { margin: 0 0.5em; opacity: 0.5; }

/* =========================================================
   FLOATING ACTION BUTTONS
   ========================================================= */
.fab-stack {
  position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: 400;
  display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-end;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease);
  position: relative;
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--c-charcoal); }
.fab-insta { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fab-top {
  width: 44px; height: 44px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-soft);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease);
}
.fab-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-pulse::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0.5;
  animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse { to { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-charcoal); color: var(--c-paper); padding-top: var(--sp-6);
}
.site-footer a:hover { color: var(--c-gold-bright); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-5);
  padding-bottom: var(--sp-5); border-bottom: 1px solid rgba(243,239,231,0.1);
}
.footer-grid h4 { color: var(--c-paper); font-size: var(--step-0); margin-bottom: var(--sp-3); }
.footer-grid p, .footer-grid li { color: #b9b0a0; font-size: var(--step--1); margin-bottom: 0.6rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: var(--sp-2); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(243,239,231,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: var(--sp-3) 0; font-size: 0.8rem; color: #8a8070;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   HERO — signature element is the interactive swatch strip:
   this business sells colour, so colour IS the hero visual.
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--c-charcoal); color: var(--c-paper);
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(212,165,49,0.24), transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(110,31,45,0.30), transparent 60%),
    linear-gradient(160deg, #17140f 0%, #221e17 55%, #17140f 100%);
}
.hero-bg .grain {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; width: 100%;
  padding: var(--sp-5) var(--sp-4) var(--sp-6);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-gold-bright); background: rgba(212,165,49,0.14); border: 1px solid rgba(212,165,49,0.4);
  padding: 0.5rem 1rem; border-radius: var(--radius-pill); margin-bottom: var(--sp-3);
}
.hero h1 {
  font-size: clamp(2.6rem, 2rem + 4.2vw, 5.6rem);
  max-width: 15ch;
  color: var(--c-paper);
}
.hero h1 em {
  font-style: normal; color: transparent;
  background: linear-gradient(100deg, var(--c-gold-bright), var(--c-wood-light) 60%, var(--c-gold-bright));
  -webkit-background-clip: text; background-clip: text;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero p.lede { max-width: 46ch; font-size: var(--step-1); color: #d6cfc0; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: var(--sp-4); }

.hero-stats {
  display: flex; gap: var(--sp-6); margin-top: var(--sp-6); flex-wrap: wrap;
}
.stat b {
  display: block; font-family: var(--font-display); font-size: var(--step-3); color: var(--c-gold-bright);
  line-height: 1;
}
.stat span { font-size: var(--step--1); color: #b9b0a0; }

/* --- Swatch strip: the signature interactive moment --- */
.swatch-strip {
  margin-top: var(--sp-6);
  display: flex; height: 190px; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.08);
}
.swatch {
  flex: 1; position: relative; cursor: pointer;
  transition: flex-grow var(--dur-med) var(--ease), filter var(--dur-fast) var(--ease);
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
}
.swatch:hover, .swatch.is-active { flex-grow: 4; }
.swatch-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.9rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  color: #fff; opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.swatch:hover .swatch-label, .swatch.is-active .swatch-label { opacity: 1; transform: translateY(0); }
.swatch-label strong { display: block; font-size: 0.92rem; }
.swatch-label span { font-size: 0.7rem; font-family: var(--font-mono); opacity: 0.8; }
.swatch-strip-caption {
  display: flex; justify-content: space-between; margin-top: 0.7rem;
  font-size: 0.78rem; color: #8a8070; font-family: var(--font-mono);
}

.hero-scroll-cue {
  position: absolute; bottom: var(--sp-3); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; letter-spacing: 0.14em; color: #8a8070; text-transform: uppercase;
}
.hero-scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(#8a8070, transparent); animation: cueMove 1.8s ease-in-out infinite; }
@keyframes cueMove { 0%,100% { transform: scaleY(0.4); opacity:0.4; } 50% { transform: scaleY(1); opacity:1; } }

@media (max-width: 640px) {
  .swatch-strip { height: 140px; }
  .hero-stats { gap: var(--sp-4); }
}

/* =========================================================
   INFINITE LOGO MARQUEE
   ========================================================= */
.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: var(--sp-7); width: max-content;
  animation: marqueeScroll 40s linear infinite;
  padding: var(--sp-3) 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 176px; width: auto; opacity: 0.8; filter: grayscale(1); transition: all var(--dur-fast); }
.marquee-track img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.08); }
@media (max-width: 640px) {
  .marquee-track img { height: 120px; }
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Client logo marquee (separate size control from brand marquee) ---- */
.client-marquee-track {
  display: flex; align-items: center; gap: var(--sp-6); width: max-content;
  animation: marqueeScroll 30s linear infinite;
  padding: var(--sp-3) 0;
}
.marquee:hover .client-marquee-track { animation-play-state: paused; }
.client-marquee-track img { height: 128px; width: auto; opacity: 0.8; filter: grayscale(1); transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), filter var(--dur-fast) var(--ease); }
.client-marquee-track img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.08); }
@media (max-width: 640px) {
  .client-marquee-track img { height: 84px; }
}

/* =========================================================
   BRAND / PRODUCT / COLOUR / GALLERY / PROJECT CARDS
   ========================================================= */
.brand-card { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.brand-card img.logo { height: 56px; width: auto; object-fit: contain; border-radius: var(--radius-sm); }
.brand-card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0; }
.tag {
  font-size: 0.7rem; font-family: var(--font-mono); padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--border-soft); color: var(--text-soft);
}
.brand-card details summary { cursor: pointer; font-weight: 600; color: var(--c-gold); font-size: var(--step--1); list-style: none; }
.brand-card details summary::-webkit-details-marker { display: none; }
.brand-card details[open] summary::after { content: " −"; }
.brand-card details summary::after { content: " +"; }
.brand-card .brand-gallery { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.brand-card .brand-gallery img { border-radius: var(--radius-sm); height: 70px; object-fit: cover; flex: 1; }

.colour-card { overflow: hidden; cursor: pointer; }
.colour-card .swatch-img { aspect-ratio: 1/1; width: 100%; object-fit: cover; }
.colour-card .info { padding: var(--sp-3); }
.colour-card .info h4 { margin-bottom: 0.2rem; font-size: var(--step-0); }
.colour-card .meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.colour-card .fav-btn {
  position: absolute; margin: 0.6rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center;
  color: var(--c-charcoal);
}
.colour-card { position: relative; }
.colour-card .fav-btn[aria-pressed="true"] { color: #d64545; }

.product-card { padding: var(--sp-3); }
.product-card img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 0.8rem; cursor: pointer; transition: transform var(--dur-fast) var(--ease); }
.product-card img:hover { transform: scale(1.02); }
.product-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem; gap: 0.5rem; flex-wrap: wrap; }
.compare-check { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--text-soft); }

.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; break-inside: avoid; margin-bottom: var(--sp-4); }
.gallery-item img { width: 100%; transition: transform var(--dur-slow) var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent 55%);
  display: flex; align-items: flex-end; padding: var(--sp-3); opacity: 0; transition: opacity var(--dur-fast) var(--ease);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: #fff; font-weight: 600; }
.masonry { columns: 4 220px; column-gap: var(--sp-4); }
@media (max-width: 900px) { .masonry { columns: 2 220px; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

.project-card { overflow: hidden; }
.project-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-card .info { padding: var(--sp-3); }

.testimonial-card { padding: var(--sp-4); }
.stars { color: var(--c-gold); letter-spacing: 0.1em; margin-bottom: 0.6rem; }

/* Why choose us icon tiles */
.feature-tile { padding: var(--sp-4); text-align: left; }
.feature-tile .ico {
  width: 52px; height: 52px; border-radius: var(--radius-sm); margin-bottom: var(--sp-2);
  background: linear-gradient(135deg, rgba(212,165,49,0.22), rgba(110,31,45,0.20));
  display: flex; align-items: center; justify-content: center; color: var(--c-gold);
}
/* =========================================================
   FILTER TOOLBAR (catalogue / products / gallery / brands)
   ========================================================= */
.toolbar {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center;
  padding: var(--sp-3); border-radius: var(--radius-md); background: var(--surface);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); margin-bottom: var(--sp-4);
  position: sticky; top: calc(var(--nav-h) + 12px); z-index: 50;
}
.search-box { position: relative; flex: 1 1 240px; }
.search-box input {
  width: 100%; padding: 0.8em 1em 0.8em 2.6em; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.search-box svg { position: absolute; left: 0.9em; top: 50%; transform: translateY(-50%); opacity: 0.5; }
.toolbar select {
  padding: 0.7em 1em; border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--bg); color: var(--text);
}
.view-toggle { display: flex; gap: 0.3rem; margin-left: auto; }
.view-toggle button {
  width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); display: flex; align-items: center; justify-content: center;
}
.view-toggle button[aria-pressed="true"] { background: var(--c-charcoal); color: var(--c-paper); border-color: var(--c-charcoal); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; width: 100%; }
.chip {
  padding: 0.45em 1em; border-radius: var(--radius-pill); border: 1px solid var(--border);
  font-size: 0.8rem; background: var(--bg); color: var(--text-soft);
  transition: all var(--dur-fast) var(--ease);
}
.chip[aria-pressed="true"] { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-charcoal); font-weight: 700; }

@media (max-width: 860px) {
  .toolbar {
    position: static; /* avoid sticky overlap on small screens */
    flex-direction: column; align-items: stretch;
  }
  .search-box { flex: 1 1 auto; width: 100%; }
  .toolbar select {
    width: 100%;
  }
  .toolbar > select,
  .toolbar > .search-box,
  .toolbar > [data-fav-toggle] {
    width: 100%;
  }
  .view-toggle { margin-left: 0; align-self: flex-end; }
}

.results-list.is-list { grid-template-columns: 1fr !important; }
.results-list.is-list .product-card, .results-list.is-list .colour-card { display: flex; gap: var(--sp-3); align-items: center; }
.results-list.is-list img { width: 140px; flex: none; aspect-ratio: 1; }

.empty-state { text-align: center; padding: var(--sp-6) var(--sp-3); color: var(--text-soft); }
.load-more-sentinel { height: 40px; }
.spinner {
  width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border);
  border-top-color: var(--c-gold); animation: spin 0.8s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   MODAL / LIGHTBOX
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 900; background: rgba(10,9,7,0.82);
  display: flex; align-items: center; justify-content: center; padding: var(--sp-4);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto; position: relative;
  transform: scale(0.94) translateY(10px); transition: transform var(--dur-med) var(--ease);
}
.modal-overlay.is-open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border-soft); z-index: 2;
}
.modal-box img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.modal-body { padding: var(--sp-4); }
.modal-body .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: var(--sp-3) 0; }
.modal-body .meta-grid div { font-size: 0.82rem; color: var(--text-soft); }
.modal-body .meta-grid b { display: block; color: var(--text); font-size: 0.95rem; }
.modal-swatch-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.6rem;
  max-height: 280px; overflow-y: auto; padding: 0.2rem;
}
.modal-swatch-item { cursor: pointer; text-align: center; }
.modal-swatch-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft); transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.modal-swatch-item:hover img { transform: scale(1.06); border-color: var(--c-gold); }
.modal-swatch-item span { display: block; font-size: 0.65rem; color: var(--text-soft); margin-top: 0.3rem; line-height: 1.2; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: var(--sp-3) 0;
  display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: var(--step-0); color: var(--text);
}
.faq-q .plus { transition: transform var(--dur-fast) var(--ease); color: var(--c-gold); font-size: 1.4rem; }
.faq-item[data-open="true"] .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease); }
.faq-a p { padding-bottom: var(--sp-3); }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); align-items: start; }
.form-field { margin-bottom: var(--sp-3); }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.9em 1em; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); transition: border-color var(--dur-fast) var(--ease);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--c-gold); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--text-soft); margin-top: -0.5rem; }
.form-success { display: none; padding: var(--sp-3); border-radius: var(--radius-sm); background: rgba(76,115,85,0.16); border: 1px solid var(--c-green); color: var(--c-green); margin-top: var(--sp-3); }
.form-success.is-visible { display: block; }
.info-card { padding: var(--sp-4); }
.info-row { display: flex; gap: 0.9rem; padding: var(--sp-2) 0; border-bottom: 1px solid var(--border-soft); }
.info-row .ico { color: var(--c-gold); flex: none; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; margin-top: var(--sp-4); border: 1px solid var(--border-soft); aspect-ratio: 16/9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; background: var(--bg); color: var(--text-soft); font-size: 0.85rem; text-align: center; padding: var(--sp-3); }

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

/* =========================================================
   COMPARISON DRAWER / WISHLIST DRAWER
   ========================================================= */
.drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: 380px; max-width: 92vw; z-index: 800;
  background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease); display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border-soft); }
.drawer-body { padding: var(--sp-3) var(--sp-4); overflow-y: auto; flex: 1; }
.drawer-item { display: flex; gap: 0.8rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--border-soft); }
.drawer-item img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.drawer-item .rm { margin-left: auto; color: var(--text-soft); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 799; opacity: 0; visibility: hidden; transition: opacity var(--dur-fast); }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer-trigger-badge {
  position: absolute; top: -6px; right: -6px; background: var(--c-gold); color: var(--c-charcoal);
  font-size: 0.65rem; font-weight: 800; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  background: linear-gradient(120deg, var(--c-charcoal) 0%, var(--c-charcoal-soft) 55%, #2a1216 100%);
  color: var(--c-paper); border-radius: var(--radius-lg); padding: var(--sp-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
}
.newsletter form { display: flex; gap: 0.6rem; flex: 1 1 340px; }
.newsletter input { flex: 1; padding: 0.9em 1.2em; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; }
@media (max-width:768px){
    .newsletter input { width:100%;min-width: 90px;}
}
/* =========================================================
   THEME TOGGLE SWITCH
   ========================================================= */
.theme-toggle { position: relative; }
.theme-toggle svg.sun { display: none; }
[data-theme="dark"] .theme-toggle svg.moon { display: none; }
[data-theme="dark"] .theme-toggle svg.sun { display: block; }

/* =========================================================
   RECENTLY VIEWED STRIP
   ========================================================= */
.recent-strip { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.5rem; }
.recent-strip img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-5)) 0 var(--sp-5);
  background: linear-gradient(160deg, var(--c-charcoal), var(--c-charcoal-soft));
  color: var(--c-paper); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 20%, rgba(212,165,49,0.2), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { color: #c9c0b0; max-width: 60ch; }

/* Cursor glow (desktop only, subtle) */
.cursor-glow {
  position: fixed; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(212,165,49,0.14), transparent 70%);
  transform: translate(-50%, -50%); transition: opacity 0.3s ease; opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.is-active { opacity: 1; } }
