/* ============================================================
   IMPRIMÉ — Sky, Glass & Navy design system
   ============================================================ */
:root {
  --porcelain: #edf7ff;
  --white: #ffffff;
  --ice: #e0f2fe;
  --ice-2: #c4e6fb;
  --sky: #205d87;
  --sky-deep: #174b75;
  --sky-ink: #102f4d;
  --ink: #101f32;
  --ink-2: #233b53;
  --text-dim: #304a61;
  --gold: var(--sky-deep);
  --gold-bright: #32739d;
  --champagne: var(--ink);
  --cream: var(--ink);
  --noir: var(--ink);
  --line: rgba(40, 102, 148, 0.20);
  --shadow-soft: 0 18px 44px rgba(40, 102, 148, 0.14);
  --shadow-lift: 0 26px 60px rgba(16, 47, 77, 0.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(102, 184, 235, 0.28), transparent 60%),
    radial-gradient(900px 620px at -10% 30%, rgba(196, 230, 251, 0.55), transparent 60%),
    linear-gradient(180deg, var(--porcelain) 0%, var(--white) 45%, var(--porcelain) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: var(--sky); color: var(--white); }

/* soft drifting light blobs */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0; filter: blur(70px);
}
body::before {
  width: 44vmax; height: 44vmax; left: -14vmax; top: -12vmax;
  background: radial-gradient(circle, rgba(102, 184, 235, 0.30), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
body::after {
  width: 38vmax; height: 38vmax; right: -12vmax; bottom: -10vmax;
  background: radial-gradient(circle, rgba(157, 213, 247, 0.38), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vmax, 4vmax) scale(1.12); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1.05); } to { transform: translate(-5vmax, -4vmax) scale(0.95); } }

/* film grain overlay */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-8%); }
  20% { transform: translate(-13%,3%); } 30% { transform: translate(6%,-10%); }
  40% { transform: translate(-5%,12%); } 50% { transform: translate(-12%,6%); }
  60% { transform: translate(11%,0); } 70% { transform: translate(0,10%); }
  80% { transform: translate(3%,12%); } 90% { transform: translate(-9%,4%); }
}

main { position: relative; z-index: 1; }

/* ---------------- nav ---------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3.5rem;
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--sky-ink);
}
.brand-sub {
  font-size: 0.8rem; letter-spacing: 0.6em; text-transform: uppercase;
  color: var(--sky-deep); margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 0.9rem; letter-spacing: 0.28em; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--sky-deep);
  transition: width 0.35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:not(.nav-cta):hover { color: var(--sky-deep); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a.active { color: var(--sky-deep); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--sky-deep);
  padding: 0.65rem 1.5rem;
  color: var(--sky-deep) !important;
  transition: all 0.35s;
  background: linear-gradient(120deg, transparent, rgba(102, 184, 235, 0.14), transparent);
}
.nav-cta:hover {
  background: var(--sky-deep); color: var(--white) !important;
  box-shadow: 0 8px 26px rgba(40, 102, 148, 0.4);
  transform: translateY(-2px);
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 3.5rem;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 2rem;
}
.hero-eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--sky-deep); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8.5vw, 7.2rem);
  font-weight: 400;
  line-height: 0.98;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(255, 255, 255, 0.7);
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(115deg, var(--sky-deep), var(--sky) 55%, #205d87);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; }
.hero-copy {
  margin: 2.2rem 0 3rem;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: 1.05rem; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.6rem;
  cursor: pointer;
  border: 1px solid var(--sky-deep);
  color: var(--sky-deep);
  background: transparent;
  position: relative; overflow: hidden;
  transition: color 0.4s, box-shadow 0.4s, transform 0.3s;
  z-index: 0;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1);
  z-index: -1;
}
.btn:hover { color: var(--white); box-shadow: 0 14px 34px rgba(40, 102, 148, 0.35); transform: translateY(-2px); }
.btn:hover::before { transform: scaleX(1); }
.btn.solid {
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(40, 102, 148, 0.3);
}
.btn.solid::before { background: var(--white); }
.btn.solid:hover { color: var(--sky-deep); }

.scroll-hint {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--sky-deep); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--sky-deep), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------------- sections ---------------- */
.section { padding: 7rem 3.5rem; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  background: linear-gradient(115deg, var(--sky-deep), #205d87);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-kicker {
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sky-deep); display: block; margin-bottom: 1.1rem;
}
.section-sub { color: var(--text-dim); max-width: 40ch; line-height: 1.8; }

