/* ==========================================================================
   AROMUSE — Coming Soon
   Pure CSS. No frameworks.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* sauvage palette — deep ink navy, cool white, platinum-steel accent.
     note: --gold* names kept for stability; values are now silver/steel. */
  --ink:        #0a121d;
  --ink-raised: #101b2a;
  --ivory:      #eef2f6;
  --ivory-dim:  rgba(238, 242, 246, .62);
  --ivory-faint:rgba(238, 242, 246, .52); /* ≥4.5:1 on the navy base (a11y) */
  --gold:       #bccddd;
  --gold-soft:  #dfe9f2;
  --gold-dim:   rgba(188, 205, 221, .38);
  /* true champagne gold — the AROMUSE signature, used on ~5% of elements */
  --brand-gold:      #d4af37;
  --brand-gold-soft: #e7cf8d;
  --line:       rgba(238, 242, 246, .1);
  --paper:      #f5f5f4;
  --paper-ink:  #15191d;
  --steel:      #44607b;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --ease-io:    cubic-bezier(.83, 0, .17, 1);

  --section-pad: clamp(6rem, 14vh, 10rem);

  /* mouse parallax, written by script.js (-.5 … .5) */
  --mx: 0;
  --my: 0;
}

/* ---------- Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(188, 205, 221, .3) var(--ink);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a121d; }
::-webkit-scrollbar-thumb {
  background: rgba(188, 205, 221, .28);
  border-radius: 999px;
  border: 2px solid #0a121d;
}
::-webkit-scrollbar-thumb:hover { background: rgba(188, 205, 221, .45); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.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;
}

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Shared type ------------------------------------------------- */
.label {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: .005em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.section-heading em {
  font-style: italic;
  color: var(--gold-soft);
}

.section-sub {
  color: var(--ivory-dim);
  margin-top: 1.1rem;
  font-size: .95rem;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: transform 1s var(--ease-io) .15s, visibility 0s 1.3s;
}

html.no-js .preloader { display: none; }

.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  transition: opacity .5s ease;
}

.preloader__mark {
  width: clamp(84px, 13vw, 116px);
  height: auto;
  opacity: 0;
  transform: scale(.88);
  animation: pre-mark 1.1s var(--ease) .05s forwards;
}

@keyframes pre-mark {
  to { opacity: 1; transform: scale(1); }
}

.preloader__word {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 400;
  letter-spacing: .42em;
  margin-right: -.42em; /* re-centre tracked text */
  overflow: hidden;
}

.preloader__word span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: pre-letter .9s var(--ease) forwards;
  animation-delay: calc(.15s + var(--i) * .07s);
}

@keyframes pre-letter {
  to { transform: translateY(0); opacity: 1; }
}

.preloader__line {
  width: clamp(120px, 22vw, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  transform: scaleX(0);
  animation: pre-line 1.1s var(--ease) .7s forwards;
}

@keyframes pre-line {
  to { transform: scaleX(1); }
}

.preloader__tag {
  font-size: .62rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  opacity: 0;
  animation: pre-fade .8s ease 1.15s forwards;
}

@keyframes pre-fade {
  to { opacity: 1; }
}

.preloader.is-done {
  transform: translateY(-100%);
  visibility: hidden;
}

.preloader.is-done .preloader__inner { opacity: 0; }

/* ==========================================================================
   BACKDROP — aurora orbs, grain, vignette
   ========================================================================== */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--ink);
  /* whole layer drifts very slightly with the pointer */
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px), 0);
}

.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.orb--gold {
  /* cold steel-blue studio light */
  width: 68vmax; height: 68vmax;
  top: -26vmax; left: -18vmax;
  background: radial-gradient(circle, rgba(122, 154, 188, .15) 0%, rgba(122, 154, 188, .06) 38%, transparent 68%);
  animation: drift-a 28s ease-in-out infinite alternate;
}

