/* ============================================================
   STACHE WOODS — Dark Luxury Editorial Design System
   ============================================================ */

:root {
  /* Palette */
  --ink: #0e0a07;
  --ink-2: #15100b;
  --ink-3: #1d1712;
  --surface: #221b14;
  --line: rgba(201, 161, 90, 0.16);
  --line-strong: rgba(201, 161, 90, 0.38);
  --ivory: #f0e7d8;
  --ivory-dim: #b8ac97;
  --ivory-faint: #8a7f6c;
  --gold: #c9a15a;
  --gold-bright: #e4c078;
  --gold-deep: #9a7434;
  --wa: #4fce5d;
  --wa-deep: #2ea843;

  /* Type */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Inter", system-ui, sans-serif;

  /* Rhythm */
  --pad: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 12vw, 10rem);
  --maxw: 1240px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: #3a2f22; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* Accessibility */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  background: var(--gold); color: var(--ink);
  padding: 0.75rem 1.5rem; font-weight: 500; letter-spacing: 0.08em;
  transition: top 0.3s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 2000; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-5%, -2%); }
  80% { transform: translate(4%, 4%); }
}

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.04em; color: var(--ivory);
  opacity: 0; animation: loader-in 1s var(--ease) 0.1s forwards;
}
.loader-mark em { font-style: italic; color: var(--gold); }
.loader-bar {
  width: min(240px, 50vw); height: 1px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold); transform: translateX(-100%);
  animation: loader-fill 1.4s var(--ease) 0.2s forwards;
}
@keyframes loader-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes loader-fill { to { transform: translateX(0); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--pad);
  transition: background 0.5s, padding 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 0.9rem var(--pad);
  background: rgba(14, 10, 7, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0.05em;
  color: var(--ivory); line-height: 1;
}
.nav-logo em { font-style: italic; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); }
.nav-links a {
  position: relative;
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 0.35rem 0;
  transition: color 0.35s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--gold);
  padding: 0.65rem 1.4rem;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.burger { display: none; flex-direction: column; gap: 6px; padding: 0.5rem; z-index: 1101; }
.burger span {
  width: 26px; height: 1.5px; background: var(--ivory);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(14, 10, 7, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem);
  color: var(--ivory-dim); padding: 0.5rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); font-style: italic; }

/* ---------- Shared layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--ivory); }
h1 { font-size: clamp(2.9rem, 7.5vw, 6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--gold-bright); font-weight: 400; }
.lede { color: var(--ivory-dim); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.05rem 2.4rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s, transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--gold-bright); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ivory); }
.btn-ghost::before { background: var(--gold); }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn-wa { background: var(--wa-deep); color: #fff; }
.btn-wa::before { background: var(--wa); }
.btn-wa:hover { color: var(--ink); }
.btn .wa-ico { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 110%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(14,10,7,0.92) 0%, rgba(14,10,7,0.55) 55%, rgba(14,10,7,0.35) 100%),
    linear-gradient(to top, var(--ink) 2%, transparent 40%);
}
.hero-inner { position: relative; padding-top: 6rem; }
.hero .eyebrow { margin-bottom: 1.8rem; }
.hero h1 { max-width: 12ch; margin-bottom: 1.8rem; }
.hero .lede { margin-bottom: 2.6rem; }
.hero-meta {
  display: flex; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 1.6rem; border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-meta div { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-faint); }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ivory); letter-spacing: 0; text-transform: none; margin-bottom: 0.15rem; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; right: var(--pad);
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-faint);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue-drop 2.2s var(--ease) infinite;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(7rem + 6vw) 0 calc(3.5rem + 4vw);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 70% 10%, rgba(201,161,90,0.09), transparent 65%);
}
.page-hero h1 { max-width: 14ch; margin-bottom: 1.6rem; }
.page-hero .lede { max-width: 52ch; }
.crumbs {
  display: flex; gap: 0.7rem; align-items: center;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-faint); margin-bottom: 2.2rem;
}
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--gold-deep); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.4rem 0; overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 3.5rem; animation: marquee 800s linear infinite; }
.marquee span {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: var(--ivory-faint); display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee span::after { content: "◆"; font-size: 0.5rem; color: var(--gold-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product cards ---------- */
.grid-products {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}
.card {
  position: relative; background: var(--ink-2);
  border: 1px solid var(--line);
  transition: border-color 0.5s, transform 0.5s var(--ease), box-shadow 0.5s;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink-3); }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,10,7,0.45), transparent 45%);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover .card-media::after { opacity: 1; }
