/* ONCE ÉDITION — WOMEN
   The women's world: its own palette, type and textures, layered over once.css.
   Palette from the references: wine-black, burgundy velvet and crocodile leather,
   blush ivory, champagne gold. Display type: Bodoni Moda (Latin); Arabic keeps
   Noto Kufi Arabic / Amiri, as on the men's site. */

:root[data-world="women"] {
  --black: #0e0307;
  --char: #1a070d;
  --graphite: #2a0f16;
  --wine: #3d0b18;
  --line: rgba(240, 214, 200, 0.16);
  --line-strong: rgba(240, 214, 200, 0.36);
  --ivory: #f6e9e2;
  --ivory-dim: rgba(246, 233, 226, 0.68);
  --mute: rgba(246, 233, 226, 0.46);
  --crimson: #c99a62;          /* the women's accent is champagne gold */
  --crimson-glow: #e6c089;
  --brass: #d8b47a;
  --display: "Bodoni Moda", "Cormorant Garamond", "Times New Roman", serif;
}
html[data-world="women"] { background: var(--black); }
html[data-world="women"] body { background: var(--black); }
html[data-world="women"] body::after { background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(18,2,7,.62) 100%); }
html[data-world="women"] #grain { opacity: .06; }
html[data-world="women"] ::selection { background: #7a1f33; color: #fff; }

/* display type: Bodoni Moda for Latin headlines (Arabic keeps its own faces) */
html[data-world="women"]:not([lang="ar"]) :is(.fo-mark, .ft-name, .fs-name, .concept-title, .atelier-title, .beat-text, .detail-title, .tenets h3, .cap-name, .ai-name, .film-ph-title) {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
}
html[data-world="women"]:not([lang="ar"]) :is(.concept-title, .atelier-title, .beat-text, .ft-sub, .fs-sub) em,
html[data-world="women"]:not([lang="ar"]) :is(.ft-sub, .fs-sub, .fa-text) { font-family: var(--display); font-style: italic; }
html[data-world="women"]:not([lang="ar"]) .fo-mark { font-style: italic; font-size: clamp(40px, 6vw, 96px); }
html[data-world="women"]:not([lang="ar"]) .ft-name { font-size: clamp(44px, 6vw, 96px); line-height: 1; }
html[data-world="women"]:not([lang="ar"]) .concept-title { font-size: clamp(44px, 6.6vw, 106px); line-height: 1.02; }

/* loader & header */
html[data-world="women"] #loader { background: radial-gradient(ellipse at 50% 45%, #2a0711 0%, #0e0307 70%); }
html[data-world="women"] .loader-line { background: rgba(230,192,137,.18); }
html[data-world="women"] .loader-line i { background: var(--crimson-glow); }
html[data-world="women"] .loader-note { color: var(--crimson-glow); font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: .3em; text-transform: none; }
html[data-world="women"][lang="ar"] .loader-note { font-family: var(--ar-em); font-size: 16px; }
html[data-world="women"] .dot { background: var(--crimson-glow); box-shadow: 0 0 10px rgba(230,192,137,.8); }
html[data-world="women"] .cta:hover:not(:disabled) { color: var(--black); }
html[data-world="women"] .cta::before { background: linear-gradient(90deg, #e6c089, #f6e9e2); }

/* ── 1 · Featured Edition (stage, before the piece arrives) ─────────────── */
html[data-world="women"] #film { background: #0e0307; }
#film.film-stage { height: 560vh; }
/* the women's film (618 frames, 13 s): the scroll moves it briskly — shorter on phones */
html[data-world="women"] #film:not(.film-stage):not(.film-empty) { height: 760vh; }
@media (max-width: 760px) { html[data-world="women"] #film:not(.film-stage):not(.film-empty) { height: 480vh; } }
html[data-world="women"] .film-shade { background: radial-gradient(ellipse 70% 80% at 50% 50%, transparent 40%, rgba(14,3,7,.55) 100%), linear-gradient(180deg, rgba(14,3,7,.6), transparent 18%, transparent 70%, rgba(14,3,7,.75)); }
.fo-world { margin: 4px 0 0; font-size: 10.5px; letter-spacing: .6em; text-transform: uppercase; color: var(--crimson-glow); opacity: calc(1 - var(--t) * 1.6); }
html[lang="ar"] .fo-world { font-size: 14px; letter-spacing: 0; font-family: var(--ar-em); }
.film-await { left: 50%; top: 52%; text-align: center; display: grid; justify-items: center; gap: 4px;
  transform: translate3d(-50%, calc(-50% + (1 - var(--k)) * 20px), 0); }
.film-await .eyebrow { justify-content: center; margin: 0; }
.fa-text { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); color: var(--ivory); text-shadow: 0 2px 24px rgba(0,0,0,.8); }
html[lang="ar"] .fa-text { font-family: var(--ar-em); font-style: normal; }
html[data-world="women"] .film-sheet { background: rgba(22,4,10,.78); border-color: rgba(230,192,137,.22); }
html[data-world="women"] .film-chapter { background: rgba(22,4,10,.62); }
.film-stage .fs-sub { margin: 8px 0 0; font-size: 18px; color: var(--ivory-dim); }
.film-stage .fs-actions { gap: 26px; }
.film-stage .fh-frame { font-family: var(--serif); font-style: italic; letter-spacing: .1em; text-transform: none; font-size: 13px; color: var(--ivory-dim); }
html[lang="ar"] .film-stage .fh-frame { font-family: var(--ar-em); font-style: normal; }

/* ── 2 · Principle: over the rose-damask velvet ────────────────────────── */
html[data-world="women"] #concept {
  background:
    linear-gradient(180deg, #0e0307 0%, rgba(14,3,7,.7) 16%, rgba(14,3,7,.62) 50%, rgba(14,3,7,.9) 90%, #0e0307 100%),
    url("../assets/women/textures/damask-bot.jpg") center / cover no-repeat;
}
html[data-world="women"] .tenets li::before { background: var(--crimson-glow); }
html[data-world="women"] .tenets .n { color: var(--crimson-glow); }

/* ── 2b · The four campaigns ───────────────────────────────────────────── */
/* each campaign holds the screen, then the next rises over it (js/campaigns.js) */
/* each campaign is a framed rectangle in the middle of the screen (not full-bleed):
   --cw / --ch = the rectangle; on phones the text sits under it */
#campaigns { position: relative; z-index: 3; height: 500vh; height: 500svh;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #1d070e 0%, #0c0306 72%);
  /* exactly 16:9, the full width of the screen (never taller than the screen) */
  --cw: min(100vw, calc(100svh * 16 / 9)); --ch: calc(var(--cw) * 9 / 16); --cy: 50%; }
.cp-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cp { position: absolute; inset: 0; overflow: hidden; visibility: hidden; --k: 0; --dim: 1; color: #f6ece4; pointer-events: none; }
.cp.act { visibility: visible; }
/* the space around the rectangle takes the campaign's own colour: its background, softly blurred */
.cp-ambient { position: absolute; inset: -8%; background: center / cover no-repeat; filter: blur(34px) saturate(1.1) brightness(calc(.6 * var(--dim))); transform: scale(1.1); }
.cp-card { position: absolute; left: 50%; top: var(--cy); width: var(--cw); height: var(--ch); translate: -50% -50%; overflow: hidden; pointer-events: auto; }
.cp-card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #000; opacity: calc((1 - var(--dim)) * .4); }
/* no hard edge between the rectangle and its colour */
.cp-card { -webkit-mask: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); }
.cp-copy, .cp-look { pointer-events: auto; }
.cp-bg { position: absolute; inset: -6% 0; background: center / cover no-repeat; will-change: transform; filter: brightness(var(--dim)); transform-origin: 50% 50%; }
.cp-atmos { position: absolute; inset: 0; pointer-events: none; opacity: calc(.4 + .6 * var(--dim)); }
/* each world keeps its own light and mood */
.cp-1 .cp-atmos { background: radial-gradient(ellipse 40% 50% at 50% 46%, rgba(255,214,160,.22), transparent 70%), radial-gradient(ellipse 120% 90% at 50% 50%, transparent 38%, rgba(14,8,4,.78) 100%); }
.cp-2 .cp-atmos { background: radial-gradient(ellipse 60% 50% at 30% 18%, rgba(220,240,190,.12), transparent 70%), radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(4,14,6,.72) 100%); }
.cp-3 .cp-atmos { background: radial-gradient(ellipse 34% 60% at 50% 30%, rgba(235,230,220,.14), transparent 70%), radial-gradient(ellipse 120% 90% at 50% 50%, transparent 35%, rgba(0,0,0,.8) 100%); }
.cp-4 .cp-atmos { background: linear-gradient(100deg, rgba(255,246,230,.22), transparent 45%), radial-gradient(ellipse 120% 90% at 50% 50%, transparent 50%, rgba(70,50,30,.32) 100%); }

/* the jacket, suspended in the centre */
.cp-stage { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 1200px; will-change: transform, opacity, filter; opacity: 0; --h: calc(var(--ch) * .8); }
.cp-float { position: absolute; left: 0; top: 0; translate: -50% -54%; transform-style: preserve-3d; }
.cp-jacket { position: relative; height: var(--h); width: calc(var(--h) * var(--aspect, .75)); max-width: 72vw;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform 1.6s var(--ease); }
.cp-stage:has(.long) { --h: calc(var(--ch) * .88); }
.cp-jacket img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 34px 40px rgba(0,0,0,.55)) drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.cp-4 .cp-jacket img { filter: drop-shadow(0 34px 38px rgba(70,46,22,.42)) drop-shadow(0 6px 8px rgba(60,40,20,.3)); }
.cp-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 46%, transparent 62%) 0 0 / 260% 100% no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* a pool of light behind each piece, in its campaign's colour, so it stands out from the background */
.cp-halo { position: absolute; left: 0; top: 0; width: calc(var(--h) * 1.5); height: calc(var(--h) * 1.3); translate: -50% -56%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 52%, transparent) 0%, color-mix(in srgb, var(--accent) 22%, transparent) 45%, transparent 100%);
  filter: blur(6px); opacity: .85; mix-blend-mode: screen; }
