﻿/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:          #121212;
  --cream:        #f0ece3;
  --red:          #c84530;
  --serif:        "Cormorant Garamond", Georgia, serif;
  --sans:         "Manrope", system-ui, sans-serif;
  --glass:        rgba(12,10,8,0.76);
  --glass-border: rgba(240,236,227,0.10);
}
html { font-size: 16px; }
body { font-family: var(--sans); background: var(--ink); color: var(--cream); overflow-x: hidden; }

/* ── NOISE ─────────────────────────────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .04;
  background-size: 200px;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 4rem 2rem;
}
.hero-inner { max-width: 860px; }

/* Prime Video badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .5rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(240,236,227,.55);
  border: 1px solid rgba(240,236,227,.14);
  padding: .38rem 1rem;
  margin-bottom: 2rem;
}
.hero-badge svg { color: rgba(240,236,227,.45); flex-shrink: 0; }

.eyebrow {
  font-family: var(--sans); font-size: .68rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(240,236,227,.4); margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(4.5rem,13vw,9rem);
  font-weight: 300; line-height: .95; color: var(--cream); margin-bottom: 1.75rem;
}
.hero h1 em { font-style: italic; }
.hero-sub {
  font-family: var(--serif); font-size: clamp(1rem,1.7vw,1.25rem);
  font-weight: 300; color: rgba(240,236,227,.5); line-height: 1.75; margin-bottom: 2.5rem;
}

/* Feature pills */
.hero-features {
  list-style: none; display: flex; flex-wrap: wrap;
  justify-content: center; gap: .5rem; margin-bottom: 3rem;
}
.hf-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--sans); font-size: .52rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(240,236,227,.55);
  border: 1px solid rgba(240,236,227,.1);
  padding: .38rem .85rem;
}
.hf-pill svg { color: rgba(240,236,227,.38); flex-shrink: 0; }
.hf-pill--accent {
  color: rgba(200,69,48,.85);
  border-color: rgba(200,69,48,.25);
}
.hf-pill--accent svg { color: rgba(200,69,48,.65); }

/* CTA row */
.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.btn-primary {
  background: transparent; color: var(--cream);
  border-color: var(--cream); font-weight: 500;
}
.btn-primary:hover { background: rgba(240,236,227,.07); }
.btn-ghost { color: rgba(240,236,227,.45); border-color: rgba(240,236,227,.18); }
.btn-ghost:hover { color: rgba(240,236,227,.75); border-color: rgba(240,236,227,.4); background: transparent; }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  font-size: .63rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(240,236,227,.28);
  font-family: var(--sans);
}
.scroll-line { width: 1px; height: 48px; background: rgba(240,236,227,.2); animation: grow 2s ease-in-out infinite; }
@keyframes grow { 0%,100% { transform: scaleY(0); opacity: 0; } 50% { transform: scaleY(1); opacity: 1; } }

/* ── JOURNEY ─────────────────────────────────────────── */
.journey { position: relative; height: 1200vh; }

/* Sticky frame: flex-center so the square video is centered */
.journey-sticky {
  position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
}

/*
  Video is 1:1 (square from Higgsfield).
  We size it as 100vh × 100vh so it fills the viewport HEIGHT exactly — no zoom,
  no crop. On a 1440×900 screen → 900×900 video centered. The glass panels
  (280px each, absolute) cover the dark ink letterbox areas on the sides.
*/
#main-video {
  height: 100vh;
  width: 100vh;   /* square */
  object-fit: cover;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
}

/* Vignette covers full sticky area (letterbox + video) */
.vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 90% at 50% 50%, transparent 40%, rgba(0,0,0,.5) 100%);
}


/* ── GLASS PANELS ─────────────────────────────────────── */
.panel { position: absolute; top: 0; bottom: 0; z-index: 10; width: 280px; -webkit-backdrop-filter: blur(28px) saturate(1.1); backdrop-filter: blur(28px) saturate(1.1); background: var(--glass); display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 2rem; }
.panel-left  { left: 0;  border-right: 1px solid var(--glass-border); }
.panel-right { right: 0; border-left:  1px solid var(--glass-border); }