.card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(14,10,7,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
}
.card-body { padding: 1.6rem 1.7rem 1.9rem; }
.card-body h3 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.card-body p { font-size: 0.92rem; color: var(--ivory-dim); line-height: 1.65; margin-bottom: 1.2rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-bright); }
.card-order {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory-dim); border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.25rem;
  transition: color 0.3s, border-color 0.3s;
}
.card-order:hover { color: var(--wa); border-color: var(--wa); }
.card-order .wa-ico { width: 14px; height: 14px; fill: currentColor; }

/* Editorial offset grid for home signature pieces */
.grid-editorial {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(3, 1fr);
}
.grid-editorial .card:nth-child(3n+2) { transform: translateY(clamp(1.5rem, 4vw, 3.5rem)); }
.grid-editorial .card:nth-child(3n+2):hover { transform: translateY(calc(clamp(1.5rem, 4vw, 3.5rem) - 6px)); }

/* ---------- Split feature ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--line-strong);
  transform: translate(18px, 18px);
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.split-media:hover::before { transform: translate(10px, 10px); }
.split-badge {
  position: absolute; bottom: -1.4rem; right: -1.4rem;
  background: var(--gold); color: var(--ink);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  padding: 1rem 1.6rem;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.7);
}
.split-copy h2 { margin-bottom: 1.4rem; }
.split-copy p { color: var(--ivory-dim); margin-bottom: 1.2rem; }
.split-copy .btn-row { margin-top: 2rem; }

/* ---------- Stats band ---------- */
.stats {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(50% 120% at 50% 0%, rgba(201,161,90,0.06), transparent 70%),
    var(--ink-2);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: clamp(2.5rem, 5vw, 4rem) 1rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--gold-bright); line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-faint); }

/* ---------- Testimonials ---------- */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-style: italic; line-height: 1.45; color: var(--ivory);
  margin-bottom: 2rem; position: relative; padding-top: 3.2rem;
}
.testimonial blockquote::before {
  content: "“"; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font-size: 4.5rem; line-height: 1; color: var(--gold); font-style: normal;
}
.testimonial cite { display: block; font-style: normal; }
.testimonial cite strong {
  display: block; font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.3rem; font-weight: 500;
}
.testimonial cite span { font-size: 0.85rem; color: var(--ivory-faint); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; text-align: center; overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(70% 100% at 50% 100%, rgba(201,161,90,0.12), transparent 70%),
    var(--ink-2);
}
.cta .wrap { padding-block: var(--section); }
.cta h2 { max-width: 18ch; margin: 0 auto 1.4rem; }
.cta p { color: var(--ivory-dim); max-width: 48ch; margin: 0 auto 2.4rem; }
.cta .btn-row { justify-content: center; }

/* ---------- Values / process ---------- */
.grid-values {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.value {
  background: var(--ink-2); padding: clamp(2rem, 4vw, 3rem);
  transition: background 0.5s;
}
.value:hover { background: var(--ink-3); }
.value-ico {
  width: 52px; height: 52px; margin-bottom: 1.6rem;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--gold);
}
.value-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.value h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.value p { font-size: 0.94rem; color: var(--ivory-dim); }

.process { counter-reset: step; }
.process-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.step {
  position: relative; padding: 2.2rem 0 0;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -1px; left: 0;
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold);
  background: var(--ink); padding: 0.55rem 1rem 0 0; transform: translateY(-50%);
}
.step h3 { font-size: 1.4rem; margin: 0.8rem 0 0.6rem; }
.step p { font-size: 0.92rem; color: var(--ivory-dim); }

