/* ==========================================================
   Premium colour layer — onyx, ivory & champagne gold
   Loaded after style.css / motion.css on every page
   ========================================================== */
:root {
  --ink: #0d0c0b;
  --ink-soft: #3a3631;
  --muted: #8c8478;
  --paper: #f8f4ee;
  --paper-2: #efe7da;
  --gold: #a8844f;
  --gold-deep: #7d5f33;
  --gold-light: #e8d3a4;
  --gold-grad: linear-gradient(115deg, #7d5f33 0%, #b8925a 22%, #f1dfb4 46%, #c9a66b 62%, #8a6a3b 100%);
  --gold-line: linear-gradient(90deg, transparent, rgba(201, 166, 107, .7), transparent);
  --sage: #0e1c18;
  --sage-2: #15302a;
  --line: rgba(13, 12, 11, .1);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

::selection { background: #e8d3a4; color: var(--ink); }

/* Fine paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 997; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Champagne-gold foil on every italic accent */
em {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 9s ease-in-out infinite;
  padding-right: .06em;
}
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* split words are inline-blocks, so each needs its own foil */
.split em { background: none; animation: none; }
.split em .wi {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 9s ease-in-out infinite;
}

.eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; opacity: .7; }
.eyebrow--light { color: var(--gold-light); }

/* Nav: frosted ivory with a gold hairline */
.nav.scrolled { background: rgba(248, 244, 238, .78); border-bottom: 0; box-shadow: 0 1px 0 rgba(168, 132, 79, .25); }
.cart-count { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); font-weight: 600; }

/* Buttons: onyx with gold-foil sweep */
.btn--dark { background: var(--ink); color: #f6efe2; box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .35); }
.btn--dark::before, .btn--light::before { background: var(--gold-grad); background-size: 200% 100%; }
.btn--dark:hover, .btn--light:hover { color: var(--ink); }
.btn--ghost { border-color: rgba(13, 12, 11, .35); }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink); transition: background-position 1.2s var(--ease), transform .3s var(--ease); }
.btn--gold::before { background: var(--ink); }
.btn--gold:hover { color: #f6efe2; }

/* Marquee in onyx & gold */
.marquee { background: var(--ink); border: 0; }
.marquee__track span {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marquee__track b { color: var(--gold-light); }
.curtain > .marquee { box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }

/* Cards */
.card__media, .fcard { box-shadow: 0 30px 60px -40px rgba(60, 40, 10, .35); }
.card__tag { background: rgba(13, 12, 11, .82); color: var(--gold-light); backdrop-filter: blur(6px); }
.card__add { background: var(--ink); color: #f6efe2; box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .4); }
.card__add:hover { background: var(--gold); color: var(--ink); }
.fcard { background: linear-gradient(180deg, #fffdf9, #f6efe2); }
.swiper-slide-active .fcard { box-shadow: 0 50px 100px -30px rgba(60, 40, 10, .45), 0 0 0 1px rgba(201, 166, 107, .5); }

/* Signature & specs: gold hairlines */
.signature { background: linear-gradient(180deg, var(--paper-2), #e9dfcf); }
.specs { border-top-color: rgba(168, 132, 79, .3); }
.specs li { border-bottom-color: rgba(168, 132, 79, .22); }
.signature__price > span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }

/* Sustainability: emerald noir with a gold glow */
.sustain { background: radial-gradient(120% 90% at 85% 0%, #1d3a32 0%, var(--sage) 55%, #0a1412 100%); }
.sustain::before { background: radial-gradient(circle, rgba(201, 166, 107, .18), transparent 60%); }
.stats { border-top-color: rgba(201, 166, 107, .25); }
.stat + .stat { border-left-color: rgba(201, 166, 107, .18); }
.stat b { background: linear-gradient(180deg, #fff8ea, #d9c095); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--gold-light); }
.pillar { border-color: rgba(201, 166, 107, .18); background: rgba(255, 255, 255, .02); }
.pillar:hover { background: rgba(201, 166, 107, .07); border-color: rgba(201, 166, 107, .6); }
.pillar__num { color: var(--gold-light); }

/* Journey: onyx with warm glow */
.journey { background: radial-gradient(80% 60% at 50% 100%, #2a2016 0%, var(--ink) 60%); }
.journey__progress i { background: var(--gold-grad); }

/* Voices */
.voices { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.voice p { color: var(--ink); }
.voices__dots button.active { background-color: var(--gold); }

/* Newsletter + footer */
.newsletter { background: radial-gradient(90% 120% at 50% 0%, #241b12 0%, var(--ink) 65%); position: relative; }
.newsletter::before, .footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-line); }
.newsletter__form input:focus { border-color: var(--gold-light); }
.footer { background: var(--ink); border-top: 0; }
.footer__cols h4 { color: var(--gold-light); }
.loader { background: radial-gradient(60% 60% at 50% 45%, #241b12 0%, var(--ink) 70%); }

/* Drawer & modal */
.drawer__panel, .modal__panel { background: linear-gradient(180deg, #fbf8f3, var(--paper)); }
.drawer__head { border-bottom-color: rgba(168, 132, 79, .25); }
.ci { border-bottom-color: rgba(168, 132, 79, .18); }
.toast { background: var(--ink); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .4); }

/* Smoother base transitions */
.reveal-up { transition-duration: 1.4s; }
.card { transition-duration: 1.2s; }