/* stats strip */
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0 3.5rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.stat { padding: 2.6rem 2rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-size: 3rem;
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.4rem; }

/* fragrance cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.scent-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--white), var(--porcelain));
  padding: 2.4rem 2rem 2rem;
  text-decoration: none; color: var(--ink);
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.4s, box-shadow 0.45s, transform 0.45s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.scent-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-lift);
  transform: translateY(-8px);
}
.scent-card::before {
  content: ''; position: absolute; top: -60%; right: -60%;
  width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(102, 184, 235, 0.20), transparent 60%);
  opacity: 0; transition: opacity 0.5s;
}
.scent-card:hover::before { opacity: 1; }
.scent-gender {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sky-deep); margin-bottom: 1.2rem; display: block;
}
.scent-name { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--sky-ink); }
.scent-families { margin-top: 0.7rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--sky-deep);
  padding: 0.3rem 0.75rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.scent-notes { margin-top: 1.2rem; color: var(--text-dim); font-size: 1rem; line-height: 1.7; }
.scent-photo {
  display: block; width: 100%; max-height: 300px; object-fit: contain;
  margin: 0.4rem 0 1.2rem;
  filter: drop-shadow(0 20px 30px rgba(16, 47, 77, 0.25));
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.scent-card:hover .scent-photo { transform: translateY(-8px) scale(1.05); }
.scent-swatch {
  width: 44px; height: 4px; margin-top: 1.5rem;
  background: var(--swatch, var(--sky));
  box-shadow: 0 0 14px var(--swatch, var(--sky));
}

/* quiz experience */
.quiz-shell {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}
#quiz-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }
.quiz-stage { position: relative; z-index: 2; width: min(860px, 100%); }

.progress-track {
  height: 2px; background: rgba(40, 102, 148, 0.18);
  margin-bottom: 3.5rem; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(to right, var(--sky-deep), var(--sky), #205d87, var(--sky-deep));
  background-size: 200% 100%;
  animation: shimmer-slide 2.4s linear infinite;
  box-shadow: 0 0 12px rgba(102, 184, 235, 0.6);
  transition: width 0.6s cubic-bezier(.22,1,.36,1);
}
@keyframes shimmer-slide { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.quiz-meta {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sky-deep); margin-bottom: 1.2rem;
}
.quiz-question {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15; margin-bottom: 3rem; min-height: 2.4em;
  color: var(--ink);
}
.quiz-options { display: grid; gap: 1rem; }
.quiz-option {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.04em;
  text-align: left;
  padding: 1.25rem 1.7rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.quiz-option .opt-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--sky-deep); flex-shrink: 0;
  transition: all 0.3s;
}
.quiz-option:hover {
  border-color: var(--sky-deep);
  background: var(--white);
  box-shadow: var(--shadow-lift);
  transform: translateX(6px);
}
.quiz-option:hover .opt-dot { background: var(--sky-deep); box-shadow: 0 0 10px var(--sky); }
.quiz-option.selected { border-color: var(--sky-deep); background: var(--ice); }
.quiz-option.selected .opt-dot { background: var(--sky-deep); box-shadow: 0 0 12px var(--sky); }