.cp.ink-dark .cp-halo { mix-blend-mode: normal; opacity: .55;
  background: radial-gradient(closest-side, rgba(255,250,242,.75) 0%, rgba(255,250,242,.28) 50%, transparent 100%); }
/* a soft dark ground right behind the piece, so its edges never melt into a busy pattern */
.cp-halo::after { content: ""; position: absolute; inset: 22% 26% 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); filter: blur(18px); }
.cp.ink-dark .cp-halo::after { display: none; }
#campaigns.live .cp.act .cp-halo { animation: cpHalo 7.5s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes cpHalo { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: .7; transform: scale(.97); } }
.cp-shadow { position: absolute; left: 0; top: calc(var(--h) * .46 + 2vh); width: calc(var(--h) * .55); height: 3.4vh; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.55), transparent 70%); filter: blur(4px); }
.cp-4 .cp-shadow { background: radial-gradient(ellipse at 50% 50%, rgba(80,55,30,.45), transparent 70%); }
/* the floating: very small, very slow — only while the campaign is on screen */
#campaigns.live .cp.act .cp-float { animation: cpFloat 7.5s cubic-bezier(.45,.05,.55,.95) infinite; }
#campaigns.live .cp.act .cp-shadow { animation: cpShadow 7.5s cubic-bezier(.45,.05,.55,.95) infinite; }
#campaigns.live .cp.act .cp-sheen { animation: cpSheen 9s cubic-bezier(.45,.05,.55,.95) infinite; }
.cp-2 .cp-float, .cp-2 .cp-shadow { animation-delay: -2s !important; } .cp-3 .cp-float, .cp-3 .cp-shadow { animation-delay: -4s !important; } .cp-4 .cp-float, .cp-4 .cp-shadow { animation-delay: -6s !important; }
@keyframes cpFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-.35deg) rotateY(-2.5deg); }
  50% { transform: translate3d(0, -12px, 0) rotateZ(.35deg) rotateY(2.5deg); }
}
@keyframes cpShadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.9); opacity: .65; } }
@keyframes cpSheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: -60% 0; } }

