/* ═══════════════════════════════════════════════════════════
   POISON — Haute Parfumerie
   Deep matte black · Emerald · Antique gold
   ═══════════════════════════════════════════════════════════ */

:root {
  --black: #060607;
  --black-soft: #0b0b0d;
  --black-card: #101013;
  --emerald: #2fbd7f;
  --emerald-deep: #0e4d35;
  --violet: #6d4a9e;
  --gold: #c9a15a;
  --gold-bright: #e8c98a;
  --ivory: #f2ede3;
  --grey: #9b978e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-silk: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--emerald-deep); color: var(--ivory); }

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ═══════════ LOADER ═══════════ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.2s var(--ease-silk), visibility 1.2s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-mark {
  font-family: var(--serif); font-size: 72px; font-weight: 300;
  color: var(--gold);
  border: 1px solid rgba(201,161,90,.35);
  width: 110px; height: 110px; line-height: 108px;
  margin: 0 auto 28px;
  animation: markPulse 2.4s var(--ease-silk) infinite;
}
@keyframes markPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,161,90,0); border-color: rgba(201,161,90,.35); }
  50% { box-shadow: 0 0 45px 0 rgba(201,161,90,.12); border-color: rgba(201,161,90,.7); }
}
.loader-word {
  font-family: var(--sans); font-weight: 300; font-size: 13px;
  letter-spacing: 0.6em; text-indent: 0.6em; color: var(--ivory);
  margin-bottom: 34px;
}
.loader-bar {
  width: 180px; height: 1px; margin: 0 auto 18px;
  background: rgba(242,237,227,.12); overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width .4s var(--ease-silk);
}
.loader-hint { font-size: 11px; letter-spacing: .25em; color: var(--grey); text-transform: uppercase; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 48px;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 1.4s var(--ease-lux) .3s, transform 1.4s var(--ease-lux) .3s, background .6s;
}
.nav.visible { opacity: 1; transform: none; }
.nav.scrolled {
  background: linear-gradient(180deg, rgba(6,6,7,.82), rgba(6,6,7,0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-brand {
  font-family: var(--sans); font-weight: 400; font-size: 15px;
  letter-spacing: .55em; text-indent: .55em; color: var(--ivory);
}
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  color: var(--grey); text-decoration: none; font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase;
  position: relative; transition: color .5s var(--ease-lux);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-lux);
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ═══════════ CHAPTER PROGRESS ═══════════ */
.chapters {
  position: fixed; left: 42px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; gap: 20px; align-items: stretch;
  opacity: 0; transition: opacity 1s var(--ease-lux);
  pointer-events: none;
}
.chapters.visible { opacity: 1; pointer-events: auto; }
.chapters.faded { opacity: 0; pointer-events: none; }
.chapters-line {
  width: 1px; background: rgba(242,237,227,.12); position: relative;
}
.chapters-line span {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--emerald), var(--gold));
  transition: height .25s linear;
}
.chapters ol { list-style: none; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.chapters li {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
}
.chapters li i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(242,237,227,.25);
  transition: all .6s var(--ease-lux);
  flex: none;
}
.chapters li span {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(155,151,142,.55);
  transition: color .6s var(--ease-lux), letter-spacing .6s var(--ease-lux);
  white-space: nowrap;
}
.chapters li.active i {
  background: var(--gold); box-shadow: 0 0 12px rgba(201,161,90,.8);
  transform: scale(1.5);
}
.chapters li.active span { color: var(--gold-bright); letter-spacing: .38em; }
.chapters li.passed i { background: var(--emerald); }
.chapters li.passed span { color: rgba(242,237,227,.5); }

/* ═══════════ THE FILM ═══════════ */
.film { height: 640vh; position: relative; }
.film-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--black);
}
#filmVideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.film-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(6,6,7,.55) 100%),
    linear-gradient(180deg, rgba(6,6,7,.35) 0%, transparent 18%, transparent 82%, rgba(6,6,7,.5) 100%);
}
.film-grain {
  position: absolute; inset: -100%; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain 7s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-4%,-6%); }
  30% { transform: translate(5%,-3%); } 50% { transform: translate(-6%,4%); }
  70% { transform: translate(4%,6%); } 90% { transform: translate(-3%,3%); }
}

.film-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
  opacity: 0; transition: opacity .9s var(--ease-silk);
}
.film-overlay.on { opacity: 1; pointer-events: auto; }