.quiz-intro { text-align: center; }
.quiz-intro h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05;
  color: var(--ink);
}
.quiz-intro h1 em {
  font-style: italic;
  background: linear-gradient(115deg, var(--sky-deep), #205d87);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.quiz-intro p { color: var(--text-dim); margin: 1.6rem auto 3rem; max-width: 48ch; line-height: 1.85; }
.gender-row { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }

/* shake-to-wake reveal */
.reveal-model { position: relative; touch-action: pan-y; cursor: grab; }
.reveal-model:active { cursor: grabbing; }
#reveal-canvas { opacity: 0; }
.mystery-stage {
  position: absolute; inset: 0 0 auto; aspect-ratio: 4 / 5; z-index: 2; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255,255,255,.98) 0 18%, rgba(237,247,253,.96) 48%, rgba(219,237,249,.94) 100%);
  isolation: isolate;
}
.mystery-stage::before, .mystery-stage::after {
  content: ''; position: absolute; left: 50%; top: 45%; z-index: -1;
  width: min(76%, 330px); aspect-ratio: 1; border: 1px solid rgba(111,163,201,.22);
  border-radius: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 52px rgba(142,198,231,.17), inset 0 0 40px rgba(255,255,255,.7);
  animation: mysteryOrbit 15s linear infinite;
}
.mystery-stage::after { width: min(58%, 250px); border-style: dashed; animation-direction: reverse; animation-duration: 26s; }
.mystery-aura {
  position: absolute; left: 50%; top: 45%; width: 180px; height: 180px;
  border-radius: 50%; transform: translate(-50%,-50%);
  background: rgba(164,213,240,.35); filter: blur(46px);
  animation: mysteryPulse 3.2s ease-in-out infinite;
}
.mystery-aura-two { width: 90px; height: 90px; background: rgba(222,195,131,.28); filter: blur(34px); animation-delay: -1.6s; }
.mystery-box {
  position: relative; width: clamp(148px, 48%, 218px); height: clamp(190px, 55%, 260px);
  margin-top: -4%; transform-style: preserve-3d;
  filter: drop-shadow(0 28px 24px rgba(54,96,129,.18));
  animation: mysteryFloat 3.6s ease-in-out infinite;
}
.mystery-box-body {
  position: absolute; left: 3%; right: 3%; top: 23%; bottom: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.92); border-radius: 3px 3px 8px 8px;
  background: linear-gradient(112deg,#b5d8ec 0%,#eaf5fb 17%,#fdfefe 44%,#c7e2f2 72%,#a5cce2 100%);
  box-shadow: inset 9px 0 18px rgba(255,255,255,.55), inset -9px 0 18px rgba(73,126,164,.1), 0 0 0 5px rgba(255,255,255,.24);
}
.mystery-box-body::before, .mystery-box-body::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 46%; width: 8%;
  background: linear-gradient(90deg,#b99450,#eedba8 48%,#b99450);
  box-shadow: 0 0 18px rgba(210,181,112,.3);
}
.mystery-box-body::after { top: 46%; left: 0; right: 0; bottom: auto; width: auto; height: 8%; }
.mystery-box-lid {
  position: absolute; z-index: 2; top: 17%; left: -1%; right: -1%; height: 15%;
  border: 1px solid rgba(255,255,255,.95); border-radius: 4px;
  background: linear-gradient(110deg,#aacde1,#f7fcff 24%,#ffffff 48%,#d5eafa 77%,#9fc3da);
  box-shadow: 0 8px 18px rgba(60,104,137,.17), inset 0 2px 4px rgba(255,255,255,.9);
}
.mystery-box-lid::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 7px;
  background: linear-gradient(90deg,#b99450,#f1e1b7,#b99450); opacity: .92;
}
.mystery-box-emblem, .mystery-box-seal {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  color: #a78342; text-shadow: 0 1px 0 white; transform: translate(-50%,-50%);
}
.mystery-box-emblem { width: 33px; height: 33px; border: 1px solid rgba(173,143,79,.72); border-radius: 50%; font-size: 14px; background: rgba(255,255,255,.78); }
.mystery-box-seal { top: 51%; left: 50%; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: linear-gradient(135deg,#f2e5c2,#c5a55f); color: #fff; font-size: 16px; }
.mystery-caption {
  position: absolute; left: 0; right: 0; top: calc(45% + clamp(112px, 32%, 152px));
  color: var(--sky-ink); text-align: center; font: italic 1.05rem var(--serif); letter-spacing: .04em;
}
.mystery-star { position: absolute; color: #b99b5c; text-shadow: 0 0 16px rgba(225,203,150,.9); animation: mysteryTwinkle 2.4s ease-in-out infinite; }
.mystery-star-one { top: 22%; left: 23%; font-size: 17px; }
.mystery-star-two { top: 34%; right: 20%; font-size: 23px; animation-delay: -.8s; }
.mystery-star-three { bottom: 24%; left: 28%; font-size: 12px; animation-delay: -1.5s; }
@keyframes mysteryFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes mysteryPulse { 0%,100% { opacity: .45; transform: translate(-50%,-50%) scale(.85); } 50% { opacity: .9; transform: translate(-50%,-50%) scale(1.2); } }
@keyframes mysteryTwinkle { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(18deg); } }
@keyframes mysteryOrbit { to { transform: translate(-50%,-50%) rotate(360deg); } }
.shake-hint {
  padding: 0 1rem; text-align: center;
  position: relative; margin: 1.5rem 0 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  pointer-events: none;
  animation: hintFloat 2.2s ease-in-out infinite;
}
.shake-hint-main {
  max-width: 28ch; line-height: 1.25;
  font-family: var(--serif); font-size: 1.5rem; color: var(--sky-ink);
  text-shadow: 0 0 26px rgba(102, 184, 235, 0.6);
  animation: hintWiggle 1.1s ease-in-out infinite;
}
.shake-hint-sub {
  font-size: 0.85rem; letter-spacing: 0.06em; line-height: 1.6;
  color: var(--sky-deep);
}
@keyframes hintFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hintWiggle {
  0%,100% { transform: rotate(-2.5deg); } 25% { transform: rotate(2.5deg) scale(1.04); }
  50% { transform: rotate(-2.5deg); } 75% { transform: rotate(2.5deg) scale(1.04); }
}
.shake-burst {
  position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px; border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(157,213,247,0.6) 40%, rgba(102,184,235,0) 72%);
  box-shadow: 0 0 60px 30px rgba(157, 213, 247, 0.45);
  animation: burst 1.25s ease-out forwards;
}
@keyframes burst {
  0% { width: 40px; height: 40px; opacity: 1; }
  100% { width: 120vmin; height: 120vmin; opacity: 0; }
}

/* ice sparkle trail over the reveal model */
.trail-spark {
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,1), rgba(157,213,247,0.9) 45%, rgba(102,184,235,0) 75%);
  box-shadow: 0 0 8px 2px rgba(157, 213, 247, 0.7);
}

