/* ==========================================================================
   King Koil Indonesia — "Nothing Compare"
   Mobile-first design system. Black · Gold · Ivory. Trajan-style display serif.
   ========================================================================== */

:root {
  --black: #000;
  --ink: #070707;
  --onyx: #0f0f0f;
  --charcoal: #171717;
  --graphite: #232323;
  --line: rgba(212, 175, 95, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --gold: #c9a14a;
  --gold-hi: #f3d98b;
  --gold-lo: #8a6420;
  --gold-grad: linear-gradient(100deg, #8a6420 0%, #d9b25a 22%, #f7e3a1 42%, #c99a3d 62%, #f0cf7a 82%, #9c7428 100%);
  --gold-text: linear-gradient(180deg, #fbe7a6 0%, #e9c46a 38%, #c6942f 62%, #f3d17c 100%);
  --ivory: #f4eee2;
  --cream: #e9e1d1;
  --mist: #a69f92;
  --muted: #7d776d;
  --white: #fff;
  --danger: #e57373;

  --f-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --f-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --max: 1320px;
  --radius: 2px;
  --header-h: 64px;
  --dock-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-gold: 0 0 0 1px rgba(201, 161, 74, .45), 0 10px 40px -12px rgba(201, 161, 74, .45);
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 92px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  margin: 0; background: var(--black); color: var(--cream);
  font: 300 16px/1.7 var(--f-sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 3px; }
sup.mark { font-size: .45em; vertical-align: super; letter-spacing: 0; margin-left: .05em; font-family: var(--f-sans); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 999; background: var(--gold); color: #000; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 500; color: var(--ivory); letter-spacing: .04em; line-height: 1.12; margin: 0; }
h1, .h1 { font-size: clamp(2.3rem, 9vw, 5.6rem); }
h2, .h2 { font-size: clamp(1.7rem, 6vw, 3.3rem); }
h3, .h3 { font-size: clamp(1.15rem, 3.6vw, 1.55rem); }
p { margin: 0 0 1em; }
.lead { font-family: var(--f-serif); font-size: clamp(1.2rem, 3.8vw, 1.6rem); line-height: 1.5; color: var(--cream); font-weight: 400; }
.serif { font-family: var(--f-serif); }
.italic { font-style: italic; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em; font: 500 .68rem/1.4 var(--f-sans);
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.gold-text {
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 18px rgba(201, 161, 74, .18));
}
.muted { color: var(--mist); }
.center { text-align: center; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.35rem, 4.5vw, 2rem); margin: 2.2em 0 .7em; }
.prose h3 { margin: 1.8em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-hi); border-bottom: 1px solid var(--line); }
.prose img { margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 1px solid var(--gold); font: italic 400 1.4rem/1.5 var(--f-serif); color: var(--ivory); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section { padding: clamp(72px, 14vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(48px, 9vw, 96px) 0; }
.section-head { margin-bottom: clamp(32px, 6vw, 64px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--mist); margin-top: 1rem; }
.grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 28px; } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) and (max-width: 1099px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.bg-onyx { background: var(--onyx); }
.bg-ivory { background: var(--ivory); color: #3a352d; }
.bg-ivory h2, .bg-ivory h3 { color: #15120d; }
.bg-ivory .muted { color: #6f675b; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 26px 0; }
.divider::before, .divider::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { transform: scaleX(-1); }
.divider i { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: var(--h); padding: 0 28px; font: 500 .72rem/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase;
  border-radius: var(--radius); transition: all .45s var(--ease); position: relative; isolation: isolate; white-space: nowrap;
}
.btn-gold { color: #120d04; background: var(--gold-grad); background-size: 200% 100%; box-shadow: 0 10px 30px -14px rgba(232, 190, 96, .8); }
.btn-gold:hover { background-position: 100% 0; transform: translateY(-1px); }
.btn-line { color: var(--gold-hi); border: 1px solid var(--line); background: rgba(0, 0, 0, .25); backdrop-filter: blur(4px); }
.btn-line:hover { border-color: var(--gold); color: var(--white); box-shadow: var(--shadow-gold); }
.btn-dark { color: var(--ivory); background: #0d0d0d; border: 1px solid #000; }
.btn-block { width: 100%; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: .64rem; }
.btn svg { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font: 500 .7rem/1 var(--f-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-hi); padding: 8px 0; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-arrow:hover::after { width: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  transition: background .5s var(--ease), border-color .5s, transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent); pointer-events: none; transition: opacity .4s; }
.site-header.is-solid { background: rgba(0, 0, 0, .86); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line-soft); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; height: 100%; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; padding: 0 12px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--ivory); border-radius: 50%; transition: color .3s; }
.icon-btn:hover { color: var(--gold-hi); }
.icon-btn svg { width: 22px; height: 22px; }
.brand { justify-self: center; display: block; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; border: 1.5px solid var(--ivory); padding: 4px 10px 3px; line-height: .88; color: var(--white); font-family: var(--f-display); font-weight: 700; letter-spacing: .02em; position: relative; }
.logo b { display: block; font-size: 1.15rem; font-weight: 700; }
.logo b:last-of-type { margin-top: 2px; }
.logo svg { position: absolute; left: 8px; right: 6px; top: 46%; width: calc(100% - 14px); height: 10px; }
.logo { padding-right: 22px !important; }
.logo small { position: absolute; right: 4px; bottom: 4px; font: 600 5px/1 var(--f-sans); letter-spacing: .1em; }
.logo-img { height: 46px; width: auto; }
@media (min-width: 768px) { .logo b { font-size: 1.6rem; } .logo { padding: 6px 14px 4px; } .logo-img { height: 66px; } }

.nav-desktop { display: none; }
@media (min-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; padding: 0 var(--gutter); }
  .header-inner > .burger { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
  .nav-desktop.left { justify-content: flex-end; padding-right: clamp(18px, 2.4vw, 40px); }
  .nav-desktop.right { justify-content: flex-start; padding-left: clamp(18px, 2.4vw, 40px); }
  .header-tools { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
  .brand { grid-column: 2; }
  .nav-left-slot { grid-column: 1; grid-row: 1; }
  .nav-right-slot { grid-column: 3; grid-row: 1; }
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: var(--header-h);
  font: 500 .74rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); transition: color .3s;
}
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--header-h) / 2 - 16px); height: 1px; background: var(--gold-grad); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav-item:hover .nav-link, .nav-link.is-active { color: var(--gold-hi); }
.nav-item:hover .nav-link::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .caret { width: 8px; height: 8px; opacity: .7; }
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h); background: rgba(5, 5, 5, .97); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .35s var(--ease);
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 42px; display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.mega-intro .h3 { margin-bottom: 10px; }
.mega-intro p { color: var(--mist); font-size: .92rem; }
.mega-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; }
.mega-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); transition: all .3s; }
.mega-links a strong { display: block; font: 500 .9rem/1.3 var(--f-display); letter-spacing: .08em; color: var(--ivory); }
.mega-links a span { display: block; font: italic 400 .98rem/1.3 var(--f-serif); color: var(--mist); margin-top: 3px; }
.mega-links a:hover strong { color: var(--gold-hi); }
.mega-links a:hover { border-color: var(--gold); padding-left: 6px; }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0%, #1a140a 0%, #000 60%);
  transform: translateX(-100%); transition: transform .55s var(--ease); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; height: var(--header-h); border-bottom: 1px solid var(--line-soft); }