.orb--amber {
  /* deep ocean glow */
  width: 58vmax; height: 58vmax;
  bottom: -24vmax; right: -16vmax;
  background: radial-gradient(circle, rgba(35, 68, 105, .24) 0%, rgba(35, 68, 105, .08) 40%, transparent 68%);
  animation: drift-b 24s ease-in-out infinite alternate;
}

.orb--slate {
  /* cool white sheen, like the backdrop light in the reference */
  width: 52vmax; height: 52vmax;
  top: 30%; left: 32%;
  background: radial-gradient(circle, rgba(222, 232, 242, .08) 0%, transparent 62%);
  animation: drift-c 32s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vmax, 7vmax, 0) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-8vmax, -6vmax, 0) scale(.96); }
}

@keyframes drift-c {
  from { transform: translate3d(-4vmax, 2vmax, 0); }
  to   { transform: translate3d(5vmax, -4vmax, 0); }
}

.orb--wine {
  /* deep bordeaux — the warmth of perfume liquid in shadow */
  width: 46vmax; height: 46vmax;
  bottom: -14vmax; left: -12vmax;
  background: radial-gradient(circle, rgba(96, 30, 48, .17) 0%, rgba(96, 30, 48, .06) 42%, transparent 70%);
  animation: drift-d 36s ease-in-out infinite alternate;
}

@keyframes drift-d {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(7vmax, -5vmax, 0) scale(1.1); }
}

.grain {
  position: absolute;
  inset: -60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
  animation: grain-shift 1.2s steps(4) infinite;
  pointer-events: none;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-22px, 14px); }
  50%  { transform: translate(16px, -20px); }
  75%  { transform: translate(-12px, -12px); }
  100% { transform: translate(0, 0); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 38%, transparent 52%, rgba(3, 7, 13, .6) 100%);
}

/* soft light that follows the cursor (desktop only, positioned by JS) */
/* platinum reading-progress line along the very top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 46; /* above the header */
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-soft));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 220, 240, .1) 0%, rgba(188, 205, 221, .05) 40%, transparent 70%);
  mix-blend-mode: screen;
  transform: translate3d(-1000px, -1000px, 0);
  will-change: transform;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.7rem clamp(1.5rem, 4vw, 3rem);
  transition: padding .45s var(--ease), background .45s ease, border-color .45s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: .95rem;
  background: rgba(9, 16, 26, .75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  transition: color .3s ease;
}

.wordmark__mark {
  width: 38px;
  height: auto;
  flex: none;
  transition: transform .4s var(--ease);
}

.wordmark:hover .wordmark__mark { transform: rotate(-4deg) scale(1.06); }

.wordmark__text {
  letter-spacing: .38em;
  margin-right: -.38em;
}

.wordmark:hover { color: var(--gold-soft); }

.site-header__note {
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 16vh, 9rem) 0 4rem;
  overflow: hidden; /* contains the ghost letters */
}

.hero__grid {
  position: relative;
  z-index: 1; /* above the ghost layers */
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

/* --- ghost layers — watermark + light beam behind, letter sweep above --- */
.hero__ghosts {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ghost-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(9rem, 26vw, 24rem);
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--ivory);
  opacity: .045;
  animation: watermark-drift 34s ease-in-out infinite alternate;
}

@keyframes watermark-drift {
  from { transform: translate(-56%, -50%); }
  to   { transform: translate(-44%, -50%); }
}

.hero__beam {
  position: absolute;
  inset: -25%;
  background: linear-gradient(115deg, transparent 43%, rgba(222, 232, 242, .05) 50%, transparent 57%);
  transform: translateX(-55%);
  animation: beam-sweep 11s ease-in-out 3s infinite;
}

@keyframes beam-sweep {
  0%, 100% { transform: translateX(-55%); }
  50%      { transform: translateX(55%); }
}

