/* ==========================================================================
   ARVELLO — LUXURY CONCEPT v2 (matches client-supplied reference mockups)
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --ivory: #F7F5F2;
  --limestone: #EFEBE4;
  --beige: #D9CDBD;
  --black: #15130F;
  --text: #1A1917;
  --text-secondary: #6E6B64;
  --text-faint: #9B968C;
  --border: #E7E2D9;
  --border-strong: #D8D1C3;
  --gold: #CBAE82;
  --gold-deep: #B5955F;
  --gold-bright: #D9BC82;

  --font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-sans: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 116px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 14px rgba(21, 19, 15, 0.06);
  --shadow: 0 16px 44px -12px rgba(21, 19, 15, 0.16);
  --shadow-lg: 0 30px 70px -18px rgba(21, 19, 15, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

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

/* Grid items default to a content-based minimum width, which can force a
   `1fr` track wider than its container at very narrow viewports. Reset grid
   children to shrink freely; explicit min-widths (e.g. .search-field) still
   win via specificity. */
.product-grid > *, .related-grid > *, .projects-grid > *, .projects-grid-flat > *,
.category-strip > *, .process-row > *, .stats-row > *, .testimonial-grid > *,
.icon-row > *, .feature-icon-row > *, .bento-row > *, .cat-picker-grid > *, .sale-grid > * {
  min-width: 0;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--text);
}

em { font-style: italic; font-family: var(--font-display); font-weight: 300; }
p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.eyebrow-strong { font-size: 25px; font-weight: 700; color: var(--text); }
.eyebrow-xl { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: 0.1em; font-weight: 700; color: var(--text); }

.preview-badge {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 300;
  background: rgba(10,9,8,0.82);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  pointer-events: none;
  opacity: 0.92;
}

@media (max-width: 720px) {
  .preview-badge { bottom: 8px; left: 8px; font-size: 0.58rem; padding: 4px 9px; opacity: 0.8; }
}

/* ==========================================================================
   Buttons — rounded pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--black); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--black); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--black); }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-sm { padding: 10px 18px; font-size: 0.8rem; }
.btn-block { width: 100%; }

.icon-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.icon-btn svg { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--black); gap: 12px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: var(--black);
  flex-shrink: 0;
}
.brand img { height: 40px; width: auto; flex-shrink: 0; }

.main-nav { position: relative; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--black); border-color: var(--black); }
.main-nav a svg { width: 11px; height: 11px; transition: transform 0.25s ease; }

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 580px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0s;
}
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
.nav-dropdown-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 400; color: var(--text);
  transition: background 0.2s ease;
}
.nav-dropdown-link:hover { background: var(--ivory); }
.nav-dropdown-link .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.nav-dropdown-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--black); transition: transform 0.3s ease, opacity 0.3s ease; }

/* ==========================================================================
   Mobile nav
   ========================================================================== */

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ivory);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; padding: 14px 4px; border-bottom: 1px solid var(--border);
}
.mobile-nav a[aria-current="page"] { color: var(--gold-deep); }
.mobile-subnav { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px 14px 16px; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
.mobile-subnav a { font-family: var(--font-sans); font-size: 0.92rem; font-weight: 400; padding: 9px 0; border-bottom: none; color: var(--text-secondary); }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text-secondary); flex-wrap: wrap; }
.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb .sep { color: var(--text-faint); }
.breadcrumb .current { color: var(--black); font-weight: 500; }

/* ==========================================================================
   Hero carousel (shared: Home / About / Products banners)
   ========================================================================== */

.hero { position: relative; margin-top: var(--header-h); background: var(--black); }
.hero-slides { position: relative; height: 94vh; min-height: 600px; overflow: hidden; }
.hero-slides.is-banner { height: 56vh; min-height: 400px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 50% 100%, rgba(10,9,8,0.05) 0%, rgba(10,9,8,0.5) 72%, rgba(10,9,8,0.76) 100%),
    linear-gradient(0deg, rgba(10,9,8,0.72) 0%, rgba(10,9,8,0.18) 46%, rgba(10,9,8,0.04) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
  background-size: 180px 180px;
}

