/* Smile+ concept: refinement layer. Apple-style type and motion, the hero aura and landing sequence,
   and true-to-product pouch art. Loaded after styles.css and art.css. */

/* ---------- Type: Inter with optical sizing ---------- */
:root {
  --display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --ink: #12142a;
  --ink-soft: #5e6278;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body { letter-spacing: -.012em; font-optical-sizing: auto; font-feature-settings: "kern" 1, "calt" 1; text-rendering: optimizeLegibility; }
.display, .display-sm, .h2, .mn-title, .moment h3, .pc-title, .ing h3, .rv-pull, .rv-photos-head h3, .lead-title, .day-card h3, .step .t, .rv-pro blockquote, .ring-detail h3, .mobile-menu a:not(.btn) { font-family: var(--display); font-stretch: normal; text-transform: none; }
.display { font-weight: 700; letter-spacing: -.038em; line-height: 1.02; }
.hero h1 { font-size: clamp(48px, 5.4vw, 88px); margin-top: 18px; }
.hero h1 .w { display: inline-block; }
.tm { font-size: .3em; top: .32em; font-weight: 600; }
.display-sm { font-weight: 700; letter-spacing: -.034em; line-height: 1.03; font-size: clamp(40px, 4.4vw, 70px); }
.h2 { font-weight: 700; letter-spacing: -.032em; line-height: 1.06; font-size: clamp(36px, 4.5vw, 66px); }
.muted { opacity: .46; }
.final-title { font-size: clamp(50px, 8vw, 128px); }
.mn-title { font-weight: 700; letter-spacing: -.032em; line-height: 1.02; font-size: clamp(36px, 3.6vw, 54px); }
.moment h3 { font-weight: 650; letter-spacing: -.024em; line-height: 1.1; }
.pc-title { font-weight: 700; letter-spacing: -.028em; }
.ing h3 { font-weight: 650; letter-spacing: -.02em; -webkit-hyphens: manual; hyphens: manual; }
.ing-hero h3 { font-weight: 700; letter-spacing: -.03em; }
@media (max-width: 560px) { .ing h3 { -webkit-hyphens: auto; hyphens: auto; } }
.rv-pull, .lead-title, .rv-photos-head h3 { font-weight: 700; letter-spacing: -.03em; }
.day-card h3 { font-weight: 650; letter-spacing: -.02em; }
.step .t { font-weight: 650; letter-spacing: -.022em; }
.step .num { font-family: var(--body); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rv-pro blockquote { font-weight: 650; letter-spacing: -.02em; }
.mobile-menu a:not(.btn) { font-weight: 650; letter-spacing: -.03em; }
.day-clock, .rv-big, .rv-stat b, .energy-stats b, .pc-price .now, .stat b, .swap-badge b, .cmp-head .us { font-family: var(--display); font-stretch: normal; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.rv-big { letter-spacing: -.05em; }
.faq-list summary { font-weight: 600; letter-spacing: -.016em; font-size: 18px; }
.sub { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; letter-spacing: -.016em; }
.lead { line-height: 1.5; letter-spacing: -.016em; }
.stage-copy { letter-spacing: -.014em; }

/* Small labels: sentence case, medium weight */
.eyebrow { font-size: clamp(15px, 1.15vw, 17px); font-weight: 600; letter-spacing: -.012em; text-transform: none; margin-bottom: 12px; }
.eyebrow::before { display: none; }
.eyebrow-light { color: #9fc2ff; }
.kicker { font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; letter-spacing: -.012em; text-transform: none; color: #9fc2ff; }
.announce { font-size: 12.5px; font-weight: 500; letter-spacing: -.005em; text-transform: none; }
.pill { font-size: 13.5px; font-weight: 600; letter-spacing: -.008em; text-transform: none; }
.hero-hint, .drag-hint { font-size: 12.5px; font-weight: 500; letter-spacing: -.005em; text-transform: none; }
.day-count .lbl, .day-card-kicker, .day-gap span, .tooth-chip, .pc-badge, .cmp-head, .ft-cols h4, .m-tag, .rv-chip, .ing-tags, .swap-badge span { text-transform: none; letter-spacing: -.005em; font-weight: 600; }
.day-count .lbl { font-size: 12px; }
.day-card-kicker, .day-gap span, .m-tag, .ing-tags { font-size: 12.5px; }
.tooth-chip, .pc-badge, .cmp-head, .ft-cols h4 { font-size: 13px; }
.rv-chip { font-size: 11.5px; }
.swap-badge span { font-size: 14px; }
.bundle em { text-transform: none; letter-spacing: 0; font-size: 10.5px; font-weight: 600; }
.zeros li { font-weight: 600; letter-spacing: -.01em; }
.trust-item { font-weight: 600; letter-spacing: -.012em; }
.nav-links a { font-weight: 500; font-size: 14px; letter-spacing: -.01em; padding: 8px 13px; }

/* ---------- Brand mark and glass header ---------- */
.nav { height: 60px; }
.brand { line-height: 0; }
.brand .logo { display: block; height: 25px; width: auto; fill: currentColor; --plus: #5b9bff; }
.site-header.light .brand .logo { --plus: var(--royal); }
.footer .brand .logo { height: 30px; }
@media (max-width: 640px) { .nav { height: 56px; } .brand .logo { height: 22px; } }
.site-header { transition: color .5s var(--ease); }
.nav-wrap { transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.site-header.scrolled .nav-wrap { background: rgba(6, 9, 30, .58); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.site-header.light.scrolled .nav-wrap { background: rgba(250, 250, 252, .74); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; letter-spacing: -.014em; transition: transform .5s var(--ease), background-color .3s ease, box-shadow .5s var(--ease), color .3s ease, border-color .3s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: #1f5ae6; box-shadow: 0 10px 24px -12px rgba(31, 90, 230, .75); }
.btn-primary:hover { background: #2b66f2; box-shadow: 0 16px 32px -14px rgba(31, 90, 230, .85); }
.sticky-cta .btn-primary:hover { background: #eef3ff; }

/* ---------- Motion: Apple-style reveals ---------- */
.js [data-reveal] { transform: translate3d(0, 40px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease); }
.js :is(.section-head, .rv-head, .moments-head, .faq-head, .swap-copy, .energy-copy, .rv-photos-head)[data-reveal]:not(.in) { filter: blur(8px); }
.js [data-reveal].in { transform: none; filter: none; }
@keyframes riseIn { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps)[data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps)[data-reveal]:not(.in) > * { opacity: 0; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > * { animation: riseIn 1s var(--ease) backwards; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(2) { animation-delay: .07s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(3) { animation-delay: .14s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(4) { animation-delay: .21s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(5) { animation-delay: .28s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(6) { animation-delay: .35s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(7) { animation-delay: .42s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(8) { animation-delay: .49s; }
.js :is(.ing-grid, .rv-bento, .free-from, .shop-assure, .ritual-steps).in > :nth-child(9) { animation-delay: .56s; }

/* Hero stages cross-dissolve instead of cutting */
.stage { filter: blur(10px); transition: opacity .8s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease), visibility 0s linear .8s; }
.stage.is-active { filter: none; transition: opacity .9s var(--ease) .06s, transform 1.1s var(--ease), filter .9s var(--ease), visibility 0s; }

/* Calmer cards: no pointer tilt or glare, a gentle lift instead */
.product-card, .moment { transform: none !important; }
.product-card::after, .moment::before { display: none; }
.product-card { transition: translate .7s var(--ease), box-shadow .7s var(--ease); }
.product-card:hover { translate: 0 -6px; }
.pc-img { transition: transform 1.2s var(--ease); }
.grad { animation-duration: 9s; }

/* ---------- Hero: the aura around the tin (god rays, rim light, spotlight, light pool) ---------- */
.hero-art { transform: scale(1.06); transition: opacity 1.6s var(--ease), transform 3.4s var(--ease); }
.hero-art.is-loaded { transform: none; }
.js .hero-canvas { opacity: 0; transition: opacity 1.6s var(--ease); }
.js .hero-sticky.is-live .hero-canvas { opacity: 1; }
/* --a matches the 3D anchor's short side, so every layer is sized to the tin */
.hero-aura { --a: min(50vw, 78vh); --tint: color-mix(in srgb, var(--flavor) 36%, #fff); --soft: color-mix(in srgb, var(--flavor) 58%, #fff); --deep: color-mix(in srgb, var(--flavor) 72%, #1c3dff); position: absolute; right: 1vw; top: 13vh; width: 50vw; height: 78vh; z-index: 0; pointer-events: none; scale: calc(1 - var(--hp, 0) * .08); translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -9px); }
.hero-aura::before, .hero-aura::after, .hero-aura > i { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; will-change: transform, opacity; }
/* two sets of soft rays turning in opposite directions, so the light shimmers behind the tin */
.hero-aura::before, .hero-aura::after { width: calc(var(--a) * 2.5); aspect-ratio: 1; -webkit-mask: radial-gradient(closest-side, transparent 6%, #000 24%, rgba(0, 0, 0, .62) 44%, rgba(0, 0, 0, .2) 62%, transparent 78%); mask: radial-gradient(closest-side, transparent 6%, #000 24%, rgba(0, 0, 0, .62) 44%, rgba(0, 0, 0, .2) 62%, transparent 78%); mix-blend-mode: screen; filter: blur(2px); }
.hero-aura::before { opacity: calc(.82 + var(--hp, 0) * .18); animation: auraSpin 160s linear infinite; background: conic-gradient(from 8deg, transparent 0deg, color-mix(in srgb, var(--tint) 34%, transparent) 3deg, transparent 7deg 17deg, color-mix(in srgb, var(--tint) 18%, transparent) 21deg, transparent 26deg 31deg, color-mix(in srgb, var(--tint) 26%, transparent) 33deg, transparent 36deg 52deg, color-mix(in srgb, var(--tint) 30%, transparent) 57deg, transparent 63deg 70deg, color-mix(in srgb, var(--tint) 14%, transparent) 73deg, transparent 77deg 88deg, color-mix(in srgb, var(--tint) 28%, transparent) 92deg, transparent 97deg 109deg, color-mix(in srgb, var(--tint) 20%, transparent) 113deg, transparent 119deg 127deg, color-mix(in srgb, var(--tint) 32%, transparent) 130deg, transparent 133deg 151deg, color-mix(in srgb, var(--tint) 18%, transparent) 156deg, transparent 162deg 170deg, color-mix(in srgb, var(--tint) 26%, transparent) 173deg, transparent 177deg 192deg, color-mix(in srgb, var(--tint) 30%, transparent) 197deg, transparent 203deg 214deg, color-mix(in srgb, var(--tint) 16%, transparent) 217deg, transparent 221deg 236deg, color-mix(in srgb, var(--tint) 28%, transparent) 240deg, transparent 245deg 259deg, color-mix(in srgb, var(--tint) 22%, transparent) 264deg, transparent 270deg 288deg, color-mix(in srgb, var(--tint) 32%, transparent) 291deg, transparent 295deg 318deg, color-mix(in srgb, var(--tint) 20%, transparent) 323deg, transparent 329deg); }
.hero-aura::after { opacity: .62; animation: auraSpin 230s linear infinite reverse; background: conic-gradient(from 0deg, transparent 0deg 6deg, color-mix(in srgb, var(--soft) 22%, transparent) 12deg, transparent 18deg 34deg, color-mix(in srgb, var(--soft) 16%, transparent) 40deg, transparent 47deg 60deg, color-mix(in srgb, var(--soft) 24%, transparent) 64deg, transparent 69deg 92deg, color-mix(in srgb, var(--soft) 14%, transparent) 99deg, transparent 106deg 118deg, color-mix(in srgb, var(--soft) 20%, transparent) 123deg, transparent 129deg 142deg, color-mix(in srgb, var(--soft) 24%, transparent) 147deg, transparent 152deg 176deg, color-mix(in srgb, var(--soft) 16%, transparent) 183deg, transparent 190deg 203deg, color-mix(in srgb, var(--soft) 22%, transparent) 208deg, transparent 214deg 226deg, color-mix(in srgb, var(--soft) 14%, transparent) 231deg, transparent 237deg 265deg, color-mix(in srgb, var(--soft) 24%, transparent) 271deg, transparent 277deg 296deg, color-mix(in srgb, var(--soft) 18%, transparent) 302deg, transparent 308deg 331deg, color-mix(in srgb, var(--soft) 20%, transparent) 337deg, transparent 343deg); }
/* rim light: brightest right at the tin's silhouette, then a wide soft bloom */
.hero-aura .aura-halo { width: calc(var(--a) * 1.42); aspect-ratio: 1; scale: calc(1 - var(--hp, 0) * .3); background: radial-gradient(closest-side, transparent 30%, color-mix(in srgb, var(--tint) 50%, transparent) 45%, color-mix(in srgb, var(--soft) 64%, transparent) 53%, color-mix(in srgb, var(--flavor) 32%, transparent) 67%, color-mix(in srgb, var(--deep) 10%, transparent) 84%, transparent); animation: auraBreathe 7s ease-in-out infinite alternate; }
.hero-aura .aura-halo::after { content: ""; position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--deep) 34%, transparent), color-mix(in srgb, var(--deep) 12%, transparent) 52%, transparent 78%); animation: auraBreathe 9s ease-in-out -4s infinite alternate; }
/* one soft pulse of light as the tin arrives */
.hero-aura .aura-ring { width: calc(var(--a) * .9); aspect-ratio: 1; opacity: 0; background: radial-gradient(closest-side, transparent 60%, color-mix(in srgb, var(--tint) 55%, transparent) 73%, transparent 86%); filter: blur(5px); mix-blend-mode: screen; }
/* light pooling on the ice under the tin */
.hero-aura .aura-floor { width: calc(var(--a) * 1.12); height: calc(var(--a) * .2); top: 89%; background: radial-gradient(closest-side, color-mix(in srgb, var(--soft) 62%, transparent), color-mix(in srgb, var(--flavor) 24%, transparent) 55%, transparent); filter: blur(10px); mix-blend-mode: screen; animation: auraBreathe 6s ease-in-out infinite alternate; }
/* a spotlight from the art's own light source, upper right, falling on the tin */
.hero-aura .aura-beam { left: 79%; top: -31%; width: calc(var(--a) * .52); height: 125%; translate: -50% 0; transform-origin: 50% 0; border-radius: 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tint) 34%, transparent) 24%, color-mix(in srgb, var(--tint) 12%, transparent) 64%, transparent 92%); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); filter: blur(16px); mix-blend-mode: screen; animation: beamSway 11s ease-in-out infinite alternate; }
.hero-aura .aura-beam.b1 { rotate: 20deg; }
.hero-aura .aura-beam.b2 { rotate: 13deg; width: calc(var(--a) * .16); opacity: .7; animation-duration: 8s; animation-delay: -3s; }
.hero-aura .aura-beam.b3 { rotate: 27deg; width: calc(var(--a) * .12); opacity: .5; animation-duration: 13s; animation-delay: -6s; }
@keyframes auraBreathe { from { transform: scale(.96); opacity: .84; } to { transform: scale(1.04); opacity: 1; } }
@keyframes auraSpin { to { transform: rotate(360deg); } }
@keyframes beamSway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@media (max-width: 860px) {
  .hero-aura { --a: min(100vw, 36svh); left: 0; right: 0; width: auto; top: 84px; height: 36svh; }
  .hero-aura .aura-beam.b2, .hero-aura .aura-beam.b3 { display: none; }
  .hero h1 { font-size: min(10.6vw, 5.8svh); }
}

/* Headlines wrap in balanced lines, body copy avoids single-word last lines */
.display, .display-sm, .h2, .mn-title, .final-title, .rv-pull, .lead-title, .rv-photos-head h3 { text-wrap: balance; }
.sub, .lead, .stage-copy, .m-text, .mn-text, .pc-desc, .ing-text, .rv-quote { text-wrap: pretty; }

/* ---------- Hero: landing sequence (html.intro is set before first paint) ---------- */
@keyframes introIn { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(10px); } }
@keyframes introWord { from { opacity: 0; transform: translate3d(0, .42em, 0); filter: blur(14px); } }
@keyframes introFade { from { opacity: 0; } }
@keyframes introDrop { from { opacity: 0; transform: translate3d(0, -14px, 0); } }
@keyframes auraBloom { from { opacity: 0; transform: scale(.78); } }
@keyframes auraPulse { 0% { opacity: 0; transform: scale(.72); } 28% { opacity: .95; } 100% { opacity: 0; transform: scale(1.85); } }
@keyframes haloIgnite { 0% { scale: .7; filter: brightness(1); } 40% { filter: brightness(1.55); } 100% { scale: 1; filter: brightness(1); } }
.intro .site-header { animation: introDrop 1.1s var(--ease) .1s both; }
.intro .hero-aura { animation: auraBloom 2.6s var(--ease) .05s both; }
.intro .hero-aura .aura-ring { animation: auraPulse 2.2s var(--ease) .7s both; }
.intro .hero-aura .aura-halo { animation: auraBreathe 7s ease-in-out infinite alternate, haloIgnite 2.4s var(--ease) .45s both; }
.intro .hero .stage[data-stage="0"] .pill { animation: introIn 1.1s var(--ease) .3s both; }
.intro .hero h1 .w { animation: introWord 1.2s var(--ease) calc(.45s + var(--i, 0) * 90ms) both; }
.intro .hero .stage[data-stage="0"] .lead { animation: introIn 1.1s var(--ease) .95s both; }
.intro .hero .zeros { animation: introIn 1.1s var(--ease) 1.07s both; }
.intro .hero .stage[data-stage="0"] .cta-row { animation: introIn 1.1s var(--ease) 1.19s both; }
.intro .hero .hero-proof { animation: introIn 1.1s var(--ease) 1.31s both; }
.intro .hero-hint, .intro .hero-dots { animation: introFade 1.4s var(--ease) 1.9s both; }

/* ---------- True-to-product pouch (ingredients) ---------- */
.ing-visual { position: relative; }
.pouch-art { position: relative; width: 76%; filter: drop-shadow(0 24px 22px rgba(12, 22, 80, .26)) drop-shadow(0 4px 6px rgba(12, 22, 80, .12)); animation: pouchFloat 7s ease-in-out infinite; }
.pouch-art svg { display: block; width: 100%; height: auto; transform: perspective(900px) rotateX(16deg) rotate(-12deg); }
.pouch-badge { position: absolute; left: 50%; bottom: 13%; translate: -50% 0; display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -12px rgba(12, 22, 80, .4); font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.pouch-badge b { font-size: 15px; font-weight: 700; color: var(--royal); letter-spacing: -.02em; }
@keyframes pouchFloat { 0%, 100% { transform: translate3d(0, -5px, 0); } 50% { transform: translate3d(0, 6px, 0); } }

/* ---------- Real product photography (swap and pop-up) ---------- */
.swap-art { background: #0050d6; }
.swap-art img { object-fit: contain; object-position: 50% 50%; }
.lead-media { background: #0050d6; }
.lead-media img { object-fit: contain; object-position: 50% 50%; }
.lead-media::after { background: linear-gradient(180deg, rgba(0, 40, 130, 0) 62%, rgba(0, 30, 110, .35)); }
/* ---------- Hero showcase: Daily Whitening and every Energy flavor ---------- */
.hx { height: 100vh; height: 100svh; min-height: 640px; --flavor: #6ea8ff; transition: --flavor 1.2s var(--ease); }
.hx .hero-sticky { position: relative; height: 100%; }
.hx .hero-anchor { top: 12vh; height: 66vh; }
.hx .hero-aura { top: 12vh; height: 66vh; --a: min(50vw, 66vh); }
.hx-arts { position: absolute; inset: 0; }
.hx-arts .art-layer { background-position: 80% 50%; transition-duration: 1.1s; }
.hx-arts .art-layer.is-loaded { opacity: 0; }
.hx-arts .art-layer.is-loaded.on { opacity: 1; }
.hx-arts::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); background: linear-gradient(90deg, rgba(4, 6, 28, .9) 0%, rgba(4, 6, 28, .7) 30%, rgba(4, 6, 28, .22) 58%, rgba(4, 6, 28, 0) 80%), linear-gradient(180deg, rgba(4, 6, 28, .55) 0%, transparent 24%, transparent 72%, rgba(4, 6, 28, .7) 100%); }
.hx[data-line="energy"] .hx-arts::after { opacity: 1; }
.hx .stage h2.display { font-size: clamp(48px, 5.4vw, 88px); margin-top: 18px; }
.hx-picker { position: absolute; z-index: 3; left: 74vw; bottom: max(24px, 5vh); translate: -50% 0; display: grid; justify-items: center; gap: 12px; }
.hx-label { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: -.012em; color: rgba(232, 240, 255, .74); white-space: nowrap; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.hx-label b { color: #fff; font-weight: 650; }
.hx-swatches { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; background: rgba(8, 14, 48, .4); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .85); }
.hx-sep { width: 1px; height: 28px; background: rgba(255, 255, 255, .2); }
.hx-swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--img) 50% 50% / 150% auto no-repeat, #e9eef7; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.hx-swatch:hover { transform: translateY(-2px); }
.hx-swatch[aria-checked="true"] { transform: scale(1.12); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.hx-swatch:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }
@property --p { syntax: '<number>'; inherits: false; initial-value: 1; }
.hx-swatch i { position: absolute; inset: -6px; border-radius: 50%; opacity: 0; pointer-events: none; background: conic-gradient(#fff calc(var(--p) * 1turn), rgba(255, 255, 255, .22) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); transition: opacity .3s; }
.hx-swatch[aria-checked="true"] i { opacity: 1; }
.hx.is-auto .hx-swatch[aria-checked="true"] i { animation: hxRing var(--dwell, 7s) linear both; }
.hx.is-hold .hx-swatch i { animation-play-state: paused; }
@keyframes hxRing { from { --p: 0; } to { --p: 1; } }
.hx-hint { font-size: 12.5px; font-weight: 500; letter-spacing: -.005em; color: rgba(225, 233, 255, .6); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hx.is-swap .hero-aura .aura-ring { animation: auraPulse 1.5s var(--ease) both; }
.intro .hx-picker { animation: introIn 1.1s var(--ease) 1.45s both; }
@media (max-width: 860px) {
  .hx { min-height: 600px; }
  .hx .hero-anchor { top: 84px; height: 36svh; }
  .hx .hero-aura { top: 84px; height: 36svh; --a: min(100vw, 36svh); }
  .hx-picker { left: 50%; bottom: auto; top: calc(84px + 36svh - 22px); gap: 8px; }
  .hx-label { font-size: 13.5px; }
  .hx-label span, .hx-hint { display: none; }
  .hx-swatches { gap: 9px; padding: 8px 11px; }
  .hx-swatch { width: 38px; height: 38px; }
  .hx-sep { height: 22px; }
  .hx .stage h2.display { font-size: min(10.4vw, 5.6svh); margin-top: 14px; }
}
@media (max-width: 860px) and (max-height: 740px) { .hx .stage .lead { display: none; } }
@media (min-width: 861px) and (max-height: 820px) { .hx .stage h2.display { font-size: clamp(40px, min(5.6vw, 8.4vh), 92px); margin-top: 16px; } }

/* ---------- Ritual: how to use it, with the brand's own photography ---------- */
.ritual { position: relative; overflow: hidden; color: #fff; background: #04061c; }
.ritual-bg { position: absolute; inset: 0; background: radial-gradient(900px 600px at 88% 0%, rgba(47, 109, 255, .34), transparent 70%), radial-gradient(800px 600px at 0% 100%, rgba(24, 72, 216, .26), transparent 70%), linear-gradient(180deg, #04061c, #070b3a 60%, #04061c); }
.ritual .container { position: relative; }
.ritual-head { max-width: 760px; }
.ritual-head .sub { margin-top: 18px; }
.ritual-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(40px, 5vw, 64px); }
.rstep figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 572 / 454; background: #0b1240; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.rstep img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rstep:hover img { transform: scale(1.04); }
.rstep h3 { margin-top: 18px; font-family: var(--display); font-size: clamp(19px, 1.5vw, 22px); font-weight: 650; letter-spacing: -.02em; }
.rstep p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: rgba(220, 230, 255, .72); text-wrap: pretty; }
.ritual-clean { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); padding: clamp(14px, 1.6vw, 22px); border-radius: 32px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.rc-media { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1527 / 940; background: #0b1240; }
.rc-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-copy { padding: clamp(6px, 1.5vw, 20px); }
.rc-title { font-family: var(--display); font-weight: 700; letter-spacing: -.032em; line-height: 1.04; font-size: clamp(32px, 3.4vw, 50px); text-wrap: balance; }
.rc-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 17px; line-height: 1.5; color: rgba(220, 230, 255, .78); max-width: 460px; }
.rc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; max-width: 460px; }
.rc-facts li { padding: 12px 8px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.rc-facts b { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.rc-facts span { font-size: 12.5px; font-weight: 600; color: rgba(220, 230, 255, .7); }
@media (max-width: 900px) {
  .ritual-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; margin-inline: -24px; padding: 0 24px 6px; scrollbar-width: none; }
  .ritual-steps::-webkit-scrollbar { display: none; }
  .rstep { scroll-snap-align: start; }
  .ritual-clean { grid-template-columns: 1fr; }
}

/* ---------- 16-hour gap: a key for the timeline ---------- */
.day-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-soft); }
.day-legend li { display: inline-flex; align-items: center; gap: 8px; }
.day-legend i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.day-legend .lg-gap { width: 26px; border-radius: 7px; background: repeating-linear-gradient(135deg, rgba(24, 72, 216, .12) 0 4px, rgba(24, 72, 216, .3) 4px 8px); }
.day-legend .lg-brush { background: var(--ink); }
.day-legend .lg-white { background: var(--royal); }
.day-legend .lg-energy { background: linear-gradient(135deg, #0e1660, #2a72e8); }
@media (prefers-reduced-motion: reduce) {
  .hero-aura::before, .hero-aura::after, .hero-aura > i, .hero-aura .aura-halo::after, .pouch-art, .hx-swatch i { animation: none !important; }
  .stage { filter: none !important; }
  .hero-art, .js .hero-canvas { transition: none; }
}