/* distiller loader */
.distiller { text-align: center; }
.distiller-ring {
  width: 120px; height: 120px; margin: 0 auto 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  border-top-color: var(--sky-deep);
  animation: spin 1.1s linear infinite;
  position: relative;
}
.distiller-ring::after {
  content: ''; position: absolute; inset: 14px;
  border-radius: 50%; border: 1px dashed rgba(40, 102, 148, 0.35);
  animation: spin 6s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.distiller p { font-size: 0.85rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--sky-deep); }

/* result reveal */
.result-hero {
  display: grid; grid-template-columns: minmax(300px, 460px) 1fr;
  gap: 3.5rem; align-items: center;
}
@media (max-width: 900px) { .result-hero { grid-template-columns: 1fr; } }
#reveal-canvas { width: 100%; aspect-ratio: 4/5; display: block; }
.reveal-family {
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky-deep);
  display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem;
}
.reveal-family::before { content: ''; width: 34px; height: 1px; background: var(--sky-deep); }
.reveal-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1;
  color: var(--sky-ink);
  text-shadow: 0 6px 40px rgba(102, 184, 235, 0.35);
}
.reveal-tagline {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  background: linear-gradient(115deg, var(--sky-deep), #205d87);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: 1rem 0 1.6rem;
}
.reveal-desc { color: var(--text-dim); line-height: 1.9; max-width: 52ch; }
.reveal-notes { margin-top: 1.6rem; font-size: 0.82rem; letter-spacing: 0.14em; color: var(--sky-ink); text-transform: uppercase; line-height: 2; }
.reveal-actions { display: flex; gap: 1.2rem; margin-top: 2.4rem; flex-wrap: wrap; }

/* where-to-buy buttons */
.buy-block { margin-top: 2.6rem; }
.buy-label {
  display: block;
  font-size: 0.82rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--sky-deep); margin-bottom: 1.1rem;
}
.buy-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.buy-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--ink); text-decoration: none;
  font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 0.35s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
}
.buy-btn svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.35s; }
.buy-btn::before {
  content: ''; position: absolute; inset: 0;
  transform: translateY(101%); transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  z-index: -1;
}
.buy-btn:hover { transform: translateY(-3px); color: var(--white); border-color: transparent; }
.buy-btn:hover svg { transform: scale(1.15); }
.buy-web:hover::before { background: linear-gradient(115deg, var(--sky-deep), var(--sky)); transform: translateY(0); }
.buy-ig:hover::before { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); transform: translateY(0); }
.buy-wa:hover::before { background: #25d366; transform: translateY(0); }
.buy-btn:hover { box-shadow: 0 12px 30px rgba(16, 47, 77, 0.28); }

.alt-block { margin-top: 5rem; }
.alt-block h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: 0.6rem; color: var(--ink); }
.alt-block > p { color: var(--text-dim); margin-bottom: 2rem; }