/* Hero */
.hero-eyebrow {
  font-size: 11px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 30px;
  opacity: 0; animation: riseIn 1.6s var(--ease-lux) .9s forwards;
}
.hero-title {
  font-family: var(--serif); font-weight: 300; line-height: 1.04;
  font-size: clamp(52px, 8.5vw, 118px); color: var(--ivory);
}
.hero-title span {
  display: block; opacity: 0;
  animation: riseIn 1.8s var(--ease-lux) forwards;
}
.hero-title span:nth-child(1) { animation-delay: 1.15s; }
.hero-title span:nth-child(2) { animation-delay: 1.35s; font-style: italic; color: var(--gold-bright); }
.hero-sub {
  margin-top: 30px; font-size: 15px; letter-spacing: .12em; color: var(--grey);
  font-weight: 300; max-width: 480px;
  opacity: 0; animation: riseIn 1.8s var(--ease-lux) 1.7s forwards;
}
.hero-cta { margin-top: 46px; opacity: 0; animation: riseIn 1.8s var(--ease-lux) 2s forwards; }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--grey);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; animation: riseIn 1.8s var(--ease-lux) 2.5s forwards;
}
.hero-scroll-hint span {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s var(--ease-silk) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Chapter interstitial card */
.chapter-card { justify-content: flex-end; padding-bottom: 12vh; }
.chapter-num {
  font-family: var(--serif); font-size: 15px; letter-spacing: .5em;
  color: var(--gold); margin-bottom: 12px;
}
.chapter-name {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(30px, 3.6vw, 52px); color: var(--ivory);
  text-shadow: 0 2px 30px rgba(0,0,0,.7);
}

/* Signature overlay */
.signature-overlay { justify-content: flex-end; padding-bottom: 16vh; }
.signature-tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.6vw, 36px); color: var(--gold-bright);
  letter-spacing: .08em;
  text-shadow: 0 2px 40px rgba(0,0,0,.8);
}

/* ═══════════ SHARED SECTION CHROME ═══════════ */
.section { position: relative; padding: 160px 8vw; }
.section-head { text-align: center; margin-bottom: 90px; }
.eyebrow {
  font-size: 11px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.title {
  font-family: var(--serif); font-weight: 300; line-height: 1.1;
  font-size: clamp(38px, 4.6vw, 68px); color: var(--ivory);
}
.title em { font-style: italic; color: var(--gold-bright); }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(42px);
  transition: opacity 1.4s var(--ease-lux) var(--d, 0s), transform 1.4s var(--ease-lux) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; text-indent: .32em;
  padding: 19px 46px; position: relative; overflow: hidden;
  transition: color .6s var(--ease-lux), border-color .6s var(--ease-lux), box-shadow .6s var(--ease-lux);
}
.btn-ghost {
  color: var(--ivory); border: 1px solid rgba(201,161,90,.45);
  background: rgba(6,6,7,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost::before, .btn-solid::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, var(--emerald-deep), var(--gold));
  opacity: 0; transition: opacity .6s var(--ease-lux);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; box-shadow: 0 0 40px rgba(201,161,90,.18); }
.btn-ghost:hover::before { opacity: .35; }
.btn-solid {
  color: var(--black); background: linear-gradient(105deg, var(--gold), var(--gold-bright));
  border: 1px solid transparent;
}
.btn-solid:hover { box-shadow: 0 8px 44px rgba(201,161,90,.35); }

/* ═══════════ NOTES ═══════════ */
.notes {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(14,77,53,.16), transparent 70%),
    var(--black);
}
.notes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1240px; margin: 0 auto;
}
.note-card {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(242,237,227,.08);
  border-radius: 2px;
  padding: 54px 44px 48px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .8s var(--ease-lux), border-color .8s var(--ease-lux), box-shadow .8s var(--ease-lux);
}
.note-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201,161,90,.35);
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.note-glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 240px; height: 140px; filter: blur(60px); opacity: .35;
  transition: opacity .8s;
}
.note-card:hover .note-glow { opacity: .6; }
.note-glow-top { background: var(--emerald-deep); }
.note-glow-heart { background: var(--violet); }
.note-glow-base { background: #6b4d1f; }
.note-tier {
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.note-headline {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 30px; color: var(--ivory); margin-bottom: 28px;
}
.note-card ul { list-style: none; margin-bottom: 28px; }
.note-card li {
  font-family: var(--serif); font-size: 21px; font-weight: 300;
  color: var(--ivory); padding: 9px 0;
  border-bottom: 1px solid rgba(242,237,227,.07);
  display: flex; align-items: baseline; gap: 12px;
}
.note-card li::before {
  content: '·'; color: var(--gold); font-size: 24px;
}
.note-desc { font-size: 13.5px; line-height: 1.75; color: var(--grey); }

/* ═══════════ CRAFTSMANSHIP ═══════════ */
.craft {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center;
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(109,74,158,.08), transparent 70%),
    var(--black-soft);
}
.craft-media { position: relative; }
.craft-media img {
  width: 100%; display: block; border-radius: 2px;
  filter: saturate(.92) contrast(1.04);
}
.craft-media-frame {
  position: absolute; inset: 18px; border: 1px solid rgba(201,161,90,.3);
  pointer-events: none;
}
.craft-copy .title { margin-bottom: 44px; }
.craft-paragraphs p {
  font-size: 15px; line-height: 2; color: var(--grey); margin-bottom: 26px;
  font-weight: 300; max-width: 520px;
}
.craft-paragraphs em { color: var(--ivory); font-style: italic; font-family: var(--serif); font-size: 17px; }
.craft-stats { display: flex; gap: 64px; margin-top: 50px; }
.craft-stats div { display: flex; flex-direction: column; gap: 6px; }
.craft-stats strong {
  font-family: var(--serif); font-weight: 300; font-size: 46px; color: var(--gold-bright);
}
.craft-stats span { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--grey); }