.hero__vapor {
  position: absolute;
  inset: 0;
  z-index: 0; /* above the ghosts, below the content grid */
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* --- full-screen takeover: the heading opens huge and centred, then
       script.js glides it onto the real heading (scale + translate) --- */
.hero-takeover {
  position: fixed;
  inset: 0;
  z-index: 50; /* under the preloader (60), over everything else */
  display: grid;
  place-items: center;
  pointer-events: none;
}

html.no-js .hero-takeover { display: none; }

.hero-takeover__text {
  text-align: left;
  transform: scale(var(--k, 1.8)); /* --k is computed per-viewport in JS */
  will-change: transform;
}

.hero-takeover.is-done {
  opacity: 0;
  transition: opacity .35s ease;
}

/* --- badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .66rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: .55rem 1.3rem .55rem 1.1rem;
  background: rgba(188, 205, 221, .05);
  margin-bottom: 2.2rem;
  animation: badge-glow 4s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(188, 205, 221, 0); }
  50%      { box-shadow: 0 0 20px rgba(188, 205, 221, .2); }
}

.badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .5); }
  50%      { box-shadow: 0 0 0 7px rgba(212, 175, 55, 0); }
}

/* --- heading: "We are / COMING", wiped in left-to-right like the video --- */
.hero__heading {
  width: fit-content;  /* keeps its box text-tight so the takeover lands exactly on it */
  text-align: left;
}

.hero__line { display: block; }

.hero__line--script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  letter-spacing: .12em;
  color: var(--brand-gold-soft); /* one champagne word against all the steel */
  margin-bottom: .5rem;
}

.hero__line--impact {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3.4rem, 9.5vw, 6.8rem);
  line-height: .95;
  letter-spacing: .05em;
  text-transform: uppercase;
  /* bone gradient + a champagne shine that sweeps through the letters */
  background-image: linear-gradient(105deg, transparent 42%, rgba(223, 233, 242, .95) 50%, transparent 58%),
                    linear-gradient(180deg, #ffffff 15%, #c3d0dc 92%);
  background-size: 240% 100%, 100% 100%;
  background-position: 130% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 6s ease-in-out 2.4s infinite;
}

@keyframes text-shine {
  0%, 55% { background-position: 130% 0, 0 0; }
  100%    { background-position: -130% 0, 0 0; }
}

html.js .hero__line {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

/* the wipe plays on the full-screen takeover copy… */
html.js body.is-loaded .hero-takeover .hero__line {
  animation: wipe-in 1.1s var(--ease) forwards;
  animation-delay: calc(.15s + var(--w, 0) * .4s);
}

/* …and the real heading is simply there once the takeover lands on it */
html.js body.is-settled .hero__heading .hero__line {
  opacity: 1;
  clip-path: none;
}

@keyframes wipe-in {
  from { opacity: 1; clip-path: inset(0 100% 0 0); transform: translateX(-16px); }
  to   { opacity: 1; clip-path: inset(0 -2% 0 0);  transform: translateX(0); }
}

/* --- loading bar, echoing the video's progress strip --- */
.loadbar {
  max-width: 30rem;
  margin-top: 2.3rem;
}

.loadbar__track {
  display: block;
  padding: 3px;
  border: 1px solid rgba(238, 242, 246, .3);
  border-radius: 999px;
}

.loadbar__fill {
  display: block;
  position: relative;
  overflow: hidden;
  height: 5px;
  width: 92%;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef4f9, var(--gold));
}

/* light sweep travelling along the fill */
.loadbar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: bar-shine 2.6s ease-in-out 4.8s infinite;
}

@keyframes bar-shine {
  0%        { transform: translateX(-130%); }
  60%, 100% { transform: translateX(130%); }
}

html.js .loadbar__fill { width: 4%; }

html.js body.is-settled .loadbar__fill {
  animation: load-fill 3.2s cubic-bezier(.25, 1, .4, 1) .5s forwards,
             load-glow 3s ease-in-out 3.9s infinite;
}

@keyframes load-fill {
  from { width: 4%; }
  to   { width: 92%; }
}

@keyframes load-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(188, 205, 221, 0); }
  50%      { box-shadow: 0 0 14px rgba(188, 205, 221, .45); }
}

.loadbar__label {
  display: block;
  margin-top: .75rem;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(238, 242, 246, .88);
}

.loadbar__dots i {
  font-style: normal;
  opacity: 0;
  animation: dot-blink 1.6s ease-in-out infinite;
}