.drawer-nav { padding: 12px var(--gutter) 28px; }
.drawer-nav details { border-bottom: 1px solid var(--line-soft); }
.drawer-nav summary, .drawer-nav > a { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 500 1rem/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); cursor: pointer; }
.drawer-nav > a { border-bottom: 1px solid var(--line-soft); }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; font: 300 1.4rem/1 var(--f-sans); color: var(--gold); transition: transform .3s; }
.drawer-nav details[open] summary::after { transform: rotate(45deg); }
.drawer-nav details div { padding: 0 0 16px 2px; display: grid; gap: 2px; }
.drawer-nav details a { display: block; padding: 10px 0; color: var(--cream); font: 400 1.18rem/1.2 var(--f-serif); }
.drawer-nav details a small { display: block; font: italic .9rem var(--f-serif); color: var(--muted); }
.drawer-foot { margin-top: auto; padding: 22px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .94); backdrop-filter: blur(10px); display: none; align-items: flex-start; justify-content: center; padding: 18vh var(--gutter) 0; }
.search-overlay.is-open { display: flex; }
.search-overlay form { width: 100%; max-width: 760px; }
.search-overlay input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--gold); padding: 16px 0; font: 400 clamp(1.6rem, 6vw, 3rem)/1.2 var(--f-serif); color: var(--ivory); outline: none; }
.search-overlay .hint { margin-top: 14px; color: var(--muted); font-size: .85rem; }
.search-overlay .close { position: absolute; top: 14px; right: 14px; }