.score-bars { margin-top: 2.6rem; display: grid; gap: 0.8rem; }
.score-row { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 1rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.score-bar { height: 3px; background: rgba(40, 102, 148, 0.15); }
.score-bar i { display: block; height: 100%; width: 0; background: linear-gradient(to right, var(--sky-deep), var(--sky)); }

/* catalogue filter pills */
.pill-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 3rem; }
.pill {
  font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 0.6rem 1.4rem; border: 1px solid var(--line);
  color: var(--text-dim); text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}
.pill:hover { color: var(--sky-deep); border-color: var(--sky-deep); }
.pill.active {
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  color: var(--white); border-color: transparent;
  box-shadow: 0 8px 22px rgba(40, 102, 148, 0.35);
}

/* detail page */
.detail-wrap { display: grid; grid-template-columns: minmax(300px, 480px) 1fr; gap: 4rem; padding-top: 11rem; align-items: center; }
@media (max-width: 900px) { .detail-wrap { grid-template-columns: 1fr; padding-top: 8rem; } }
#detail-canvas { width: 100%; aspect-ratio: 4/5; }
.note-pyramid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 1.7rem 0 0.7rem; }
.note-pyramid > div { border: 1px solid var(--line); background: rgba(255,255,255,0.58); padding: 1rem; min-height: 100px; }
.note-pyramid span { display: block; color: var(--sky-deep); font-size: 0.8rem; letter-spacing: 0.17em; text-transform: uppercase; margin-bottom: 0.65rem; }
.note-pyramid p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.notes-disclaimer { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; margin: 0.7rem 0 1.2rem; }
.catalogue-admin-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:1.5rem; }
.catalogue-admin-heading p { color:var(--text-dim); font-size:0.85rem; margin:-0.7rem 0 1.5rem; }
.catalogue-admin-scroll { overflow-x:auto; }
.catalogue-admin-table { min-width:1000px; }
.catalogue-admin-table td { vertical-align:top; line-height:1.65; padding-right:1rem !important; }
.catalogue-admin-table td strong { color:var(--sky-ink); }
.catalogue-admin-table td span { color:var(--sky-deep); font-size:0.67rem; text-transform:uppercase; letter-spacing:0.08em; }
.catalogue-description { max-width:340px; }
.catalogue-edit-link { color:var(--sky-deep); text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 720px) { .note-pyramid { grid-template-columns:1fr; } .catalogue-admin-heading { flex-direction:column; } }