.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(56px, 8vw, 92px);
  color: var(--white);
}
.hero-content .eyebrow { color: rgba(255,255,255,0.9); letter-spacing: 0.22em; }
.hero-content h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  max-width: 16ch;
  margin-block: 12px 20px;
  line-height: 1.1;
}
.hero-content h1 em { font-weight: 300; }
.hero-content p.lede { font-size: 1.08rem; color: rgba(255,255,255,0.86); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: clamp(10px, 2vw, 14px); flex-wrap: wrap; }
.hero-actions .btn { padding: clamp(12px, 2.4vw, 14px) clamp(20px, 4vw, 26px); font-size: clamp(0.84rem, 1.8vw, 0.9rem); }

.banner-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding-bottom: clamp(32px, 5vw, 56px);
  color: var(--white);
}
.banner-content h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 300; color: var(--white); }

.hero-mute {
  position: absolute; top: clamp(20px, 3vw, 32px); right: var(--gutter); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,9,8,0.35); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.hero-mute:hover { border-color: var(--gold-bright); background: rgba(10,9,8,0.55); }
.hero-mute svg { width: 18px; height: 18px; }
.hero-mute.is-hidden { display: none; }

.scroll-indicator {
  position: absolute; right: var(--gutter); bottom: clamp(32px, 5vw, 48px); z-index: 3;
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-indicator .mouse {
  width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.7);
  position: relative;
}
.scroll-indicator .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px;
  background: var(--white); border-radius: 2px; transform: translateX(-50%);
  animation: mousescroll 1.8s var(--ease) infinite;
}
@keyframes mousescroll { 0% { opacity: 1; transform: translate(-50%, 0); } 70% { opacity: 0; transform: translate(-50%, 10px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-indicator .mouse::after { animation: none; } }

.hero-nav-controls {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 16px;
}
.hero-nav-controls.corner-br { right: var(--gutter); bottom: clamp(32px, 5vw, 48px); }
.hero-counter { color: var(--white); font-size: 0.86rem; letter-spacing: 0.04em; min-width: 52px; text-align: center; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.12); border-color: var(--gold-bright); }
.hero-arrow svg { width: 16px; height: 16px; }

.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,0.18); z-index: 3; }
.hero-progress-fill { height: 100%; width: 0%; background: var(--gold-bright); }
.hero-progress-fill.is-animating { animation: herofill 7s linear forwards; }
@keyframes herofill { from { width: 0%; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-progress-fill.is-animating { animation: none; } }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: clamp(64px, 8vw, 110px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .eyebrow { color: rgba(255,255,255,0.65); }
.section-dark h2 { color: var(--white); }

.section-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; }
.section-head p.lede { color: var(--text-secondary); font-size: 1rem; max-width: 50ch; margin-top: 14px; }

/* ==========================================================================
   About split (image + text)
   ========================================================================== */

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4.3; box-shadow: var(--shadow-sm); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 300; margin-block: 14px 18px; }
.split-text p.lede { color: var(--text-secondary); font-size: 1.02rem; margin-bottom: 26px; max-width: 50ch; }
.split-divider { width: 36px; height: 1px; background: var(--border-strong); margin-block: 20px; }

/* ==========================================================================
   Category strip (homepage "Explore Our Selection")
   ========================================================================== */

.category-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.cat-strip-item { text-align: center; }
.cat-strip-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.cat-strip-item:hover .cat-strip-media { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-strip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-strip-item:hover .cat-strip-media img { transform: scale(1.08); }
.cat-strip-label { font-size: 0.82rem; color: var(--text); }

/* ==========================================================================
   Projects grid (flat, 3-up)
   ========================================================================== */

.projects-grid-flat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card-flat { display: block; }
.project-card-flat .pcf-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.project-card-flat .pcf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card-flat:hover .pcf-media img { transform: scale(1.05); }

/* ==========================================================================
   Texture detail slider (dark, full width)
   ========================================================================== */

.texture-slider { position: relative; height: 62vh; min-height: 420px; overflow: hidden; }
.texture-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.texture-slide.is-active { opacity: 1; }
.texture-slide img { width: 100%; height: 100%; object-fit: cover; }
.texture-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,0.75) 0%, rgba(10,9,8,0.1) 55%, rgba(10,9,8,0.35) 100%); }
.texture-content { position: absolute; left: 0; bottom: 0; z-index: 2; padding: clamp(32px, 5vw, 56px) var(--gutter); color: var(--white); }
.texture-content .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.texture-content h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: var(--white); margin-bottom: 16px; }

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-row::before {
  content: ""; position: absolute; top: 34px; left: calc(12.5% + 34px); right: calc(12.5% + 34px);
  height: 1px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 14px);
}
.process-step { text-align: center; position: relative; }
.process-icon {
  width: 68px; height: 68px; border-radius: 50%; background: var(--ivory);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  position: relative; z-index: 2;
}
.process-icon svg { width: 26px; height: 26px; color: var(--text); }
.process-step h3 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); }