.loadbar__dots i:nth-child(2) { animation-delay: .2s; }
.loadbar__dots i:nth-child(3) { animation-delay: .4s; }
.loadbar__dots i:nth-child(4) { animation-delay: .6s; }

@keyframes dot-blink {
  0%, 100% { opacity: 0; }
  40%      { opacity: 1; }
}

.hero__statement {
  max-width: 30rem;
  margin-top: 1.7rem;
  color: var(--ivory-dim);
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
}

/* --- closing line under the statement --- */
.hero__soon {
  margin-top: 2.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-soft);
}

/* --- hero visual --- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  /* pointer parallax — moves opposite the backdrop for depth */
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 14px), 0);
  /* spray-clicking must never select the label text */
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* --- spray discovery hint: gold tap-ripples at the cap + a whisper --- */
.spray-hint {
  position: absolute;
  top: 2%;
  left: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease 1.4s;
}

body.is-settled .spray-hint { opacity: 1; }

.spray-hint.is-done {
  opacity: 0 !important;
  transition-delay: 0s;
}

.spray-hint__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1px solid rgba(212, 175, 55, .55);
  border-radius: 50%;
  opacity: 0;
  animation: hint-ring 2.8s cubic-bezier(.2, .6, .4, 1) infinite;
}

.spray-hint__ring--late { animation-delay: 1.4s; }

@keyframes hint-ring {
  0%        { transform: scale(.25); opacity: 0; }
  15%       { opacity: .8; }
  70%, 100% { transform: scale(1.4); opacity: 0; }
}

.spray-hint__text {
  position: absolute;
  top: -10px;
  right: 36px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .06em;
  color: var(--brand-gold-soft);
  white-space: nowrap;
  animation: hint-text 3.5s ease-in-out infinite;
}

@keyframes hint-text {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

.hero__halo {
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 182, 212, .14) 0%, rgba(150, 182, 212, .05) 45%, transparent 68%);
  animation: halo-breathe 7s ease-in-out infinite;
}

@keyframes halo-breathe {
  0%, 100% { transform: scale(1);    opacity: .85; }
  50%      { transform: scale(1.07); opacity: 1; }
}

.bottle {
  position: relative;
  width: min(320px, 68%);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .5));
  animation: bottle-float 8s ease-in-out infinite;
  pointer-events: auto; /* the bottle is sprayable */
  cursor: pointer;
  touch-action: manipulation;
}

/* press feedback when sprayed — `scale` composes with the float transform */
.bottle.is-spraying {
  animation: bottle-float 8s ease-in-out infinite, bottle-press .5s var(--ease);
}

@keyframes bottle-press {
  30% { scale: .975; }
  100% { scale: 1; }
}

@keyframes bottle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(.5deg); }
}

.bottle__sheen {
  animation: sheen-travel 6.5s var(--ease) infinite;
}

@keyframes sheen-travel {
  0%, 55%  { transform: skewX(-12deg) translateX(-140px); }
  85%, 100% { transform: skewX(-12deg) translateX(340px); }
}

/* --- scent wisps rising from the bottle --- */
.wisps {
  position: absolute;
  top: 4%;
  left: 50%;
}

.wisps i {
  position: absolute;
  bottom: 0;
  left: -23px;
  width: 46px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(208, 224, 240, .15), transparent 70%);
  filter: blur(6px);
  opacity: 0;
  animation: wisp-rise 7s ease-in-out infinite;
}

.wisps i:nth-child(2) { left: -52px; animation-delay: 2.3s; }
.wisps i:nth-child(3) { left: 4px;   animation-delay: 4.6s; }

@keyframes wisp-rise {
  0%   { transform: translateY(30px) translateX(0) scale(.7);      opacity: 0; }
  25%  { opacity: .8; }
  60%  { opacity: .35; }
  100% { transform: translateY(-130px) translateX(16px) scale(1.3); opacity: 0; }
}