/* ── LEFT PANEL — city nav ─────────────────────────────── */
.city-nav { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.city-nav li { display: flex; align-items: flex-start; gap: .75rem; opacity: .28; transition: opacity .4s ease; }
.city-nav li.active { opacity: 1; }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cream); flex-shrink: 0; margin-top: .32rem; transition: transform .3s, background .3s; }
.city-nav li.active .nav-dot { transform: scale(1.8); background: var(--red); }
.nav-text { display: flex; flex-direction: column; gap: .15rem; }
.nav-label { font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); }
.nav-date  { font-family: var(--sans); font-size: .53rem; letter-spacing: .1em; color: rgba(240,236,227,.38); }

/* ── CENTER OVERLAY — bold red city name ─────────────── */
/* Covers full width: the scrim blends video + letterbox areas at the bottom */
.city-overlay { position: absolute; bottom: 0; left: 0; right: 0; z-index: 8; height: 52%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.overlay-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%); }
.overlay-content { position: relative; text-align: center; padding: 0 2rem 3.5rem; width: 100%; }
.overlay-num { font-family: var(--sans); font-size: .63rem; letter-spacing: .3em; color: rgba(255,255,255,.4); margin-bottom: .65rem; }
.overlay-name { font-family: var(--serif); font-size: clamp(3.5rem,8vw,7rem); font-weight: 600; font-style: italic; color: var(--red); line-height: 1; margin-bottom: .6rem; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.overlay-play { font-family: var(--sans); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.32); }

/* ── RIGHT PANEL — itinerary ─────────────────────────── */
.city-detail {
  position: absolute; inset: 0;
  padding: 2.5rem 2rem 2rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.city-detail.active { opacity: 1; pointer-events: auto; }

/* meta: counter · region */
.cd-meta {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(240,236,227,.12);
}
.cd-num {
  font-family: var(--sans); font-size: .52rem; font-weight: 700;
  letter-spacing: .2em; color: var(--red);
}
.cd-meta-sep { color: rgba(240,236,227,.18); font-size: .52rem; }
.cd-region {
  font-family: var(--sans); font-size: .46rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(240,236,227,.38);
}

/* city name */
.cd-city {
  font-family: var(--serif); font-size: clamp(1.9rem,2.6vw,2.7rem);
  font-weight: 300; font-style: italic; color: var(--cream);
  line-height: .92; margin-bottom: .6rem;
}

/* play — italic serif, NOT uppercase */
.cd-play {
  font-family: var(--serif); font-size: clamp(.82rem,.95vw,.95rem);
  font-weight: 300; font-style: italic;
  color: rgba(200,69,48,.9);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(240,236,227,.12);
}

/* description */
.cd-desc {
  font-family: var(--serif); font-size: clamp(.8rem,.9vw,.88rem);
  font-weight: 300; line-height: 1.85; color: rgba(240,236,227,.72);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(240,236,227,.12);
}

/* stops — icon + text, no boxes */
.cd-stops { list-style: none; display: flex; flex-direction: column; gap: .05rem; }
.cd-stop {
  display: flex; align-items: center; gap: .65rem;
  padding: .52rem 0;
  font-family: var(--serif); font-size: clamp(.82rem,.9vw,.88rem);
  font-weight: 300; line-height: 1.3;
  color: rgba(240,236,227,.88);
}
.cd-stop svg { flex-shrink: 0; }

/* icon colors by category */
.cd-stop--landmark svg { color: rgba(240,236,227,.6); }
.cd-stop--tour     svg { color: rgba(240,236,227,.6); }
.cd-stop--museum   svg { color: rgba(240,236,227,.6); }
.cd-stop--food     svg { color: var(--red); }
.cd-stop--hotel    svg { color: rgba(240,236,227,.35); }
.cd-stop--theater  svg { color: var(--red); }
.cd-stop--plane    svg { color: rgba(240,236,227,.3); }

/* date footer */
.cd-date {
  font-family: var(--sans); font-size: .46rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(240,236,227,.4);
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240,236,227,.12);
}