/* dashboard */
.dash-wrap { padding: 9rem 3.5rem 5rem; max-width: 1280px; margin: 0 auto; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--white), var(--porcelain));
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--sky-ink); margin-bottom: 1.4rem; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.kpi { border: 1px solid var(--line); padding: 1.8rem; background: rgba(102, 184, 235, 0.08); }
.kpi-num {
  font-family: var(--serif); font-size: 2.6rem;
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.kpi-label { font-size: 0.82rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.3rem; }
table.dash-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.dash-table th { text-align: left; font-weight: 400; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sky-deep); padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
table.dash-table td { padding: 0.7rem 0; border-bottom: 1px solid rgba(40, 102, 148, 0.10); color: var(--ink); }
table.dash-table tr:hover td { color: var(--sky-deep); }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  background: linear-gradient(180deg, #f5fbff, #d9efff);
  position: relative; z-index: 1;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem;
  padding: 4.5rem 3.5rem;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-dim); margin-top: 1.2rem; max-width: 38ch; line-height: 1.8; font-size: 0.92rem; }
.footer-cols { display: flex; gap: 5rem; }
.footer-cols h5 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 1.2rem; font-weight: 400; }
.footer-cols a { display: block; color: var(--text-dim); text-decoration: none; font-size: 1rem; margin-bottom: 0.7rem; transition: color 0.3s; }
.footer-cols a:hover { color: var(--sky-deep); }
.footer-base {
  border-top: 1px solid rgba(40, 102, 148, 0.18);
  padding: 1.4rem 3.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem;
  font-size: 0.9rem; letter-spacing: 0.08em; color: var(--text-dim);
}
.footer-base a { color: var(--sky-ink); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-base a:hover { color: var(--sky-deep); }

.reveal-up { opacity: 0; transform: translateY(46px); }

@media (max-width: 720px) {
  .site-nav { padding: 1.1rem 1.4rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero, .section { padding-left: 1.4rem; padding-right: 1.4rem; }
  .stats-strip { margin: 0 1.4rem; grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-inner, .footer-base { padding-left: 1.4rem; padding-right: 1.4rem; }
  .footer-base { align-items: flex-start; flex-direction: column; }
  .footer-cols { gap: 2.5rem; }
}

/* ---------------- quiz card & ornaments (quiz experience polish) ---------------- */
.quiz-card {
  position: relative;
  background: linear-gradient(170deg, rgba(255,255,255,0.88), rgba(239,248,255,0.84));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(40,102,148,0.28);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(16,47,77,0.16), inset 0 1px 0 rgba(255,255,255,0.95);
  padding: 3.6rem 3.4rem;
  overflow: hidden;
}
.quiz-card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(127,179,213,0.85), transparent);
}
.quiz-card::after {
  content: ''; position: absolute; top: -45%; left: -25%;
  width: 70%; height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.65), transparent 62%);
  pointer-events: none;
}
.quiz-ornament {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  color: var(--sky-deep); margin-bottom: 1.8rem;
}
.quiz-ornament::before, .quiz-ornament::after {
  content: ''; height: 1px; width: 64px;
  background: linear-gradient(to right, transparent, rgba(40,102,148,0.55));
}
.quiz-ornament::after {
  background: linear-gradient(to left, transparent, rgba(40,102,148,0.55));
}
.quiz-ornament span {
  font-size: 0.95rem; line-height: 1;
  text-shadow: 0 0 14px rgba(127,179,213,0.8);
  animation: ornamentGlow 2.6s ease-in-out infinite;
}
@keyframes ornamentGlow {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.22); opacity: 1; }
}
.reveal-ornament { margin-bottom: 1.2rem; }