/* --- gold sparks --- */
.spark {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0;
  transform: scale(var(--ss, 1));
  animation: spark-float var(--sd, 10s) ease-in-out infinite;
}

@keyframes spark-float {
  0%, 100% { opacity: 0;   transform: translateY(0) scale(var(--ss)); }
  20%      { opacity: .8; }
  50%      { opacity: .35; transform: translateY(-34px) scale(var(--ss)); }
  80%      { opacity: .7; }
}

/* --- scroll cue --- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  overflow: hidden;
}

.scroll-cue__line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold-soft));
  animation: cue-drop 2.2s var(--ease) infinite;
}

@keyframes cue-drop {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   RIBBON
   ========================================================================== */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ribbon__track {
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
  width: max-content;
  animation: ribbon-run 38s linear infinite;
}

.ribbon:hover .ribbon__track { animation-play-state: paused; }

@keyframes ribbon-run {
  to { transform: translateX(-50%); }
}

.ribbon__track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .92rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  white-space: nowrap;
}

.ribbon__track i {
  font-style: normal;
  font-size: .5rem;
  color: rgba(212, 175, 55, .55); /* champagne glints between the words */
}

/* every brand-name span glints champagne */
.ribbon__track span:nth-child(6n + 1) {
  color: var(--gold-soft);
}

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */
.countdown {
  padding: var(--section-pad) 0;
  text-align: center;
}

/* making-of stage tracker — no dates, just progress */
.stages {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(.6rem, 2vw, 1.1rem);
  row-gap: 1.8rem;
  margin-top: 3.4rem;
}

.stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .75rem;
}

/* whispered note above each stage on hover */
.stage::after {
  content: attr(data-note);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  width: max-content;
  max-width: 190px;
  padding: .55rem .95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 18, 29, .94);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .88rem;
  line-height: 1.45;
  letter-spacing: .02em;
  text-transform: none;
  white-space: normal;
  color: var(--ivory-dim);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s var(--ease);
  z-index: 2;
}

.stage:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.stage__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
}

.stage.is-done .stage__dot {
  background: var(--gold);
  border-color: var(--gold);
}

.stage.is-now .stage__dot {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  animation: stage-pulse 2.4s ease-in-out infinite;
}

@keyframes stage-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .5); }
  50%      { box-shadow: 0 0 0 11px rgba(212, 175, 55, 0); }
}

.stage__name {
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  white-space: nowrap;
}

.stage.is-done .stage__name { color: var(--ivory-dim); }
.stage.is-now  .stage__name { color: var(--brand-gold-soft); }

.stage__line {
  width: clamp(20px, 5vw, 64px);
  height: 1px;
  margin-top: 6px;
  background: var(--line);
}

.stage__line.is-done { background: var(--gold-dim); }
.countdown__date {
  margin-top: 2.4rem;
  font-size: .7rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

/* ==========================================================================
   STORY
   ========================================================================== */
.story {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.story__body p {
  color: var(--ivory-dim);
  max-width: 32rem;
}

.story__body p + p { margin-top: 1.4rem; }

.story__quote {
  margin-top: 2.8rem;
  padding-left: 1.6rem;
  border-left: 1px solid var(--gold-dim);
}

.story__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ivory);
}

.story__quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================================
   COLLECTION
   ========================================================================== */
.collection {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
  margin-top: 4rem;
  text-align: left;
  perspective: 1100px; /* for the JS hover tilt */
}

.card {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 2.1rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  transition: transform .55s var(--ease), border-color .55s ease, box-shadow .55s ease;
}

/* soft light that wakes on hover */
.card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(188, 205, 221, .12), transparent 70%);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-9px);
  border-color: rgba(188, 205, 221, .32);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

.card:hover::before { opacity: 1; }

/* touch feedback for card taps */
.card:active {
  transform: translateY(-4px) scale(.995);
  transition-duration: .15s;
}

.card__visual {
  display: grid;
  place-items: center;
  height: 168px;
  margin-bottom: 1.9rem;
}