/* ═══════════ BOTTLE DESIGN ═══════════ */
.bottle {
  background:
    radial-gradient(ellipse 55% 50% at 50% 55%, rgba(14,77,53,.14), transparent 72%),
    var(--black);
  text-align: center;
}
.bottle-stage {
  position: relative; max-width: 880px; margin: 0 auto;
  perspective: 1200px;
}
.bottle-light {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,189,127,.14), rgba(109,74,158,.07) 45%, transparent 70%);
  filter: blur(30px); pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  transition: opacity .5s; z-index: 0;
}
.bottle-card {
  position: relative; display: inline-block; border-radius: 3px; overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .18s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
}
.bottle-card img { display: block; width: min(760px, 78vw); user-select: none; }
.bottle-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(232,201,138,.14) 47%, rgba(255,255,255,.1) 50%, rgba(47,189,127,.1) 53%, transparent 70%);
  background-size: 260% 260%; background-position: 80% 50%;
  mix-blend-mode: screen;
  transition: background-position .3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.bottle-hint {
  margin-top: 34px; font-size: 10px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--grey);
}
.bottle-details {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 1100px; margin: 100px auto 0; text-align: left;
}
.bottle-details h4 {
  font-family: var(--serif); font-weight: 400; font-size: 23px;
  color: var(--gold-bright); margin-bottom: 14px;
}
.bottle-details h4::before {
  content: ''; display: block; width: 34px; height: 1px;
  background: var(--gold); margin-bottom: 18px;
}
.bottle-details p { font-size: 13.5px; line-height: 1.8; color: var(--grey); }

/* ═══════════ EXPERIENCE ═══════════ */
.experience {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.experience-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95);
}
.experience-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(6,6,7,.15), rgba(6,6,7,.72)),
    linear-gradient(180deg, var(--black) 0%, transparent 14%, transparent 86%, var(--black) 100%);
}
.experience-quote { position: relative; z-index: 2; text-align: center; padding: 0 8vw; }
.experience-quote p {
  font-family: var(--serif); font-weight: 300; line-height: 1.25;
  font-size: clamp(36px, 5vw, 74px); color: var(--ivory);
  text-shadow: 0 4px 60px rgba(0,0,0,.8);
}
.experience-quote em { font-style: italic; color: var(--gold-bright); }
.experience-quote cite {
  display: block; margin-top: 34px; font-style: normal; font-family: var(--sans);
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--grey);
}

/* ═══════════ PURCHASE ═══════════ */
.purchase {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 7vw; align-items: center;
  background:
    radial-gradient(ellipse 50% 65% at 0% 50%, rgba(14,77,53,.12), transparent 70%),
    var(--black-soft);
}
.purchase-media { position: relative; }
.purchase-media::after {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(180deg, transparent 60%, rgba(6,6,7,.55));
  pointer-events: none;
}
.purchase-media img { width: 100%; display: block; border-radius: 2px; }
.purchase-copy .title { margin-bottom: 30px; }
.purchase-desc { font-size: 14px; line-height: 2; color: var(--grey); letter-spacing: .06em; }
.purchase-price {
  font-family: var(--serif); font-weight: 300; font-size: 58px;
  color: var(--gold-bright); margin: 36px 0 42px;
}
.purchase-ctas { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.purchase-fine {
  margin-top: 34px; font-size: 11px; letter-spacing: .18em; color: rgba(155,151,142,.7);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: 110px 8vw 60px; text-align: center;
  border-top: 1px solid rgba(242,237,227,.06);
  background: var(--black);
}
.footer-mark {
  font-family: var(--sans); font-weight: 300; font-size: 26px;
  letter-spacing: .65em; text-indent: .65em; color: var(--ivory); margin-bottom: 18px;
}
.footer-tag {
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: var(--gold); margin-bottom: 60px;
}
.footer-cols {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(155,151,142,.6);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .chapters li span { display: none; }
  .chapters { left: 22px; }
  .notes-grid { grid-template-columns: 1fr; max-width: 560px; }
  .craft, .purchase { grid-template-columns: 1fr; gap: 60px; }
  .bottle-details { grid-template-columns: 1fr; gap: 44px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 110px 7vw; }
  .craft-stats { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