/* ==========================================================================
   Stats band (animated count-up)
   ========================================================================== */

.stats-band { padding-block: clamp(56px, 7vw, 88px); background: var(--black); color: var(--white); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: ""; position: absolute; top: 10%; right: -16px; bottom: 10%; width: 1px; background: rgba(255,255,255,0.14);
}
.stat-count { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold-bright); line-height: 1; }
.stat-item-label { margin-top: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.72); }

/* ==========================================================================
   Tilt cards (category strip) — fine-pointer only, JS-driven
   ========================================================================== */

.tilt-card .cat-strip-media { transition: transform 0.2s ease-out, box-shadow 0.3s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ==========================================================================
   Magnetic buttons — JS-driven transform on mousemove
   ========================================================================== */

.btn-magnetic { will-change: transform; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 6px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.testimonial-media { aspect-ratio: 4/3; overflow: hidden; }
.testimonial-media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body { background: var(--white); padding: 22px; border: 1px solid var(--border); border-top: none; }
.testimonial-quote { font-size: 0.94rem; color: var(--text); margin-bottom: 18px; min-height: 4.4em; }
.testimonial-quote::before { content: "\201C"; color: var(--gold-deep); font-size: 1.3rem; margin-right: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--gold-deep); flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; font-weight: 500; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-faint); }

/* ==========================================================================
   Final CTA (dark, slat pattern + A mark)
   ========================================================================== */

.final-cta { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.final-cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; min-height: clamp(300px, 34vw, 400px); gap: clamp(20px, 4vw, 32px) clamp(24px, 4vw, 56px); max-width: var(--container); margin-inline: auto; }
.final-cta-text { padding: clamp(28px, 5vw, 48px) var(--gutter); }
.final-cta-text h2 { font-size: clamp(1.5rem, 3.2vw, 2.6rem); font-weight: 300; color: var(--white); max-width: 20ch; line-height: 1.3; }
.final-cta-text p.lede { color: rgba(255,255,255,0.75); margin-top: 14px; margin-bottom: 28px; max-width: 42ch; font-size: clamp(0.9rem, 1.4vw, 1rem); }
.final-cta-actions { display: flex; gap: clamp(10px, 2vw, 16px); flex-wrap: wrap; margin-top: clamp(20px, 3vw, 36px); }
.final-cta-visual { position: relative; height: 100%; min-height: clamp(260px, 30vw, 400px); }
.final-cta-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.final-cta-mark {
  position: absolute; top: 50%; right: clamp(16px, 4vw, 48px); transform: translateY(-50%);
  width: 86px; height: 86px; border: 2px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--white);
  z-index: 3;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--black); color: rgba(255,255,255,0.72); padding-block: 40px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-row .brand { color: var(--white); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, border-color 0.2s ease; }
.footer-social a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.footer-social svg { width: 15px; height: 15px; }
.footer-mark {
  width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--white);
}
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--white); }

/* ==========================================================================
   Page banner hero (About / Products / Contact use .hero with is-banner)
   ========================================================================== */

.page-intro { padding-block: clamp(48px, 7vw, 80px); }

/* ==========================================================================
   Stat split (About: "200+ Products")
   ========================================================================== */

.stat-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.stat-split-text { background: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.stat-number { font-family: var(--font-display); font-weight: 300; font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--text); }
.stat-label { font-size: 1.6rem; font-weight: 300; font-family: var(--font-display); margin-bottom: 18px; }
.stat-split-text p { color: var(--text-secondary); max-width: 44ch; }
.stat-split-media { overflow: hidden; }
.stat-split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* ==========================================================================
   Icon feature row (About "Who we work with" / Product feature icons)
   ========================================================================== */

.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.icon-row-item .icon-row-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.icon-row-icon svg { width: 30px; height: 30px; color: var(--text); }
.icon-row-item h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 8px; }
.icon-row-item p { font-size: 0.88rem; color: var(--text-secondary); }

.feature-icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; padding-block: 36px; border-block: 1px solid var(--border); }
.feature-icon-item { text-align: center; }
.feature-icon-item svg { width: 30px; height: 30px; color: var(--text); margin-bottom: 10px; }
.feature-icon-item p { font-size: 0.82rem; color: var(--text-secondary); }

