/* ==========================================================================
   Pettah Bazaar — cinematic storefront styles
   Sections: tokens · base · chrome · hero · ticker · sections · cards
             · listing · product · cart · forms · footer · motion · responsive
   ========================================================================== */

:root {
  --noir: #030712;
  --noir-2: #071124;
  --noir-3: #0d1a36;
  --navy: #091733;
  --navy-lit: #122854;
  --sapphire: #1a4eb8;
  --sapphire-lit: #2565eb;
  --sapphire-glow: rgba(37, 101, 235, .28);
  --sapphire-grad: linear-gradient(135deg, #1f57ce 0%, #123d94 55%, #0a245c 100%);
  --line: rgba(212, 175, 55, .2);
  --line-soft: rgba(212, 175, 55, .09);
  --ink: #f8fafc;
  --ink-dim: #cbd5e1;
  --muted: #8ca0be;
  --gold: #d4af37;
  --gold-lite: #fae392;
  --gold-deep: #a87d1e;
  --gold-glow: rgba(212, 175, 55, .38);
  --gold-grad: linear-gradient(135deg, #fce08b 0%, #dfb13c 45%, #b78628 80%, #7e550e 100%);
  --ember: #d47a32;
  --shadow: 0 30px 80px -32px rgba(2, 6, 18, .96), 0 0 24px -8px rgba(212, 175, 55, .12);
  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --body: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --r: 16px;
  --pad: clamp(18px, 4.5vw, 68px);
  --maxw: 1340px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
body.preloader-active { overflow: hidden; }
body.nav-open { overflow: hidden; touch-action: none; }

/* ---------- preloader ------------------------------------------------ */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, #122854 0%, var(--noir) 62%);
  transition: opacity .55s var(--ease), visibility .55s;
}
.site-preloader.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px;
}
.site-preloader-logo {
  width: clamp(72px, 18vw, 96px);
  height: auto;
  animation: preloaderPulse 1.8s var(--ease-io) infinite;
  filter: drop-shadow(0 8px 28px rgba(212, 175, 55, .45));
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: .88; }
}
.site-preloader-bar {
  display: block;
  width: min(200px, 52vw);
  height: 3px;
  border-radius: 4px;
  background: rgba(212, 175, 55, .15);
  overflow: hidden;
}
.site-preloader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold-grad);
  border-radius: inherit;
  animation: preloaderBar 1.1s var(--ease-io) infinite;
}
@keyframes preloaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* film grain over the whole page, never blocks clicks */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-3%, 2%, 0); }
  40% { transform: translate3d(2%, -3%, 0); }
  60% { transform: translate3d(-2%, -2%, 0); }
  80% { transform: translate3d(3%, 1%, 0); }
}

