:root {
  --ivory: #f8f4ee;
  --cream: #efe8dd;
  --sand: #e4d9c8;
  --ink: #1d1b18;
  --ink-soft: #5e574d;
  --gold: #a8844f;
  --gold-deep: #8a6a3b;
  --gold-light: #d8c39c;
  --line: rgba(29, 27, 24, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--gold-deep); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-size: 1.6rem; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-size: .85rem; letter-spacing: .08em; font-weight: 600;
  border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--ink); color: var(--ivory); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { padding: .6rem 1.2rem; font-size: .75rem; }
.btn--line { border-color: var(--ink); color: var(--ink); width: 100%; }
.btn--line:hover { background: var(--ink); color: var(--ivory); }

/* Age gate */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(248, 244, 238, .96);
  backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 16px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.age-gate.hidden { opacity: 0; visibility: hidden; }
.age-gate__card {
  max-width: 480px; text-align: center;
  background: #fff; padding: 3rem 2rem; border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(60, 45, 20, .25);
}
.age-gate__card h2 { font-size: 2.4rem; margin-bottom: 1rem; }
.age-gate__card p { color: var(--ink-soft); margin-bottom: 2rem; }
.age-gate__actions { display: flex; flex-direction: column; gap: .75rem; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(16px, 4vw, 3rem);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.header.scrolled {
  background: rgba(248, 244, 238, .85);
  backdrop-filter: blur(14px);
  padding-top: .8rem; padding-bottom: .8rem;
  box-shadow: 0 1px 0 var(--line);
}
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .02em; }
.nav { display: flex; gap: 2.2rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.nav a:hover::after { width: 100%; }

/* HERO */
.hero { position: relative; height: 500vh; background: #e9dad2; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero__loader {
  position: absolute; left: 50%; bottom: 3rem; transform: translateX(-50%);
  width: 140px; height: 1px; background: var(--line); transition: opacity .6s;
}
.hero__loader span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s; }
.hero__loader.done { opacity: 0; }

.beat {
  position: absolute; left: clamp(16px, 7vw, 7rem); top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  opacity: 0; pointer-events: none;
}
.beat.active { pointer-events: auto; }
.beat .btn { margin-top: 2rem; }
.beat--2 { }

.scroll-hint {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
  transition: opacity .5s;
}
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: drip 2s infinite var(--ease); transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero__progress { position: absolute; right: clamp(16px, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); width: 1px; height: 120px; background: var(--line); }
.hero__progress span { display: block; width: 100%; height: 0; background: var(--gold); }

/* Strip */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
}
.strip > div { padding: 2rem clamp(16px, 3vw, 2.5rem); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.strip > div:last-child { border-right: 0; }
.strip strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.strip span { font-size: .8rem; color: var(--ink-soft); }

/* Sections */
.section { padding: clamp(5rem, 12vw, 9rem) clamp(16px, 5vw, 4rem); }
.section--tint { background: var(--cream); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section__head p { color: var(--ink-soft); margin-top: 1rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 2rem); max-width: 1280px; margin: 0 auto; }
.grid--devices { grid-template-columns: repeat(3, 1fr); }
.grid--sticks { grid-template-columns: repeat(4, 1fr); }

/* Device card */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(60, 45, 20, .3); }
.card__media {
  aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--cream) 70%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.card__media img { width: 80%; height: 80%; object-fit: contain; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 1rem; left: 1rem; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; background: var(--ivory); padding: .35rem .7rem; border-radius: 999px; color: var(--gold-deep); font-weight: 600; }
.card__body { padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.card__body p { color: var(--ink-soft); font-size: .9rem; flex: 1; }
.swatches { display: flex; gap: .5rem; }
.swatches button { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; outline-offset: 3px; }
.swatches button.on { outline: 1px solid var(--ink); }

/* Placeholder device art */
.ph-device { width: 34%; aspect-ratio: 1 / 3.4; border-radius: 40px; position: relative; box-shadow: inset -8px 0 18px rgba(0,0,0,.18), inset 6px 0 12px rgba(255,255,255,.25), 0 30px 40px -20px rgba(0,0,0,.35); transition: background .5s; }
.ph-device::after { content: ""; position: absolute; top: 6%; left: 50%; transform: translateX(-50%); width: 34%; height: 4%; border-radius: 999px; background: rgba(255,255,255,.35); }

/* Stick card */
.stick {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.stick:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(60, 45, 20, .3); }
.stick__pack { aspect-ratio: 3 / 4; border-radius: 3px; position: relative; overflow: hidden; box-shadow: 0 18px 30px -18px rgba(0,0,0,.4); }
.stick__pack::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 40%, rgba(0,0,0,.12)); }
.stick__pack span { position: absolute; left: 12%; bottom: 12%; font-family: var(--serif); color: #fff; font-size: 1.3rem; letter-spacing: .05em; }
.stick__pack b { position: absolute; left: 12%; top: 12%; font-family: var(--sans); font-size: .62rem; letter-spacing: .35em; color: rgba(255,255,255,.85); font-weight: 600; }
.stick h3 { font-size: 1.35rem; }
.stick p { font-size: .82rem; color: var(--ink-soft); margin-top: -.6rem; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); max-width: 1180px; margin: 0 auto; align-items: center; }
.why__text p { color: var(--ink-soft); margin: 1.5rem 0 2rem; max-width: 440px; }
.steps { list-style: none; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps b { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-weight: 500; min-width: 2rem; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.steps span { color: var(--ink-soft); font-size: .9rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); padding-top: .8rem; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 4rem clamp(16px, 5vw, 4rem) 2rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.footer__brand p { color: rgba(239,232,221,.6); font-size: .85rem; margin-top: 1rem; max-width: 420px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer__cols div { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.footer__cols strong { color: var(--gold-light); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .5rem; }
.footer__cols a:hover { color: var(--gold-light); }
.footer small { grid-column: 1 / -1; border-top: 1px solid rgba(239,232,221,.12); padding-top: 1.5rem; color: rgba(239,232,221,.45); font-size: .72rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); }

/* Responsive */
@media (max-width: 1024px) {
  .grid--sticks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .grid--devices { grid-template-columns: 1fr; max-width: 460px; }
  .grid--sticks { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .why { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .hero { height: 400vh; }
  .beat, .beat--2 { left: 16px; right: 16px; top: auto; bottom: 14%; transform: none; text-align: left; max-width: none; }
  .hero__progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .scroll-hint i { animation: none; }
}