/* ---------- Mobile dock & floating actions ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: calc(var(--dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: rgba(5, 5, 5, .92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr);
}
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--mist); font: 500 .56rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.dock a svg { width: 22px; height: 22px; }
.dock a.is-active, .dock a:hover { color: var(--gold-hi); }
.dock a.wa { color: var(--gold-hi); }
.dock a.wa span.ring { width: 40px; height: 40px; margin-top: -18px; border-radius: 50%; display: grid; place-items: center; background: #050505; box-shadow: var(--shadow-gold); }
@media (min-width: 1024px) { .dock { display: none; } }
.fab { position: fixed; right: 26px; bottom: 30px; z-index: 50; display: none; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .fab { display: flex; } }
.fab a { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, #2a2112, #000 70%); box-shadow: 0 0 0 2px #000, 0 0 0 3.5px var(--gold), 0 14px 30px -8px rgba(0, 0, 0, .8); transition: transform .4s var(--ease); position: relative; }
.fab a:hover { transform: translateY(-3px) scale(1.04); }
.fab a svg { width: 28px; height: 28px; }
.fab a .tip { position: absolute; right: 76px; white-space: nowrap; font: 500 .62rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; background: #000; border: 1px solid var(--line); padding: 9px 12px; opacity: 0; transform: translateX(8px); transition: all .3s; pointer-events: none; }
.fab a:hover .tip { opacity: 1; transform: none; }

/* ---------- Hero / slider ---------- */
.hero { position: relative; height: calc(100svh - var(--dock-h) - env(safe-area-inset-bottom)); min-height: 540px; overflow: hidden; background: #000; }
@media (min-width: 1024px) { .hero { height: 100svh; } .hero-ui { padding-right: 130px !important; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media { position: absolute; inset: -8% 0; background-size: cover; background-position: center; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .85) 100%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 90px; z-index: 2; }
@media (min-width: 768px) { .hero-content { justify-content: center; padding-bottom: 0; padding-top: var(--header-h); } }
.hero-content .wrap { padding: 0; }
.hero-content h1, .hero-content h2.h1 { max-width: 14ch; }
.hero-content .lead { max-width: 34ch; margin-top: 18px; }
.hero-content .btn-row { margin-top: 30px; }
.hero-slide.is-active [data-anim] { animation: rise 1.4s var(--ease) both; }
.hero-slide.is-active [data-anim="2"] { animation-delay: .25s; }
.hero-slide.is-active [data-anim="3"] { animation-delay: .5s; }
.hero-slide.is-active [data-anim="4"] { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Campaign slide — Nothing Compare */
.campaign { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 2; padding: var(--header-h) var(--gutter) 90px; }
.campaign-bg { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 55%, rgba(120, 82, 20, .28), transparent 70%), radial-gradient(40% 30% at 70% 70%, rgba(201, 161, 74, .12), transparent 70%), #000; }
.campaign-dust { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 220, 150, .6), transparent), radial-gradient(1px 1px at 80% 20%, rgba(255, 220, 150, .4), transparent), radial-gradient(1.5px 1.5px at 60% 75%, rgba(255, 220, 150, .5), transparent), radial-gradient(1px 1px at 35% 85%, rgba(255, 220, 150, .35), transparent), radial-gradient(1px 1px at 90% 60%, rgba(255, 220, 150, .45), transparent); animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .35; } }
.campaign-title { font-family: var(--f-display); font-weight: 500; line-height: .95; letter-spacing: .01em; margin: 0; position: relative; }
.campaign-title > span { display: block; font-size: clamp(3rem, 14.5vw, 9.4rem); white-space: nowrap; }
.campaign-title .l1 { padding-right: 16%; }
.campaign-title .l2 { padding-left: 20%; margin-top: -.06em; }
@media (max-width: 767px) { .campaign-title .l1 { padding-right: 8%; } .campaign-title .l2 { padding-left: 10%; } }
.campaign-title .cap { display: inline; font-size: 1.24em; line-height: 0; }
.campaign-head { position: relative; display: inline-block; }
.swoosh-wrap { position: absolute; left: 50%; width: min(1100px, 150vw); margin-left: calc(min(1100px, 150vw) / -2); bottom: -62%; pointer-events: none; }
.swoosh { width: 100%; }
@media (min-width: 768px) { .swoosh-wrap { bottom: -30%; width: min(1100px, 95vw); margin-left: calc(min(1100px, 95vw) / -2); } }
.swoosh path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.hero-slide.is-active .swoosh path { animation: draw 2.6s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.swoosh .flare { opacity: 0; }
.hero-slide.is-active .swoosh .flare { animation: flare 2.6s 1.2s ease-out forwards; }
@keyframes flare { 40% { opacity: 1; } to { opacity: .85; } }
.campaign-sub { margin-top: clamp(40px, 9vw, 80px); max-width: 30ch; margin-left: auto; margin-right: auto; color: var(--cream); }
.campaign .btn-row { justify-content: center; margin-top: 26px; }

.hero-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 26px; height: 2px; background: rgba(255, 255, 255, .28); transition: all .5s var(--ease); position: relative; overflow: hidden; }
.hero-dots button.is-active { width: 54px; background: rgba(255, 255, 255, .2); }
.hero-dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); transform-origin: left; animation: progress var(--slide-ms, 7000ms) linear forwards; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ivory); transition: all .3s; }
.hero-arrows button:hover { border-color: var(--gold); color: var(--gold-hi); }
.hero-arrows svg { width: 16px; height: 16px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 5; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; font: 500 .58rem/1 var(--f-sans); letter-spacing: .4em; text-transform: uppercase; color: var(--mist); }
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 768px) { .scroll-cue { display: flex; } }