h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: 1.06; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
a:hover { color: var(--gold); }
img, svg { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }
::selection { background: var(--gold); color: #0a1224; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); min-width: 0; }
.eyebrow {
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--ink-dim); max-width: 62ch; }
.muted { color: var(--muted); }
.hair { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------------------------------------------------- */
/* ---------- buttons ---------------------------------------------------- */
.btn {
  --bg: var(--gold-grad);
  --fg: #040814;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: 15px 32px;
  border: 1px solid rgba(255, 235, 160, .35);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px -10px rgba(212, 175, 55, .55);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .3s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(212, 175, 55, .7); filter: brightness(1.08); }
.btn:hover::after { transform: translateX(120%); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(212, 175, 55, .4); box-shadow: none; }
.btn-ghost:hover { background: rgba(212, 175, 55, .1); border-color: var(--gold); color: var(--gold-lite); box-shadow: 0 0 22px rgba(212, 175, 55, .3); }
.btn-dark { --bg: var(--noir-2); --fg: var(--ink); border-color: var(--line); }
.btn-sm { padding: 10px 22px; font-size: .72rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-more { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.link-more svg { transition: transform .4s var(--ease); }
.link-more:hover svg { transform: translateX(6px); color: var(--gold-lite); }

/* ---------- chips, badges ---------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, .02);
  white-space: nowrap;
  transition: .35s var(--ease);
}
.chip:hover, .chip.on { border-color: var(--gold); color: var(--gold-lite); background: rgba(212, 175, 55, .12); box-shadow: 0 0 16px rgba(212, 175, 55, .2); }
.pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold-grad);
  color: #040814;
}
.pill-sale { background: var(--sapphire-grad); color: #fff; border: 1px solid rgba(212, 175, 55, .4); box-shadow: 0 4px 12px rgba(26, 78, 184, .35); }
.pill-new { background: var(--gold-grad); color: #040814; box-shadow: 0 4px 12px rgba(212, 175, 55, .3); }
.pill-out { background: #1a2942; color: var(--ink-dim); border: 1px solid var(--line-soft); }

.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 13px; height: 13px; fill: rgba(233, 238, 250, .2); }
.star.on { fill: var(--gold); }
.star.half { fill: var(--gold); opacity: .55; }

/* ---------- top bar + header ------------------------------------------- */
.topbar {
  background: #02050e;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 40;
}
.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 8vw, 72px);
  z-index: 2;
  pointer-events: none;
}
.topbar::before {
  left: 0;
  background: linear-gradient(90deg, #02050e 15%, transparent);
}
.topbar::after {
  right: 0;
  background: linear-gradient(270deg, #02050e 15%, transparent);
}
.topbar-marquee { overflow: hidden; width: 100%; }
.topbar-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: topbarMarquee 38s linear infinite;
  will-change: transform;
}
.topbar:hover .topbar-track { animation-play-state: paused; }
.topbar-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.4em;
  white-space: nowrap;
  padding-right: 1.4em;
}
.topbar-track i {
  color: var(--gold);
  font-style: normal;
  opacity: .85;
}
.topbar-track a {
  color: var(--gold-lite);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topbar-track a:hover { color: #fff; }
@keyframes topbarMarquee {
  to { transform: translateX(-50%); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 9, 21, .88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .5s var(--ease), border-color .5s, padding .4s var(--ease);
  padding: 16px 0;
}
.site-head.is-stuck { background: rgba(3, 7, 18, .96); border-bottom-color: var(--line); padding: 10px 0; box-shadow: 0 20px 50px -30px #000; }
.head-grid { display: flex; align-items: center; gap: 26px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  line-height: 1.1;
}
.brand-logo {
  height: 52px;
  width: auto;
  max-width: 65px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, .35));
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.brand:hover .brand-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 18px rgba(212, 175, 55, .6));
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.brand-text b {
  font-family: var(--body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}
.site-head.is-stuck .brand-logo { height: 42px; }
.site-head.is-stuck .brand-text { font-size: 1.08rem; }
.head-grid { flex-wrap: nowrap; min-width: 0; }
.head-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.brand { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 52px); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { list-style: none; position: static; }
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-sale { color: var(--gold-lite); font-weight: 800; }
.nav-sale:hover { color: #fff; text-shadow: 0 0 14px var(--gold-glow); }

.has-mega:hover .mega, .mega:focus-within { opacity: 1; visibility: visible; transform: translateY(0); }
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 18px);
  background: rgba(10, 18, 36, .98);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.2fr;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .5s var(--ease);
  z-index: 1200;
}
.mega h5 { font-family: var(--body); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.mega a { display: block; padding: 5px 0; font-size: .92rem; color: var(--ink-dim); }
.mega a:hover { color: var(--gold); transform: translateX(3px); }
.mega-feature { border-radius: 12px; overflow: hidden; position: relative; min-height: 220px; display: flex; align-items: flex-end; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-feature span { position: relative; padding: 16px; font-family: var(--display); font-size: 1.15rem; }

.head-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: .35s var(--ease);
}
.icon-btn:hover { border-color: var(--line); color: var(--gold); background: rgba(255, 255, 255, .03); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #0a1224;
  font-size: .64rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform .5s var(--ease);
}
.cart-count.has { transform: scale(1); }

.burger { display: none; }
.burger.open {
  border-color: var(--gold);
  background: rgba(212, 175, 55, .12);
  color: var(--gold);
}
.burger.open .burger-icon path:nth-child(1) { transform: translateY(5px) rotate(45deg); transform-origin: 12px 7px; }
.burger.open .burger-icon path:nth-child(2) { opacity: 0; }
.burger.open .burger-icon path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); transform-origin: 12px 17px; }
.burger .burger-icon path { transition: transform .35s var(--ease), opacity .25s; }

/* mobile drawer nav */
.navsheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(100%, 380px);
  z-index: 2000;
  background: linear-gradient(180deg, var(--noir-2) 0%, var(--noir) 100%);
  border-left: 1px solid var(--line);
  padding: 18px var(--pad) calc(88px + env(safe-area-inset-bottom));
  transform: translateX(105%);
  transition: transform .65s var(--ease);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.navsheet.open { transform: translateX(0); box-shadow: -24px 0 80px -20px #000; }
.navsheet.menu-anim .oc-group {
  opacity: 0;
  transform: translateX(18px);
  animation: navItemIn .55s var(--ease) forwards;
  animation-delay: var(--nav-d, 0ms);
}
@keyframes navItemIn {
  to { opacity: 1; transform: none; }
}
.off-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 12px;
  background: linear-gradient(180deg, var(--noir-2) 70%, transparent);
}
.oc-group { border-bottom: 1px solid var(--line-soft); padding: 4px 0; }
.oc-group .oc-link {
  font-family: var(--display);
  font-size: 1.45rem;
  display: block;
  padding: 14px 0;
}
.oc-acc { margin: 0; }
.oc-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.45rem;
  padding: 14px 0;
  color: var(--ink);
}
.oc-acc summary::-webkit-details-marker { display: none; }
.oc-acc summary svg { flex-shrink: 0; color: var(--muted); transition: transform .35s var(--ease); }
.oc-acc[open] summary svg { transform: rotate(180deg); color: var(--gold); }
.oc-sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 12px 4px;
}
.oc-sub a {
  font-size: .88rem;
  color: var(--muted);
  letter-spacing: .04em;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.oc-sub a.oc-all { color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.oc-sub a:hover { color: var(--ink); }

/* search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(6, 10, 20, .96);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .5s var(--ease);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay .search-box {
  transform: translateY(28px) scale(.98);
  opacity: 0;
  transition: transform .65s var(--ease), opacity .55s var(--ease);
}
.search-overlay.open .search-box {
  transform: none;
  opacity: 1;
  transition-delay: .08s;
}
.search-box { width: min(760px, 92vw); }
.search-box input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 3rem);
  padding: 12px 0;
  outline: none;
}
.search-box input::placeholder { color: rgba(133, 149, 177, .6); }
.search-hint { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- hero ------------------------------------------------------- */
.hero { position: relative; min-height: min(94vh, 940px); display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-io);
}
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* slow ken burns + parallax combine, so the frame is a wrapper */
.hero-kb { position: absolute; inset: -6%; animation: kenburns 26s var(--ease-io) infinite alternate; will-change: transform; }
.hero-slide:nth-child(2) .hero-kb { animation-duration: 32s; animation-direction: alternate-reverse; }
.hero-slide:nth-child(3) .hero-kb { animation-duration: 38s; }
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.2) translate3d(-2.5%, -2%, 0); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(6, 10, 20, .92) 0%, rgba(6, 10, 20, .6) 44%, rgba(6, 10, 20, .2) 72%),
    radial-gradient(70% 60% at 50% 120%, rgba(6, 10, 20, .95), transparent 70%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-copy { max-width: 780px; padding: 90px 0 120px; }
.hero-title { margin: 18px 0 22px; }
.hero-title .ln { display: block; overflow: hidden; }
.hero-title .ln span { display: block; transform: translateY(105%); animation: riseIn 1.2s var(--ease) forwards; }
.hero-title .ln:nth-child(2) span { animation-delay: .12s; }
.hero-title .ln:nth-child(3) span { animation-delay: .24s; }
.hero-title em { font-style: italic; color: var(--gold); }
@keyframes riseIn { to { transform: translateY(0); } }
.hero-sub { color: var(--ink-dim); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 52ch; opacity: 0; animation: fadeIn 1.2s .5s var(--ease) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; opacity: 0; animation: fadeIn 1.2s .7s var(--ease) forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.hero-rail { position: absolute; z-index: 4; left: var(--pad); bottom: 40px; display: flex; align-items: center; gap: 16px; }
.hero-dot {
  width: 46px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(233, 238, 250, .25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hero-dot.on::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: dotFill 7s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-scroll { position: absolute; z-index: 4; right: var(--pad); bottom: 46px; writing-mode: vertical-rl; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.hero-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* stats strip under hero */
.stats { border-block: 1px solid var(--line-soft); background: var(--noir-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; }
.stat { padding: 26px 18px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gold); line-height: 1; }
.stat span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- ticker ----------------------------------------------------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line-soft); padding: 20px 0; background: linear-gradient(90deg, var(--noir), var(--noir-2), var(--noir)); }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 2rem); color: rgba(233, 238, 250, .45); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.ticker span i { color: var(--gold); font-style: normal; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections --------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 54px); flex-wrap: wrap; }
.sec-head h2 { margin: 14px 0 0; }
.sec-head p { margin: 12px 0 0; color: var(--muted); max-width: 56ch; }

/* collection tiles: mosaic so it reads editorial, not a grid of boxes */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--r); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line-soft); }
.tile.tall { grid-column: span 2; min-height: 420px; }
.tile.wide { grid-column: span 4; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 10, 20, .88), rgba(6, 10, 20, .18) 55%, transparent); transition: opacity .6s; }
.tile:hover img { transform: scale(1.09); animation: none; }
.tile.in img { animation: tileBreath 14s var(--ease-io) infinite alternate; }
@keyframes tileBreath {
  from { transform: scale(1.02); }
  to { transform: scale(1.07); }
}
.tile:hover::after { background: linear-gradient(to top, rgba(6, 10, 20, .92), rgba(6, 10, 20, .35) 60%, rgba(6, 10, 20, .1)); }
.tile-body { padding: 24px; width: 100%; }
.tile-body h3 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.tile-body p { margin: 0; font-size: .86rem; color: var(--muted); }
.tile-count { position: absolute; top: 18px; right: 18px; z-index: 2; }
.tile-arrow { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; transform: translateY(-6px); transition: .5s var(--ease); }
.tile:hover .tile-arrow { opacity: 1; transform: translateY(0); border-color: var(--gold); color: var(--gold); }

