/* Campaign typography, framing and materials. Interaction state lives in the original controllers. */
:root{
  --ink:#241711;--soft:#604b40;--ivory:#f4ece0;--rule:#734d383b;
  --gutter:clamp(18px,6.4vw,130px);--wine:#4f262c;--gold:#c9a979;
}
.masthead{background:#f7eee2f5;border-bottom:1px solid #59352835;backdrop-filter:blur(14px)}
.masthead nav a{font-weight:800}
.wordmark span{letter-spacing:-.075em}
.action{border-radius:3px;border-color:currentColor;padding-inline:15px;letter-spacing:.035em}
.action::after{background:linear-gradient(110deg,transparent 10%,#ffe4c045 53%,transparent 83%)}
.primary,.action[aria-pressed="true"]{background:var(--wine);border-color:var(--wine);color:#fff5e7}
.action:focus-visible,.swatch:focus-visible{outline-color:#a66a56;outline-offset:4px}
.text-link{letter-spacing:.03em}
.eyebrow{letter-spacing:.19em}
h1,h2{letter-spacing:-.062em}
.arrival{background:#e2c8aa}
[data-mode="webgl"] .arrival::before{
  background:linear-gradient(90deg,#f2e2c8 0%,#f2e2c8cf 26%,transparent 57%),
    url('./art/redesign/studio.webp') 58% 58% / cover no-repeat,#e2c8aa;
}
[data-mode="webgl"] .arrival .product-plate::before{display:none}
.arrival h1{font-size:clamp(4.4rem,9vw,12.4rem);line-height:.83;margin-bottom:22px}
.arrival h1 em{white-space:nowrap;color:#734836}
.arrival .description{color:#473029}
.arrival .copy{align-self:center}
.arrival .poster{border-radius:1px}
.arrival .rotate{border-radius:3px}
.drop{background:#271a17;color:#f5e4cf}
[data-mode="webgl"] .drop::before{
  background:radial-gradient(ellipse at 74% 45%,#987457 0%,#57392c 36%,#291c18 67%);
}
[data-mode="webgl"] .drop .product-plate::before{display:none}
.drop .eyebrow,.drop .description,.drop h2 em{color:#e7c9a6}
.drop .action{background:#3e2620;color:#f6e5cc;border-color:#bc9d7f}
.drop .action[aria-pressed=true]{background:#dbc096;color:#35251d}
.ingredients{background:#dddcca;color:#282c22}
.ingredients .study{width:78%}
.ingredients .study-frame{border-radius:0 45% 0 0 / 0 22% 0 0}
.ingredients .study figcaption{border-bottom:1px solid #65704c68}
.ingredients .study-image{transform:scale(1.005)}
.texture-chapter{background:#352024;color:#fbecd9}
.texture-chapter .eyebrow,.texture-chapter .phase-description,.texture-chapter figcaption{color:#efd0b6}
.texture-chapter h2 em{color:#dfa991}
.texture-chapter .action{background:#59333b;color:#fff3e5;border-color:#aa7a77}
.texture-chapter .action[aria-pressed=true]{background:#f1d4ba;color:#381e25}
.texture-chapter .macro-media{border-radius:0;height:min(67svh,820px);aspect-ratio:auto}
.texture-chapter .phase-figure figcaption{border-bottom:1px solid #b98e886b}
.ritual-chapter{background:#e9d5bd}
.ritual-chapter .phase-panel{grid-template-columns:minmax(0,1.23fr) minmax(0,.77fr)}
.ritual-chapter .phase-copy{grid-column:2;grid-row:1}
.ritual-chapter .ritual-figure{grid-column:1;grid-row:1;width:100%}
.ritual-chapter .ritual-media{border-radius:46% 0 0 0 / 24% 0 0 0;height:min(72svh,840px)}
.ritual-chapter h2 em{color:#784933}
.ritual-chapter .routine-steps button[aria-pressed=true]{color:var(--wine);border-bottom-width:2px}
.collection-chapter{background:radial-gradient(ellipse at 50% 71%,#5c3836,#291c20 70%);color:#fae9d4}
.collection-chapter :is(.eyebrow,.collection-selection p){color:#e1b9a2}
.collection-chapter h2 em{color:#dca88d}
.collection-chapter .action{color:#f5dec9;background:#452d30;border-color:#9e706c}
.collection-chapter .action[aria-pressed=true],.collection-chapter .primary{background:#e6c6ac;color:#322123;border-color:#e6c6ac}
.collection-chapter .collection-controls{border-color:#a97c715a}
.cosmetic-orbit{background:radial-gradient(ellipse at 50% 82%,#d7a46850,transparent 60%)}
.cosmetic-orbit::before{content:"";position:absolute;bottom:1%;left:12%;right:12%;height:20%;border-top:1px solid #d7ac8970;border-radius:100%;background:radial-gradient(ellipse at 50% 4%,#ae715d4d,transparent 75%);pointer-events:none}
.orbit-product img{filter:drop-shadow(0 8px 8px #201018a0)}
.routine-chapter{background:#e9ded0}
.routine-stage{background:radial-gradient(ellipse at 45% 64%,#fff1d3,#caa589);border-radius:44% 0 0 0 / 19% 0 0 0}
.shade-chapter{background:#3b2328;color:#fff0e2}
.shade-chapter .eyebrow,.shade-chapter .shade-info p,.shade-chapter .personal-note{color:#eed0bf}
.shade-chapter .personal-copy h2 em{color:#e0ab9d}
.shade-chapter .action{background:#53323b;color:#fbe9db;border-color:#ac8284}
.shade-chapter .action[aria-pressed=true],.shade-chapter .primary{background:#ead1b9;color:#321d24;border-color:#ead1b9}
.shade-chapter .personal-panel{grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);gap:clamp(16px,2.7vw,55px)}
.shade-presentation{grid-template-columns:minmax(0,1fr) minmax(118px,.45fr);align-items:center}
.shade-portrait{border-radius:0;width:100%;height:min(77svh,900px);max-height:none;aspect-ratio:auto}
.shade-portrait img{object-fit:cover;object-position:50% 31%}
.shade-portrait img{opacity:0}
.shade-portrait img[data-visible]{opacity:1}
.shade-package-stage{height:clamp(178px,52svh,628px);background:radial-gradient(ellipse at 50% 48%,#8d6262,#4a2d35);border-radius:48% 48% 0 0 / 19% 19% 0 0}
.swatch{width:36px;height:36px;border:1px solid #ffdec79c;border-radius:50%;
  background:linear-gradient(140deg,#ffffff45,transparent 55%),var(--shade);
  box-shadow:inset -4px -4px 7px #25111e3d;transition:transform .23s,outline-offset .23s}
.swatch[aria-pressed=true]{box-shadow:inset -3px -3px 6px #25111e3d;outline:1px solid #f9dbc6;outline-offset:4px}
.shade-material{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:.71rem;color:#fbe5d1}
.shade-material img{width:43px;height:33px;object-fit:cover;border:1px solid #e6c8ad88}
.beauty-dialog{border-radius:2px;border-color:#ae8871}
@media(min-width:901px) and (max-height:710px){
 .arrival h1{font-size:clamp(4.2rem,8.3vw,7.3rem)}
 .shade-portrait{height:75svh}
 .shade-chapter .personal-copy h2{font-size:clamp(3.4rem,5.4vw,6.5rem)}
}
@media(max-width:900px){
 .shade-chapter .personal-panel{grid-template-columns:1fr}
 .shade-presentation{width:100%;max-width:none}
 .shade-portrait{height:min(58svh,640px)}
}
@media(max-width:660px){
 .action{padding-inline:10px}
 .arrival h1{font-size:clamp(3.1rem,13vw,5.1rem);margin-bottom:12px}
 [data-mode="webgl"] .arrival::before{background:linear-gradient(#f2e2c8 8%,#f2e2c8b5 34%,transparent 68%),url('./art/redesign/studio.webp') 67% center / cover,#e6cdb0}
 .texture-chapter .macro-media{height:38svh}
 .ritual-chapter .phase-panel{grid-template-columns:minmax(0,1fr)}
 .ritual-chapter .phase-copy,.ritual-chapter .ritual-figure{grid-column:1;grid-row:auto}
 .ritual-chapter .ritual-media{height:min(43svh,426px)}
 .shade-presentation{grid-template-columns:minmax(0,1fr) minmax(82px,.40fr)}
 .shade-portrait{height:min(51svh,465px)}
 .shade-portrait img{object-position:50% 23%}
 .shade-package-stage{height:clamp(126px,29svh,258px)}
}
@media(max-width:430px) and (max-height:670px){.texture-chapter .macro-media,.ritual-chapter .ritual-media{height:32svh}}
@media(prefers-reduced-motion:reduce){.shade-portrait img,.swatch,.action{transition:none!important}}

.shade-portrait img{transition:none}
.shade-material{justify-content:center;width:100%;white-space:normal}
.texture-dialog{width:min(750px,calc(100% - 30px))}
.texture-dialog figure{margin:0}
.texture-dialog figure img{display:block;width:100%;max-height:65svh;object-fit:cover}
.texture-dialog figcaption{padding:12px 18px;font-size:.77rem}

@media(prefers-reduced-motion:no-preference){
  .arrival .copy{transform:translateY(calc(-13px * var(--approach,0)))}
  .drop h2 em{display:inline-block;transform:translateX(calc(17px * var(--approach,0)))}
  .ingredients .study-frame{clip-path:inset(calc((1 - var(--entry,1)) * 13%) 0 0)}
  .texture-chapter .macro-media{clip-path:inset(0 0 calc(var(--exit,0) * 6%) 0)}
  .ritual-chapter .ritual-figure{transform:translateY(calc((1 - var(--entry,1)) * 25px - var(--approach,0) * 8px))}
  .collection-chapter .cosmetic-orbit::before{transform:scaleX(calc(.88 + var(--entry,1) * .12))}
}

.ritual-chapter .phase-copy h2{max-width:10ch}
.arrival .product-note{color:#fff0db;text-shadow:0 1px 3px #392114}