/* ==========================================================================
   Products catalogue — sidebar layout
   ========================================================================== */

.catalogue-layout { display: none; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.catalogue-layout.is-revealed { display: grid; }
.cat-picker.is-dismissed { display: none; }

.cat-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.cat-sidebar-title { font-size: 1.3rem; font-weight: 300; font-family: var(--font-display); margin-bottom: 22px; }

.cat-nav-list { display: flex; flex-direction: column; }
.cat-nav-item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 10px;
  margin-inline: -10px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.cat-nav-item:hover { background: var(--ivory); }
.cat-nav-thumb {
  width: 46px; height: 46px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.cat-nav-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.cat-nav-item:hover .cat-nav-thumb img { transform: scale(1.12); }
.cat-nav-name { flex: 1; font-size: 0.92rem; color: var(--text); transition: color 0.2s ease; }
.cat-nav-count { font-size: 0.76rem; color: var(--text-faint); }
.cat-nav-item.is-active { background: var(--ivory); padding-left: 18px; }
.cat-nav-item.is-active .cat-nav-name { color: var(--gold-deep); font-weight: 600; }
.cat-nav-item.is-active::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
  background: var(--gold); border-radius: var(--radius-pill);
}

.catalogue-toolbar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.search-field { position: relative; flex: 1; min-width: 220px; }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-faint); }
.search-field input {
  width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 0.9rem; background: var(--ivory);
}
.search-field input:focus { outline: none; border-color: var(--gold-deep); }

.toolbar-select {
  padding: 11px 32px 11px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 0.86rem; font-weight: 500; background: var(--white)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236E6B64" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 12px center / 14px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.toolbar-select:focus { outline: none; border-color: var(--gold-deep); }

.view-toggle { display: flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--white); border-right: 1px solid var(--border-strong); }
.view-toggle button:last-child { border-right: none; }
.view-toggle button.is-active { background: var(--ivory); }
.view-toggle svg { width: 17px; height: 17px; color: var(--text-secondary); }

.filter-toggle-btn { display: none; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: 0.86rem; font-weight: 500; }
.filter-toggle-btn svg { width: 15px; height: 15px; }

.toolbar-results { font-size: 0.84rem; color: var(--text-secondary); white-space: nowrap; }
.toolbar-results strong { color: var(--text); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.pgcard { position: relative; }
.pgcard.is-hidden { display: none; }
.pgcard-media {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1/1; background: var(--ivory); margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.pgcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pgcard:hover .pgcard-media { transform: translateY(-6px); box-shadow: var(--shadow); }
.pgcard:hover .pgcard-media img { transform: scale(1.06); }
.pgcard-new { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: var(--black); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); }
.pgcard-quickview {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.pgcard:hover .pgcard-quickview { opacity: 1; transform: translateY(0); }
.pgcard-quickview:hover { background: var(--black); color: var(--white); }
.pgcard-quickview svg { width: 16px; height: 16px; }
.pgcard-body { display: block; }
.pgcard-cat-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 6px;
}
.pgcard-info-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pgcard-info-row > span:first-child { min-width: 0; }
.pgcard-name, .pgcard-sub { overflow-wrap: break-word; }
.pgcard-name { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; transition: color 0.2s ease; }
.pgcard:hover .pgcard-name { color: var(--gold-deep); }
.pgcard-sub { display: block; font-size: 0.84rem; color: var(--text-secondary); margin-top: 3px; }
.pgcard-price { display: block; font-size: 0.84rem; font-weight: 600; color: var(--gold-deep); margin-top: 6px; }
.pgcard-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease); }
.pgcard-arrow svg { width: 14px; height: 14px; }
.pgcard:hover .pgcard-arrow { background: var(--black); color: var(--white); border-color: var(--black); transform: rotate(45deg); }

.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-list .pgcard { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; }
.product-grid.is-list .pgcard-media { aspect-ratio: 1/1; margin-bottom: 0; }

.empty-state { grid-column: 1 / -1; text-align: center; padding-block: 64px; color: var(--text-secondary); }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 400; }

/* ==========================================================================
   Filter drawer (mobile)
   ========================================================================== */