/* rail of products with drag scroll */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }
.rail > * { flex: 0 0 clamp(240px, 26vw, 300px); scroll-snap-align: start; }

/* ---------- product card ---------------------------------------------- */
.card-p { position: relative; background: var(--noir-2); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), border-color .6s, box-shadow .6s var(--ease); }
.card-p:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, .55); box-shadow: 0 20px 50px -20px rgba(0, 6, 22, .96), 0 0 24px -6px rgba(212, 175, 55, .25); }
.card-p.in { animation: cardRise .85s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes cardRise {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #101c34; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s; }
.card-media img.alt { position: absolute; inset: 0; opacity: 0; }
.card-p:hover .card-media img.main { opacity: 0; }
.card-p:hover .card-media img.alt { opacity: 1; transform: scale(1.06); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 3; }
.card-foot { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.card-name { font-family: var(--display); font-size: 1.18rem; line-height: 1.25; margin: 0; }
.card-name a:hover { color: var(--gold); }
.card-price { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.card-price .now { font-size: 1.02rem; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.card-price .was { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.card-swatches { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.card-quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  transform: translateY(140%);
  transition: transform .55s var(--ease);
}
.card-quick button {
  background: var(--sapphire-grad);
  color: #fff;
  border: 1px solid rgba(212, 175, 55, .4);
  box-shadow: 0 8px 24px rgba(10, 36, 92, .6);
  font-weight: 700;
}
.card-quick button:hover {
  background: var(--gold-grad);
  color: #040814;
  border-color: rgba(255, 235, 160, .5);
  box-shadow: 0 8px 28px rgba(212, 175, 55, .6);
}
.card-p:hover .card-quick, .card-p:focus-within .card-quick { transform: translateY(0); }

/* story / editorial split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; }
.split-media img,
.split-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(6, 10, 20, .7)); }
.split-media .float-tag { position: absolute; z-index: 2; bottom: 22px; left: 22px; right: 22px; }
.para-quote { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.25; margin: 22px 0 22px; }
.para-quote em { color: var(--gold); font-style: italic; }
.num-list { list-style: none; padding: 0; margin: 26px 0 0; counter-reset: n; }
.num-list li { counter-increment: n; padding: 18px 0 18px 56px; border-top: 1px solid var(--line-soft); position: relative; }
.num-list li::before { content: "0" counter(n); position: absolute; left: 0; top: 18px; font-family: var(--display); color: var(--gold); font-size: 1.1rem; }
.num-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.num-list span { color: var(--muted); font-size: .92rem; }

/* values band */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.value { background: var(--noir-2); padding: 30px 26px; }
.value svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin-bottom: 14px; }
.value b { display: block; font-family: var(--display); font-size: 1.25rem; margin-bottom: 6px; }
.value p { font-size: .88rem; color: var(--muted); margin: 0; }

/* reviews marquee */
.quote-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { padding: 28px; border: 1px solid var(--line-soft); border-radius: var(--r); background: radial-gradient(120% 120% at 0% 0%, rgba(240, 192, 74, .07), transparent 60%), var(--noir-2); }
.quote p { font-family: var(--display); font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .82rem; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-deep); color: #0a1224; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }

/* newsletter */
.news { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); padding: clamp(32px, 6vw, 72px); text-align: center; }
.news img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.7); }
.news::after { content: ""; position: absolute; inset: 0; background: rgba(6, 10, 20, .82); z-index: -1; }
.news form { display: flex; gap: 10px; max-width: 520px; margin: 26px auto 0; }
.news input { flex: 1; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 15px 22px; color: var(--ink); font-size: .95rem; outline: none; }
.news input:focus { border-color: var(--gold); }

/* ---------- listing page ---------------------------------------------- */
.page-head { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(30px, 4vw, 52px); overflow: hidden; }
.crumbs { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold); }
.banners { position: relative; border-radius: var(--r); overflow: hidden; min-height: clamp(200px, 26vw, 320px); display: flex; align-items: flex-end; margin-bottom: 34px; }
.banners img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banners::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 10, 20, .9), rgba(6, 10, 20, .35)); z-index: -1; }
.banners .wrap { position: relative; padding-block: 32px; }

