/* ============================================================================================================
   Guide moods: some travel guides open with a scene of their own (resources/views/guides/moods/<slug>.blade.php).
   Every scene stays inside Nuit's world: her night sky, her gold, the river of the reading line. Each changes the
   light and tells its own story. The text below the scene keeps the standard guide layout, tinted to the mood.
   ============================================================================================================ */
.mhero{position:relative;min-height:min(86vh,780px);display:flex;align-items:flex-end;margin-top:-68px;padding-top:112px;overflow:hidden;isolation:isolate}
.mhero .wrap{position:relative;z-index:3;width:100%;padding-bottom:clamp(34px,6vw,70px)}
.mhero h1{font-size:clamp(2.4rem,5.4vw,4.4rem);max-width:20ch;margin:16px 0 12px;text-wrap:balance}
.mhero .lede{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2.2vw,1.7rem);color:var(--gold-2);max-width:40ch;line-height:1.35}
.mhero .crumbs{margin-bottom:20px}
.mhero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40%;z-index:2;background:linear-gradient(180deg,transparent,var(--night));pointer-events:none}
.mhero .scene{position:absolute;inset:0;z-index:1}
.mhero .scene svg{position:absolute;inset:0;width:100%;height:100%}

/* a countdown under the title: to a dawn, a midnight, an eclipse */
.mcount{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 22px;margin-top:22px}
.mcount small{flex-basis:100%;font-size:.7rem;letter-spacing:.26em;text-transform:uppercase;color:var(--mist)}
.mcount b{display:flex;flex-direction:column;align-items:center;min-width:58px;font-family:var(--serif);font-weight:300;font-size:clamp(2rem,4vw,3rem);line-height:1;color:var(--papyrus)}
.mcount b i{font-family:var(--sans);font-style:normal;font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-top:8px}
.mcount .when{flex-basis:100%;font-family:var(--serif);font-style:italic;font-size:1.05rem;color:var(--gold-2)}

/* a pause between two stations of the reading line: a line of the story, set large */
.minter{margin:10px 0 50px;padding:34px 30px;border-radius:22px;text-align:center;font-family:var(--serif);font-style:italic;font-size:clamp(1.3rem,2.4vw,1.8rem);line-height:1.4;color:var(--papyrus)}
.minter small{display:block;margin-top:12px;font-family:var(--sans);font-style:normal;font-size:.7rem;letter-spacing:.26em;text-transform:uppercase;color:var(--gold)}

@media (prefers-reduced-motion:reduce){.mhero *{animation:none!important;transition:none!important}}