/* ---------- Placeholder art (shown until real photography is uploaded) ---------- */
.art { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 100%, #2a1f0d 0%, #0b0907 55%, #050505 100%); }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.art .placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.art .placeholder svg { width: 78%; max-width: 440px; }
.art .placeholder .ph-name { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font: 500 .62rem/1 var(--f-sans); letter-spacing: .36em; text-transform: uppercase; color: rgba(243, 217, 139, .35); }

/* ---------- Collection cards / rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 22px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 22px) / 3.4); gap: 22px; } }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.rail-ctrl { display: none; gap: 8px; }
@media (min-width: 1100px) { .rail-ctrl { display: flex; } }
.rail-ctrl button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.rail-ctrl button:hover { border-color: var(--gold); color: var(--gold-hi); }
.rail-ctrl svg { width: 16px; height: 16px; }

.c-card { position: relative; display: flex; flex-direction: column; background: var(--onyx); border: 1px solid var(--line-soft); transition: border-color .5s, transform .6s var(--ease); }
.c-card:hover { border-color: var(--line); transform: translateY(-4px); }
.c-card:hover .art img { transform: scale(1.06); }
.c-card .art { aspect-ratio: 4 / 5; }
.c-card .c-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.c-card .tier { font: 500 .6rem/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.c-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.c-card p { font: italic 400 1.08rem/1.4 var(--f-serif); color: var(--mist); margin: 0 0 18px; }
.c-card .link-arrow { margin-top: auto; }
.c-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; font: 500 .56rem/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: #111; background: var(--gold-grad); padding: 7px 10px; }
.c-card.wide .art { aspect-ratio: 16 / 10; }

/* Tier filter chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1) 28px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 11px 16px; border: 1px solid var(--line-soft); border-radius: 40px; font: 500 .64rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); transition: all .3s; white-space: nowrap; }
.chip:hover { color: var(--ivory); border-color: var(--line); }
.chip.is-active { color: #111; background: var(--gold-grad); border-color: transparent; }

/* ---------- Parallax band ---------- */
.parallax-band { position: relative; min-height: 78svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.parallax-band .pb-media { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; background-size: cover; background-position: center; }
.parallax-band .pb-media img { width: 100%; height: 100%; object-fit: cover; }
.parallax-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .2) 100%); }
.parallax-band.centered::after { background: radial-gradient(60% 70% at 50% 50%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .85)); }
.parallax-band .pb-content { max-width: 620px; }