.shop-grid { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: clamp(22px, 3.5vw, 46px); align-items: start; }
.filters { position: sticky; top: 92px; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--noir-2); padding: 22px; }
.f-group { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.f-group:first-child { padding-top: 0; border-top: 0; }
.f-group > h6 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.f-list { display: flex; flex-direction: column; gap: 8px; max-height: 232px; overflow-y: auto; }
.f-list a { font-size: .9rem; color: var(--ink-dim); display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.f-list a:hover, .f-list a.on { color: var(--gold); }
.f-list a.on::before { content: "•"; margin-right: 6px; }
.f-list .n { color: var(--muted); font-size: .78rem; }
.check { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-dim); padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.price-bounds { display: flex; gap: 10px; }
.price-bounds input { width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; color: var(--ink); font-size: .86rem; }
.swatch-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-pick label { cursor: pointer; }
.swatch-pick input { display: none; }
.swatch-pick .swatch { width: 26px; height: 26px; display: block; transition: .3s var(--ease); }
.swatch-pick input:checked + .swatch { box-shadow: 0 0 0 2px var(--gold); transform: scale(1.12); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .count { font-size: .84rem; color: var(--muted); }
.select {
  appearance: none;
  background: var(--noir-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e5c76b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 42px 11px 18px;
  font-size: .82rem;
  cursor: pointer;
}
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-products.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filters-toggle { display: none; }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .84rem; color: var(--ink-dim); }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager .on { background: var(--gold); color: #0a1224; border-color: var(--gold); font-weight: 800; }

.empty { text-align: center; padding: 90px 20px; border: 1px dashed var(--line); border-radius: var(--r); }
.empty h3 { margin: 18px 0 8px; }

/* ---------- product detail ------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.pdp-media { position: sticky; top: 96px; display: grid; gap: 12px; }
.pdp-stage { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 4 / 5; background: var(--noir-2); }
.pdp-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--sc, 1)); transform-origin: var(--ox, 50%) var(--oy, 42%); transition: transform 1.2s var(--ease); }
.pdp-stage:hover img { --sc: 1.07; }
/* one photo, three looks: the detail frames are crops of the same shot */
.pdp-stage img[data-crop="drape"] { --sc: 2.1; --ox: 64%; --oy: 32%; }
.pdp-stage img[data-crop="hem"] { --sc: 1.85; --ox: 36%; --oy: 78%; }
.pdp-stage:hover img[data-crop="drape"] { --sc: 2.25; }
.pdp-stage:hover img[data-crop="hem"] { --sc: 2; }
.pdp-thumbs button[data-crop="drape"] img { transform: scale(2.1); transform-origin: 64% 32%; }
.pdp-thumbs button[data-crop="hem"] img { transform: scale(1.85); transform-origin: 36% 78%; }
.pdp-stage .zoom-hint { position: absolute; bottom: 14px; right: 14px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumbs button { width: 74px; aspect-ratio: 4/5; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: .4s var(--ease); }
.pdp-thumbs button.on, .pdp-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 14px 0 12px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.price-row .now { font-family: var(--display); font-size: 2rem; color: var(--gold); }
.price-row .was { color: var(--muted); text-decoration: line-through; }
.price-row .save { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.opt-row { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.opt-row > label { display: flex; justify-content: space-between; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.size-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.size-pick label { cursor: pointer; }
.size-pick input { display: none; }
.size-pick .box { min-width: 54px; height: 46px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-size: .84rem; transition: .35s var(--ease); }
.size-pick input:checked + .box, .size-pick .box:hover { border-color: var(--gold); background: rgba(240, 192, 74, .1); color: var(--gold); }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: none; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { color: var(--gold); }
.qty input { width: 46px; height: 46px; text-align: center; background: none; border: 0; color: var(--ink); font-weight: 700; outline: none; }
.assure { display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.assure div { display: flex; gap: 10px; font-size: .86rem; color: var(--ink-dim); align-items: center; }
.assure svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex: none; }

.tabs { margin-top: clamp(40px, 6vw, 72px); }
.tab-head { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-head button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 14px 20px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.tab-head button.on { color: var(--gold); border-bottom-color: var(--gold); }
.tab-body { padding: 28px 0; }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fadeIn .5s var(--ease); }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.spec div { background: var(--noir-2); padding: 16px 20px; font-size: .9rem; }
.spec div span { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.rev { padding: 20px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 16px; }
.rev b { display: block; font-size: .96rem; }
.rev time { font-size: .74rem; color: var(--muted); }

/* ---------- cart / drawer -------------------------------------------- */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 94vw);
  z-index: 2200;
  background: var(--noir-2);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform .7s var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: none; box-shadow: -40px 0 90px -40px #000; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 22px 24px; }
.scrim { position: fixed; inset: 0; z-index: 1900; background: rgba(4, 8, 16, .72); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .5s var(--ease); }
.scrim.on { opacity: 1; visibility: visible; }

.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.line img { border-radius: 8px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.line h6 { margin: 0 0 4px; font-family: var(--display); font-size: 1.05rem; font-weight: 400; }
.line .meta { font-size: .74rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.line .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 0; }
.line .rm:hover { color: var(--ember); }
.totals { display: grid; gap: 8px; font-size: .92rem; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--display); font-size: 1.35rem; color: var(--gold); padding-top: 10px; border-top: 1px solid var(--line-soft); }
.freebar { height: 4px; border-radius: 4px; background: rgba(233, 238, 250, .12); overflow: hidden; margin-bottom: 10px; }
.freebar i { display: block; height: 100%; background: var(--gold); transition: width .8s var(--ease); }
.freebar-txt { font-size: .76rem; color: var(--muted); margin-bottom: 14px; }
.freebar-txt b { color: var(--gold); }

.cart-table .line { grid-template-columns: 110px 1fr auto; }

/* ---------- forms ---------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  padding: 14px 16px;
  font-size: .95rem;
  font-family: var(--body);
  outline: none;
  transition: .35s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: rgba(240, 192, 74, .05); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: var(--ember); font-size: .8rem; margin-top: 6px; }
.radio-card { display: grid; gap: 10px; }
.radio-card label { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; letter-spacing: 0; text-transform: none; font-size: .95rem; color: var(--ink); margin: 0; }
.radio-card label:hover { border-color: var(--gold); }
.radio-card input { accent-color: var(--gold); }
.radio-card small { display: block; color: var(--muted); font-size: .82rem; }

.alert { padding: 14px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--noir-2); font-size: .9rem; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.alert-ok { border-color: rgba(132, 204, 143, .4); color: #b9e6c0; background: rgba(60, 125, 92, .12); }
.alert-err { border-color: rgba(224, 138, 74, .45); color: #f0b6a6; background: rgba(126, 42, 52, .14); }

.steps { display: flex; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.steps span { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.steps span b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--noir-3); color: var(--ink-dim); font-size: .78rem; }
.steps span.on { color: var(--gold); }
.steps span.on b { background: var(--gold); color: #0a1224; }

.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 54px); align-items: start; }
.summary { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--r); background: var(--noir-2); padding: 24px; }
.summary h4 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 16px; }

.success-stage { text-align: center; padding: clamp(50px, 9vw, 110px) 0; }
.tick { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; }
.tick svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.1s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-no { font-family: var(--display); font-size: 1.4rem; color: var(--gold); letter-spacing: .1em; }

/* ---------- footer --------------------------------------------------- */
.site-foot { margin-top: clamp(50px, 8vw, 110px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--noir-2), #050a14); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(44px, 6vw, 84px) 0 44px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.foot-col h6 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.foot-col a { display: block; padding: 6px 0; font-size: .92rem; color: var(--ink-dim); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-dim); }
.social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.foot-bar { border-top: 1px solid var(--line-soft); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.pay-strip { display: flex; gap: 8px; }
.pay-strip span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: .68rem; letter-spacing: .12em; }
.foot-dev {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 8px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line-soft);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .35s var(--ease), opacity .35s var(--ease);
}
.foot-dev:hover { color: var(--ink-dim); }
.foot-dev img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: .92;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.foot-dev:hover img { opacity: 1; transform: translateY(-1px); }
.foot-dev-url {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}
.foot-dev:hover .foot-dev-url { color: var(--gold-lite); }

/* mobile bottom navigation */
.mob-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: rgba(4, 9, 21, .94);
  backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 48px -24px #000;
  justify-content: space-around;
  align-items: stretch;
  gap: 2px;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
body:has(.scrim.on) .mob-nav {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.mob-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  transition: color .35s var(--ease), background .35s var(--ease);
}
.mob-nav-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mob-nav-item.on,
.mob-nav-item:active {
  color: var(--gold);
}
.mob-nav-item.on {
  background: rgba(240, 192, 74, .08);
}
.mob-nav-item {
  transition: transform .22s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.mob-nav-item:active { transform: scale(.9); }
.mob-nav-item.on svg { animation: navPop .5s var(--ease); }
@keyframes navPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.mob-nav-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 22px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #0a1224;
  font-size: .58rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.mob-nav-badge.cart-count {
  transform: scale(0);
  transition: transform .45s var(--ease);
}
.mob-nav-badge.cart-count.has {
  transform: scale(1);
}

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1400; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 18, 36, .9); color: var(--gold); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .5s var(--ease); }
.to-top.on { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--gold); }

/* ---------- page enter (after preloader) ----------------------------- */
body.preloader-active:not(.is-entered) .topbar,
body.preloader-active:not(.is-entered) .site-head {
  opacity: 0;
  transform: translateY(-12px);
}
body.is-entered .topbar {
  animation: enterDown .75s var(--ease) forwards;
}
body.is-entered .site-head {
  animation: enterDown .85s .06s var(--ease) forwards;
}
@keyframes enterDown {
  to { opacity: 1; transform: none; }
}
.hero.hero-replay .hero-title .ln span {
  animation: riseIn 1.15s var(--ease) forwards;
}
.hero.hero-replay .hero-title .ln:nth-child(2) span { animation-delay: .14s; }
.hero.hero-replay .hero-sub { animation: fadeIn 1s .45s var(--ease) forwards; }
.hero.hero-replay .hero-cta { animation: fadeIn 1s .62s var(--ease) forwards; }

/* stagger lists (how we work, etc.) */
[data-stagger] > * {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .75s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-stagger].stagger-in > * {
  opacity: 1;
  transform: none;
}
[data-stagger] > *:nth-child(1) { --i: 0; }
[data-stagger] > *:nth-child(2) { --i: 1; }
[data-stagger] > *:nth-child(3) { --i: 2; }
[data-stagger] > *:nth-child(4) { --i: 3; }
[data-stagger] > *:nth-child(5) { --i: 4; }
[data-stagger] > *:nth-child(6) { --i: 5; }

.stat b {
  display: inline-block;
  transform: translateY(12px);
  opacity: 0;
}
[data-reveal].in .stat b,
.stats .stat.in b {
  animation: statUp .9s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes statUp {
  to { transform: none; opacity: 1; }
}

[data-reveal].in.split-media .split-media-vid,
[data-reveal].in.split-media img {
  animation: mediaDrift 18s var(--ease-io) infinite alternate;
}
@keyframes mediaDrift {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
.split-media:hover .split-media-vid,
.split-media:hover img { animation-play-state: paused; }

.scrim.on { animation: scrimIn .45s var(--ease) forwards; }
@keyframes scrimIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.drawer.open { animation: drawerIn .65s var(--ease); }
@keyframes drawerIn {
  from { transform: translateX(105%); }
  to { transform: none; }
}

/* ---------- reveal animation ----------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="blur"] {
  filter: blur(8px);
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1.2s var(--ease);
}
[data-reveal="blur"].in { filter: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal="left"].in, [data-reveal="right"].in, [data-reveal="zoom"].in { transform: none; }

/* line-mask heading reveal */
.mask-line { display: block; overflow: hidden; }
.mask-line > * { display: block; transform: translateY(102%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.in .mask-line > * { transform: none; }

/* ---------- toast ---------------------------------------------------- */
.pb-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 2400;
  background: var(--gold);
  color: #0a1224;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  transition: transform .7s var(--ease);
  max-width: 92vw;
}
.pb-toast.on { transform: translate(-50%, 0); }

/* ---------- reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-kb { animation: none; }
  .site-preloader-logo,
  .site-preloader-bar i,
  .topbar-track { animation: none; transform: none; }
  .tile.in img,
  [data-reveal].in.split-media .split-media-vid,
  [data-reveal].in.split-media img,
  .card-p.in,
  .mob-nav-item.on svg { animation: none; }
  body.is-entered .topbar,
  body.is-entered .site-head { animation: none; opacity: 1; transform: none; }
  [data-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ----------------------------------------------- */
@media (max-width: 1199px) {
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: 230px minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .nav { display: none; }
  .burger { display: grid; }
  .mob-nav { display: flex; }
  body.has-mob-nav { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.has-mob-nav .to-top { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-mob-nav .pb-toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.has-mob-nav .head-tools .head-tool-desktop {
    display: none;
  }
  body.has-mob-nav .burger {
    display: grid;
  }
  .head-grid {
    justify-content: space-between;
  }
  .shop-grid { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
  .split { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .quote-rail { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide, .tile.tall { grid-column: span 2; }
  .tile { min-height: 260px; }
}

@media (max-width: 767px) {
  :root { --pad: clamp(14px, 4.2vw, 22px); }
  body { font-size: 15.5px; }
  .head-grid { gap: 10px; }
  .brand { gap: .5rem; min-width: 0; }
  .brand-logo { height: 40px; }
  .brand-text { font-size: .92rem; max-width: 12ch; line-height: 1.15; }
  .brand-text b { font-size: .48rem; letter-spacing: .16em; }
  .site-head.is-stuck .brand-logo { height: 34px; }
  .head-tools { flex: 0 0 auto; gap: 2px; }
  .icon-btn { width: 42px; height: 42px; }
  .burger { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); }
  .topbar { font-size: .64rem; padding: 8px 0; letter-spacing: .12em; }
  .topbar-track { animation-duration: 32s; }
  .hero-title { overflow-wrap: anywhere; word-break: break-word; }
  .para-quote { overflow-wrap: anywhere; }
  .sec-head { flex-wrap: wrap; gap: 12px; }
  .toolbar { flex-wrap: wrap; gap: 10px; }
  .search-box { padding: 0 16px; max-width: 100%; }
  .search-hint { flex-wrap: wrap; justify-content: center; }
  .pdp-thumbs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tab-head { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .pay-strip { flex-wrap: wrap; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-foot { padding: 12px 13px 14px; }
  .card-name { font-size: 1rem; }
  .card-quick { display: none; }
  .hero { min-height: 78vh; }
  .hero-copy { padding: 60px 0 96px; }
  .hero-scroll { display: none; }
  .values { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .news form { flex-direction: column; }
  .cart-table .line { grid-template-columns: 84px 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .para-quote { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
  .brand { max-width: calc(100% - 48px); }
  .grid-products { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.wide, .tile.tall { grid-column: span 1; }
  .stats .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .btn { padding: 14px 22px; font-size: .74rem; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1 1 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .oc-acc summary,
  .oc-group .oc-link { font-size: 1.28rem; }
}