/* the editorial text of each campaign */
/* desktop: the piece sits a little toward the far side, so the text never meets it */
@media (min-width: 761px) {
  .cp-stage { left: 55%; }
  html[dir="rtl"] .cp-stage { left: 45%; }
  .cp-name { font-size: clamp(26px, 2.3vw, 40px); }
}
/* desktop: the text sits inside the rectangle, at its lower corner */
.cp-copy { position: absolute; z-index: 5; inset-inline-start: calc((100vw - var(--cw)) / 2 + 44px); top: calc(var(--cy) + var(--ch) / 2 - 40px); translate: 0 -100%; max-width: 380px; display: grid; gap: 6px; opacity: 0; }
.cp-num { margin: 0 0 6px; font-family: var(--display, var(--latin)); font-size: clamp(54px, 7vw, 108px); line-height: .9; color: var(--accent); opacity: .9; direction: ltr; text-align: start; }
.cp-eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: inherit; opacity: .78; }
.cp-eyebrow i { width: 34px; height: 1px; background: var(--accent); }
.cp-name { margin: 0; font-family: "Noto Kufi Arabic", var(--latin); font-weight: 200; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.35; }
.cp-note { margin: 0; font-family: var(--ar-em); font-size: 16px; opacity: .7; }
.cp-view { justify-self: start; margin-top: 10px; }
.cp-view[hidden] { display: none; }
.cp-side { position: absolute; z-index: 5; inset-inline-end: 34px; top: 50%; margin: 0; display: grid; gap: 18px; justify-items: center;
  writing-mode: vertical-rl; transform: translateY(-50%); font-family: var(--latin); font-size: 11px; letter-spacing: .5em !important; opacity: calc(.75 * var(--k)); }
.cp-side b { font-weight: 400; color: var(--accent); letter-spacing: .3em !important; }
.cp :is(.cp-copy, .cp-side) { text-shadow: 0 2px 22px rgba(0,0,0,.6); }
.cp.ink-dark { color: #2b1d16; }
.cp.ink-dark :is(.cp-copy, .cp-side) { text-shadow: 0 1px 16px rgba(255,248,236,.55); }
/* the line of light that leads each reveal, in the arriving campaign's colour */
.cp-edge { position: absolute; z-index: 3; left: 0; right: 0; top: calc((1 - var(--k)) * 100%); height: 140px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, var(--accent) 0, var(--accent) 1px, color-mix(in srgb, var(--accent) 22%, transparent) 2px, transparent 100%); }