/* ---------- Honeymoon: dusk over the river, two stars drawing together under her arch ---------- */
.mood-honeymoon .mhero{background:radial-gradient(ellipse 90% 70% at 50% 100%,#f3b38a 0,#d9776e 22%,#8a3b5c 48%,#2a0f2e 78%,#12061c 100%)}
.mood-honeymoon .mhero .lede{color:#ffd9c2}
.mood-honeymoon .arch{fill:none;stroke:url(#hmGold);stroke-width:1.6;opacity:.85}
.mood-honeymoon .lotus{fill:rgba(255,214,200,.22);transform-origin:center;animation:hmFloat 14s ease-in-out infinite}
.mood-honeymoon .lotus:nth-of-type(2){animation-delay:-5s}.mood-honeymoon .lotus:nth-of-type(3){animation-delay:-9s}
@keyframes hmFloat{50%{transform:translateY(-14px) rotate(4deg)}}
.mood-honeymoon .twin{animation:hmLeft 9s cubic-bezier(.45,0,.2,1) infinite alternate}
.mood-honeymoon .twin.b{animation-name:hmRight}
@keyframes hmLeft{from{transform:translateX(-120px)}to{transform:translateX(-9px)}}
@keyframes hmRight{from{transform:translateX(120px)}to{transform:translateX(9px)}}
.mood-honeymoon .meet{opacity:0;animation:hmMeet 9s cubic-bezier(.45,0,.2,1) infinite alternate}
@keyframes hmMeet{0%,82%{opacity:0;transform:scale(.4)}100%{opacity:1;transform:scale(1)}}
.mood-honeymoon .glow{animation:hmGlow 6s ease-in-out infinite}
@keyframes hmGlow{50%{opacity:.55}}
.mood-honeymoon .answer{border-color:#e9a38a;background:linear-gradient(150deg,rgba(233,163,138,.18),rgba(138,59,92,.28) 60%,rgba(18,6,28,.5))}
.mood-honeymoon .riverline::before{background:linear-gradient(180deg,#ffd9c2,#d9776e 35%,#8a3b5c 100%)}
.mood-honeymoon .rstop.reached .node::after{background:#ffc9b0}
.mood-honeymoon .minter{background:linear-gradient(135deg,rgba(217,119,110,.18),rgba(42,15,46,.6));border:1px solid rgba(233,163,138,.45)}

/* ---------- Christmas & New Year: festive gold over the winter Nile, lanterns and a midnight countdown ---------- */
.mood-christmas .mhero{background:radial-gradient(ellipse 80% 60% at 70% 20%,#1b2a7a 0,#0b1446 45%,#040922 100%)}
.mood-christmas .garland path{fill:none;stroke:rgba(216,179,106,.55);stroke-width:1.2}
.mood-christmas .bulb{animation:xmTwinkle 2.4s ease-in-out infinite}
.mood-christmas .bulb:nth-child(3n){animation-delay:-.8s}.mood-christmas .bulb:nth-child(3n+1){animation-delay:-1.6s}
@keyframes xmTwinkle{50%{opacity:.25}}
.mood-christmas .lantern{transform-box:fill-box;transform-origin:50% 0;animation:xmSway 5s ease-in-out infinite}
.mood-christmas .lantern.b{animation-delay:-2.5s}
@keyframes xmSway{50%{transform:rotate(6deg)}}
.mood-christmas .burst{transform-box:fill-box;transform-origin:center;opacity:0;animation:xmBurst 6s ease-out infinite}
.mood-christmas .burst.b{animation-delay:-2s}.mood-christmas .burst.c{animation-delay:-4s}
@keyframes xmBurst{0%{opacity:0;transform:scale(.1)}12%{opacity:1}55%{opacity:0;transform:scale(1)}100%{opacity:0}}
.mood-christmas .mcount b{color:#fff2cf;text-shadow:0 0 22px rgba(244,226,173,.45)}
.mood-christmas .answer{border-color:#e6c46a;background:linear-gradient(150deg,rgba(230,196,106,.2),rgba(27,42,122,.4) 60%,rgba(4,9,34,.5))}
.mood-christmas .minter{background:linear-gradient(135deg,rgba(230,196,106,.16),rgba(11,20,70,.7));border:1px solid rgba(230,196,106,.45)}
.mood-christmas .rstop.reached .node{box-shadow:0 0 0 6px rgba(230,196,106,.16),0 0 22px rgba(255,230,160,.9)}

/* ---------- The Abu Simbel sun festival: inside the dark sanctuary, the dawn ray travels and lights three of four ---------- */
.mood-sun .mhero{background:#07050a}
.mood-sun .hall{fill:#120c08}
.mood-sun .ray{opacity:0;transform-box:fill-box;transform-origin:0 50%;animation:sunRay 10s cubic-bezier(.3,0,.2,1) infinite}
@keyframes sunRay{0%{opacity:0;transform:scaleX(.05)}15%{opacity:.9}55%,80%{opacity:.9;transform:scaleX(1)}100%{opacity:0;transform:scaleX(1)}}
.mood-sun .lit{fill:#3a2414;animation:sunLit 10s cubic-bezier(.3,0,.2,1) infinite}
@keyframes sunLit{0%,40%{fill:#24170e}55%,80%{fill:#e7a453}100%{fill:#24170e}}
.mood-sun .shade{fill:#1e140c}
.mood-sun .labels text{font-family:var(--sans);font-size:11px;letter-spacing:.18em;text-transform:uppercase;fill:rgba(243,234,214,.55)}
.mood-sun .answer{border-color:#e7a453;background:linear-gradient(150deg,rgba(231,164,83,.18),rgba(40,24,12,.6) 60%,rgba(4,9,34,.5))}
.mood-sun .riverline::before{background:linear-gradient(180deg,#ffd38a,#e7a453 35%,#5a3418 100%)}
.mood-sun .minter{background:linear-gradient(90deg,rgba(231,164,83,.24),rgba(7,5,10,.85) 70%);border:1px solid rgba(231,164,83,.45);text-align:left}

/* ---------- The total eclipse: the moon slides across the sun, the corona opens, the diamond ring ---------- */
.mood-eclipse .mhero{background:radial-gradient(ellipse at 62% 38%,#0e1438 0,#05061a 55%,#020208 100%)}
.mood-eclipse .sun{fill:#fff1c8}
.mood-eclipse .corona{opacity:0;transform-box:fill-box;transform-origin:center;animation:ecCorona 12s ease-in-out infinite}
@keyframes ecCorona{0%,38%{opacity:0;transform:scale(.8)}50%,72%{opacity:1;transform:scale(1)}84%,100%{opacity:0;transform:scale(.9)}}
.mood-eclipse .moon{animation:ecMoon 12s cubic-bezier(.45,0,.55,1) infinite}
@keyframes ecMoon{0%{transform:translateX(-260px)}50%,72%{transform:translateX(0)}100%{transform:translateX(260px)}}
.mood-eclipse .ring{opacity:0;animation:ecRing 12s ease-in-out infinite}
@keyframes ecRing{0%,46%{opacity:0}49%{opacity:1}52%{opacity:0}72%{opacity:0}75%{opacity:1}78%,100%{opacity:0}}
.mood-eclipse .skyfade{animation:ecDark 12s ease-in-out infinite}
@keyframes ecDark{0%,30%{opacity:0}50%,72%{opacity:.75}90%,100%{opacity:0}}
.mood-eclipse .answer{border-color:#c9d3ff;background:linear-gradient(150deg,rgba(201,211,255,.12),rgba(14,20,56,.6) 60%,rgba(2,2,8,.6))}
.mood-eclipse .minter{background:radial-gradient(ellipse at 50% 0,rgba(255,241,200,.14),rgba(5,6,26,.85) 70%);border:1px solid rgba(201,211,255,.35)}
.mood-eclipse .mcount b{color:#fff1c8}

/* ---------- The historic hotels: belle époque, an art deco frame, a room key and the river at the window ---------- */
.mood-hotels .mhero{background:linear-gradient(180deg,#0d2a24 0,#0b1f1c 55%,#040922 100%)}
.mood-hotels .deco{fill:none;stroke:rgba(216,179,106,.7);stroke-width:1.2}
.mood-hotels .deco.fine{stroke-width:.6;opacity:.6}
.mood-hotels .fan{transform-box:fill-box;transform-origin:50% 100%;animation:htFan 8s ease-in-out infinite}
@keyframes htFan{50%{opacity:.6}}
.mood-hotels .key{transform-box:fill-box;transform-origin:50% 0;animation:htKey 7s ease-in-out infinite}
@keyframes htKey{50%{transform:rotate(-7deg)}}
.mood-hotels .mhero h1{font-weight:300;letter-spacing:.01em}
.mood-hotels .answer{border-color:#c9a45a;background:linear-gradient(150deg,rgba(201,164,90,.16),rgba(13,42,36,.6) 60%,rgba(4,9,34,.5))}
.mood-hotels .riverline::before{background:linear-gradient(180deg,#f4e2ad,#c9a45a 35%,#0d2a24 100%)}
.mood-hotels .rstop h2{letter-spacing:.01em}
.mood-hotels .rstop h2::before{content:"";display:block;width:46px;height:1px;margin-bottom:14px;background:linear-gradient(90deg,#c9a45a,transparent)}
.mood-hotels .minter{background:#0d2a24;border:1px solid #c9a45a;box-shadow:inset 0 0 0 6px #0d2a24,inset 0 0 0 7px rgba(201,164,90,.5)}

@media (max-width:700px){
  .mhero{min-height:88vh}
  .mood-sun .labels{display:none}
  .minter{padding:26px 20px}
}