/* ---------- Layer explode (signature interaction) ---------- */
.layers { position: relative; }
.layers-sticky { position: sticky; top: calc(var(--header-h) + 8px); }
.layers-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .layers-grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 64px; } }
.stack { position: relative; height: clamp(340px, 82vw, 560px); perspective: 1400px; }
.slab {
  position: absolute; left: 6%; right: 6%; height: 15%; top: 42%;
  transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-28deg) translateZ(calc(var(--i) * 18px + var(--p, 0) * var(--i) * 46px));
  transition: transform .2s linear;
}
.slab-face { position: absolute; inset: 0; border-radius: 10px; background: var(--slab, linear-gradient(135deg, #2b2418, #14110b)); box-shadow: inset 0 0 0 1px rgba(243, 217, 139, .18), 0 30px 40px -24px rgba(0, 0, 0, .9); }
.slab-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--texture, none); opacity: .55; }
.slab[data-kind="coil"] .slab-face { --texture: repeating-radial-gradient(circle at 10px 10px, rgba(243, 217, 139, .35) 0 2px, transparent 3px 14px); background: linear-gradient(135deg, #1d1a14, #0d0c0a); }
.slab[data-kind="latex"] .slab-face { --texture: radial-gradient(circle, rgba(0, 0, 0, .35) 2px, transparent 3px) 0 0 / 14px 14px; background: linear-gradient(135deg, #efe2bf, #cdb98b); }
.slab[data-kind="fiber"] .slab-face { --texture: repeating-linear-gradient(115deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 5px); background: linear-gradient(135deg, #d9cdb5, #a69777); }
.slab[data-kind="foam"] .slab-face { background: linear-gradient(135deg, #8a7a5d, #5c5040); --texture: radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 2px) 0 0 / 7px 7px; }
.slab[data-kind="top"] .slab-face { background: linear-gradient(135deg, #f8f2e4, #ddd0b4); --texture: repeating-linear-gradient(45deg, rgba(150, 120, 60, .18) 0 1px, transparent 1px 12px), repeating-linear-gradient(-45deg, rgba(150, 120, 60, .18) 0 1px, transparent 1px 12px); }
.slab-label { position: absolute; right: 0; top: 0; transform: translate(0, -50%); }
.layer-list { counter-reset: layer; display: grid; gap: 4px; }
.layer-item { counter-increment: layer; padding: 20px 0 20px 54px; border-bottom: 1px solid var(--line-soft); position: relative; transition: all .4s; opacity: .55; }
.layer-item.is-on { opacity: 1; }
.layer-item::before { content: counter(layer, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 500 .8rem/1 var(--f-display); color: var(--gold); letter-spacing: .1em; }
.layer-item h4 { margin: 0 0 6px; font: 500 1.02rem/1.3 var(--f-display); letter-spacing: .06em; color: var(--ivory); }
.layer-item p { margin: 0; color: var(--mist); font-size: .95rem; }
.layer-group-title { font: 500 .62rem/1 var(--f-sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 28px 0 6px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 30px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.stat b { display: block; font: 500 clamp(1.8rem, 7vw, 3.2rem)/1 var(--f-display); margin-bottom: 10px; }
.stat span { font: italic 400 1.02rem/1.3 var(--f-serif); color: var(--mist); }

/* ---------- Feature list ---------- */
.features { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 768px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--black); padding: 30px 26px; }
.feature .ico { width: 42px; height: 42px; color: var(--gold); margin-bottom: 18px; }
.feature h4 { margin: 0 0 8px; font: 500 1.02rem/1.3 var(--f-display); letter-spacing: .06em; color: var(--ivory); }
.feature p { margin: 0; color: var(--mist); font-size: .95rem; }

/* ---------- Spec table ---------- */
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.specs th { width: 42%; font: 500 .64rem/1.4 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-right: 16px; }
.specs td { color: var(--ivory); }

/* ---------- Highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.highlights div { padding: 18px 10px 0 0; }
.highlights b { display: block; font: 500 clamp(1rem, 4vw, 1.5rem)/1.1 var(--f-display); color: var(--gold-hi); }
.highlights span { font: 500 .58rem/1.4 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 9vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero.short { min-height: 46svh; }
.page-hero .ph-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-media.art .placeholder svg { opacity: .55; max-width: 720px; width: 92%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 40%, #000 100%); }
.page-hero .lead { max-width: 40ch; margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 .6rem/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Sticky sub-nav & action bar ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(0, 0, 0, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); transition: top .45s var(--ease); }
.site-header.is-hidden ~ main .subnav { top: 0; }
.subnav .wrap { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 17px 0; font: 500 .64rem/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mist); border-bottom: 1px solid transparent; }
.subnav a.is-active, .subnav a:hover { color: var(--gold-hi); border-color: var(--gold); }
.action-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); z-index: 54; display: flex; gap: 8px; padding: 10px 12px; background: rgba(5, 5, 5, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-soft); transform: translateY(120%); transition: transform .5s var(--ease); }
.action-bar.is-visible { transform: none; }
.action-bar .btn { flex: 1; --h: 46px; padding: 0 12px; font-size: .62rem; letter-spacing: .18em; }
@media (min-width: 1024px) { .action-bar { display: none; } }

/* ---------- Product / model list ---------- */
.models { display: grid; gap: 14px; }
@media (min-width: 768px) { .models { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1100px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px; background: var(--onyx); border: 1px solid var(--line-soft); transition: border-color .4s; }
.model:hover { border-color: var(--line); }
.model .art { aspect-ratio: 1; }
.model h3 { font-size: 1.05rem; margin-bottom: 4px; }
.model p { margin: 0; font-size: .86rem; color: var(--mist); }
.model .meta { margin-top: 8px; font: 500 .58rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 768px) { .model { grid-template-columns: 1fr; padding: 0; } .model .art { aspect-ratio: 4 / 3; } .model > div:last-child { padding: 18px 20px 22px; } }

/* Accessory product card with sizes */
.acc { background: var(--onyx); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.acc .art { aspect-ratio: 4 / 3; }
.acc-body { padding: 22px; }
.acc-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.acc-body > p { color: var(--mist); font-size: .94rem; }
.acc details { border-top: 1px solid var(--line-soft); margin-top: 12px; }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 14px 0 4px; cursor: pointer; font: 500 .62rem/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1rem; line-height: .6; }
.acc details[open] summary::after { content: "–"; }
.size-table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 8px; }
.size-table td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); color: var(--cream); }
.size-table td:not(:first-child) { text-align: right; color: var(--mist); white-space: nowrap; padding-left: 10px; }

/* ---------- Selector quiz ---------- */
.quiz { max-width: 880px; margin: 0 auto; }
.quiz-progress { height: 2px; background: var(--line-soft); margin-bottom: 36px; position: relative; }
.quiz-progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold-grad); transition: width .6s var(--ease); }
.quiz-step { display: none; animation: rise .7s var(--ease) both; }
.quiz-step.is-active { display: block; }
.quiz-step h2 { font-size: clamp(1.5rem, 5.5vw, 2.6rem); margin-bottom: 8px; }
.quiz-step .muted { margin-bottom: 26px; }
.options { display: grid; gap: 10px; }
@media (min-width: 640px) { .options { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.option { position: relative; display: flex; gap: 16px; align-items: center; text-align: left; padding: 20px; border: 1px solid var(--line-soft); background: var(--onyx); transition: all .35s var(--ease); min-height: 84px; width: 100%; }
.option:hover { border-color: var(--line); }
.option[aria-pressed="true"] { border-color: var(--gold); box-shadow: var(--shadow-gold); background: linear-gradient(135deg, #17120a, #0b0b0b); }
.option svg { flex: none; width: 34px; height: 34px; color: var(--gold); }
.option strong { display: block; font: 500 .95rem/1.3 var(--f-display); letter-spacing: .06em; color: var(--ivory); }
.option span { display: block; font-size: .85rem; color: var(--mist); margin-top: 3px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
.result-card { display: grid; gap: 0; border: 1px solid var(--line); background: var(--onyx); margin-bottom: 16px; }
@media (min-width: 768px) { .result-card { grid-template-columns: 300px 1fr; } }
.result-card .art { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .result-card .art { aspect-ratio: auto; min-height: 100%; } }
.result-card .rc-body { padding: 24px; }
.match { display: inline-flex; align-items: baseline; gap: 6px; font: 500 .62rem/1 var(--f-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.match b { font: 500 1.8rem/1 var(--f-display); }
.reasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; padding: 0; list-style: none; }
.reasons li { font-size: .74rem; padding: 6px 10px; border: 1px solid var(--line-soft); border-radius: 30px; color: var(--cream); }

/* ---------- Compare ---------- */
.compare-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
.compare-picker select { width: 100%; background: var(--onyx); border: 1px solid var(--line); padding: 14px 10px; color: var(--ivory); font-size: .85rem; border-radius: 0; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(-45deg, transparent 50%, var(--gold) 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.compare-scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 16px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: left; font-size: .9rem; }
.compare-table thead th { vertical-align: bottom; }
.compare-table tbody th { width: 150px; font: 500 .6rem/1.4 var(--f-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); position: sticky; left: 0; background: var(--black); z-index: 1; }
.compare-table .ch .art { aspect-ratio: 4 / 3; margin-bottom: 12px; }
.compare-table .ch h3 { font-size: 1rem; }
.compare-table ul { margin: 0; padding-left: 1em; }
.compare-table li { margin-bottom: 4px; }
.firm-meter { height: 4px; background: var(--line-soft); position: relative; margin-top: 8px; }
.firm-meter i { position: absolute; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-hi); transform: translateX(-50%); }

/* ---------- Stores ---------- */
.store-tools { display: grid; gap: 12px; margin-bottom: 22px; }
@media (min-width: 768px) { .store-tools { grid-template-columns: 1fr 260px; } }
.field { position: relative; }
.input, .select, .textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 16px 0 12px; color: var(--ivory); border-radius: 0; outline: none; transition: border-color .3s; font-size: 1rem; }
.select { appearance: none; background: transparent; }
.select option { background: #111; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold-hi); }
.textarea { min-height: 140px; resize: vertical; }
.field label { display: block; font: 500 .6rem/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.field .error { color: var(--danger); font-size: .8rem; margin-top: 6px; }
.store-list { display: grid; gap: 14px; }
@media (min-width: 768px) { .store-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .store-list { grid-template-columns: repeat(3, 1fr); } }
.store { padding: 24px; border: 1px solid var(--line-soft); background: var(--onyx); display: flex; flex-direction: column; }
.store .type { font: 500 .58rem/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.store h3 { font-size: 1.05rem; margin-bottom: 8px; }
.store p { color: var(--mist); font-size: .9rem; margin-bottom: 6px; }
.store .btn-row { margin-top: auto; padding-top: 14px; }
.empty { padding: 40px 20px; text-align: center; color: var(--mist); border: 1px dashed var(--line); }

/* ---------- Posts ---------- */
.post-card { display: flex; flex-direction: column; background: var(--onyx); border: 1px solid var(--line-soft); transition: border-color .4s; }
.post-card:hover { border-color: var(--line); }
.post-card .art { aspect-ratio: 16 / 10; }
.post-card .pc-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card .pc-meta { font: 500 .58rem/1 var(--f-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.post-card p { color: var(--mist); font-size: .92rem; }
.post-card .link-arrow { margin-top: auto; }

/* ---------- Story chapters ---------- */
.chapter { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .chapter { grid-template-columns: 1fr 1fr; gap: 72px; } .chapter.right .chapter-media { order: 2; } }
.chapter-media { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.chapter-media .pm { position: absolute; inset: -10% 0; will-change: transform; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter + .chapter { margin-top: clamp(72px, 12vw, 140px); }
.quote { text-align: center; max-width: 880px; margin: 0 auto; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.7rem, 6vw, 3.2rem)/1.25 var(--f-serif); color: var(--ivory); }
.quote cite { display: block; margin-top: 20px; font: 500 .62rem/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; font-style: normal; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; font: 500 1.02rem/1.4 var(--f-display); letter-spacing: .04em; color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font: 300 1.5rem/1 var(--f-sans); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist); padding-bottom: 22px; margin: 0; }

/* ---------- Newsletter / footer ---------- */
.newsletter { text-align: center; }
.newsletter form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 26px auto 0; }
@media (min-width: 640px) { .newsletter form { flex-direction: row; } .newsletter .input { flex: 1; } }
.site-footer { background: #030303; border-top: 1px solid var(--line); padding: clamp(56px, 10vw, 96px) 0 28px; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; } }
.footer-brand p { color: var(--mist); font-size: .9rem; max-width: 34ch; margin-top: 20px; }
.footer-col h4 { margin: 0 0 16px; font: 500 .64rem/1 var(--f-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--cream); font-size: .92rem; transition: color .3s; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
@media (min-width: 900px) { .footer-cols { display: contents; } }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-hi); }
.socials a:hover { background: var(--gold); color: #000; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; font-size: .76rem; color: var(--muted); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Alerts & pagination ---------- */
.alert { padding: 14px 18px; border: 1px solid var(--gold); background: rgba(201, 161, 74, .08); color: var(--ivory); margin-bottom: 22px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-soft); font-size: .85rem; padding: 0 10px; }
.pagination .is-current { border-color: var(--gold); color: var(--gold-hi); }
.pagination a:hover { border-color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@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; }
  .swoosh path { stroke-dashoffset: 0; }
}

/* Fill helpers */
.art.ph-fill { position: absolute; inset: 0; }
.art.ph-fill .placeholder svg { opacity: .35; width: 70%; max-width: 760px; }

/* Layer explode — mobile: natural flow (no pinning), desktop: pinned while scrolling */
.stack { margin-top: 36px; }
@media (max-width: 959px) {
  .layers { min-height: 0 !important; }
  .layers-sticky { position: static; }
  .stack { height: 300px; margin: 24px -10px 10px; }
  .slab { transform: rotateX(58deg) rotateZ(-28deg) translateZ(calc(var(--i) * 12px + var(--p, 0) * var(--i) * 26px)); }
}
@media (min-width: 960px) { .layers-sticky { top: calc(var(--header-h) + 24px); } }
@media (max-width: 639px) { .compare-picker { grid-template-columns: 1fr; } }
.features { background: transparent; gap: 0; border: 0; }
.feature { border: 1px solid var(--line-soft); margin: 0 -1px -1px 0; }
