/* Three photographed worlds; the bottle stays grounded on each stone stage. */
.hero-cinematic{--butterfly-image:url("./assets/butterfly.webp");--hero-accent:#dec4f1;max-height:none}
.scene-violet{background-image:url("./assets/scene-violet.webp")}
.scene-rose{background-image:url("./assets/scene-rose.webp")}
.scene-amber{background-image:url("./assets/scene-amber.webp")}
.hero-cinematic .hero-garden{transform:none;animation:none;filter:none;background:none;transition:none}
.hero-scene,.stage-scene{position:absolute;inset:0;background-size:cover;background-position:80% center;background-repeat:no-repeat;opacity:0;transition:opacity 1.1s ease}
.hero[data-slide="0"] .scene-violet,.hero[data-slide="1"] .scene-rose,.hero[data-slide="2"] .scene-amber{opacity:1}
.hero[data-slide="1"]{--hero-accent:#f5cbda}
.hero[data-slide="2"]{--hero-accent:#f4dbac}
.hero-cinematic .hero-shade{background:linear-gradient(90deg,#13091bd9 0%,#13091b66 27%,transparent 53%,#13091b55 78%,#13091bd9 100%),linear-gradient(0deg,#100a18e8,transparent 24%,transparent 75%,#100a18a8)}
.hero-cinematic::after{filter:none;animation:none;background:radial-gradient(ellipse at 63% 36%,#d5a1f016,transparent 46%)}
.hero-cinematic .ambient-glow{background:radial-gradient(ellipse,var(--hero-accent),transparent 66%);opacity:.08;filter:blur(18px)}
.hero-cinematic .hero-title-wrap{top:40%;width:35%}
.hero-cinematic h1{font-size:clamp(62px,6.2vw,96px)}
.hero-cinematic h1 em{color:var(--hero-accent);transition:color .8s}
.hero-cinematic .hero-intro{color:#e0cfeb;max-width:250px}
.hero-cinematic .hero-title-wrap .eyebrow,.hero-cinematic .hero-notes{color:var(--hero-accent)}
.hero-cinematic .hero-product-stage{left:var(--bottle-x,66%);top:auto;bottom:calc(100% - var(--bottle-floor,70%));height:44%;width:24%;min-width:0;max-width:390px}
.hero-cinematic .hero-bottle{animation:none;filter:drop-shadow(0 14px 13px #13071c70)}
.hero-cinematic .bottle-shadow{height:12px;bottom:1%;left:29%;right:29%;opacity:.8;filter:blur(6px)}
.hero-cinematic .product-halo{filter:blur(23px);background:radial-gradient(ellipse,#e3baf324,transparent 67%)}
.hero-cinematic .hero-detail{right:5.5%;width:17%;top:35%;max-width:224px}
.hero-cinematic .hero-product-name{font-size:clamp(23px,2vw,31px)}
.hero-cinematic .hero-notes{line-height:1.7}
.hero-cinematic .campaign-hand{opacity:1;object-position:center 45%}
.hero-cinematic .hero-bottle-mini{display:none}
.hero-cinematic .hero-miniature{border-radius:4px;width:158px;height:180px}
.hero-cinematic .hero-purchase{margin-top:15px}
.hero-cinematic .hero-buy{background:#f2e8f8;color:#291434}
.hero-cinematic .hero-buy>span:last-child{background:#6b3f80;color:white}
.hero[data-slide="2"] .hero-buy>span:last-child{background:#795634}
.hero-cinematic .butterfly-flight{
  width:220px;height:146.67px;left:calc(50% - 110px);top:-91px;
  filter:saturate(1.55) contrast(1.1) brightness(1.05) drop-shadow(0 7px 7px #1e102d55);animation:cap-flight 4.2s ease-in-out both;animation-delay:0s;
}
.hero-cinematic .wing{background-image:var(--butterfly-image);animation-duration:.28s}
.hero-cinematic .butterfly{animation:cap-bank 4s ease-in-out infinite}
.hero-cinematic .butterfly-body{background:#291c28}
.hero-cinematic.is-changing .butterfly-flight{animation:none;opacity:0}
.hero-cinematic.is-changing .campaign-hand{opacity:.2}
.butterfly-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;opacity:0;transition:opacity .45s}
.has-butterfly-3d .butterfly-canvas{opacity:1}
.hero-cinematic.has-butterfly-3d .butterfly-flight{visibility:hidden;animation:none}
.hero-cinematic.has-butterfly-3d .butterfly-flight *{animation:none!important}
.hero-cinematic .butterfly{animation:oblique-bank 5s ease-in-out infinite;transform:rotateX(-60deg) rotateY(-7deg);transform-style:preserve-3d}
@keyframes oblique-bank{0%,100%{transform:rotateX(-60deg) rotateY(-7deg)}50%{transform:rotateX(-57deg) rotateY(-3deg)}}
@keyframes cap-flight{
  0%{transform:translate(calc(-1 * var(--butterfly-travel,600px)),-35px) rotate(-70deg) scale(.78);opacity:0}
  12%{opacity:1}
  65%{transform:translate(calc(-.2 * var(--butterfly-travel,600px)),-12px) rotate(-65deg) scale(.96)}
  100%{transform:translate(25px,0) rotate(12deg) scale(1);opacity:1}
}
@keyframes cap-bank{0%,100%{transform:rotateX(16deg) rotateZ(-3deg)}50%{transform:rotateX(27deg) rotateZ(3deg)}}

/* A complete, selectable fragrance story. */
.character{padding:88px 0 48px;background:#eee5ec}
.character-heading h2{font-size:clamp(48px,6vw,85px)}
.story-fragrances{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:28px 20px 42px}
.story-fragrances button{min-height:44px;padding:9px 20px;border:1px solid #9877a344;border-radius:30px;background:transparent;font-size:11px;color:#705b7b;transition:background .25s,color .25s}
.story-fragrances button.is-active{background:#493052;border-color:#493052;color:#fff}
.story-fragrances button:hover{border-color:#6c477a}
.character-composition{height:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%;align-items:center;margin-bottom:45px;max-width:1120px}
.character-bottle-wrap{position:relative;inset:auto;transform:none;width:100%;height:580px;border-radius:160px 160px 6px 6px;overflow:hidden;isolation:isolate;background:#34203f}
.character-scene{position:absolute;inset:0;z-index:-1;background:url("./assets/scene-violet.webp") 78% center/cover;transition:background-image .5s}
.character-bottle-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 65%,#23122ca6);pointer-events:none}
.character-bottle-wrap img{position:absolute;inset:auto;left:15%;bottom:calc(100% - var(--story-floor,68%));width:70%;height:60%;padding:0;object-fit:contain;transform:none;animation:none;filter:drop-shadow(0 14px 14px #12081877);transition:opacity .3s}
.character-caption{position:absolute;left:25px;right:25px;bottom:26px;z-index:1;transform:none;font-size:22px;line-height:1.3;color:#fff1ff;text-align:center}
.character-notes{min-width:0}
.character-notes>.eyebrow{font-size:9px}
.story-name{font-family:var(--serif);font-size:clamp(37px,3.7vw,56px);font-weight:400;line-height:1.1;letter-spacing:-.035em;margin:12px 0 16px}
.story-description{font-size:12px;line-height:1.85;color:#79677f;max-width:440px}
.story-pyramid{display:grid;gap:12px;margin:25px 0 28px;padding:20px 0;border-block:1px solid #a388ad33}
.story-pyramid>div{display:grid;grid-template-columns:120px 1fr;gap:12px}
.story-pyramid dt{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#947d9c}
.story-pyramid dd{font-size:12px;margin:0;color:#4e365c}
.note-explorer>.eyebrow{font-size:8px}
.note-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 18px}
.note-tags button{font-size:10px;padding:7px 14px;min-height:44px;border:1px solid #a68ab64d;border-radius:4px;color:#6b4e78;background:transparent;transition:background .25s}
.note-tags button.is-active{color:#fff;background:#735180;border-color:#735180}
.story-note-detail{display:grid;grid-template-columns:100px minmax(0,1fr);gap:17px;align-items:center;min-height:122px}
.story-note-detail .story-photo{position:relative;inset:auto;width:100px;height:122px;transform:none;border-radius:55px 55px 4px 4px;overflow:hidden}
.story-note-name{font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.15;margin:0 0 8px}
.story-note-copy{font-size:11px;line-height:1.8;color:#806a89}
.character-bottom{max-width:1120px;width:calc(100% - 112px)}
.character-bottom .dark-btn{min-height:46px}
.botanical-jasmine,.botanical-violet,.botanical-rose{background-image:url("./assets/botanical-notes.webp");background-size:300% auto;background-repeat:no-repeat}
.botanical-jasmine{background-position:left center}
.botanical-violet{background-position:center center}
.botanical-rose{background-position:right center}
.botanical-woods{background-image:url("./assets/scene-amber.webp");background-size:cover;background-position:right center}

/* Vertical native scroll drives this horizontal garden, then releases it. */
.horizontal-story{--card-width:min(62vw,700px);display:block;width:100%;max-width:none;margin:0;padding:0;overflow:visible}
.ingredients-pin{position:relative;padding:64px 0 28px;background:linear-gradient(#160e21dd,#160e21e8),url("./assets/scene-violet.webp") center/cover;isolation:isolate}
.ingredient-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin:0 auto 30px}
.ingredient-intro h2{font-size:clamp(36px,4.4vw,66px);line-height:1.07;margin-top:12px}
.ingredient-intro>p:not(.eyebrow){font-size:11px;line-height:1.8;margin:0 0 5px;color:#c7b6d3}
.ingredient-window{width:100%;overflow:hidden;overflow:clip}
.horizontal-story .ingredient-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:calc(100% - 112px);margin:auto;padding:0;overflow:visible;scroll-snap-type:none;transform:none}
.horizontal-story .ingredient-card{height:clamp(280px,50svh,500px);width:100%;margin:0;border-radius:5px;scroll-snap-align:none;transition:box-shadow .3s;animation:none;opacity:1;transform:none;translate:none}
.horizontal-story .ingredient-card:hover{translate:none;box-shadow:0 0 0 1px #d9b7eb66}
.horizontal-story .ingredient-card .botanical-photo{animation:none;filter:brightness(.94);transform:none;transition:filter .3s}
.horizontal-story .ingredient-card:hover .botanical-photo{transform:none;filter:brightness(1.04)}
.ingredient-number{font-size:11px;top:24px;left:28px;letter-spacing:.1em}
.ingredient-bottom{bottom:30px;left:28px;right:28px}
.ingredient-bottom strong{font-size:clamp(40px,5vw,72px)}
.ingredient-bottom small{font-size:11px;max-width:80%;color:#e4cfe9}
.ingredient-bottom i{height:42px;width:42px}.ingredient-bottom svg{height:18px;width:18px}
.ingredient-scroll-footer{display:flex;align-items:center;gap:22px;margin:27px auto 0}
.ingredient-counter{font-size:10px;color:#a48eaf;white-space:nowrap;letter-spacing:.07em}.ingredient-counter b{font-weight:500;color:#f2e1fc}
.ingredient-progress{height:1px;flex:1;background:#c29fd12e;overflow:hidden}
.ingredient-progress>span{display:block;height:100%;background:#d5b3eb;transform:scaleX(var(--rail-progress,0));transform-origin:left}
.ingredient-chapters{display:flex;gap:4px}
.ingredient-chapters button{height:44px;width:28px;position:relative;background:transparent}
.ingredient-chapters button::after{content:"";position:absolute;inset:19px 11px;border:1px solid #b59bc8;border-radius:50%;transition:background .2s}
.ingredient-chapters button[aria-pressed="true"]::after{background:#e7c7f9}
.ingredient-next{display:inline-flex;align-items:center;gap:17px;font-size:10px;min-height:44px;white-space:nowrap}.ingredient-next svg{height:17px;width:17px;transform:rotate(90deg)}
.horizontal-story.is-scroll-driven .ingredients-pin{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;justify-content:center;overflow:hidden;overflow:clip}
.horizontal-story.is-scroll-driven .ingredients-pin>div{flex-shrink:0}
.horizontal-story.is-scroll-driven .ingredient-intro{width:min(1280px,calc(100% - 112px))}
.horizontal-story.is-scroll-driven .ingredient-cards{display:flex;width:max-content;margin:0;padding-inline:calc((100vw - var(--card-width))/2);gap:24px;transform:translate3d(var(--rail-x,0px),0,0);will-change:transform}
.horizontal-story.is-scroll-driven .ingredient-card{width:var(--card-width);flex:0 0 var(--card-width)}
.horizontal-story:not(.is-scroll-driven) .ingredient-chapters,.horizontal-story:not(.is-scroll-driven) .ingredient-progress,.horizontal-story:not(.is-scroll-driven) .ingredient-counter{display:none}
.horizontal-story:not(.is-scroll-driven) .ingredient-scroll-footer{justify-content:flex-end}
.hero-detail.is-updating{animation:copy-rise .55s ease both}
@keyframes copy-rise{from{opacity:.45;translate:0 7px}to{opacity:1;translate:0 0}}

@media(max-width:1100px) and (min-width:701px){
  .hero-cinematic .hero-title-wrap{left:4%;width:35%;top:40%}
  .hero-cinematic h1{font-size:clamp(50px,6.3vw,69px)}
  .hero-cinematic .hero-detail{right:4%;width:19%;top:35%}
  .hero-cinematic .hero-product-stage{height:42%;width:28%}
  .hero-cinematic .butterfly-flight{width:190px;height:126.67px;left:calc(50% - 95px);top:-77px}
  .hero-cinematic .hero-miniature{height:150px;width:130px}
  .character-composition{gap:5%}.character-bottle-wrap{height:530px}
  .story-pyramid>div{grid-template-columns:100px 1fr}
}
@media(max-width:700px){
  /* One full-height photograph, with no independently masked stage image. */
  .hero-cinematic{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "stage" "details" "controls";gap:22px;min-height:100svh;height:auto;padding:112px 24px 27px;background:#100c13;--hero-accent:#ece4dc}
  .site-header{top:22px;left:24px;right:24px;height:54px;padding-bottom:14px;border-color:#d8c7d42b}
  .hero-cinematic .hero-garden{background:none;opacity:1;mask-image:none;filter:none}
  .hero-cinematic .hero-scene{background-size:var(--portrait-size,auto 115%);background-position:var(--portrait-position,center 40%);filter:saturate(.82) brightness(.92)}
  .hero-cinematic .hero-scene.scene-violet{background-image:url("./assets/portrait-violet.webp")}
  .hero-cinematic .hero-scene.scene-rose{background-image:url("./assets/portrait-rose.webp")}
  .hero-cinematic .hero-scene.scene-amber{background-image:url("./assets/portrait-amber.webp")}
  .hero-cinematic .hero-shade{background:linear-gradient(180deg,#0b080e66,transparent 39%,transparent 60%,#0b080eb3);opacity:1}
  .hero-cinematic .ambient-glow,.hero-cinematic::after,.hero-cinematic .stage-landscape,.hero-cinematic .floating-petal{display:none}
  .hero-cinematic .hero-grain{opacity:.025}
  .hero-cinematic .hero-title-wrap{position:relative;grid-area:heading;inset:auto;width:100%;padding-right:16px;text-align:left}
  .hero-cinematic .hero-title-wrap .eyebrow{font-size:8px;letter-spacing:.22em;line-height:1.6;margin:0 0 15px;color:#d8c8d5;gap:10px}
  .hero-kicker-line{width:20px;background:#d8c8d5}
  .hero-cinematic h1{font-family:var(--serif);font-size:clamp(62px,17vw,91px);font-weight:400;line-height:.86;letter-spacing:-.055em;text-shadow:0 3px 18px #08050e55}
  .hero-cinematic h1>span{display:block}
  .hero-cinematic h1 em{display:block;font-family:var(--serif);font-weight:400;font-style:italic;letter-spacing:-.055em;color:#eee5dc;margin-left:24px}
  .hero-cinematic .hero-intro,.hero-cinematic .hero-title-wrap .text-link{display:none}
  .hero-cinematic .hero-product-stage{position:relative;grid-area:stage;inset:auto;transform:none;width:100%;min-width:0;max-width:none;height:clamp(295px,37svh,365px);margin:80px 0 3px;overflow:visible}
  .hero-cinematic .hero-bottle{inset:0;width:100%;height:100%;padding:0;filter:drop-shadow(0 12px 10px #06040988)}
  .hero-cinematic .product-halo{opacity:.12;filter:blur(22px)}
  .hero-cinematic .bottle-shadow{bottom:0;left:31%;right:31%;height:9px;opacity:.7;filter:blur(5px)}
  .hero-cinematic .butterfly-flight{width:176px;height:117.33px;left:calc(50% - 88px);top:-66px;animation:cap-flight 4.2s ease-in-out both;animation-delay:0s}
  .hero-cinematic .hero-detail{position:relative;grid-area:details;inset:auto;width:100%;max-width:none;margin:0;padding:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;border:1px solid #e7dbe02e;border-radius:14px;background:#17121cb3;box-shadow:0 14px 38px #07040c30,inset 0 1px 0 #fff1;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .hero-cinematic .hero-detail>.eyebrow{grid-column:1/-1;display:block;font-size:7px;line-height:1.5;letter-spacing:.15em;color:#c4b0c5;margin:0 0 3px}
  .hero-cinematic .hero-product-name{grid-column:1;grid-row:2;min-width:0;margin:0;font-family:var(--serif);font-size:clamp(27px,7.4vw,39px);line-height:1.05;letter-spacing:-.04em;color:#f5ece4}
  .hero-cinematic .hero-notes{grid-column:1/-1;grid-row:3;margin:0;max-width:none;font-size:10px;line-height:1.75;color:#d0bcd4}
  .hero-cinematic .hero-description,.hero-cinematic .hero-miniature{display:none}
  .hero-cinematic .hero-purchase{display:contents}
  .hero-cinematic .hero-price{grid-column:2;grid-row:2;align-self:center;align-items:flex-end;font-size:16px;line-height:1.3;gap:4px;color:#f5ece4}
  .hero-cinematic .hero-price small{font-size:6px;line-height:1.5;white-space:nowrap;color:#c2b3c8}
  .hero-cinematic .hero-buy{grid-column:1/-1;grid-row:4;width:100%;min-width:0;min-height:48px;margin-top:8px;padding:6px 9px 6px 16px;border-radius:7px;background:#ece4dc;color:#2b202c;font-size:10px;letter-spacing:.055em;box-shadow:none}
  .hero-cinematic .hero-buy>span:last-child{height:32px;width:32px;border-radius:4px;background:#251b2c0d;color:#39273b}
  .hero-cinematic .hero-buy:hover{transform:none}
  .hero-cinematic .hero-bottom{position:relative;grid-area:controls;inset:auto;display:block;width:100%;margin:0;padding:0;border:0}
  .hero-cinematic .slider-controls,.hero-cinematic .scroll-cue{display:none}
  .hero-cinematic .scent-switcher{display:block;width:100%}
  .hero-cinematic .scent-switcher>.eyebrow{display:none}
  .hero-cinematic .scent-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
  .hero-cinematic .scent-option{min-width:0;min-height:48px;justify-content:center;font-size:11px;gap:8px;padding:8px;border:1px solid #e1cfdf26;border-radius:6px;background:#1a131b66;color:#d2bfda;backdrop-filter:blur(8px)}
  .hero-cinematic .scent-option.is-active{background:#f2e7ef14;border-color:#e2cedd99;color:#fff3ec}
  .hero-cinematic .scent-option i{height:5px;width:5px;box-shadow:none}
  .hero-cinematic .motion-toggle{top:89px;right:23px;min-height:36px;height:36px;width:36px;background:#20172266;border-color:#e0ccd32b}
  .character{padding:58px 0 32px}
  .character-heading h2{font-size:clamp(44px,11vw,64px)}
  .story-fragrances{gap:6px;margin:24px 14px 28px;flex-wrap:nowrap}
  .story-fragrances button{padding:8px 12px;font-size:9px;min-height:44px}
  .character-composition{grid-template-columns:1fr;gap:30px;height:auto;width:calc(100% - 40px);margin-bottom:30px}
  .character-bottle-wrap{width:100%;height:390px;inset:auto;transform:none;border-radius:140px 140px 5px 5px}
  .character-bottle-wrap img{inset:auto;left:15%;bottom:calc(100% - var(--story-floor,68%));height:60%;width:70%;padding:0}
  .character-caption{bottom:20px;font-size:20px}
  .story-name{font-size:40px;margin-top:9px}
  .story-description{font-size:12px}
  .story-pyramid{margin:20px 0;gap:10px}.story-pyramid>div{grid-template-columns:112px 1fr}
  .story-note-detail{grid-template-columns:95px minmax(0,1fr);gap:15px;min-height:120px}
  .story-note-detail .story-photo{width:95px;height:120px}
  .character-bottom{width:calc(100% - 40px);flex-direction:column;align-items:flex-start;gap:19px}
  .character-bottom p{font-size:24px}.character-bottom .dark-btn{width:100%;justify-content:space-between;font-size:10px;min-height:47px}
  .horizontal-story{--card-width:82vw}
  .ingredients-pin{padding:37px 0 20px}
  .ingredient-intro{width:calc(100% - 44px);display:block;margin-bottom:23px}
  .ingredient-intro .eyebrow{font-size:8px}
  .ingredient-intro h2{font-size:clamp(34px,8.8vw,52px);margin-top:13px;max-width:340px}
  .ingredient-intro>p:not(.eyebrow){margin:13px 0 0;font-size:10px}
  .ingredient-intro>p br{display:none}
  .horizontal-story .ingredient-cards{width:calc(100% - 44px);grid-template-columns:1fr;gap:18px}
  .horizontal-story .ingredient-card{height:clamp(280px,48svh,450px)}
  .horizontal-story.is-scroll-driven .ingredient-intro{width:calc(100% - 44px)}
  .horizontal-story.is-scroll-driven .ingredient-cards{gap:16px}
  .ingredient-bottom{left:22px;right:22px;bottom:25px}
  .ingredient-bottom strong{font-size:48px}
  .ingredient-bottom small{font-size:10px}
  .ingredient-number{left:22px;top:21px;font-size:10px}
  .ingredient-scroll-footer{width:calc(100% - 44px);gap:14px;margin-top:18px}
  .ingredient-chapters{gap:0}.ingredient-chapters button{width:24px}
  .ingredient-chapters button::after{inset:19px 9px}
  .ingredient-next{gap:8px;font-size:9px}
  .scene-light{animation-name:mobile-light-breathe}
  .scene-botanical{animation-name:mobile-botanical-breathe}
  .scene-photo{transform:scale(1.03)}
  .ritual-stamp{animation:none}
}
@media(max-width:370px){
  .hero-cinematic{padding-inline:20px;gap:20px}
  .hero-cinematic .hero-miniature{display:none}
  .hero-cinematic .hero-product-stage{height:285px;margin-top:80px}
  .hero-cinematic .hero-detail{padding:17px;column-gap:9px}
  .hero-cinematic .hero-product-name{font-size:27px}
  .hero-cinematic .hero-price{font-size:14px}
  .story-fragrances button{font-size:8px;padding-inline:9px}
  .story-pyramid>div{grid-template-columns:100px 1fr}
  .ingredient-next{font-size:0;gap:0}.ingredient-next svg{width:20px;height:20px}
}
@keyframes mobile-light-breathe{from{opacity:.65}to{opacity:1}}
@keyframes mobile-botanical-breathe{from{opacity:.12}to{opacity:.18}}
@media(prefers-reduced-motion:reduce){
  .hero-scene,.stage-scene,.hero-cinematic h1 em{transition:none}
  .hero-cinematic .butterfly-flight{animation:none!important;transform:translate(25px,0) rotate(12deg);opacity:1}
  .hero-detail.is-updating{animation:none}
}