.filter-drawer { position: fixed; inset: 0; z-index: 150; background: rgba(10,9,8,0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.filter-drawer.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.filter-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: var(--white); padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform 0.35s var(--ease); }
.filter-drawer.is-open .filter-drawer-panel { transform: translateX(0); }
.filter-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.filter-drawer-head h3 { font-size: 1.2rem; font-weight: 400; }
.filter-drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; }
.filter-drawer-close svg { width: 15px; height: 15px; }
.filter-group { margin-bottom: 26px; }
.filter-group-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 12px; }
.filter-drawer-actions { display: flex; gap: 10px; margin-top: 12px; }

/* ==========================================================================
   Quick-view modal
   ========================================================================== */

.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(10,9,8,0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.modal-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.quickview-dialog {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.98);
  width: min(920px, 92vw); max-height: 88vh; background: var(--white); border-radius: var(--radius-lg);
  z-index: 210; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  opacity: 0; visibility: hidden; box-shadow: var(--shadow-lg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.quickview-dialog.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0s; }
.qv-media { position: relative; background: var(--ivory); min-height: 0; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumbs { position: absolute; left: 16px; bottom: 16px; z-index: 4; display: flex; gap: 8px; }
.qv-thumb {
  width: 48px; height: 48px; border-radius: var(--radius-sm); overflow: hidden; padding: 0;
  border: 2px solid rgba(255,255,255,0.75); box-shadow: var(--shadow-sm); opacity: 0.8;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-thumb:hover { opacity: 1; }
.qv-thumb.is-active { opacity: 1; border-color: var(--gold); }
.qv-body { padding: 34px; overflow-y: auto; min-height: 0; max-height: 88vh; }
.qv-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; }
.qv-close svg { width: 15px; height: 15px; }
.qv-body h3 { font-size: 1.5rem; margin: 6px 0; font-weight: 400; }
.qv-body .qv-sub { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 18px; }
.qv-body .qv-desc { font-size: 0.94rem; color: var(--text-secondary); margin-bottom: 22px; }
.qv-price { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 20px; }
.qv-price span { font-size: 0.82rem; color: var(--text-secondary); font-family: var(--font-sans); }
.qv-finishes { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.qv-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Color swatches (shared)
   ========================================================================== */

.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch-btn { width: 38px; height: 38px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer; transition: box-shadow 0.2s ease, transform 0.2s ease; flex-shrink: 0; }
.swatch-btn:hover { transform: translateY(-2px); }
.swatch-btn.is-active { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black); }

/* ==========================================================================
   Product detail page
   ========================================================================== */

.pd-main { margin-top: var(--header-h); }
.pd-top-bar { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; flex-wrap: wrap; gap: 12px; }
.pd-prevnext { display: flex; gap: 20px; font-size: 0.86rem; }
.pd-prevnext a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); transition: color 0.2s ease; }
.pd-prevnext a:hover { color: var(--text); }
.pd-prevnext svg { width: 13px; height: 13px; }

.pd-grid { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 24px; padding-block: clamp(16px, 3vw, 32px); }
.pd-thumbs-col { display: flex; flex-direction: column; gap: 12px; }
.pd-thumb { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; border: 2px solid transparent; opacity: 0.7; transition: opacity 0.2s ease, border-color 0.2s ease; }
.pd-thumb.is-active { opacity: 1; border-color: var(--gold-deep); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; background: var(--ivory); }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

.pd-info .pgcard-cat, .pd-info .eyebrow { margin-bottom: 10px; display: block; }
.pd-info h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 300; margin-bottom: 10px; }
.pd-ref { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 20px; }
.pd-desc { font-size: 1rem; color: var(--text-secondary); margin-bottom: 28px; max-width: 54ch; }

.pd-section-label { font-size: 1rem; font-weight: 500; margin-bottom: 14px; display: block; }
.pd-finishes { margin-bottom: 8px; }
.pd-finish-name { font-size: 0.9rem; color: var(--text-secondary); margin-top: 10px; }

.pd-feature-strip { margin-top: 40px; }

.pd-lower-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); padding-block: clamp(40px, 6vw, 64px); align-items: center; }
.pd-construction h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: 16px; }
.pd-construction p { color: var(--text-secondary); font-size: 0.96rem; }
.pd-construction-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.pd-construction-media img { width: 100%; height: 100%; object-fit: cover; }