@media (max-width: 760px) {
  /* phones: a rectangle across the width, the text under it */
  #campaigns { height: 460vh; height: 460svh; --cw: 100vw; --ch: calc(100vw * 9 / 16); --cy: calc(24svh + var(--ch) / 2); }
  .cp-jacket { max-width: calc(var(--cw) * .8); }
  .cp-float { translate: -50% -54%; }
  .cp-copy { inset-inline: var(--gut); top: calc(var(--cy) + var(--ch) / 2 + 22px); translate: none; bottom: auto; gap: 2px; text-shadow: none !important; }
  .cp.ink-dark .cp-copy { color: #f6ece4; --accent: #c9a274; }
  .cp-num { font-size: 46px; margin: 0; }
  .cp-name { font-size: 28px; }
  .cp-note { font-size: 14px; }
  .cp-side { display: none; }
  .cp-shadow { top: calc(var(--h) * .42 + 1vh); }
}
body.hud-dark .hud { --ivory: #2b1d16; --ivory-dim: rgba(43,29,22,.78); --line-strong: rgba(43,29,22,.42); color: #2b1d16; }
.hud, .hud * { transition: color .8s var(--ease), border-color .8s var(--ease); }
@media (prefers-reduced-motion: reduce) { #campaigns .cp-float, #campaigns .cp-shadow, #campaigns .cp-sheen { animation: none !important; } }

/* campaign jackets are clickable (they open the model photos) */
.cp-jacket.has-looks { cursor: pointer; }
.cp-jacket.has-looks::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--accent); opacity: 0; transition: opacity .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
@media (hover: hover) { .cp-jacket.has-looks:hover::after { opacity: .45; inset: -22px; } }
/* a model photo shown as a framed editorial picture (when there is no product photo yet) */
.cp-jacket.photo { --pad: 10px; padding: var(--pad); background: rgba(255,248,240,.06); outline: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 0;
  box-shadow: 0 40px 60px rgba(0,0,0,.5), 0 8px 14px rgba(0,0,0,.35); }
.cp-jacket.photo img { object-fit: cover; filter: none; }
.cp-jacket.photo .cp-sheen { inset: var(--pad); mix-blend-mode: soft-light; -webkit-mask: none; mask: none; opacity: .35; }
.cp-stage:has(.photo) { --h: calc(var(--ch) * .84); }
@media (max-width: 760px) { .cp-stage:has(.photo) { --h: min(52svh, 112vw); } .cp-jacket.photo { --pad: 6px; } }
.cp-look { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: inherit; padding-bottom: 6px; border-bottom: 1px solid var(--accent); }
.cp-look[hidden] { display: none; }

/* ── Lookbook: the model photos ─────────────────────────────────────────── */
#lookbook { position: fixed; inset: 0; z-index: 40; display: grid; grid-template-rows: auto 1fr auto; color: #f6ece4; }
#lookbook[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(10,3,6,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; transition: opacity .6s var(--ease); }
#lookbook.open .lb-backdrop { opacity: 1; }
.lb-head, .lb-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: calc(20px + env(safe-area-inset-top)) var(--gut) 14px;
  opacity: 0; transform: translateY(-10px); transition: opacity .7s var(--ease) .15s, transform .8s var(--ease) .15s; }
.lb-foot { padding: 14px var(--gut) calc(22px + env(safe-area-inset-bottom)); justify-content: center; transform: translateY(10px); }
#lookbook.open :is(.lb-head, .lb-foot) { opacity: 1; transform: none; }
.lb-eyebrow { margin: 0 0 4px; font-size: 13px; color: var(--crimson-glow); }
.lb-name { margin: 0; font-family: "Noto Kufi Arabic", var(--latin); font-weight: 200; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; }
.lb-track { position: relative; z-index: 1; display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc(50vw - 30vh)); scrollbar-width: none; overscroll-behavior: contain; align-items: center; }
.lb-track::-webkit-scrollbar { display: none; }
#lookbook.single .lb-track { justify-content: center; }
.lb-shot { flex: 0 0 auto; height: min(100%, 74svh); margin: 0; scroll-snap-align: center; opacity: 0; transform: translateY(26px) scale(.98);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(.18s + var(--i) * .08s); }
#lookbook.open .lb-shot { opacity: 1; transform: none; }
.lb-shot img { height: 100%; width: auto; max-width: 86vw; object-fit: cover; display: block; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.lb-count { font-family: var(--latin); font-size: 15px; letter-spacing: .2em; direction: ltr; unicode-bidi: isolate; min-width: 80px; text-align: center; }
.lb-foot .link { font-size: 18px; letter-spacing: 0; padding: 8px 12px; }
.lb-foot .lb-details { font-size: 13px; margin-inline-start: 26px; border-bottom: 1px solid var(--line-strong); padding: 4px 0; }
#lookbook.single :is(.lb-prev, .lb-next, .lb-count) { display: none; }
@media (max-width: 760px) {
  .lb-track { padding: 0 9vw; gap: 12px; }
  .lb-shot { height: auto; width: 82vw; }
  .lb-shot img { width: 100%; height: auto; max-height: 70svh; max-width: none; }
}

/* ── 3 · The Jacket Rail ───────────────────────────────────────────────── */
/* A fixed display: four panels always in view, one fixed rack, four jackets.
   No scroll-driven motion: the section is one screen tall. */
#atelier { position: relative; z-index: 3; background: #0c0306; }
.atelier-sticky { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
/* the four backgrounds: each shown whole in its own column, edges melting into the next (no borders) */
.sc-panels { position: absolute; inset: 0; display: flex; }
.sc-panel { position: relative; flex: 0 0 calc(25% + 4%); margin: 0 -2%; background: #1a0609 center / cover no-repeat;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  filter: brightness(.9) saturate(1.02); transition: filter 1.2s var(--ease); }
.sc-panel:first-child { -webkit-mask: linear-gradient(90deg, #000 86%, transparent); mask: linear-gradient(90deg, #000 86%, transparent); margin-inline-start: 0; flex-basis: calc(25% + 2%); }
.sc-panel:last-child { -webkit-mask: linear-gradient(90deg, transparent, #000 14%); mask: linear-gradient(90deg, transparent, #000 14%); margin-inline-end: 0; flex-basis: calc(25% + 2%); }
html[dir="rtl"] .sc-panel:first-child { -webkit-mask: linear-gradient(90deg, transparent, #000 14%); mask: linear-gradient(90deg, transparent, #000 14%); }
html[dir="rtl"] .sc-panel:last-child { -webkit-mask: linear-gradient(90deg, #000 86%, transparent); mask: linear-gradient(90deg, #000 86%, transparent); }
.sc-panel.on { filter: brightness(1.04) saturate(1.06); }
.sc-panel-light { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 42% at 50% 46%, rgba(255,226,206,.1), transparent 70%); opacity: 0; transition: opacity 1.2s var(--ease); }
.sc-panel.on .sc-panel-light { opacity: 1; }
/* a quiet frame over all four: darker at top (for the title) and bottom (for the text), polished floor line */
.sc-light { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,2,5,.66) 0%, rgba(10,2,5,.08) 24%, rgba(10,2,5,0) 55%, rgba(10,2,5,.25) calc(var(--floor-y, 88%) - 1px), transparent var(--floor-y, 88%)),
    linear-gradient(180deg, transparent var(--floor-y, 88%), rgba(216,180,122,.5) var(--floor-y, 88%), rgba(216,180,122,.5) calc(var(--floor-y, 88%) + 1px), rgba(20,5,9,.86) calc(var(--floor-y, 88%) + 1px), #0c0306 100%); }
.sc-stage { position: absolute; inset: 0; z-index: 2; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.sc-stage:active { cursor: grabbing; }
.sc-rack { position: absolute; inset: 0; will-change: transform; opacity: 0; transition: opacity 1.6s var(--ease); }
#atelier.ready .sc-rack { opacity: 1; }
.sc-frame { position: absolute; overflow: visible; filter: drop-shadow(0 18px 18px rgba(8,0,3,.5)) drop-shadow(0 3px 3px rgba(8,0,3,.45)); pointer-events: none; }
.sc-slot { position: absolute; translate: -50% 0; padding: 0; display: block; cursor: pointer; outline: none; }
.sc-slot:focus-visible .sc-jacket { outline: 1px solid var(--crimson-glow); outline-offset: 6px; }
.sc-hang { position: absolute; left: 50%; top: 0; translate: -50% 0; transform-origin: 50% 0; display: grid; justify-items: center; }
.sc-hanger { width: var(--hw, 140px); height: auto; display: block; filter: drop-shadow(0 6px 5px rgba(8,0,3,.45)); margin-top: -2px; position: relative; z-index: 1; }
.sc-jacket { --fix: translateZ(0); display: block; width: auto; max-width: none; margin-top: calc(var(--hw, 140px) * -0.19); user-select: none; -webkit-user-drag: none; pointer-events: none;
  filter: brightness(.9) drop-shadow(0 22px 24px rgba(8,0,3,.6)); transition: filter 1s var(--ease), transform 1.1s var(--ease); transform-origin: 50% 0; transform: var(--fix); }
.sc-slot.on .sc-jacket { filter: brightness(1.03) drop-shadow(0 26px 28px rgba(8,0,3,.66)); transform: var(--fix) scale(1.025); }
/* a bag hangs from the rail by its own handles: no hanger */
.sc-slot.bag .sc-hanger { display: none; }
.sc-slot.bag .sc-jacket { margin-top: -3px; }
@media (hover: hover) { .sc-slot:hover .sc-jacket { filter: brightness(1) drop-shadow(0 24px 26px rgba(8,0,3,.62)); } }
@media (max-width: 760px) {
  .sc-jacket { filter: brightness(.92) drop-shadow(0 10px 10px rgba(8,0,3,.6)); }
  .sc-slot.on .sc-jacket { filter: brightness(1.04) drop-shadow(0 12px 12px rgba(8,0,3,.66)); }
  .sc-frame { filter: drop-shadow(0 8px 8px rgba(8,0,3,.5)); }
}
.atelier-head { position: absolute; z-index: 2; top: calc(84px + env(safe-area-inset-top)); left: var(--gut); max-width: 520px; opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.atelier-head.seen { opacity: 1; transform: none; }
.atelier-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 62px); line-height: 1.02; }
.atelier-title em { color: var(--ivory-dim); }
.atelier-info { position: absolute; z-index: 2; left: var(--gut); bottom: calc(48px + env(safe-area-inset-bottom)); max-width: 420px; display: grid; gap: 6px; }
.atelier-info.swap > * { animation: aiIn .9s var(--ease) both; }
.atelier-info.swap > :nth-child(2) { animation-delay: .06s; } .atelier-info.swap > :nth-child(3) { animation-delay: .12s; }
@keyframes aiIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ai-pos { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--ivory-dim); }
.ai-pos::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson-glow); box-shadow: 0 0 12px var(--crimson-glow); }
.atelier-head, .atelier-info, .atelier-nav, .atelier-hint { z-index: 3; text-shadow: 0 2px 18px rgba(8,0,3,.85); }
.ai-name { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; }
.ai-note { margin: 0; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--mute); }
.ai-view { justify-self: start; margin-top: 12px; }
.ai-view[hidden] { display: none; }
.atelier-nav { position: absolute; z-index: 2; right: var(--gut); bottom: calc(52px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 18px; }
.atelier-nav .link { font-size: 18px; letter-spacing: 0; padding: 10px; }
.ai-count, #rail-ui .rail-count { direction: ltr; unicode-bidi: isolate; }
.ai-count { font-family: var(--serif); font-size: 17px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.ai-dots { display: flex; gap: 4px; margin-left: 10px; }
.ai-dots button { padding: 10px 4px; }
.ai-dots i { display: block; width: 18px; height: 1px; background: var(--line-strong); transition: width .6s var(--ease), background .6s; }
.ai-dots button.on i { width: 34px; background: var(--crimson-glow); }
.atelier-hint { position: absolute; z-index: 2; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; font-size: 9.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
html[lang="ar"] .atelier-title { font-family: "Noto Kufi Arabic", var(--latin); font-weight: 200; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.4; }
html[lang="ar"] .atelier-title em { font-family: var(--ar-em); font-weight: 400; }
html[lang="ar"] .ai-name { font-family: "Noto Kufi Arabic", var(--latin); font-weight: 200; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.4; }
html[lang="ar"] :is(.ai-pos, .atelier-hint) { font-size: 12.5px; }
html[lang="ar"] .ai-note { font-family: var(--ar-em); font-style: normal; }
html[dir="rtl"] .atelier-head, html[dir="rtl"] .atelier-info { left: auto; right: var(--gut); }
html[dir="rtl"] .atelier-nav { right: auto; left: var(--gut); }
html[dir="rtl"] .ai-dots { margin-left: 0; margin-right: 10px; }
html[dir="rtl"] .ai-view { justify-self: start; }

/* ── 4 · The salon ──────────────────────────────────────────────────────── */
html[data-world="women"] .beat-mark { text-shadow: 0 0 60px rgba(30,2,10,.9); }
html[data-world="women"] .rail-label.hot::after { background: var(--crimson-glow); box-shadow: 0 0 8px var(--crimson-glow); }
html[data-world="women"] .niche-label .dot { background: var(--crimson-glow); }
#rail-ui.placeholder .rail-view, #rail-ui.no-view .rail-view { display: none; }
#rail-ui.pedestal .rail-nav, #rail-ui.pedestal .rail-count { display: none; }
#rail-ui.placeholder .cap-meta, #rail-ui.pedestal .cap-meta { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .02em; text-transform: none; color: var(--ivory-dim); }
html[lang="ar"] #rail-ui:is(.placeholder, .pedestal) .cap-meta { font-family: var(--ar-em); font-style: normal; }

/* panels */
html[data-world="women"] #detail { background: linear-gradient(180deg, rgba(30,6,13,.95), rgba(14,3,7,.98)); }
html[data-world="women"] .media-stage { background: radial-gradient(ellipse at 50% 42%, #3a1620 0%, #16060b 62%, #0e0307 100%); }
html[data-world="women"] .bag-panel { background: #12040a; }
html[data-world="women"] .site-foot { background: #0e0307; }

/* ── phones ─────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  #film.film-stage { height: 520vh; }
  .film-await { top: 44%; }
  .atelier-head { top: calc(72px + env(safe-area-inset-top)); right: var(--gut); }
  .atelier-title { font-size: clamp(28px, 8vw, 38px); }
  .atelier-info { right: var(--gut); bottom: calc(96px + env(safe-area-inset-bottom)); gap: 4px; }
  .ai-name { font-size: 26px; }
  .ai-note { font-size: 14px; }
  .atelier-nav { left: var(--gut); right: var(--gut); bottom: calc(40px + env(safe-area-inset-bottom)); justify-content: space-between; gap: 8px; }
  .ai-dots { margin: 0; order: 4; }
  .atelier-hint { display: none; }
  html[dir="rtl"] .atelier-nav { left: var(--gut); right: var(--gut); }
  html[dir="rtl"] .atelier-head { left: var(--gut); }
}

/* ── The four campaigns, stacked (as in the owner's reference) ─────────────
   One under another, each a full-width 16:9 rectangle, touching (no gaps, no
   frames, no text over them): the piece, large, in the middle of its background.
   Clicking the piece still opens its model photos (or its details). */
#campaigns { height: auto; --cw: 100vw; --ch: calc(100vw * 9 / 16); background: #0c0306; }
#campaigns .cp-sticky { position: relative; top: auto; height: auto; overflow: visible; }
#campaigns .cp { position: relative; inset: auto; width: 100%; height: var(--ch); visibility: visible; clip-path: none !important; pointer-events: auto; }
#campaigns :is(.cp-ambient, .cp-copy, .cp-side, .cp-edge) { display: none !important; }
#campaigns .cp-card { left: 0; top: 0; width: 100%; height: 100%; translate: none; -webkit-mask: none; mask: none; }
#campaigns .cp-stage { left: var(--px, 50%) !important; --h: calc(var(--ch) * .82); z-index: 2; }
html[dir="rtl"] #campaigns .cp-stage { left: var(--px, 50%) !important; } /* the same side in both languages: the model walks left → right */
#campaigns .cp-stage:has(.long) { --h: calc(var(--ch) * .86); }
#campaigns .cp-float { translate: -50% -50%; }
#campaigns .cp-jacket { max-width: 82vw; }
#campaigns .cp-shadow { top: calc(var(--h) * .44); }
/* the walking model: full height of the rectangle, her lower edge melting away */
.cp-model { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1;
  -webkit-mask: linear-gradient(180deg, #000 78%, transparent 99%); mask: linear-gradient(180deg, #000 78%, transparent 99%);
  filter: drop-shadow(16px 8px 22px rgba(60,40,20,.32)); }
@media (max-width: 760px) {
  #campaigns { height: auto; --cw: 100vw; --ch: calc(100vw * 9 / 16); }
  #campaigns .cp-float { translate: -50% -50%; }
}

/* Campaign backgrounds: a solid colour until the picture has arrived, then it fades in.
   Phones: no filter, no promoted layer, no drift — iPhones silently skip big GPU layers. */
#campaigns .cp-bg { opacity: 0; transition: opacity .6s ease; background-color: #1a0a0e; }
#campaigns .cp-bg.ready { opacity: 1; }
@media (max-width: 900px), (pointer: coarse) {
  #campaigns .cp-bg { inset: 0; will-change: auto; filter: none; transform: none !important; }
}

/* Taller campaign rectangles (owner's request): wider than tall still, but with more height —
   about 10:7 on a computer, closer to 5:4 on a phone where 16:9 was a thin strip. */
#campaigns { --ch: calc(100vw * .7); }
@media (max-width: 760px) { #campaigns { --ch: calc(100vw * .82); } }
/* the piece keeps a width-based size (as the model does), so the extra height is background */
#campaigns { --pz: min(var(--ch), calc(100vw * .62)); }
#campaigns .cp-stage { --h: calc(var(--pz) * .82); }
#campaigns .cp-stage:has(.long) { --h: calc(var(--pz) * .86); }
/* the walking models stay solid: only the last few pixels at the bottom edge soften */
#campaigns .cp-model { -webkit-mask: linear-gradient(180deg, #000 94%, transparent 100%); mask: linear-gradient(180deg, #000 94%, transparent 100%); filter: drop-shadow(10px 6px 14px rgba(40,25,15,.38)); }

/* Campaign 1 — the bag: larger, and lifted off the python print.
   The print around it is calmed (a darker, warmer pool), a soft dark ground sits right behind it,
   and a thin warm rim of light outlines its edges; the bag itself gets a touch more contrast. */
#campaigns .cp-1 .cp-stage { --h: calc(var(--pz) * 1.02); }
#campaigns .cp-1 .cp-jacket { max-width: 88vw; }
#campaigns .cp-1 .cp-atmos { opacity: 1;
  background:
    radial-gradient(ellipse 34% 46% at 50% 50%, rgba(255,214,160,.16), transparent 72%),
    radial-gradient(ellipse 62% 70% at 50% 50%, rgba(18,9,4,.62) 0%, rgba(18,9,4,.38) 55%, transparent 100%),
    radial-gradient(ellipse 120% 95% at 50% 50%, transparent 40%, rgba(10,5,2,.82) 100%); }
#campaigns .cp-1 .cp-halo { width: calc(var(--h) * 1.7); height: calc(var(--h) * 1.45); opacity: .95; }
#campaigns .cp-1 .cp-halo::after { inset: 14% 18% 12%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(26px); }
#campaigns .cp-1 .cp-jacket img {
  filter: contrast(1.08) saturate(1.06) brightness(1.04)
          drop-shadow(0 0 1.5px rgba(255,222,170,.55)) drop-shadow(0 0 14px rgba(255,205,140,.22))
          drop-shadow(0 40px 46px rgba(0,0,0,.7)) drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
#campaigns .cp-1 .cp-shadow { width: calc(var(--h) * .7); background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.75), transparent 70%); }

/* campaign rectangles a little lower (owner's request): ~16:10 on a computer, ~4:3 on a phone */
#campaigns { --ch: calc(100vw * .64); }
@media (max-width: 760px) { #campaigns { --ch: calc(100vw * .74); } }

/* The piece's name on each campaign: top-left corner, Latin name in the display serif */
#campaigns .cp-title { position: absolute; z-index: 3; left: clamp(18px, 4.2vw, 72px); top: clamp(56px, 7.5vw, 120px); display: grid; gap: .35em; justify-items: start; text-align: left; direction: ltr; pointer-events: none; color: #f6ece0; text-shadow: 0 2px 18px rgba(0,0,0,.45); opacity: 0; translate: 0 14px; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease); }
#campaigns .cp.act .cp-title { opacity: 1; translate: 0 0; }
#campaigns .cp-title[hidden] { display: none; }
#campaigns .cp-t-num { font-family: var(--latin, sans-serif); font-size: clamp(10px, .85vw, 13px); letter-spacing: .38em !important; color: var(--accent); }
#campaigns .cp-t-name { font-family: "Bodoni Moda", var(--display, serif); font-weight: 400; font-style: italic; font-size: clamp(30px, 5.6vw, 96px); line-height: .95; letter-spacing: .01em !important; }
#campaigns .cp-t-ar { font-family: var(--ar-em, "IBM Plex Sans Arabic", sans-serif); font-size: clamp(14px, 1.5vw, 22px); direction: rtl; opacity: .92; }
#campaigns .cp-t-kind { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: clamp(11px, .9vw, 14px); direction: rtl; opacity: .7; padding-top: .3em; border-top: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); }
#campaigns .ink-dark .cp-title { color: #2a1c12; text-shadow: 0 1px 14px rgba(255,248,238,.5); }
/* campaign 1: the bag is centred, so its name sits low on the left */
#campaigns .cp-1 .cp-title { top: auto; bottom: clamp(24px, 4.5vw, 80px); }
@media (max-width: 760px) {
  #campaigns .cp-title { left: 14px; top: 46px; gap: .2em; }
  #campaigns .cp-1 .cp-title { bottom: 16px; }
  #campaigns .cp-t-kind { display: none; }
}

/* The house line — between the campaigns and the rail */
.motto { position: relative; background: radial-gradient(ellipse 70% 90% at 50% 50%, #2a0812 0%, #12040a 60%, #0c0306 100%); padding-block: clamp(90px, 14vw, 200px); padding-inline: max(20px, env(safe-area-inset-left, 0px)); overflow: hidden; }
.motto::before { content: ""; position: absolute; inset: 0; background: url("../assets/women/campaigns/campaign-1-python-brown-m.jpg") center / cover; opacity: .06; mix-blend-mode: screen; pointer-events: none; }
.motto-inner { position: relative; max-width: 1100px; margin: 0 auto; display: grid; justify-items: center; gap: clamp(18px, 2.4vw, 34px); text-align: center; }
.motto-rule { width: 1px; height: clamp(40px, 6vw, 80px); background: linear-gradient(#e6c08900, #e6c089); }
.motto-line { margin: 0; font-family: "Bodoni Moda", var(--display, serif); font-weight: 400; color: #f4e7da; font-size: clamp(30px, 5.4vw, 84px); line-height: 1.08; letter-spacing: -.005em !important; text-wrap: balance; }
.motto-line span { display: block; font-style: normal; }
.motto-line em { display: block; font-style: italic; color: #e6c089; }
.motto-ar { margin: 0; font-family: var(--ar-em, "IBM Plex Sans Arabic", sans-serif); font-size: clamp(15px, 1.6vw, 22px); color: rgba(244,231,218,.72); }
.motto-mark { margin: 0; font-family: var(--latin, sans-serif); font-size: 11px; letter-spacing: .5em !important; color: rgba(230,192,137,.7); }
.motto-mark span { font-style: normal; }
.motto .motto-line, .motto .motto-ar, .motto .motto-mark { opacity: 0; translate: 0 18px; transition: opacity 1.4s var(--ease), translate 1.4s var(--ease); }
.motto.seen .motto-line { opacity: 1; translate: 0 0; }
.motto.seen .motto-ar { opacity: 1; translate: 0 0; transition-delay: .35s; }
.motto.seen .motto-mark { opacity: 1; translate: 0 0; transition-delay: .6s; }
/* (the Arabic page styles every <em> in the Arabic display face: the house line keeps its serif) */
.motto .motto-line em, .motto .motto-line span { font-family: "Bodoni Moda", var(--display, serif); }
.motto .motto-line em { font-style: italic; }
#campaigns .cp-title .cp-t-name { font-style: italic; }

/* ── Performance (no visual change) ───────────────────────────────────────────────────────────
   The light gliding over each piece used to animate background-position: the browser repainted it
   (masked and blended) every frame. The same gradient now slides as a transform, which the
   graphics chip moves without repainting. Same size, same path, same timing. */
.cp-sheen { background: none !important; overflow: hidden; }
.cp-sheen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 260%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 46%, transparent 62%);
  transform: translate3d(-61.54%, 0, 0); will-change: transform; }
#campaigns.live .cp.act .cp-sheen { animation: none; }
#campaigns.live .cp.act .cp-sheen::before { animation: cpSheenT 9s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes cpSheenT { 0% { transform: translate3d(-61.54%, 0, 0); } 55%, 100% { transform: translate3d(36.92%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { #campaigns .cp-sheen::before { animation: none !important; } }
/* Phones: the halo and the floor shadow are soft radial gradients; the extra blur filter on them
   was invisible but had to be recomputed every frame while they breathe. The gradients are widened
   a touch instead, which gives the same softness. */
@media (max-width: 900px), (pointer: coarse) {
  .cp-halo { filter: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 50%, transparent) 0%, color-mix(in srgb, var(--accent) 21%, transparent) 47%, transparent 100%); }
  .cp.ink-dark .cp-halo { background: radial-gradient(closest-side, rgba(255,250,242,.72) 0%, rgba(255,250,242,.27) 52%, transparent 100%); }
  .cp-halo::after { filter: none; inset: 18% 22% 16%; background: radial-gradient(closest-side, rgba(0,0,0,.3), transparent); }
  .cp-shadow { filter: none; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.5), transparent 76%); }
  .cp-4 .cp-shadow { background: radial-gradient(ellipse at 50% 50%, rgba(80,55,30,.42), transparent 76%); }
  #campaigns .cp-1 .cp-shadow { background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.7), transparent 76%); }
  #campaigns .cp-1 .cp-halo::after { filter: none; inset: 10% 14% 8%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); }
}

/* ── The travelling film (women): the video gathers into a window beside the text and drifts down
   with the scroll; the title and the details rise past it like the rest of the page. ─────────── */
/* computer: window on the left, text column on the right */
#film.film-travel .film-chapter, #film.film-travel .film-chapter.left, #film.film-travel .film-chapter.right {
  left: auto; right: var(--gut); width: min(360px, 29vw); top: 50%;
  transform: translate3d(0, calc(-50% + (.5 - var(--t, 0)) * 92vh), 0); }
#film.film-travel .film-title { transform: translate3d(0, calc((.5 - var(--t, 0)) * 38vh), 0); }
html[dir="rtl"] #film.film-travel .film-title { right: var(--gut); left: auto; max-width: min(560px, 31vw); }
#film.film-travel .film-title .ft-name { font-size: clamp(40px, 4.6vw, 80px); }
/* phone: window across the top, the text passing beneath it */
@media (max-width: 760px) {
  #film.film-travel .film-chapter, #film.film-travel .film-chapter.left, #film.film-travel .film-chapter.right {
    top: auto; left: var(--gut); right: var(--gut); width: auto; bottom: calc(66px + env(safe-area-inset-bottom));
    transform: translate3d(0, calc((.5 - var(--t, 0)) * 34vh), 0); }
  #film.film-travel .film-title { transform: translate3d(0, calc((.5 - var(--t, 0)) * 22vh), 0); max-width: none; left: var(--gut); right: var(--gut); }
  #film.film-travel .film-title .ft-name { font-size: clamp(38px, 11vw, 54px); }
}
@media (prefers-reduced-motion: reduce) { #film.film-travel .film-chapter, #film.film-travel .film-title { transform: none !important; } }

/* the travelling piece moves left / right: each detail's card stands on the other side */
#film.film-travel .film-chapter[data-side="right"] { left: auto; right: var(--gut); }
#film.film-travel .film-chapter[data-side="left"] { right: auto; left: var(--gut); }
#film.film-travel .film-title { bottom: auto; top: 15vh; }
@media (max-width: 760px) {
  #film.film-travel .film-chapter[data-side] { left: var(--gut); right: var(--gut); }
  #film.film-travel .film-title { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
}
html[dir="rtl"] #film.film-travel .film-title { max-width: 27vw; }
@media (max-width: 760px) { html[dir="rtl"] #film.film-travel .film-title { max-width: none; } }