.quiz-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  background: linear-gradient(115deg, var(--sky-deep), #205d87);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: -1.6rem auto 2.6rem !important;
}

/* pill buttons for the gender chooser */
.btn-pill {
  border-radius: 999px;
  padding: 1.1rem 3rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(40,102,148,0.4);
  box-shadow: 0 10px 26px rgba(16,47,77,0.12);
}
.btn-pill:hover { transform: translateY(-3px) scale(1.02); }

/* lettered quiz options */
.quiz-option .opt-letter {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: var(--sky-deep);
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid rgba(40,102,148,0.4); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.quiz-option:hover .opt-letter {
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  color: var(--white); border-color: transparent;
  box-shadow: 0 6px 16px rgba(40,102,148,0.4);
}
.quiz-option.selected .opt-letter {
  background: linear-gradient(115deg, var(--sky-deep), var(--sky));
  color: var(--white); border-color: transparent;
}

/* Editorial spacing and quieter surfaces let the perfumes lead. */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; padding-top: 8rem; padding-bottom: 6rem; }
.hero-content { max-width: 660px; }
.hero-title { font-size: clamp(4rem, 7.5vw, 7.8rem); line-height: 1.06; }
.hero-footnote { margin-top: 1.6rem; font-size: .8rem; color: var(--text-dim); }
.hero-product { position: relative; display: block; color: var(--ink); text-decoration: none; padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.78); border-radius: 24px; }
.hero-product-index { display: block; font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-product img { display: block; width: 100%; height: min(55vh, 520px); object-fit: contain; mix-blend-mode: multiply; }
.hero-product-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.hero-product-caption span:first-child { font: 2rem var(--serif); }
.hero-product-caption span:last-child { font-size: .85rem; color: var(--text-dim); }
.scent-card { box-shadow: none; background: rgba(255,255,255,.78); border-radius: 24px; }
.scent-card:hover { box-shadow: 0 12px 30px rgba(16,47,77,.1); transform: translateY(-4px); }
.scent-name, .scent-notes, .scent-swatch { display: block; }
.btn, .nav-links a, .quiz-meta, .buy-btn { letter-spacing: .13em; }
.quiz-card { border-radius: 24px; box-shadow: 0 16px 60px rgba(16,47,77,.07); }
.quiz-ornament { display: none; }
.quiz-back { display: block; margin-top: 1.5rem; border: 0; background: none; font: inherit; color: var(--sky-ink); cursor: pointer; padding: .6rem 0; }
.quiz-privacy { position: relative; max-width: 55ch; margin: 2rem auto 0; color: var(--text-dim); font-size: .88rem; line-height: 1.7; text-align: center; }
.quiz-option:disabled { cursor: default; }
.reveal-button { display: block; margin: 1rem auto; }
.reveal-button[hidden] { display: none; }
.detail-main-video { display: block; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 200; padding: 1rem; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 5px; }
.reveal-up { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 9rem; }
  .hero-product { max-width: 520px; width: 100%; justify-self: center; }
  .hero-product img { height: 380px; }
  .scroll-hint { display: none; }
}
@media (max-width: 720px) {
  .quiz-card { padding: 2rem 1.25rem; }
  .mystery-box { width: 46%; height: 54%; }
  .mystery-caption { font-size: .96rem; }
  .quiz-shell { padding: 7rem 1rem 3rem; }
  .quiz-meta { letter-spacing: .04em; gap: 1rem; }
  .quiz-option { padding: 1rem; font-size: .92rem; }
  .result-hero, .detail-wrap { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .nav-cta { padding: .65rem .8rem; font-size: .8rem !important; letter-spacing: .04em !important; }
  .brand-mark { font-size: 1.2rem; letter-spacing: .22em; }
  .brand-sub { letter-spacing: .4em; }
  .nav-links { gap: .6rem; }
  .hero-actions .btn { padding: 1rem 1.4rem; }
  .score-row { grid-template-columns: 100px 1fr 24px; font-size: .8rem; }
  .card-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Clear navy typography, gentle shapes and comfortable touch targets. */
body { line-height: 1.65; }
.btn, .nav-cta, .pill, .buy-btn { border-radius: 999px; font-weight: 500; }
.btn, .pill, .buy-btn { min-height: 44px; }
.hero-title, .section-title, .reveal-name { font-weight: 500; }
.hero-copy, .section-sub, .reveal-desc, .quiz-intro p { font-size: 1.1rem; }
.stat-num { font-weight: 500; }
.stat-label, .scent-gender, .section-kicker, .hero-eyebrow, .chip { font-weight: 500; }
.hero-product-caption span:last-child { font-size: .9rem; }
.hero-footnote { font-size: .95rem; }
.note-pyramid > div { background: rgba(255,255,255,.84); border-radius: 16px; }
.note-pyramid p { font-size: 1rem; }
.quiz-privacy, .notes-disclaimer { font-size: .9rem; }
.quiz-option { background: rgba(255,255,255,.84); border-radius: 18px; }
.quiz-ornament { display: flex; }
.quiz-ornament span { animation: none; text-shadow: none; }
@media (max-width: 720px) {
  .site-nav { padding: .85rem 1rem; }
  .nav-cta { padding: .7rem .85rem; }
  .brand-sub { font-size: .65rem; }
  .hero-title { font-size: clamp(3.4rem, 14vw, 5rem); }
  .hero-product-caption { flex-wrap: wrap; }
  .scent-card { padding: 1.8rem 1.4rem; }
  .quiz-option { font-size: 1rem; }
}

/* High-contrast lettering on translucent, sky-lit surfaces. */
body { font-size: 17px; letter-spacing: .01em; }
.site-nav, .hero-product, .scent-card, .quiz-card, .panel {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-title em, .section-title em, .quiz-intro h1 em,
.stat-num, .reveal-tagline, .mystery-caption {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--sky-deep);
}
.hero-title, .section-title, .quiz-question, .reveal-name,
.scent-name, .shake-hint-main { font-weight: 600; }
.hero-copy, .section-sub, .reveal-desc, .quiz-intro p,
.scent-notes, .footer-brand p { font-size: 1.15rem; line-height: 1.8; }
.nav-links a, .btn, .buy-btn, .pill { font-size: .95rem; letter-spacing: .08em; }
.stat-label, .scent-gender, .section-kicker, .hero-eyebrow,
.quiz-meta, .chip, .footer-cols h5 { font-size: .95rem; letter-spacing: .1em; }
.shake-hint { padding: 1.25rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.9); }
.shake-hint-main { font-size: clamp(1.6rem, 4vw, 2rem); color: var(--ink); text-shadow: none; }
.shake-hint-sub { font-size: 1rem; color: var(--ink-2); letter-spacing: .02em; }
.quiz-privacy, .notes-disclaimer, .footer-base { font-size: 1rem; }
.quiz-option.selected { background: #d8edff; border-color: var(--sky-deep); }
@media (max-width: 720px) {
  .nav-links .nav-cta { font-size: .8rem; }
  .quiz-meta { font-size: .85rem; letter-spacing: .03em; }
  .hero-copy, .section-sub, .scent-notes { font-size: 1.08rem; }
}

/* Keep decorative light behind the lettering. */
.quiz-card::after { display: none; }
.quiz-intro h1 { font-weight: 600; }
.quiz-quote { font-weight: 500; }