/* ---------- Gallery (collection) ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.filter-btn {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory-dim); border: 1px solid var(--line);
  padding: 0.7rem 1.5rem;
  transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--line-strong); color: var(--ivory); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gallery-item.hide {
  opacity: 0; transform: scale(0.96); pointer-events: none;
  position: absolute; visibility: hidden;
}
.gallery-item { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }

/* ---------- Category showcase (collection) ---------- */
.cat-section { position: relative; }
.cat-section + .cat-section { border-top: 1px solid var(--line); }
.cat-cover {
  position: relative; height: clamp(340px, 52vh, 560px);
  overflow: hidden; display: flex; align-items: flex-end;
}
.cat-cover > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s var(--ease);
}
.cat-section:hover .cat-cover > img { transform: scale(1.04); }
.cat-cover-overlay {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(to top, var(--ink) 0%, rgba(14,10,7,0.72) 45%, rgba(14,10,7,0.35) 75%, transparent 100%);
}
.cat-cover .eyebrow { margin-bottom: 1rem; }
.cat-cover h2 { max-width: 18ch; margin-bottom: 1.1rem; }
.cat-cover p { max-width: 52ch; color: var(--ivory-dim); font-size: 1rem; line-height: 1.7; }
.cat-body { padding: var(--section) 0 calc(var(--section) * 0.65); }
.cat-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.cat-head h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
.cat-head .eyebrow { margin-bottom: 0.6rem; }
.cat-sub {
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ivory-faint); white-space: nowrap;
  padding: 0.55rem 1.1rem; border: 1px solid var(--line);
}
.photo-note {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory-dim); background: rgba(14,10,7,0.72);
  backdrop-filter: blur(6px); border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover .photo-note { opacity: 1; transform: none; }

/* Category filter: whole sections */
.cat-section.hide-section { display: none; }

@media (max-width: 560px) {
  .cat-cover { height: 380px; }
  .cat-head { align-items: flex-start; flex-direction: column; }
}

/* ---------- Forms ---------- */
.form-shell {
  background: var(--ink-2); border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.form-field { display: flex; flex-direction: column; gap: 0.55rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-dim);
}
.form-field label i { color: var(--gold); font-style: normal; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ink); border: 1px solid var(--line);
  color: var(--ivory); font-family: var(--sans); font-weight: 300; font-size: 1rem;
  padding: 0.95rem 1.1rem;
  transition: border-color 0.35s, box-shadow 0.35s;
  border-radius: 0; appearance: none; -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a15a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
  cursor: pointer;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,161,90,0.14);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ivory-faint); }
.form-field input[type="date"] { color-scheme: dark; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.form-note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--wa); min-height: 1.4em; }
.form-hint { margin-top: 0.6rem; font-size: 0.82rem; color: var(--ivory-faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.contact-item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { padding-top: 0; }
.contact-item strong {
  display: block; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-item a:hover { color: var(--gold-bright); }
.socials { display: flex; gap: 0.8rem; margin-top: 2rem; }
.socials a {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--ivory-dim);
  transition: all 0.35s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.6rem 0; text-align: left;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ivory);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold-bright); }
.faq-q .fx {
  flex: none; width: 30px; height: 30px; position: relative;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: transform 0.45s var(--ease), background 0.3s;
}
.faq-q .fx::before, .faq-q .fx::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold);
  transform: translate(-50%, -50%);
}
.faq-q .fx::before { width: 10px; height: 1px; }
.faq-q .fx::after { width: 1px; height: 10px; transition: opacity 0.3s; }
.faq-item.open .fx { transform: rotate(135deg); background: rgba(201,161,90,0.12); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.faq-a p { padding: 0 3rem 1.7rem 0; color: var(--ivory-dim); font-size: 0.97rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 3rem;
}
.footer-brand .nav-logo { font-size: 1.9rem; }
.footer-brand p { color: var(--ivory-faint); font-size: 0.92rem; margin-top: 1.1rem; max-width: 32ch; }
footer h4 {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.3rem;
}
footer li { margin-bottom: 0.65rem; }
footer li a { color: var(--ivory-dim); font-size: 0.95rem; transition: color 0.3s, padding-left 0.3s; }
footer li a:hover { color: var(--gold-bright); padding-left: 0.4rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--ivory-faint);
}
.footer-bottom em { color: var(--gold); font-family: var(--serif); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-deep); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(46,168,67,0.55);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); background: var(--wa); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, [data-stagger] > *, .reveal-img { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-editorial { grid-template-columns: repeat(2, 1fr); }
  .grid-editorial .card:nth-child(3n+2) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 560px; }
  .split-media img { aspect-ratio: 4/3; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .grid-editorial { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}

/* ============================================================
   INTERACTIVE GAMIFIED QUIZ — "Find Your Perfect Piece"
   ============================================================ */
.quiz-section {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.quiz-section::before {
  content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(201, 161, 90, 0.08) 0%, rgba(14, 10, 7, 0) 70%);
  pointer-events: none;
}
.quiz-box {
  background: rgba(34, 27, 20, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 3rem);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}
.quiz-progress-track {
  width: 100%; height: 4px; background: rgba(201, 161, 90, 0.12);
  border-radius: 2px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  width: 33.33%; transition: width 0.5s var(--ease);
}
.quiz-step-header {
  text-align: center; max-width: 600px; margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}
.quiz-step-num {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); background: rgba(201, 161, 90, 0.1); border: 1px solid var(--line);
  padding: 0.25rem 0.85rem; border-radius: 20px; margin-bottom: 0.8rem;
}
.quiz-step-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem;
}
.quiz-step-desc {
  color: var(--ivory-dim); font-size: 0.95rem;
}

