:root {
  --ink: #1c0a26;
  --ink-2: #2a1238;
  --violet: #62287f;
  --violet-2: #7d3aa3;
  --lilac: #c7a8e8;
  --pearl: #f7f1fa;
  --gold: #d6b06a;
  --muted: #b9a5ca;
  --ink-muted: #5d4a6b;

  --f-display: 'Amiri', 'Marcellus', serif;
  --f-latin: 'Marcellus', 'Amiri', serif;
  --f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
#shop, #visit { scroll-margin-top: 70px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--pearl);
  font: 400 1.0625rem/1.75 var(--f-body);
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { font-family: var(--f-latin); font-weight: 400; letter-spacing: .01em; }
p { margin: 0; }
[lang="en"] { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5em; border-radius: 999px;
  background: var(--pearl); color: var(--ink); border: 1px solid transparent;
  font: 500 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--pearl); border-color: rgba(247, 241, 250, .35); }
.btn-ghost:hover { background: rgba(247, 241, 250, .08); border-color: var(--pearl); }
.btn-light { background: var(--pearl); }
.btn-small { min-height: 40px; padding: 0 1.1em; font-size: .92rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
.site-header.is-scrolled { background: rgba(28, 10, 38, .78); backdrop-filter: blur(14px); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand-mark { width: 26px; height: 32px; filter: brightness(0) invert(1); }
.brand span { font: 400 1.25rem/1 var(--f-latin); letter-spacing: .32em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; opacity: .82; font-size: .98rem; position: relative; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { opacity: 1; }
.site-nav a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -4px; height: 1px; background: var(--gold); }
.lang-toggle {
  background: none; border: 1px solid rgba(247, 241, 250, .3); color: var(--pearl);
  border-radius: 999px; min-width: 52px; height: 36px; cursor: pointer; font: 500 .9rem/1 var(--f-body);
}
.lang-toggle:hover { border-color: var(--pearl); }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--pearl); transition: transform .3s; }
  .menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(28, 10, 38, .97); font-size: 1.4rem;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .site-nav a:not(.btn) { font-size: 1.5rem; }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; align-items: center;
  padding: 110px var(--gutter) 90px;
  background:
    radial-gradient(60% 55% at 30% 55%, rgba(125, 58, 163, .55), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(255, 140, 200, .12), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, #3a1450, transparent 70%),
    var(--ink);
}
html[dir="ltr"] .hero { background:
    radial-gradient(60% 55% at 70% 55%, rgba(125, 58, 163, .55), transparent 70%),
    radial-gradient(40% 40% at 20% 20%, rgba(255, 140, 200, .12), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, #3a1450, transparent 70%),
    var(--ink); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero.no-webgl { background: linear-gradient(rgba(28, 10, 38, .7), rgba(28, 10, 38, .95)), url(../assets/img/store/03.webp) center/cover; }
.hero-copy {
  max-width: 33rem; justify-self: start; pointer-events: none;
  position: relative;
}
.hero-copy a { pointer-events: auto; }
.hero-mark { width: 44px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 18px; }
.hero-word {
  font: 400 clamp(3.2rem, 9vw, 7.5rem)/.9 var(--f-latin);
  letter-spacing: .2em; margin-inline-end: -.2em;
  background: linear-gradient(180deg, #fff 30%, var(--lilac));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  direction: ltr; text-align: start;
}
html[dir="rtl"] .hero-word { text-align: right; }
.hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-top: 18px; color: #fff; }
.hero-sub { margin-top: 16px; color: var(--muted); max-width: 30rem; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-hint {
  position: absolute; inset-inline-end: var(--gutter); bottom: 28px;
  font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 10px;
}
.hero-hint::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 12px 3px rgba(199, 168, 232, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* page-load: the only orchestrated entrance on the page */
.hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.hero.is-ready .hero-copy > *, .hero.no-webgl .hero-copy > * { opacity: 1; transform: none; }
.hero.is-ready .hero-copy > :nth-child(2) { transition-delay: .9s; }
.hero.is-ready .hero-copy > :nth-child(3) { transition-delay: 1.15s; }
.hero.is-ready .hero-copy > :nth-child(4) { transition-delay: 1.3s; }
.hero.is-ready .hero-copy > :nth-child(5) { transition-delay: 1.45s; }
.hero.is-ready .hero-copy > :nth-child(1) { transition-delay: .7s; }

@media (max-width: 900px) {
  .hero { align-items: start; padding-top: 96px; }
  .hero-copy { max-width: none; }
  .hero-hint { inset-inline: var(--gutter); justify-content: center; bottom: 18px; }
  .hero-sub { font-size: 1rem; }
}

/* ---------- logo ribbon ---------- */
.ribbon { background: var(--violet); overflow: hidden; direction: ltr; padding: 26px 0; border-block: 1px solid rgba(255, 255, 255, .12); }
.ribbon-track { display: flex; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon ul { display: flex; align-items: center; gap: 64px; padding: 0 32px; margin: 0; list-style: none; }
.ribbon img { height: 30px; width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .88; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- shop ---------- */
.shop { background: var(--pearl); color: var(--ink); padding: clamp(72px, 10vw, 130px) var(--gutter); }
.shop > * { max-width: var(--max); margin-inline: auto; }
.shop-head { display: grid; gap: 12px; margin-bottom: 36px; }
.shop-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--violet); }
.shop-head p { color: var(--ink-muted); max-width: 36rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 34px; }
.seg { display: inline-flex; background: #ebe1f1; border-radius: 999px; padding: 4px; }
.seg button {
  border: 0; background: none; border-radius: 999px; padding: 8px 18px; min-height: 40px;
  font: 500 .95rem/1 var(--f-body); color: var(--ink-muted); cursor: pointer; transition: background .3s, color .3s;
}
.seg button[aria-checked="true"] { background: var(--violet); color: #fff; }
.accords { display: flex; flex-wrap: wrap; gap: 8px; }
.accords button {
  border: 1px solid #d8c8e4; background: transparent; color: var(--ink); border-radius: 999px;
  padding: 6px 14px; min-height: 36px; font: 400 .92rem/1 var(--f-body); cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.accords button:hover { border-color: var(--violet); }
.accords button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--pearl); }
.shop-count { margin-inline-start: auto; color: var(--ink-muted); font-size: .9rem; direction: ltr; }

.shop-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 34px 22px; }
.product-hit {
  display: grid; gap: 10px; width: 100%; padding: 0; border: 0; background: none; text-align: start;
  color: inherit; font: inherit; cursor: pointer;
}
.product-photo { display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #e6dbee; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .9s var(--ease); }
.product-hit:hover .product-photo img { transform: scale(1.05); }
.product-brand img { height: 16px; width: 130px; object-fit: contain; object-position: inline-start; filter: brightness(0); opacity: .7; margin-top: 4px; }
html[dir="rtl"] .product-brand img, html[dir="rtl"] .bbw-logo { object-position: right; }
html[dir="rtl"] .viewer-logo { object-position: right; }
.product-name { font: 400 1.25rem/1.25 var(--f-latin); direction: ltr; text-align: start; }
html[dir="rtl"] .product-name { text-align: right; }
.product-accords { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .88rem; color: var(--ink-muted); }
.product-accords i { font-style: normal; }
.product-accords i.on { color: var(--violet); font-weight: 600; }
.shop-empty { grid-column: 1 / -1; padding: 48px 0; color: var(--ink-muted); font-size: 1.1rem; }

/* ---------- bath & body works ---------- */
.bbw {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px;
  padding: clamp(72px, 10vw, 130px) var(--gutter);
  background: radial-gradient(70% 90% at 80% 50%, #4a1d63, transparent 70%), var(--ink-2);
  overflow: hidden;
}
.bbw-copy { max-width: 30rem; justify-self: end; display: grid; gap: 16px; justify-items: start; }
html[dir="ltr"] .bbw-copy { justify-self: start; }
.bbw-logo { height: 26px; width: 260px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); opacity: .9; }
.bbw h2 { font-family: var(--f-latin); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); }
.bbw p { color: var(--muted); }
.bbw-price { display: flex; align-items: baseline; gap: 12px; }
.bbw-price strong { font: 400 clamp(3.4rem, 8vw, 5.5rem)/1 var(--f-latin); color: var(--gold); }
.bbw-stack { position: relative; height: clamp(360px, 44vw, 560px); }
.bbw-stack img {
  position: absolute; width: 46%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  top: 50%; left: 50%;
}
.bbw-stack img:nth-child(1) { translate: -115% -50%; rotate: -8deg; }
.bbw-stack img:nth-child(2) { translate: -50% -54%; z-index: 1; }
.bbw-stack img:nth-child(3) { translate: 15% -50%; rotate: 8deg; }
@media (max-width: 860px) {
  .bbw { grid-template-columns: 1fr; }
  .bbw-copy { justify-self: start; }
}

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: clamp(72px, 10vw, 130px) var(--gutter) 0;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
}
.visit-photos { position: relative; height: clamp(420px, 50vw, 620px); }
.visit-photos img { position: absolute; object-fit: cover; border-radius: 24px; }
.visit-front { inset: 0 18% 8% 0; width: 82%; height: 92%; }
.visit-inside { width: 44%; height: 58%; inset-inline-end: 0; bottom: 0; border: 6px solid var(--ink); }
html[dir="rtl"] .visit-front { inset: 0 0 8% 18%; }
.visit-copy { display: grid; gap: 18px; }
.visit h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.visit address { font-style: normal; font-size: 1.2rem; color: var(--lilac); }
.visit-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.visit-facts li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.visit-facts li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.visit-phone a { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--f-latin); text-decoration: none; color: #fff; }
.visit-phone a:hover { color: var(--gold); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-map {
  grid-column: 1 / -1; width: 100%; height: 340px; border: 0; border-radius: 24px;
  filter: invert(.9) hue-rotate(200deg) saturate(.6) brightness(.95);
}
@media (max-width: 860px) {
  .visit { grid-template-columns: 1fr; }
  .visit-photos { height: 440px; }
}

/* ---------- footer ---------- */
.site-footer {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 90px var(--gutter) 60px; color: var(--muted);
}
.footer-mark { width: 34px; filter: brightness(0) invert(1); opacity: .6; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--pearl); }

/* ---------- story viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(16, 5, 22, .82); backdrop-filter: blur(18px);
  opacity: 0; transition: opacity .3s;
}
/* display:grid above would override the hidden attribute and leave an invisible layer eating every click. */
.viewer[hidden] { display: none; }
.viewer.is-open { opacity: 1; }
.viewer-stage {
  position: relative; height: min(92svh, 860px); aspect-ratio: 9 / 16; max-width: 100vw;
  border-radius: 18px; overflow: hidden; background: #000;
  transform: scale(.94); transition: transform .45s var(--ease);
  box-shadow: 0 40px 120px -30px rgba(98, 40, 127, .9);
}
.viewer.is-open .viewer-stage { transform: none; }
.viewer-photo { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.viewer-bars { position: absolute; inset: 10px 10px auto; z-index: 3; display: flex; gap: 3px; direction: ltr; }
html[dir="rtl"] .viewer-bars { direction: rtl; }
.viewer-bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.viewer-bars i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .viewer-bars i { transform-origin: right; }
.viewer-bars .done i { transform: scaleX(1); }
.viewer-top {
  position: absolute; inset: 22px 12px auto; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .35);
}
.viewer-logo { height: 18px; width: 120px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.viewer-name { font-size: .88rem; flex: 1; opacity: .85; }
.viewer-close {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15);
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.viewer-prev, .viewer-next { position: absolute; top: 0; bottom: 0; width: 38%; z-index: 2; background: none; border: 0; cursor: pointer; }
.viewer-prev { inset-inline-start: 0; }
.viewer-next { inset-inline-end: 0; }
.viewer-ask { position: absolute; z-index: 3; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.viewer-ask:hover { transform: translateX(-50%) translateY(-2px); }
body.viewer-open { overflow: hidden; }

/* ---------- brands page ---------- */
.page-brands {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(125, 58, 163, .45), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(98, 40, 127, .4), transparent 70%),
    var(--ink);
  background-attachment: fixed;
}
.sky { position: fixed; inset: 0; z-index: 0; perspective: 900px; overflow: hidden; pointer-events: none; }
.sky-inner { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.fly {
  position: absolute; width: 200px; height: 124px; margin: -62px -100px;
  display: grid; place-items: center; padding: 22px;
  border-radius: 18px; background: linear-gradient(145deg, #fff, #efe6f5);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .6);
  backface-visibility: hidden; will-change: transform, opacity;
}
.fly img { width: 150px; height: 58px; object-fit: contain; filter: brightness(0); opacity: .85; }
.fly:nth-child(3n) { background: linear-gradient(145deg, var(--violet-2), var(--violet)); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.fly:nth-child(3n) img { filter: brightness(0) invert(1); }
.fly:nth-child(5n) { background: linear-gradient(145deg, #2a1238, #1c0a26); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(214, 176, 106, .45); }
.fly:nth-child(5n) img { filter: brightness(0) invert(.82) sepia(.6) saturate(2.2) hue-rotate(-5deg); }

.page-brands .site-header, .page-brands main, .page-brands .site-footer { position: relative; z-index: 1; }
.page-brands .site-header { position: fixed; z-index: 50; }
.brands-main { padding: 140px var(--gutter) 40px; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.brands-head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: 60px; }
.brands-head { position: relative; }
.brands-head::before {
  content: ''; position: absolute; inset: -80px -10% -60px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(28, 10, 38, .92), rgba(28, 10, 38, .6) 60%, transparent);
}
.brands-head h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); text-shadow: 0 6px 40px rgba(28, 10, 38, .9); }
.brands-head p { max-width: 34rem; color: var(--muted); text-shadow: 0 2px 20px rgba(28, 10, 38, 1); }
.brand-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px;
  perspective: 1000px;
}
.brand-tile {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; width: 100%; aspect-ratio: 5 / 4; overflow: hidden;
  display: grid; place-items: center; padding: 28px;
  border-radius: 22px; border: 1px solid rgba(199, 168, 232, .22);
  background: #230e2f; color: var(--pearl); font: inherit; text-align: center;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
button.brand-tile { cursor: pointer; }
.brand-tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .18), transparent 55%);
}
button.brand-tile:hover { border-color: rgba(214, 176, 106, .7); box-shadow: 0 30px 60px -25px rgba(125, 58, 163, .9); }
button.brand-tile:hover::after { opacity: 1; }
.brand-cover {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  opacity: .16; filter: saturate(.6); transition: opacity .6s var(--ease), transform .9s var(--ease);
}
button.brand-tile:hover .brand-cover { opacity: .42; transform: scale(1.06); }
.brand-logo { position: relative; transform: translateZ(40px); }
.brand-logo img { width: min(190px, 70vw); height: 64px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.brand-meta { position: absolute; bottom: 14px; inset-inline: 0; font-size: .85rem; color: var(--muted); }
button.brand-tile .brand-meta { color: var(--lilac); }
.brand-tile.is-static { border-style: dashed; background: #1f0c2a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ribbon-track { animation: none; flex-wrap: wrap; }
}

/* Keep the content above the 3D sky; Chrome can otherwise composite far-flung 3D layers over it. */
.page-brands main, .page-brands .site-footer { z-index: 2; isolation: isolate; transform: translateZ(0); }

/* ---------- intro: the Violet logo draws itself, then the curtain lifts ---------- */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 45%, #6f2f90, var(--violet) 55%, #4a1d63);
  color: #fff; cursor: pointer;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(.76, 0, .24, 1);
}
.intro-on { overflow: hidden; }
.intro-out .intro { clip-path: inset(0 0 100% 0); }
.intro-logo {
  --w: clamp(190px, 30vw, 300px);
  position: relative; width: var(--w);
  transition: transform 1s cubic-bezier(.76, 0, .24, 1), opacity .8s;
}
.intro-out .intro-logo { transform: translateY(-18vh) scale(.9); opacity: 0; }
.intro-bottle { display: block; width: 100%; height: auto; overflow: visible; }
.intro-bottle g > path, .intro-bottle g > rect {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: intro-draw 1.1s cubic-bezier(.65, 0, .35, 1) forwards;
}
.intro-bottle .d1 { animation-delay: .15s; }
.intro-bottle .d2 { animation-delay: .3s; }
.intro-bottle .d3 { animation-delay: .45s; animation-duration: .8s; }
.intro-bottle .d4 { animation-delay: .6s; animation-duration: .7s; }
.intro-bottle .d5 { animation-delay: .5s; animation-duration: 1.4s; }
.intro-bottle .d6 { animation-delay: .7s; animation-duration: 1.4s; }
.intro-bottle .d7 { animation-delay: 1.5s; animation-duration: .7s; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
/* The band cuts the bottle lines behind the word, exactly like the logo. */
.intro-band { opacity: 0; animation: intro-fade .5s ease 1.55s forwards; }
@keyframes intro-fade { to { opacity: 1; } }

.intro-word {
  position: absolute; left: 50%; top: 62.5%; translate: -50% -50%;
  margin: 0; white-space: nowrap; direction: ltr;
  font: 400 calc(var(--w) * .33)/1 var(--f-latin); letter-spacing: .12em; margin-inline-end: -.12em;
  text-shadow: 0 0 28px rgba(255, 255, 255, .35);
}
.intro-word span {
  display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em) scale(1.15);
  animation: intro-letter .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.intro-word span:nth-child(1) { animation-delay: 1.6s; }
.intro-word span:nth-child(2) { animation-delay: 1.68s; }
.intro-word span:nth-child(3) { animation-delay: 1.76s; }
.intro-word span:nth-child(4) { animation-delay: 1.84s; }
.intro-word span:nth-child(5) { animation-delay: 1.92s; }
.intro-word span:nth-child(6) { animation-delay: 2s; }
@keyframes intro-letter { to { opacity: 1; filter: blur(0); transform: none; } }

/* A light sweep crosses the finished logo. */
.intro-logo::after {
  content: ''; position: absolute; inset: 0 -30%; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .7) 50%, transparent 58%) 100% 0 / 300% 100% no-repeat;
  mix-blend-mode: soft-light; opacity: 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  animation: intro-sweep 1.1s ease-in-out 2.35s forwards;
}
@keyframes intro-sweep { 0% { opacity: 1; } 90% { opacity: 1; } to { opacity: 0; background-position: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .intro-bottle g > path, .intro-bottle g > rect { stroke-dashoffset: 0; animation: none; }
  .intro-band { opacity: 1; animation: none; }
  .intro-word span { opacity: 1; filter: none; transform: none; animation: none; }
  .intro-logo::after { display: none; }
}