.card__visual svg {
  height: 100%;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .4));
  transition: transform .6s var(--ease);
  /* idle bob uses `translate` so it composes with the hover transform */
  animation: bottle-bob 6s ease-in-out infinite;
}

.card:nth-child(2) .card__visual svg { animation-delay: 2s; }
.card:nth-child(3) .card__visual svg { animation-delay: 4s; }

@keyframes bottle-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.card:hover .card__visual svg {
  transform: translateY(-7px) rotate(-1.6deg);
}

.card__number {
  font-size: .64rem;
  letter-spacing: .38em;
  color: var(--gold);
  margin-bottom: .55rem;
}

.card__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: .03em;
}

.card__notes {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--ivory-dim);
  letter-spacing: .05em;
}

.card__mood {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ivory-faint);
}

.card__tag {
  display: inline-block;
  margin-top: 1.7rem;
  padding: .42rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  transition: color .4s ease, border-color .4s ease;
}

.card:hover .card__tag {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
}

/* ==========================================================================
   LIGHT SECTIONS — story + collection sit on white/pale grey, text goes black
   (dark → white → grey → dark cadence, straight from the reference)
   ========================================================================== */
.story, .collection {
  position: relative;
  color: var(--paper-ink);
  border-top: 0;
}

.story { background: #f7f7f6; overflow: hidden; }
.collection { background: #ebedee; }

/* scent ripples — a drop radiating outward, like fragrance through air */
.story__ripples {
  position: absolute;
  top: 50%;
  right: -4%;
  pointer-events: none;
}

.story__ripples::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(68, 96, 123, .45);
}

.story__ripples i {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(220px, 38vmin, 420px);
  height: clamp(220px, 38vmin, 420px);
  transform: translate(-50%, -50%) scale(.15);
  border: 1px solid rgba(68, 96, 123, .4);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 9s cubic-bezier(.2, .6, .4, 1) infinite;
}

.story__ripples i:nth-child(2) { animation-delay: 2.25s; }
.story__ripples i:nth-child(3) { animation-delay: 4.5s; }
.story__ripples i:nth-child(4) { animation-delay: 6.75s; }

@keyframes ripple {
  0%   { transform: translate(-50%, -50%) scale(.15); opacity: 0; }
  12%  { opacity: .55; }
  70%  { opacity: .15; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.story .label, .collection .label,
.story .section-heading em, .collection .section-heading em { color: var(--steel); }

.story .section-heading, .collection .section-heading { color: var(--paper-ink); }

.collection .section-sub { color: rgba(21, 25, 29, .62); }

.story__body p { color: rgba(21, 25, 29, .72); }

.story__quote { border-left-color: rgba(68, 96, 123, .45); }

/* oversized editorial quote mark */
.story__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-size: 4.6rem;
  line-height: .55;
  color: rgba(68, 96, 123, .35);
  margin-bottom: .7rem;
}
.story__quote p { color: var(--paper-ink); }
.story__quote cite { color: var(--steel); }

.collection .card {
  background: #fff;
  border-color: rgba(12, 22, 34, .08);
  box-shadow: 0 12px 32px rgba(12, 22, 34, .06);
}

.collection .card::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(68, 96, 123, .1), transparent 70%);
}

.collection .card:hover {
  border-color: rgba(68, 96, 123, .38);
  box-shadow: 0 30px 60px rgba(12, 22, 34, .16);
}

.collection .card__number { color: var(--steel); }
.collection .card__name   { color: var(--paper-ink); }
.collection .card__notes  { color: rgba(21, 25, 29, .6); }
.collection .card__mood   { color: rgba(21, 25, 29, .48); }

.collection .card__tag {
  color: rgba(21, 25, 29, .55);
  border-color: rgba(12, 22, 34, .16);
}

.collection .card:hover .card__tag {
  color: var(--steel);
  border-color: rgba(68, 96, 123, .45);
}

.collection .card__visual svg {
  filter: drop-shadow(0 16px 22px rgba(12, 22, 34, .25));
}

/* ==========================================================================
   SCENT IN MOTION — particle canvas that gathers into the wordmark
   ========================================================================== */