.quiz-options-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-bottom: 1.5rem;
}
.quiz-opt-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
}
.quiz-opt-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: 0 12px 24px -6px rgba(201, 161, 90, 0.15);
}
.quiz-opt-icon {
  font-size: 1.8rem; margin-bottom: 0.75rem; display: block;
}
.quiz-opt-card h4 {
  font-family: var(--serif); font-size: 1.25rem; color: var(--ivory);
  margin-bottom: 0.35rem; line-height: 1.2;
}
.quiz-opt-card p {
  font-size: 0.85rem; color: var(--ivory-dim); line-height: 1.4;
}

.quiz-nav-row {
  display: flex; justify-content: flex-start; margin-top: 1.5rem;
}
.quiz-back-btn {
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ivory-dim); padding: 0.5rem 1rem; border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}
.quiz-back-btn:hover { color: var(--gold); background: rgba(201, 161, 90, 0.08); }

/* Reveal Step */
.quiz-reveal-wrap {
  animation: reveal-fade 0.8s var(--ease) forwards;
}
@keyframes reveal-fade {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.quiz-reveal-badge {
  text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 0 auto 1.5rem; width: 100%; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(201, 161, 90, 0.12); border: 1px solid var(--line-strong);
  padding: 0.5rem 1.25rem; border-radius: 30px;
}
.quiz-reveal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.quiz-reveal-media {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong); aspect-ratio: 4/3;
}
.quiz-reveal-media img {
  width: 100%; height: 100%; object-fit: cover; cursor: zoom-in;
  transition: transform 0.6s var(--ease);
}
.quiz-reveal-media:hover img { transform: scale(1.05); }
.quiz-match-score {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--ink);
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  padding: 0.35rem 0.85rem; border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.quiz-reveal-info { text-align: left; }
.quiz-reveal-subtitle {
  font-family: var(--serif); color: var(--gold-bright); font-size: 1.15rem; margin-bottom: 0.75rem;
}
.quiz-reveal-desc { color: var(--ivory-dim); margin-bottom: 1.25rem; font-size: 0.95rem; }
.quiz-reveal-price {
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold);
  margin-bottom: 1.5rem; font-weight: 600;
}
.quiz-reveal-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
}
.quiz-reset-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 1rem;
}
.quiz-reset-btn {
  font-size: 0.85rem; color: var(--ivory-dim); transition: color 0.3s;
}
.quiz-reset-btn:hover { color: var(--gold); }
.quiz-explore-link {
  font-size: 0.85rem; letter-spacing: 0.1em; color: var(--gold);
  transition: opacity 0.3s;
}
.quiz-explore-link:hover { opacity: 0.8; }

/* Lightbox Modal */
.lightbox-modal {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  padding: 2rem;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(8, 5, 3, 0.92);
  backdrop-filter: blur(12px);
}
.lightbox-content {
  position: relative; z-index: 4001; max-width: 1000px; max-height: 85vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 100%; max-height: 72vh; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.lightbox-caption {
  margin-top: 1rem; color: var(--ivory-dim); text-align: center;
  font-size: 0.95rem; max-width: 600px;
}
.lightbox-caption strong { color: var(--ivory); font-family: var(--serif); font-size: 1.2rem; }
.lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  color: var(--ivory); font-size: 2.2rem; line-height: 1;
  opacity: 0.8; transition: opacity 0.3s, color 0.3s;
}
.lightbox-close:hover { opacity: 1; color: var(--gold); }

/* Responsive Quiz */
@media (max-width: 768px) {
  .quiz-reveal-grid { grid-template-columns: 1fr; }
  .quiz-reveal-actions { flex-direction: column; }
  .quiz-reveal-actions .btn { width: 100%; }
}