.pd-dims-price dl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.pd-dims-price dl > div { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.pd-dims-price dt { color: var(--text-secondary); }
.pd-dims-price dd { margin: 0; font-weight: 500; }
.pd-price-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.pd-price-label { font-size: 0.86rem; color: var(--text-secondary); margin-bottom: 6px; }
.pd-price-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; }
.pd-price-value span { font-size: 0.95rem; color: var(--text-secondary); font-family: var(--font-sans); }
.pd-price-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 8px; }

.pd-note { font-size: 0.82rem; color: var(--text-faint); background: var(--ivory); border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 20px; }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.pd-applications { display: flex; gap: 8px; flex-wrap: wrap; }
.app-chip { display: inline-flex; align-items: center; padding: 9px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: 0.86rem; color: var(--text-secondary); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
a.app-chip:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); }
.field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.94rem; background: var(--white); color: var(--text);
}
.field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236E6B64" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; appearance: none; -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); }
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B5543E; }
.field-error { font-size: 0.78rem; color: #B5543E; margin-top: 6px; min-height: 1em; }
.field-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-consent { display: flex; align-items: flex-start; gap: 10px; }
.field-consent input { width: auto; margin-top: 3px; }
.field-consent label { font-size: 0.84rem; color: var(--text-secondary); font-weight: 400; margin-bottom: 0; }

.form-msg { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; font-size: 0.86rem; margin-bottom: 18px; border-radius: var(--radius-sm); }
.form-msg.is-visible { display: flex; }
.form-msg svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.form-msg-success { background: var(--ivory); border: 1px solid var(--border-strong); }
.form-msg-error { background: #FBEFEC; border: 1px solid #E3B8AC; color: #8A3A28; }

.prefill-note { display: none; align-items: center; gap: 10px; background: var(--ivory); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.86rem; margin-bottom: 22px; }
.prefill-note.is-visible { display: flex; }
.prefill-note svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--text-secondary); }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.contact-info-row { display: flex; gap: 16px; }
.contact-info-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--ivory); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 19px; height: 19px; color: var(--text); }
.contact-info-row h3 { font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { font-size: 0.92rem; color: var(--text-secondary); display: block; }
.contact-info-row a:hover { color: var(--text); }

.hours-table { padding-top: 20px; border-top: 1px solid var(--border); }
.hours-table .eyebrow { margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding-block: 6px; }
.hours-row dt { color: var(--text-secondary); }

.map-section { height: 52vh; min-height: 380px; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ==========================================================================
   Reveal
   ========================================================================== */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Lightbox (full screen)
   ========================================================================== */

.lightbox { position: fixed; inset: 0; z-index: 260; background: rgba(10,9,8,0.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; }
.lightbox-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.8); font-size: 0.86rem; }

/* ==========================================================================
   Gallery page
   ========================================================================== */

.gallery-grid { columns: 4 240px; column-gap: 20px; }
.gallery-item { break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.project-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.project-filter-btn { padding: 10px 20px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); font-size: 0.86rem; font-weight: 500; color: var(--text-secondary); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.project-filter-btn.is-active, .project-filter-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ==========================================================================
   Project cards used on projects.html / project.html
   ========================================================================== */

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { display: block; }
.project-card.is-hidden { display: none; }
.project-card-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 16px; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.05); }
.project-demo-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,0.92); color: var(--black); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); }
.project-card-type { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.project-card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 6px; }
.project-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ==========================================================================
   Projects — bento application gallery
   ========================================================================== */

.hero-nav-controls.inline { position: static; margin-top: clamp(20px, 3vw, 28px); }

.projects-bento { display: flex; flex-direction: column; gap: 20px; }
.bento-row { display: grid; gap: 20px; }
.bento-row--split { grid-template-columns: 2fr 1fr 1fr; height: clamp(260px, 28vw, 340px); }
.bento-row--even { grid-template-columns: 1fr 1fr 1fr; height: clamp(220px, 22vw, 280px); }
.bento-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; height: 100%; }
.bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento-card:hover img { transform: scale(1.05); }
.bento-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,9,8,0.68) 0%, rgba(10,9,8,0) 48%);
}
.bento-card-body { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.bento-card-body h3 { color: var(--white); font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.bento-card-tag { color: rgba(255,255,255,0.78); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.bento-card .pgcard-arrow { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.45); color: var(--white); }
.bento-card:hover .pgcard-arrow { background: var(--white); color: var(--black); border-color: var(--white); }

/* ==========================================================================
   Products — category picker (landing choice)
   ========================================================================== */

.cat-list { margin-top: 36px; border-top: 1px solid var(--border); }
.cat-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.cat-list-row:hover { background: var(--ivory); padding-left: 20px; }
.cat-list-name-wrap { display: flex; align-items: baseline; gap: 14px; }
.cat-list-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--text); }
.cat-list-note { font-size: 0.78rem; color: var(--text-faint); font-style: italic; }
.cat-list-preview { display: flex; gap: 8px; opacity: 0; transform: translateX(14px); transition: opacity 0.3s ease, transform 0.3s ease; flex-shrink: 0; }
.cat-list-row:hover .cat-list-preview { opacity: 1; transform: translateX(0); }
.cat-list-preview img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }

/* ==========================================================================
   Sale landing page
   ========================================================================== */

.sale-header .container { justify-content: space-between; }
.sale-hero { display: none; }
#offers { margin-top: var(--header-h); }
.sale-hero .hero-content { max-width: 720px; }
.sale-hero .eyebrow { background: var(--gold); color: var(--black); padding: 6px 14px; border-radius: var(--radius-pill); }

.sale-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 22px; }
.sale-card { position: relative; display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.sale-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sale-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ivory); }
.sale-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sale-card:hover .sale-card-media img { transform: scale(1.06); }
.sale-badge { display: none; }
.sale-card-body { padding: 16px 18px 20px; }
.sale-card-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.sale-card-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; margin-bottom: 2px; }
.sale-card-ref { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 12px; }
.sale-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sale-price-old { font-size: 0.92rem; color: var(--text-faint); text-decoration: line-through; }
.sale-price-new { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--gold-deep); }

.sale-strip { display: none; background: var(--black); color: var(--white); padding-block: 14px; overflow: hidden; }
.sale-strip-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: sale-marquee 22s linear infinite; }
.sale-strip-track span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-bright); }
@keyframes sale-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sale-strip-track { animation: none; } }

.sale-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sale-form-note { color: var(--text-secondary); margin-top: 12px; margin-bottom: 28px; max-width: 46ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .catalogue-layout { grid-template-columns: minmax(0, 1fr); }
  .cat-sidebar { display: none; }
  .product-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
  .category-strip { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .icon-row, .feature-icon-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .process-row { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process-row::before { display: none; }
  .split-grid, .stat-split, .final-cta-grid, .contact-form-grid, .pd-lower-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 90px 1fr; }
  .pd-info { grid-column: 1 / -1; }
  .projects-grid-flat { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3 220px; }
  .bento-row--split, .bento-row--even { grid-template-columns: 1fr 1fr; height: auto; }
  .bento-card { aspect-ratio: 4/3; }
  .sale-grid { grid-template-columns: repeat(3, 1fr); }
  .sale-form-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-outline, .header-actions .icon-btn { display: none; }
  .nav-toggle { display: flex; }
  .projects-grid, .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-actions .btn-gold.btn-sm { display: none; }
  .header-actions { gap: 10px; }
  .sale-header .header-actions .btn-gold.btn-sm { display: inline-flex; }
}

@media (max-width: 560px) {
  .bento-row--split, .bento-row--even { grid-template-columns: 1fr; }
  .sale-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .sale-card-body { padding: 12px 14px 16px; }
  .sale-price-new { font-size: 1.1rem; }
}

@media (max-width: 720px) {
  .cat-list-preview { display: none; }
  .cat-list-row:hover { padding-left: 4px; }
  .cat-list-name { font-size: 1.3rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 96px; }
  .brand img { height: 40px; }
  .hero-slides { height: 78vh; }
  .hero-slides.is-banner { height: 46vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .scroll-indicator { bottom: 18px; }
  .product-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .category-strip { grid-template-columns: repeat(3, 1fr); }
  .icon-row, .feature-icon-row { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quickview-dialog { grid-template-columns: 1fr; }
  .qv-media { aspect-ratio: 4/3; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-thumbs-col { flex-direction: row; overflow-x: auto; }
  .pd-thumb { width: 64px; flex-shrink: 0; }
  .projects-grid-flat { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 160px; }
  .catalogue-toolbar { flex-direction: column; align-items: stretch; }
  .filter-toggle-btn { display: inline-flex; justify-content: center; }
  .footer-row { flex-direction: column; align-items: flex-start; }

  .stats-row { grid-template-columns: 1fr; gap: 36px; }
  .stat-item:not(:last-child)::after { display: none; }

  .testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .testimonial-card { flex: 0 0 85%; scroll-snap-align: start; }
}