.motion {
  position: relative;
  height: clamp(440px, 80vh, 720px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.motion__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.motion__top,
.motion__bottom {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}

.motion__top { top: clamp(2.6rem, 7vh, 4.2rem); }
.motion__bottom { bottom: clamp(2.2rem, 6vh, 3.6rem); }

.motion__top .label {
  display: inline-block;
  margin: 0;
}

.motion__hint {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ivory-faint);
}

/* shown only when the canvas can't run (no JS / reduced motion) */
.motion__fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 11vw, 8.5rem);
  letter-spacing: .3em;
  margin-right: -.3em;
  color: rgba(238, 242, 246, .1);
}

html.no-js .motion__canvas,
html.no-js .motion__hint { display: none; }

html.no-js .motion__fallback { display: grid; }

/* ==========================================================================
   SOCIAL
   ========================================================================== */
.social {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.social__row {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 3rem;
}

.social__link {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory-dim);
  animation: social-idle 6s ease-in-out var(--fd, 0s) infinite;
  transition: color .45s ease, background .45s ease, border-color .45s ease,
              transform .45s var(--ease), box-shadow .45s ease;
}

@keyframes social-idle {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

/* expanding ring on hover */
.social__link::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  opacity: 0;
  transform: scale(1);
  transition: opacity .01s .5s;
}

.social__link:hover::after {
  animation: ring-out .8s var(--ease) forwards;
}

@keyframes ring-out {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.55); }
}

.social__link svg { width: 22px; height: 22px; }

.social__link:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 16px 34px rgba(188, 205, 221, .25);
}

/* touch feedback — hover never fires on phones */
.social__link:active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(.94);
  transition-duration: .15s;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  border-top: 0;
  padding: 3.6rem 0 3rem;
}

/* centred platinum rule that fades at both ends */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(540px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: .9rem;
  text-align: center;
}

.site-footer__monogram {
  width: 52px;
  height: auto;
  margin-bottom: .3rem;
}

.site-footer__mark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: .4em;
  margin-right: -.4em;
}

.site-footer__soon {
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .4rem;
}

.site-footer__copy {
  font-size: .72rem;
  color: var(--ivory-faint);
}

/* ==========================================================================
   REVEAL SYSTEM
   `data-intro` — hero entrance, fires when the preloader lifts
   `data-reveal` — scroll reveals, fired by IntersectionObserver
   Both are inert without JS so content is never hidden.
   ========================================================================== */
html.js [data-intro] {
  opacity: 0;
  transform: translateY(26px);
}

html.js body.is-settled [data-intro] {
  animation: rise .95s var(--ease) var(--d, 0s) forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease) var(--d, 0s),
              transform .9s var(--ease) var(--d, 0s),
              letter-spacing 1.5s var(--ease) var(--d, 0s);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* kinetic type: section labels settle from wide tracking into place */
html.js .label[data-reveal] { letter-spacing: .8em; }
html.js .label[data-reveal].is-visible { letter-spacing: .42em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 8rem; }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content { display: grid; justify-items: center; }
  .hero__statement { margin-inline: auto; }
  .loadbar { width: 100%; text-align: center; }

  .hero__visual { order: -1; margin-bottom: .5rem; }
  .bottle { width: min(220px, 46%); }
  .hero__halo { width: 90%; }

  .scroll-cue { display: none; }

  .story__grid { grid-template-columns: 1fr; }

  .collection__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .stage__line { display: none; }
  .stage::after { display: none; } /* tooltips are a pointer luxury */

  .site-header__note { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html.js [data-intro],
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  html.js .hero__line {
    opacity: 1;
    clip-path: none;
  }

  .hero-takeover { display: none; }

  html.js .loadbar__fill { width: 92%; }

  .cursor-glow, .wisps { display: none; }

  .spray-hint { display: none; } /* the spray itself is off without motion */

  .motion__canvas, .motion__hint { display: none; }
  .motion__fallback { display: grid; }

  .hero__vapor { display: none; }

  .backdrop, .hero__visual { transform: none; }
}
