/* flight.css — the scroll-driven flight over the Maghreb, lifted out of ev.css on 2026-11-15
   so the new home can carry it without loading the whole old stylesheet (ev.css and shop.css
   share 26 class names — .btn, .wrap, .sub, .kick… — and loading both breaks the page).
   Every rule here is already scoped under .flight / .fc / .fc-hero, so nothing leaks into shop.css.
   Buttons inside the flight deliberately fall through to shop.css, so the whole site has one button.
   ev.css is NOT edited: deploy/publish-launch.sh restores it from the saved live copy on every
   publish, so an edit there would never reach the site. */
.p-intro .wm{width:min(430px,78vw);filter:drop-shadow(0 6px 30px rgba(0,0,0,.35))}
.p-intro .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.tag{font-family:var(--f-head);font-size:.85rem;padding:.3em .9em;border-radius:999px;background:rgba(7,11,20,.45);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(6px)}
@keyframes cue{0%{opacity:0;transform:translate(-50%,0)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,12px)}}
@media (max-width:860px){
  .p-intro .wm{width:min(260px,64vw);margin-inline:auto}
  .p-intro .tags{justify-content:center}
}
.pcol li.dj span{font-family:var(--f-head);font-weight:600;color:var(--gold-hi)}
.mapwrap .yr{position:absolute;top:20px;right:24px;font-family:var(--f-show);font-size:clamp(2.4rem,6vw,5rem);color:#7a1a26;opacity:.85}
.mapwrap .yr{text-shadow:0 2px 0 rgba(255,255,255,.4)}
/* ================================================================ v3 homepage: the flight (assets/js/world.js + home.js) */
.flight{position:relative;height:1150vh;padding:0}
.f-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:#02040a}
#world{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:pan-y}
.f-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1s}
.flight.nogl .f-still{opacity:1}
.flight.nogl #world{display:none}
.f-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(270deg,rgba(2,4,10,.62),rgba(2,4,10,.18) 38%,transparent 60%),linear-gradient(0deg,rgba(2,4,10,.55),transparent 30%)}
.fc{position:absolute;right:var(--gut);bottom:clamp(70px,13vh,150px);width:min(520px,calc(100% - 2*var(--gut)));opacity:0;visibility:hidden;text-shadow:0 2px 24px rgba(0,0,0,.7),0 1px 2px rgba(0,0,0,.5);pointer-events:none;will-change:opacity,transform}
.fc.on{pointer-events:auto}
.fc .kick{font-family:var(--f-head);font-weight:700;color:var(--gold-hi);font-size:.95rem;display:flex;align-items:center;gap:10px}
.fc .kick::before{content:"";width:34px;height:1px;background:currentColor}
.fc h2{font-family:var(--f-ink);font-weight:400;font-size:clamp(2.2rem,4.6vw,4.2rem);line-height:1.12;margin:.15em 0 .3em;color:#fff}
.fc p{color:#efe7da;font-size:clamp(1rem,1.25vw,1.15rem);font-weight:400}
.fc .ls{list-style:none;display:grid;gap:6px;margin-top:6px;font-family:var(--f-head);font-weight:600;font-size:1.05rem;counter-reset:l}
.fc .ls li{display:flex;gap:12px;align-items:center;counter-increment:l}
.fc .ls li::before{content:counter(l,decimal-leading-zero);font-size:.8rem;color:var(--gold-hi);border:1px solid rgba(255,194,74,.5);border-radius:999px;padding:0 .6em}
.fc .ls li.dj::before{content:"✦"}
.fc .row{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.fc-intro{right:auto;left:50%;bottom:auto;top:50%;translate:-50% -50%;text-align:center;width:min(640px,90vw)}
.fc-intro .wm{width:min(420px,74vw);margin:0 auto;filter:drop-shadow(0 6px 30px rgba(0,0,0,.6))}
.fc-intro .sub{margin:18px auto 0;font-size:clamp(1.05rem,1.7vw,1.35rem);max-width:28em;color:#fff}
.fc-intro .cue{margin-top:34px;display:flex;flex-direction:column;align-items:center;gap:10px;font-family:var(--f-head);font-size:.9rem;color:#dfe6f3}
.fc-intro .cue i{width:22px;height:36px;border:1.5px solid rgba(255,255,255,.8);border-radius:12px;position:relative}
.fc-intro .cue i::after{content:"";position:absolute;top:7px;left:50%;width:3px;height:7px;border-radius:2px;background:#fff;transform:translateX(-50%);animation:cue 1.8s infinite}
.fc-final h2{font-size:clamp(2.4rem,5.4vw,4.8rem)}
.f-hint{position:absolute;left:50%;bottom:16px;translate:-50% 0;font-family:var(--f-head);font-size:.8rem;color:rgba(255,255,255,.55);opacity:0;transition:opacity .4s}
.flight.hov .f-hint{opacity:1}
@media (max-width:860px){
  .flight{height:1000vh}
  .fc{bottom:clamp(40px,7vh,80px)}
  .fc h2{font-size:clamp(1.9rem,8.5vw,2.6rem)}
  .fc p,.fc .ls{font-size:.95rem}
  .f-shade{background:linear-gradient(0deg,rgba(2,4,10,.88),rgba(2,4,10,.35) 45%,transparent 70%)}
}
.pack-peek.nogl{z-index:-1;top:-112px;width:150px;height:126px;border-radius:24px 24px 0 0;background:#f3e3c8;box-shadow:0 -10px 40px -20px rgba(0,0,0,.7)}
.pack-peek.nogl img{display:block;position:absolute;left:0;top:0;width:484px;max-width:none;height:auto;transform:translate(-308px,-9px)}
/* v3 social page */
.flight-s{height:950vh}
.fc-intro h1{font-family:var(--f-ink);font-weight:400;font-size:clamp(3rem,9vw,7rem);line-height:1.05;color:#fff;margin:.1em 0 .15em}
.fc-intro .kick{justify-content:center}
.fc-intro .kick::before{display:none}
.fc .yr{display:block;font-family:var(--f-ink);font-size:clamp(2.6rem,5vw,4rem);line-height:1;color:var(--gold-hi);margin-bottom:6px}
@media (max-width:860px){
  .flight-s{height:850vh}
}
/* v3.1: Zarroug's window opens onto the night Maghreb; the 3D flight takes over under the last screen of the portal */
.flight .f-stage{opacity:0;transition:opacity .7s ease}
.flight.live .f-stage{opacity:1}
/* v3.2 opening: Zarroug in 3D (hero.js), intro on the reading side */
.fc-hero{bottom:auto;top:50%;translate:0 -50%;width:min(520px,calc(100% - 2*var(--gut)))}
.fc-hero .wm{width:min(400px,70vw);filter:drop-shadow(0 6px 30px rgba(0,0,0,.6))}
.fc-hero .sub{margin-top:16px;font-size:clamp(1.05rem,1.6vw,1.3rem);color:#fff}
.fc-hero .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.fc-hero .cue{margin-top:30px;display:flex;align-items:center;gap:12px;font-family:var(--f-head);font-size:.9rem;color:#dfe6f3}
.fc-hero .cue i{width:22px;height:36px;border:1.5px solid rgba(255,255,255,.8);border-radius:12px;position:relative;flex:none}
.fc-hero .cue i::after{content:"";position:absolute;top:7px;left:50%;width:3px;height:7px;border-radius:2px;background:#fff;transform:translateX(-50%);animation:cue 1.8s infinite}
.fc-hero .try{margin-top:22px}
.fc-hero .try p{font-family:var(--f-head);font-size:.95rem;color:#dfe6f3;margin-bottom:8px}
.fc-hero .try .tr{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:860px){
  .fc-hero:has(.try){bottom:52px}
  .fc-hero .try{margin-top:16px}
  .fc-hero .try p{font-size:.85rem}
  .fc-hero .try .tr{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
  .fc-hero .tbtn{gap:8px;padding:.4em .6em;font-size:.8rem}
  .fc-hero .tbtn i{width:24px;height:24px;font-size:.65rem}
}
@media (max-width:860px){
  .fc-hero{top:auto;bottom:clamp(30px,5vh,60px);translate:none}
  .fc-hero .wm{width:min(240px,60vw)}
  .fc-hero .cue{display:none}
}
.z3d.nogl>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:28px}

/* ─── fixes for living inside the new home (2026-11-15) ───────────────────────
   The sticky order bar is fixed to the bottom of the viewport and now sits over the
   flight's stage. At 360x780 it cut the last line of every card (seen, s03). The cards
   move up to clear it. Desktop already had enough room (13vh), phone had 7vh = 54px. */
@media (max-width:860px){
  .fc{bottom:104px}
}

/* ─── half the scroll, every beat kept (Semah, 2026-11-15: «قصّر الرحلة») ──────────────
   The journey was 1150vh on a desktop and 1000vh on a phone: ten screens of scrolling
   between the offer and the rest of the page. Every camera point, card window and state
   track in home.js is a FRACTION of this section, so halving the height keeps the whole
   journey intact and only makes each beat arrive sooner. Narrowest card window is
   .072→.1 = 2.8%, which is still ~16vh here: enough for a heading and one line. */
.flight{height:575vh}
@media (max-width:860px){
  .flight{height:500vh}
}