/* ── REALITY SECTION ─────────────────────────────────── */
.reality-section { background: var(--ink); padding: 8rem 4rem; text-align: center; }
.reality-inner { max-width: 1100px; margin: 0 auto; }
.reality-inner h2 { font-family: var(--serif); font-size: clamp(3rem,7vw,6rem); font-weight: 300; line-height: .95; color: var(--cream); margin: 1.5rem 0 1rem; }
.reality-inner h2 em { font-style: italic; }
.reality-sub { font-family: var(--serif); font-size: clamp(1rem,1.4vw,1.2rem); font-weight: 300; color: rgba(240,236,227,.38); max-width: 560px; margin: 0 auto 4rem; line-height: 1.7; }
.reality-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; text-align: left; }
.reality-card { padding: 2.25rem 2rem; border: 1px solid var(--glass-border); display: flex; flex-direction: column; gap: 1rem; }
.reality-card .rc-icon { width: 36px; height: 36px; color: var(--cream); opacity: .55; flex-shrink: 0; }
.reality-card h3 { font-family: var(--sans); font-size: .63rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); }
.reality-card p { font-family: var(--serif); font-size: .95rem; font-weight: 300; line-height: 1.72; color: rgba(240,236,227,.42); }

/* ── CTA ─────────────────────────────────────────────── */
.cta-section { background: var(--ink); min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; }
.cta-inner { max-width: 620px; }
.cta-inner .eyebrow { margin-bottom: 1.5rem; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(3rem,9vw,7rem); font-weight: 300; line-height: .95; color: var(--cream); margin: 1.5rem 0 2rem; }
.cta-inner h2 em { font-style: italic; }
.cta-price { font-family: var(--serif); font-size: 1.15rem; color: rgba(240,236,227,.55); margin-bottom: .75rem; }
.cta-desc { font-size: .82rem; line-height: 1.9; color: rgba(240,236,227,.3); margin-bottom: 3rem; }
.btn { display: inline-block; padding: 1rem 2.5rem; border: 1px solid rgba(240,236,227,.3); color: var(--cream); text-decoration: none; font-family: var(--sans); font-size: .63rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; transition: background .25s, border-color .25s; }
.btn:hover { background: rgba(240,236,227,.07); border-color: rgba(240,236,227,.6); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ─────────────────────────────────────────────────────
   > 1100px   desktop: pannelli laterali 280px
   ≤ 1100px   tablet:  niente pannelli laterali,
              striscia info glassmorphism in fondo al video
   ≤ 680px    mobile:  stack verticale — video sopra, info sotto
═══════════════════════════════════════════════════════ */

/* ── TABLET (≤1100px)
   I pannelli laterali spariscono perché a queste dimensioni
   il video (100vh) non lascia abbastanza spazio ai lati.
   Il panel-right diventa una striscia orizzontale fissa
   in fondo all'area sticky, sovrapposta al video.          */
@media (max-width: 1100px) {

  /* Video: non può essere più largo del viewport */
  #main-video {
    width: min(100vh, 100vw);
    height: min(100vh, 100vw);
  }

  /* Pannello sinistra: nascosto */
  .panel-left { display: none; }

  /* Pannello destra → striscia info in fondo */
  .panel-right {
    position: absolute;
    bottom: 0; left: 0; right: 0; top: auto;
    width: 100%;
    height: 160px;
    border-left: none; border-right: none; border-top: none;
    background: rgba(12,10,8,0.92);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    backdrop-filter: blur(20px) saturate(1.2);
    padding: 1rem 2rem 1.5rem;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 12;
  }

  /* City detail nella striscia: compatto, no rettangoli */
  .city-detail { padding: 1rem 2rem 1.1rem; justify-content: flex-start; gap: 0; }
  .cd-meta  { margin-bottom: .5rem; padding-bottom: .5rem; }
  .cd-meta-sep, .cd-region, .cd-desc, .cd-date { display: none; }
  .cd-city  { font-size: clamp(.95rem, 1.5vw, 1.15rem); margin-bottom: .35rem; }
  .cd-play  { font-size: .78rem; margin-bottom: .6rem; padding-bottom: .6rem; }
  .cd-stops { flex-direction: row; flex-wrap: wrap; gap: 0 1.2rem; }
  .cd-stop  { padding: .22rem 0; font-size: .75rem; border-bottom: none; }
  .cd-stop::before { font-size: .65rem; }

  /* City overlay: si ferma 160px sopra il bordo inferiore
     così non copre mai la striscia info                    */
  .city-overlay { left: 0; right: 0; bottom: 160px; height: 42%; }
  .overlay-content { text-align: left; padding: 0 2rem 1.5rem 2.5rem; }
  .overlay-name { font-size: clamp(2.8rem, 6vw, 5rem); }
  .overlay-play { font-size: .55rem; }

  /* Reality */
  .reality-section { padding: 6rem 3rem; }
  .reality-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ── MOBILE PORTRAIT (≤680px)
   Stack verticale: video quadrato in cima (100vw × 100vw),
   pannello info sotto. Zero sovrapposizione.                */
@media (max-width: 680px) {

  /* Colonna: video in alto, poi spazio per il panel */
  .journey-sticky {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  /* Video: quadrato full-width */
  #main-video {
    width: 100vw;
    height: 100vw;
    flex-shrink: 0;
  }

  /* Pannello sinistra: nascosto */
  .panel-left { display: none; }

  /* Pannello destra: sotto il video */
  .panel-right {
    position: absolute;
    top: 100vw; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: calc(100vh - 100vw);
    border-left: none; border-right: none;
    border-top: 1px solid var(--glass-border);
    background: var(--glass);
    -webkit-backdrop-filter: blur(28px) saturate(1.1);
    backdrop-filter: blur(28px) saturate(1.1);
    padding: 1rem 1.25rem;
    overflow-y: auto;
    justify-content: flex-start;
  }

  /* City detail: stack verticale sotto il video */
  .city-detail { padding: 1.25rem 1.5rem 1rem; justify-content: flex-start; gap: 0; }
  .cd-meta  { margin-bottom: .75rem; padding-bottom: .55rem; }
  .cd-meta-sep { display: inline; }
  .cd-date { display: none; }
  .cd-city  { font-size: clamp(1.35rem, 6.5vw, 1.75rem); margin-bottom: .35rem; }
  .cd-play  { font-size: clamp(.78rem, 3.3vw, .86rem); margin-bottom: .75rem; padding-bottom: .75rem; }
  .cd-desc  {
    font-size: clamp(.72rem, 3.1vw, .8rem); line-height: 1.65; margin-bottom: .75rem;
    padding-bottom: 0; border-bottom: none;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .cd-stops { flex-direction: column; }
  .cd-stop  { padding: .4rem 0; font-size: clamp(.78rem, 3.3vw, .84rem); }

  /* City overlay: nella metà bassa del video,
     allineata al bordo superiore del panel               */
  .city-overlay {
    left: 0; right: 0;
    bottom: calc(100vh - 100vw);
    height: 55vw;
  }
  .overlay-content { text-align: left; padding: 0 1rem 1.25rem 1.5rem; }
  .overlay-name { font-size: clamp(2.4rem, 11vw, 3.8rem); }
  .overlay-play { display: none; }

  /* Reality & CTA */
  .reality-section { padding: 4rem 1.25rem; }
  .reality-grid { grid-template-columns: 1fr; }
  .reality-card { padding: 1.5rem 1.25rem; }

  /* Hero */
  .hero { padding: 3rem 1.5rem; }
  .hero-badge { font-size: .44rem; }
  .hero-sub { margin-bottom: 2rem; }
  .hero-features { gap: .38rem; margin-bottom: 2.25rem; }
  .hf-pill { font-size: .48rem; padding: .32rem .7rem; }
  .hero-ctas { flex-direction: column; align-items: center; gap: .75rem; margin-bottom: 3rem; }
  .btn { padding: .85rem 2rem; font-size: .58rem; }
}
