/* =====================================================================
   GOKCHE · painter rooms. Each page wears one painter's hand; the header
   mark (GOKCHE + star) stays the same everywhere so the brand holds.
     letters  → Chagall   (ultramarine dream, crimson, moonlight)
     newyear  → Hokusai   (Prussian blue, paper, red seal, waves)
     rituals  → Magritte  (night outside, day sky inside)
     backstage→ Basquiat  (crown, marker, yellow, raw)
   ===================================================================== */

/* shared: the signature mark in each hero */
.p-mark{position:absolute;right:clamp(16px,6vw,90px);top:clamp(110px,16vh,170px);width:clamp(150px,24vw,320px);pointer-events:none;z-index:0}
.p-mark svg{display:block;width:100%;height:auto;overflow:visible}
.p-cap{margin-top:10px;text-align:center;font:italic 500 clamp(15px,1.6vw,19px)/1.3 var(--serif);color:var(--pearl);opacity:.85}
.world-hero > :is(.kicker,h1,.lead,.rit-nav,.scroll-cue,#nyCdWrap,.ny-done){position:relative;z-index:1}
@media (min-width:761px){.world-hero:has(.p-mark) > :is(h1,.lead,.kicker){margin-right:clamp(170px,27vw,380px)}}
@media (max-width:760px){.p-mark{position:relative;right:auto;top:auto;width:150px;margin:0 0 8px}}
@media (prefers-reduced-motion:reduce){.p-mark *{animation:none!important}}

/* ---------------------------------------------------------- CHAGALL */
html:has(body[data-world="letters"]){--skyA:#141d55;--skyB:#3b2f8f;--skyC:#c9394a}
body[data-world="letters"]{--line:rgba(245,230,179,.22);--lavender:#f5e6b3;--pink:#e46b6b}
body[data-world="letters"] .kicker{color:#f5e6b3}
body[data-world="letters"] .world-hero h1{font-family:var(--script);font-size:clamp(70px,13vw,176px);letter-spacing:0;background:linear-gradient(175deg,#fbf3d9 15%,#f5e6b3 50%,#e46b6b 95%);-webkit-background-clip:text;background-clip:text;color:transparent;transform:rotate(-3deg);transform-origin:left bottom}
body[data-world="letters"] h2{color:#fbf3d9}
body[data-world="letters"] .btn.primary{background:#c9394a;color:#fbf3d9;box-shadow:0 10px 30px -10px rgba(201,57,74,.7)}
body[data-world="letters"] .wax{background:#c9394a}
.chagall .float{animation:chFloat 7s ease-in-out infinite;transform-origin:center}
.chagall .float2{animation:chFloat 9s ease-in-out infinite reverse}
@keyframes chFloat{0%,100%{transform:translate(0,0) rotate(-6deg)}50%{transform:translate(6px,-12px) rotate(4deg)}}

/* ---------------------------------------------------------- HOKUSAI */
html:has(body[data-world="newyear"]){--skyA:#0b1730;--skyB:#1d3a6e;--skyC:#efe6d0}
body[data-world="newyear"]{--line:rgba(239,230,208,.22);--lavender:#efe6d0;--pink:#efe6d0}
body[data-world="newyear"] .kicker{color:#e0614f;letter-spacing:.42em}
body[data-world="newyear"] .world-hero h1{font-weight:500;background:none;color:#efe6d0;-webkit-text-fill-color:#efe6d0;letter-spacing:.01em}
body[data-world="newyear"] .btn{border-radius:4px}
body[data-world="newyear"] .btn.primary{background:#efe6d0;color:#1d3a6e;box-shadow:4px 4px 0 #c0392b}
body[data-world="newyear"] .btn.primary:hover{box-shadow:6px 6px 0 #c0392b}
body[data-world="newyear"] .ny-hero{padding-bottom:150px}
.ny-hero .hk-wave{position:absolute;left:0;right:0;bottom:0;height:120px;pointer-events:none;z-index:0}
.ny-hero .hk-wave svg{width:100%;height:100%;display:block}
.hokusai .snow{animation:hkSnow 6s linear infinite}
.hokusai .snow:nth-child(2n){animation-duration:8s;animation-delay:-3s}
@keyframes hkSnow{from{transform:translateY(-10px);opacity:0}15%{opacity:1}to{transform:translateY(60px);opacity:0}}

/* ---------------------------------------------------------- MAGRITTE */
html:has(body[data-world="rituals"]){--skyA:#070b1f;--skyB:#0e1430;--skyC:#7fb6e6}
body[data-world="rituals"]{--lavender:#a9d0f2;--pink:#ffffff}
body[data-world="rituals"] .world-hero h1{background:radial-gradient(ellipse 18% 22% at 22% 38%,#fff 60%,transparent 62%),radial-gradient(ellipse 14% 18% at 30% 30%,#fff 60%,transparent 62%),radial-gradient(ellipse 16% 16% at 70% 60%,#fff 60%,transparent 62%),radial-gradient(ellipse 12% 14% at 78% 52%,#fff 60%,transparent 62%),linear-gradient(180deg,#5d9fd8,#a9d0f2);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:italic}
body[data-world="rituals"] .kicker{color:#a9d0f2}
body[data-world="rituals"] .btn.primary{background:#111;color:#f3efe4;border:1px solid #f3efe4}
body[data-world="rituals"] .rit-nav a{border-radius:99px 99px 99px 99px}
.magritte .cloud{animation:mgDrift 14s ease-in-out infinite}
.magritte .cloud.b{animation-duration:18s;animation-direction:reverse}
@keyframes mgDrift{0%,100%{transform:translateX(-6px)}50%{transform:translateX(8px)}}

/* ---------------------------------------------------------- BASQUIAT */
html:has(body[data-world="backstage"]){--skyA:#0d0b08;--skyB:#2a2110;--skyC:#f2c230}
body[data-world="backstage"]{--line:rgba(242,194,48,.28);--lavender:#f2c230;--pink:#f2c230}
body[data-world="backstage"] .kicker{font-family:"Permanent Marker",var(--sans);letter-spacing:.12em;color:#e04a3a;text-transform:uppercase}
body[data-world="backstage"] .world-hero h1{font-family:"Permanent Marker",var(--serif);font-size:clamp(56px,11vw,150px);letter-spacing:.01em;background:none;color:#f2c230;-webkit-text-fill-color:#f2c230;transform:rotate(-2deg);transform-origin:left bottom}
body[data-world="backstage"] .world-hero h1::after{content:"©";font-size:.35em;vertical-align:super;margin-left:.08em;color:#f3efe4;-webkit-text-fill-color:#f3efe4}
body[data-world="backstage"] h2,body[data-world="backstage"] h3{font-family:"Permanent Marker",var(--serif);font-style:normal}
body[data-world="backstage"] .btn{border-radius:6px}
body[data-world="backstage"] .btn.primary{background:#f2c230;color:#111;box-shadow:3px 3px 0 #e04a3a}
.basquiat .crown{animation:bqJig 2.6s steps(2) infinite;transform-origin:50% 100%}
@keyframes bqJig{0%{transform:rotate(-3deg)}100%{transform:rotate(3deg)}}
