/* ───────────────────────────────────────────────────────────────────────────
   TWIP — light cinematic system.
   White warm canvas · violet primary · signal-gold pins · radar-cyan scan.
   ─────────────────────────────────────────────────────────────────────────── */
:root {
  /* surfaces */
  --bg:        #FBFAF9;
  --bg-tint:   #F4F1FB;   /* faint violet wash */
  --panel:     rgba(255,255,255,.66);
  --panel-brd: rgba(27,184,208,.16);
  --hair:      rgba(20,18,28,.08);

  /* ink */
  --ink:       #15131F;
  --ink-2:     #4A4760;
  --ink-3:     #8B8799;

  /* accents — driven by Tweaks (violet primary by default) */
  --violet:    #1BB8D0;
  --violet-2:  #0F90A8;
  --gold:      #F5B43C;
  --gold-2:    #E89518;
  --cyan:      #16B8A6;
  --cyan-glow: #4FD1C5;

  /* shadow */
  --shadow-bubble: 0 18px 40px -18px rgba(36,28,90,.45), 0 4px 14px -6px rgba(36,28,90,.25);
  --shadow-glass:  0 24px 70px -30px rgba(44,34,110,.4);

  --font-brand:   "Space Grotesk", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --motion: 1;            /* 0..1 multiplier set by Tweaks */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; }              /* Lenis owns smooth scroll */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv05", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.tnum { font-variant-numeric: tabular-nums; }

/* warm light field + faint violet aurora behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 8%,  rgba(27,184,208,.14), transparent 55%),
    radial-gradient(90% 80%  at 90% 100%, rgba(245,180,60,.10),  transparent 60%),
    radial-gradient(70% 70%  at 60% 40%,  rgba(79,209,197,.07),  transparent 60%);
}
/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── fixed WebGL canvas behind DOM ── */
#scene {
  position: fixed; inset: 0; z-index: 1;
  width: 100vw; height: 100vh;
  display: block;
}

/* (custom cursor removed — native pointer) */

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .compass {
  width: 30px; height: 30px; position: relative;
  border-radius: 50%; border: 1.6px solid var(--ink);
  display: grid; place-items: center;
}
.brand .compass i {
  width: 2px; height: 14px; background: var(--gold); border-radius: 2px;
  transform-origin: center; transform: rotate(38deg);
  box-shadow: 0 0 8px var(--gold);
  animation: needle 9s ease-in-out infinite;
}
@keyframes needle { 0%,100%{transform:rotate(28deg)} 50%{transform:rotate(64deg)} }
.brand b { font-family: var(--font-brand); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand b span { color: var(--violet); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: -.01em;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links a:not(.cta) { display: none; } }

/* magnetic gold CTA */
.cta {
  --halo: 0 0 0 rgba(245,180,60,0);
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  color: #2A1C00; background: linear-gradient(180deg, #FFCC63, var(--gold));
  box-shadow: 0 8px 24px -8px rgba(245,180,60,.7), inset 0 1px 0 rgba(255,255,255,.6), var(--halo);
  cursor: pointer; will-change: transform;
  transition: box-shadow .25s, transform .18s cubic-bezier(.3,.8,.4,1);
}
.cta:hover { --halo: 0 0 36px rgba(245,180,60,.55); }
.cta .dot { width: 7px; height: 7px; border-radius: 50%; background: #2A1C00; }
.cta.ghost {
  color: var(--ink); background: var(--panel); border: 1px solid var(--panel-brd);
  box-shadow: 0 8px 24px -14px rgba(44,34,110,.4);
}

/* ── stage / scroll structure ── */
.act { position: relative; z-index: 10; }
#wrap { position: relative; z-index: 10; }

/* === ACT 1 — HERO === */
#hero { min-height: 100vh; display: flex; align-items: center; }
.hero-grid {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-globe-space { display: none; } }

.hero-copy { position: relative; left: 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-2); margin-bottom: 22px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(22,184,166,.5); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(22,184,166,.5)} 70%{box-shadow:0 0 0 12px rgba(22,184,166,0)} 100%{box-shadow:0 0 0 0 rgba(22,184,166,0)} }

.headline {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6.4vw, 92px); line-height: .96; letter-spacing: -.035em;
  margin: 0 0 22px; color: var(--ink); text-wrap: balance;
}
.headline .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.headline .char { display: inline-block; will-change: transform; }
/* shared kinetic heading mechanics */
.line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.char { display: inline-block; will-change: transform; }

/* hero intro + map-pin entrance are GSAP-driven (see main.js) with a visible
   resting state, so paused CSS timelines never leave them stuck hidden. */
.headline em { font-style: normal; color: var(--violet); position: relative; }
.headline .scout-underline .char {
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sub {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2);
  max-width: 30ch; margin: 0 0 30px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* glass search bar (from reference) */
.searchbar {
  margin-top: 38px;
  display: flex; align-items: stretch; gap: 4px;
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 16px;
  padding: 6px; max-width: 460px;
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-glass);
}
.sf { flex: 1; display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 12px; }
.sf:hover { background: rgba(27,184,208,.06); }
.sf .ic {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(27,184,208,.12); color: var(--violet-2); flex: none;
}
.sf .ic svg { width: 16px; height: 16px; }
.sf .lab { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.sf .val { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: 1px; }
.sf .ph  { color: var(--ink-3); font-weight: 500; }
.sf-div { width: 1px; background: var(--hair); margin: 8px 0; }
.sf-go {
  flex: none; width: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--violet), var(--violet-2));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(15,144,168,.7);
}
.sf-go svg { width: 18px; height: 18px; }

/* ═══ search-bar icon hover animations ═══ */
.sf-go { transition: transform .2s cubic-bezier(.3,.8,.4,1), box-shadow .25s, background .2s; }
.sf-go svg, .ms-go svg { transition: transform .3s cubic-bezier(.3,.9,.4,1); }
.sf-go:hover { transform: translateY(-2px) scale(1.08); box-shadow: 0 12px 26px -8px rgba(15,144,168,.8); }
.sf-go:hover svg, .ms-mini:hover .ms-go svg { animation: searchSweep .72s ease; }
@keyframes searchSweep {
  0% { transform: rotate(0) scale(1); }
  28% { transform: rotate(-20deg) scale(1.2); }
  58% { transform: rotate(13deg) scale(1.12); }
  100% { transform: rotate(0) scale(1); }
}
.sf .ic { transition: color .2s; }
.sf .ic svg { transition: transform .3s cubic-bezier(.3,1.2,.4,1); }
.searchbar .sf:hover .ic { color: var(--violet-2); }
.searchbar .sf:nth-of-type(1):hover .ic svg { animation: icoPinHop .6s cubic-bezier(.3,1.4,.5,1); }
.searchbar .sf:nth-of-type(3):hover .ic svg { animation: icoCalPop .6s cubic-bezier(.3,1.4,.5,1); }
@keyframes icoPinHop { 0%,100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-5px) scale(1.18); } }
@keyframes icoCalPop { 0%,100% { transform: rotate(0) scale(1); } 35% { transform: rotate(-8deg) scale(1.2); } 70% { transform: rotate(6deg) scale(1.12); } }

/* ═══ BENEFITS band — above the map (website only) ═══ */
#benefits { position: relative; z-index: 10; padding: 12vh clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 80%, transparent) 20%, color-mix(in srgb, var(--bg) 80%, transparent) 80%, transparent 100%); }
.benefits-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 2fr;
  gap: clamp(28px, 5vw, 76px); align-items: center; }
.benefits-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 56px);
  line-height: 1.0; letter-spacing: -.035em; color: var(--ink); margin: 0; }
.benefits-head p { color: var(--ink-2); font-size: 16px; line-height: 1.5; margin: 16px 0 0; max-width: 32ch; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.benefit .b-ico { width: 62px; height: 62px; object-fit: contain; display: block; margin-bottom: 15px;
  filter: drop-shadow(0 7px 16px rgba(20,18,30,.2)); transform-origin: bottom center;
  transition: transform .4s cubic-bezier(.3,.9,.4,1); }
.benefit h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 0 0 7px; }
.benefit p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; }
.benefit.earth .b-ico { transform-origin: center center; }
@media (prefers-reduced-motion: no-preference) {
  /* always-on: earth spins in place; bag & tickets burst every ~5s */
  .benefit.earth .b-ico { animation: bSpin 9s linear infinite; }
  .benefit.bag .b-ico   { animation: bHop 5s ease-in-out infinite; }
  .benefit.tix .b-ico   { animation: bWiggle 5s ease-in-out infinite; }
  /* hover just speeds them up */
  .benefit.earth:hover .b-ico { animation-duration: 3.2s; }
  .benefit.bag:hover .b-ico   { animation-duration: 1s; }
  .benefit.tix:hover .b-ico   { animation-duration: 1.3s; }
}
@keyframes bSpin { to { transform: rotate(360deg); } }
@keyframes bHop { 0%,12%,100% { transform: translateY(0) scale(1); } 4% { transform: translateY(-11px) scale(1.05,.95); } 8% { transform: translateY(0) scale(1.05,.95); } }
@keyframes bWiggle { 0%,16%,100% { transform: rotate(0) scale(1); } 5% { transform: rotate(-11deg) scale(1.06); } 11% { transform: rotate(9deg) scale(1.04); } }
@media (max-width: 900px) { .benefits-inner { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; gap: 24px; } }

/* floating avatar + add (reference) */
.fab {
  position: fixed; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 40px);
  z-index: 45; display: flex; align-items: center; gap: -14px;
}
.fab .ava {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; box-shadow: var(--shadow-bubble);
}
.fab .plus {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  margin-left: -16px; color: #fff; font-size: 22px; line-height: 1;
  background: linear-gradient(180deg, #FF7A6B, #F0533F);
  box-shadow: 0 10px 24px -8px rgba(240,83,63,.7);
  display: grid; place-items: center;
}

/* ── photo-bubble pins (projected onto the 3D globe) ── */
#pins { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
.pin {
  position: absolute; transform: translate(-50%, -100%);
  will-change: transform, opacity; pointer-events: auto;
  --pin-accent: var(--gold);
}
.pin .bubble {
  position: relative; width: var(--sz, 92px); height: var(--sz, 92px);
  border-radius: 50% 50% 50% 6px;
  transform: rotate(45deg);
  background: #fff; padding: 5px;
  box-shadow: var(--shadow-bubble);
  overflow: hidden;
}
.pin .bubble > * { transform: rotate(-45deg); }
.pin image-slot, .pin .ph-img {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  transform: rotate(-45deg);
}
.pin .ph-img {
  background:
    repeating-linear-gradient(135deg, rgba(27,184,208,.16) 0 7px, rgba(27,184,208,.05) 7px 14px),
    var(--bg-tint);
  display: grid; place-items: center;
  font-family: ui-monospace, monospace; font-size: 9px; color: var(--violet-2);
  letter-spacing: .03em; text-align: center; padding: 6px;
}
/* stem dot under the pin (reference's orange marker) */
.pin .stem {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--pin-accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--pin-accent) 26%, transparent), 0 6px 12px -4px rgba(0,0,0,.4);
}
.pin .stem::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid var(--pin-accent); opacity: 0;
}
.pin.bloom .stem::after { animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0%{transform:scale(.6);opacity:.7} 100%{transform:scale(3.4);opacity:0} }

/* price + score tag */
.pin .tag {
  position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1px;
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 11px;
  padding: 7px 11px; white-space: nowrap;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px -12px rgba(44,34,110,.45);
}
.pin .tag .price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.pin .tag .price b { color: var(--gold-2); }
.pin .tag .meta { font-size: 10.5px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.pin .tag .meta em { font-style: normal; color: var(--cyan); }

/* scroll hint */
.scroll-hint {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
  transition: opacity .4s;
}
.scroll-hint .mouse {
  width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--ink-3);
  position: relative;
}
.scroll-hint .mouse i {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 6px; margin-left: -1.5px;
  background: var(--violet); border-radius: 2px; animation: wheel 1.6s infinite;
}
@keyframes wheel { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 100%{opacity:0;transform:translateY(9px)} }

/* === ACT 2 — ASK THE SCOUT === */
#scout { min-height: 150vh; position: relative; }

/* phone-in-hand mockup (right side) */
.scout-phone { position: relative; margin-left: auto; width: min(420px, 46vw); display: flex; justify-content: center; }
/* photo-real hand gripping the phone: the live app sits in the screen slot,
   the chroma-keyed hand PNG (transparent screen) layers IN FRONT so the
   fingers/bezel/notch wrap the device — grip is baked into the photo.
   Slot geometry = measured green-screen bounds of the source image. */
.sp-stage { position: relative; width: 100%; aspect-ratio: 1536 / 2752; transform-origin: 50% 92%; }
.sp-slot { position: absolute; left: 31.38%; top: 16.5%; width: 44.53%; height: 55.67%; overflow: hidden; background: #F7F5F0; z-index: 1; }
.sp-live { position: absolute; top: 0; left: 0; width: 390px; height: 878px; border: 0;
  transform-origin: top left; transform: scale(var(--sp-scale, .43)); pointer-events: none; }
.sp-handphone { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; display: block;
  /* long, gradual dissolve of the wrist/forearm so it melts into the background — fully gone before the image edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0,0,0,.72) 80%, rgba(0,0,0,.34) 88%, transparent 95%);
          mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0,0,0,.72) 80%, rgba(0,0,0,.34) 88%, transparent 95%); }
/* gradual blur veil over the wrist — softens the dissolve so it reads as one with the page */
.sp-stage::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 34%; z-index: 3; pointer-events: none;
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
}
/* ultra-lively hand: swings left↔right (pivoting at the wrist) while the
   Twipper section is in view */
@media (prefers-reduced-motion: no-preference) {
  body.at-scout .sp-stage { animation: handSway 3.2s cubic-bezier(.45,0,.55,1) infinite; }
}
@keyframes handSway {
  0%   { transform: translateX(-30px) rotate(-6deg); }
  25%  { transform: translateX(0)     rotate(0deg) translateY(-6px); }
  50%  { transform: translateX(30px)  rotate(6deg); }
  75%  { transform: translateX(0)     rotate(0deg) translateY(-6px); }
  100% { transform: translateX(-30px) rotate(-6deg); }
}
@media (max-width: 820px) {
  .scout-phone { margin: 0 auto 7vh; width: min(340px, 82vw); }
}
.scout-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scout-stage {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end;
  padding: 0 clamp(20px, 4vw, 56px);
}
.scout-head {
  position: absolute; top: 12vh; left: clamp(20px,4vw,56px); right: clamp(20px,4vw,56px);
  max-width: 560px;
}
.scout-head .eyebrow { color: var(--cyan); }
.scout-head .eyebrow .pulse { background: var(--violet); box-shadow:0 0 0 0 rgba(27,184,208,.5); }
.scout-head h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02; letter-spacing: -.03em; margin: 0; color: var(--ink);
}
.scout-head p { color: var(--ink-2); font-size: 16px; max-width: 42ch; margin: 14px 0 0; }

/* glass concierge panel */
.concierge {
  position: relative; margin-left: auto;
  width: min(440px, 42vw); max-width: 440px;
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 22px;
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: var(--shadow-glass);
  padding: 18px; will-change: transform, opacity;
}
@media (max-width: 820px) {
  .scout-stage { align-items: flex-end; }
  .concierge { width: auto; margin: 0 auto 5vh; max-width: 520px; }
  .scout-head { top: 8vh; }
}
.cc-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; border-bottom: 1px solid var(--hair); }
.cc-orb {
  width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 35% 30%, var(--cyan-glow), var(--cyan) 60%, var(--violet));
  box-shadow: 0 0 16px rgba(22,184,166,.55);
}
.cc-orb i { position:absolute; inset:0; border-radius:50%; border:1.5px solid rgba(255,255,255,.6); animation: pulse 2.6s infinite; }
.cc-head .t b { font-family: var(--font-display); font-size: 15px; font-weight: 700; display: block; }
.cc-head .t span { font-size: 11.5px; color: var(--cyan); font-weight: 600; }

.chat { display: flex; flex-direction: column; gap: 10px; padding: 14px 4px 6px; }
.msg { max-width: 86%; font-size: 13.5px; line-height: 1.5; padding: 10px 13px; border-radius: 14px; }
.msg.user { align-self: flex-end; background: linear-gradient(180deg, var(--violet), var(--violet-2)); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot  { align-self: flex-start; background: rgba(20,18,28,.05); color: var(--ink); border-bottom-left-radius: 5px; }

/* tool-call chips */
.tools { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 4px 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-family: ui-monospace, monospace;
  font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 9px;
  background: rgba(22,184,166,.1); color: var(--cyan); border: 1px solid rgba(22,184,166,.22);
  opacity: 0;
}
.chip .sp {
  width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor;
  border-top-color: transparent; animation: spin .7s linear infinite;
}
.chip.done { background: rgba(27,184,208,.1); color: var(--violet-2); border-color: rgba(27,184,208,.24); }
.chip.done .sp { animation: none; border: 0; width: 12px; height: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* result rail + factor radar */
.cc-result { padding: 12px 4px 2px; opacity: 0; }
.cc-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.cc-tab {
  flex: 1; text-align: left; border: 1px solid var(--hair); background: rgba(255,255,255,.5);
  border-radius: 11px; padding: 8px 10px; cursor: pointer; transition: .2s;
}
.cc-tab.active { border-color: var(--violet); background: rgba(27,184,208,.08); box-shadow: 0 0 0 3px rgba(27,184,208,.1); }
.cc-tab .rank { font-size: 10px; font-weight: 700; color: var(--gold-2); letter-spacing: .08em; }
.cc-tab .ti { font-size: 12px; font-weight: 600; color: var(--ink); margin-top: 2px; line-height: 1.2; }
.cc-tab .sc { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--violet-2); margin-top: 4px; }

.radar-wrap { display: flex; gap: 16px; align-items: center; }
.radar-wrap svg { width: 150px; height: 150px; flex: none; }
.radar-side { flex: 1; min-width: 0; }
.radar-side .why { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.radar-side .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.radar-side .price-row .pp { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); }
.radar-side .price-row .pn { font-size: 12px; color: var(--ink-3); }
.radar-side .matchpill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: rgba(245,180,60,.16); color: var(--gold-2);
}
.radar-poly { transition: none; }
.radar-axis { stroke: var(--hair); stroke-width: 1; fill: none; }
.radar-ring { stroke: var(--hair); stroke-width: 1; fill: none; }
.radar-lab { font-size: 8.5px; fill: var(--ink-3); font-weight: 600; font-family: var(--font-body); }

/* === FINALE / FOOTER === */
.finale { position: relative; z-index: 10; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 8vh 0 0; }
.finale-inner { max-width: calc(760px + 2 * clamp(20px,4vw,56px)); margin: 0 auto; text-align: center; padding-left: clamp(20px,4vw,56px); padding-right: clamp(20px,4vw,56px); box-sizing: border-box; }
.finale-scout { height: clamp(130px, 18vw, 188px); width: auto; display: block; margin: 0 auto 20px; filter: drop-shadow(0 18px 26px rgba(15,144,168,.24)); user-select: none; -webkit-user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .finale-scout { animation: finaleScoutBob 5s ease-in-out infinite; }
  @keyframes finaleScoutBob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
}
.finale .eyebrow { justify-content: center; color: var(--gold-2); }
.finale .eyebrow .pulse { background: var(--gold); box-shadow: 0 0 0 0 rgba(245,180,60,.5); }
.finale h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px,5vw,68px); line-height: 1; letter-spacing: -.035em; margin: 0 0 14px; }
.finale p { color: var(--ink-2); font-size: 17px; margin: 0 auto 30px; max-width: 46ch; }
.capture { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 14px; padding: 6px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-glass); }
.capture input { flex: 1; border: 0; background: transparent; outline: none; font: inherit; font-size: 15px; color: var(--ink); padding: 0 14px; }
.capture input::placeholder { color: var(--ink-3); }
.site-foot { margin-top: 9vh; border-top: 1px solid var(--hair); padding: 26px clamp(20px,4vw,56px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1320px; margin-left: auto; margin-right: auto; width: 100%; }
.site-foot .fb { display: flex; align-items: center; gap: 10px; font-family: var(--font-brand); font-weight: 700; }
.site-foot .fb span { color: var(--violet); }
.site-foot .fb-logo { height: 26px; width: auto; display: block; }
.site-foot .links { display: flex; gap: 22px; }
.site-foot a { color: var(--ink-3); text-decoration: none; font-size: 13px; font-weight: 500; }
.site-foot a:hover { color: var(--ink); }
.site-foot .meta { color: var(--ink-3); font-size: 12px; }

/* coloured footer band */
.site-foot { background: var(--violet-2); border-top: 0; border-radius: 0; max-width: none; margin-left: 0; margin-right: 0; padding-top: 82px; padding-bottom: 82px; }
.site-foot .fb { color: #fff; letter-spacing: -.03em; }
.site-foot .fb span { color: var(--gold); }
.site-foot a { color: rgba(255,255,255,.76); }
.site-foot a:hover { color: #fff; }
.site-foot .meta { color: rgba(255,255,255,.6); }

/* ── tweaks panel host hidden by default; React owns it ── */
#tweaks-root:empty { display: none; }

/* ════════════════════════════════════════════════════════════════════════
   ASK THE SCOUT — minimal stay cards (no scores / radar / jargon)
   ════════════════════════════════════════════════════════════════════════ */
.cc-cards { display: flex; flex-direction: column; gap: 9px; padding: 12px 4px 2px; }
.stay {
  display: flex; align-items: center; gap: 13px; padding: 9px; border-radius: 15px;
  background: rgba(255,255,255,.55); border: 1px solid var(--hair);
  transition: border-color .2s, transform .2s;
}
.stay:hover { border-color: var(--violet); transform: translateX(3px); }
.stay-ph { width: 58px; height: 58px; flex: none; border-radius: 12px; overflow: hidden; }
.stay-ph image-slot { display: block; width: 100%; height: 100%; }
.stay-body { flex: 1; min-width: 0; }
.stay-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.2; }
.stay-why { font-size: 12px; color: var(--ink-2); margin-top: 3px; line-height: 1.35; }
.stay-price { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--violet-2); white-space: nowrap; }
.stay-price span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10px; color: var(--ink-3); text-align: right; }

/* ════════════════════════════════════════════════════════════════════════
   DESTINATIONS — the map · ultra-animated locations
   ════════════════════════════════════════════════════════════════════════ */
#destinations { min-height: 185vh; position: relative; }
.dest-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* flat aerial map — a slowly-panning dotted plane (camera drifting overhead) */
.dest-map {
  position: absolute; left: 0; top: 0; bottom: 0; width: 62%; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
          mask: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
}
@media (max-width: 900px) { .dest-map { width: 100%; opacity: .45; } }
.dest-map-plane { position: absolute; inset: 0; }
/* Italy sticker — real regional geometry, drawn with d3 */
.map-world { position: absolute; inset: 0; }
@keyframes routeFlow { to { stroke-dashoffset: -26; } }
.map-edge { position: absolute; inset: 0; pointer-events: none; background: none; }

/* map photo-location pins */
.map-pin { position: absolute; transform: translate(-50%, -100%); --sz: 68px; }
.map-bob { animation: bob 5s ease-in-out infinite var(--bd); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.map-pin .bubble {
  position: relative; width: var(--sz); height: var(--sz);
  border-radius: 50% 50% 50% 6px; transform: rotate(45deg);
  background: #fff; padding: 5px; box-shadow: var(--shadow-bubble); overflow: hidden;
}
.map-pin .bubble > * { transform: rotate(-45deg); }
.map-pin image-slot { display: block; width: 100%; height: 100%; border-radius: 50%; transform: rotate(-45deg); }
.map-pin .citypic { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.map-pin .stem {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 26%, transparent), 0 6px 12px -4px rgba(0,0,0,.4);
}
.map-pin .stem::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: 0; }
.map-pin.bloom .stem::after { animation: ping 2s ease-out infinite var(--bd); }
.reduce-motion .map-pin.bloom .stem::after, .reduce-motion .map-bob, .reduce-motion .dest-route { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .map-bob, .map-pin.bloom .stem::after, .dest-route { animation: none !important; } }
.map-pin .tag {
  position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%);
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 9px; padding: 4px 9px; white-space: nowrap;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 20px -12px rgba(44,34,110,.4);
}
.map-pin .tag .meta { font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }

.dest-stage {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end;
  max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px);
}
@media (max-width: 900px) { .dest-stage { justify-content: center; } }
.dest-copy { max-width: 540px; }
.dest-head {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 54px); line-height: 1.0; letter-spacing: -.03em;
  margin: 0 0 20px; color: var(--ink); white-space: nowrap;
}
@media (max-width: 600px) { .dest-head { white-space: normal; font-size: clamp(30px, 9vw, 44px); } }

/* ════════════════════════════════════════════════════════════════════════
   HOW IT WORKS — ultra-animated three-step
   ════════════════════════════════════════════════════════════════════════ */
#how { position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 14vh clamp(20px,4vw,56px); }
.how-inner { max-width: 1180px; margin: 0 auto; width: 100%; }
.how-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.how-head .eyebrow { justify-content: center; }
.how-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 88px); line-height: .95; letter-spacing: -.04em; margin: 0;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 26px; } }
.step {
  position: relative; background: var(--panel); border: 1px solid var(--panel-brd);
  border-radius: 22px; padding: 30px 26px 28px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -34px rgba(44,34,110,.5);
}
.step-no { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--violet); letter-spacing: .14em; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; margin: 6px 0 8px; color: var(--ink); }
.step p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 28ch; }

/* step visuals — simple shapes, lively motion */
.step-viz { position: relative; width: 100%; height: 120px; margin-bottom: 22px; }
.step-viz > * { position: absolute; }

/* 01 Ask — stacking chat bubbles */
.viz-ask .b1, .viz-ask .b2, .viz-ask .b3 { border-radius: 14px; }
.viz-ask .b1 { left: 10px; top: 18px; width: 120px; height: 26px; background: rgba(27,184,208,.16); animation: floaty 4s ease-in-out infinite; }
.viz-ask .b2 { left: 38px; top: 52px; width: 150px; height: 30px; background: linear-gradient(180deg, var(--violet), var(--violet-2)); animation: floaty 4s ease-in-out infinite .5s; }
.viz-ask .b3 { left: 18px; top: 90px; width: 96px; height: 22px; background: rgba(27,184,208,.1); animation: floaty 4s ease-in-out infinite 1s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* 02 Twipper — radar sweep */
.viz-scout { display: grid; place-items: center; }
.viz-scout .ring, .viz-scout .ring.r2 { left: 50%; top: 50%; border-radius: 50%; border: 1.5px solid var(--hair); transform: translate(-50%,-50%); }
.viz-scout .ring { width: 104px; height: 104px; }
.viz-scout .ring.r2 { width: 64px; height: 64px; }
.viz-scout .sweep {
  left: 50%; top: 50%; width: 52px; height: 52px; transform-origin: 0 0;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--cyan) 55%, transparent), transparent 70%);
  border-radius: 0 0 0 52px; animation: radarSpin 2.6s linear infinite;
}
.viz-scout .blip { left: 64%; top: 38%; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 50%, transparent); animation: blipPing 2.6s ease-out infinite; }
@keyframes radarSpin { to { transform: rotate(360deg); } }
@keyframes blipPing { 0%,60%{box-shadow:0 0 0 0 color-mix(in srgb,var(--gold) 50%,transparent)} 80%{box-shadow:0 0 0 12px transparent} 100%{box-shadow:0 0 0 0 transparent} }

/* 03 Stay — pin lands + check */
.viz-stay { display: grid; place-items: center; }
.viz-stay .pin { left: 50%; top: 30px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50% 50% 50% 6px; background: linear-gradient(180deg, var(--violet), var(--violet-2)); transform: rotate(45deg); animation: drop 2.4s ease-in-out infinite; }
.viz-stay .ping { left: 50%; top: 78px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--violet); opacity: 0; animation: landPing 2.4s ease-out infinite; }
.viz-stay .check { left: 50%; top: 33px; width: 14px; height: 8px; margin-left: -7px; border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; transform: rotate(-45deg); }
@keyframes drop { 0%{transform:translateY(-14px) rotate(45deg)} 40%,100%{transform:translateY(0) rotate(45deg)} }
@keyframes landPing { 0%,38%{transform:scale(.4);opacity:0} 45%{opacity:.7} 100%{transform:scale(3);opacity:0} }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brand .compass i, .scroll-hint .mouse i, .eyebrow .pulse, .cc-orb i, .pin.bloom .stem::after { animation: none !important; }
}
.reduce-motion .pin.bloom .stem::after,
.reduce-motion .scroll-hint .mouse i { animation: none !important; }

/* ════════════════════════════════════════════════════════════════════════
   MOBILE polish — spacing + no clipped text on small screens
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .headline { font-size: clamp(38px, 11vw, 58px); }
  .sub { font-size: 15.5px; max-width: 40ch; }
  .hero-actions { gap: 10px; }
  .hero-actions .cta, .hero-actions .cta.ghost { padding: 12px 18px; font-size: 13.5px; }
  /* hero search wraps so labels never clip */
  .searchbar { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .searchbar .sf { flex: 1 1 42%; min-width: 0; }
  .searchbar .sf-div { display: none; }
  .searchbar .sf-go { flex: 1 1 100%; width: auto; height: 46px; border-radius: 12px; }
  .scout-head { top: 7vh; }
  .scout-head h2 { font-size: clamp(27px, 8vw, 40px); }
  .scout-head p { font-size: 14px; }
  .concierge { padding: 14px; border-radius: 18px; margin-bottom: 4vh; }
  .stay { gap: 10px; padding: 8px; }
  .stay-ph { width: 50px; height: 50px; }
  .stay-name { font-size: 13.5px; }
  .stay-why { font-size: 11.5px; }
  .stay-price { font-size: 15px; }
  .dest-head { font-size: clamp(28px, 9vw, 42px); }
  .dest-copy .sub { font-size: 14.5px; }
  .how-title { font-size: clamp(34px, 11vw, 56px); }
  .step { padding: 24px 20px; }
  .step h3 { font-size: 21px; }
  .step p { font-size: 14px; }
  .finale h2 { font-size: clamp(30px, 9vw, 52px); }
  .finale p { font-size: 15px; }
  .capture { flex-direction: column; gap: 6px; padding: 10px; }
  .capture input { text-align: center; padding: 9px; }
  .capture .cta { width: 100%; justify-content: center; }
  .site-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .map-pin { --sz: 52px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-ONLY homepage tweaks (phone view)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  /* hero content clears the taller app-style header + search bar */
  #hero { padding-top: 176px; }
}
@media (max-width: 600px) {
  /* tighter vertical rhythm: −50px between download↔scouted, −80px between scouted↔ocean-view */
  #benefits { padding-top: calc(12vh - 50px); padding-bottom: calc(12vh - 80px); }
  /* pull the ocean-view section up a further 100px (less gap after scouted) */
  #destinations { margin-top: -100px; }
  /* tighter gap between ocean-view and "on the radar" (−300px) */
  #featured { margin-top: -300px; }

  /* DESTINATIONS map — lifted higher + fully visible (no fade/wash) on mobile */
  .dest-map { opacity: 1; transform: translateY(-250px); -webkit-mask: none; mask: none; }

  /* FOOTER — full-bleed across the page, square top corners */
  .finale { padding-left: 0; padding-right: 0; }
  .finale-inner { padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); box-sizing: border-box; }
  .site-foot { border-radius: 0; max-width: none; margin-left: 0; margin-right: 0; }
}

/* BENEFITS — the three icons appear ONE AT A TIME with quick in/out motion */
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .benefits-grid { position: relative; display: block; min-height: 250px; }
  .benefits-grid .benefit {
    position: absolute; left: 0; right: 0; top: 0; text-align: center; opacity: 0;
    animation: benCycle 8.4s cubic-bezier(.4,0,.2,1) infinite both;
  }
  .benefits-grid .benefit .b-ico { margin-left: auto; margin-right: auto; }
  .benefits-grid .benefit.bag { animation-delay: 2.8s; }
  .benefits-grid .benefit.tix { animation-delay: 5.6s; }
}
@keyframes benCycle {
  0%   { opacity: 0; transform: translateY(24px) scale(.9); }
  5%   { opacity: 1; transform: translateY(0) scale(1); }
  28%  { opacity: 1; transform: translateY(0) scale(1); }
  34%  { opacity: 0; transform: translateY(-24px) scale(.92); }
  100% { opacity: 0; transform: translateY(-24px) scale(.92); }
}

/* destinations search bar — Location dropdown options */
.ds-pop { min-width: 220px; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.ds-opt { text-align: left; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); padding: 10px 12px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.ds-opt:hover { background: var(--hair-2, rgba(20,18,28,.05)); }

/* ═══════════════════════════════════════════════════════════════
   Mobile bottom tab bar — mirrors the in-app shell. Site only,
   shown at mobile widths. Injected by botbar.js.
   ═══════════════════════════════════════════════════════════════ */
.site-botbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .site-botbar {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1200;
    width: min(456px, calc(100% - 22px)); height: 64px;
    display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 4px;
    background: rgba(255,255,255,.55);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(1.06);
            backdrop-filter: blur(30px) saturate(200%) brightness(1.06);
    border: 1px solid rgba(20,18,28,.08); border-radius: 26px; overflow: hidden;
    box-shadow: 0 16px 40px -12px rgba(20,18,40,.4),
                inset 0 1.5px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.2);
    font-family: "Inter", system-ui, sans-serif;
    transition: height .42s cubic-bezier(.3,1.2,.4,1), width .42s cubic-bezier(.3,1.2,.4,1),
                border-radius .42s cubic-bezier(.3,1.2,.4,1);
  }
  .site-botbar::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background:
      linear-gradient(115deg, transparent 18%, rgba(255,255,255,.5) 34%, rgba(255,255,255,.06) 46%, transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.08) 44%, transparent 74%);
    opacity: .95;
  }
  .site-botbar a {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--ink-3); text-decoration: none; font-weight: 600; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .site-botbar a svg {
    width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform .35s cubic-bezier(.3,1.2,.4,1);
  }
  .site-botbar a .bb-l { font-size: 10.5px; line-height: 1; }
  .site-botbar a.active { color: var(--violet-2); }
  .site-botbar a.active svg { transform: translateY(-1px) scale(1.08); }
  .site-botbar a .tab-scout {
    width: 27px; height: 27px; display: block; background-color: currentColor;
    -webkit-mask: url("icons/twip-mark.png") center / contain no-repeat;
            mask: url("icons/twip-mark.png") center / contain no-repeat;
    transition: transform .35s cubic-bezier(.3,1.2,.4,1);
  }
  .site-botbar a.active .tab-scout { transform: translateY(-1px) scale(1.08); }
  .site-botbar.mini { height: 52px; width: min(360px, calc(100% - 70px)); border-radius: 21px; }
  .site-botbar.mini a { gap: 0; }
  .site-botbar.mini a .bb-l { display: none; }
}
.theme-dark .site-botbar { background: rgba(40,36,52,.55); border-color: rgba(255,255,255,.14); }


/* ═══ Twipper buddy — the mascot speaking in every section ═══ */
.twip-buddy { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.twip-buddy img { height: 92px; width: auto; display: block; flex: none; filter: drop-shadow(0 14px 22px rgba(20,18,30,.18)); }
.twip-buddy .say { position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.4; max-width: 30ch; box-shadow: 0 14px 28px -18px rgba(20,18,30,.4); }
.twip-buddy .say::before { content: ""; position: absolute; left: -5px; top: 50%; margin-top: -5px; width: 9px; height: 9px; background: #fff; border-left: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { .twip-buddy img { animation: twipBob 5.4s ease-in-out infinite; } }
@keyframes twipBob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-7px) rotate(1.5deg); } }
@media (max-width: 560px) { .twip-buddy img { height: 74px; } .twip-buddy .say { font-size: 13px; } }
.finale-say { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px,1.5vw,18px); color: var(--violet-2); margin: -14px 0 26px; letter-spacing: -.01em; }

/* ═══ HERO — Twipper talking on the right, globe stays on the left ═══ */
.hero-grid { grid-template-columns: 1fr minmax(0,1fr) clamp(160px,16vw,232px); }
.hero-twip { position: relative; align-self: end; padding-bottom: 7vh; display: grid; justify-items: center; gap: 12px; }
.hero-twip img { width: 100%; max-width: 232px; display: block; filter: drop-shadow(0 22px 34px rgba(20,18,30,.22)); }
@media (prefers-reduced-motion: no-preference) { .hero-twip img { animation: twipBob 5.4s ease-in-out infinite; } }
.hero-twip .say { position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 11px 14px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--ink-2); text-align: center; box-shadow: 0 18px 34px -18px rgba(20,18,30,.4); }
.hero-twip .say::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; width: 9px; height: 9px; background: #fff; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transform: rotate(45deg); }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-twip { grid-column: 2; grid-row: 2; align-self: start; justify-items: start; padding-bottom: 0; margin-top: 16px; display: flex; align-items: center; gap: 12px; }
  .hero-twip img { width: 86px; max-width: none; flex: none; }
  .hero-twip .say { text-align: left; }
  .hero-twip .say::after { left: -5px; bottom: auto; top: 50%; margin: -5px 0 0; border: 0; border-left: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
}
@media (max-width: 900px) { .hero-twip { grid-column: 1; grid-row: 2; } }

/* hero pain points */
.hero-pains { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; max-width: 46ch; }
.hero-pains li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: var(--ink-2); line-height: 1.35; }
.pain-x { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(232,149,24,.14); color: var(--gold-2); font-weight: 700; font-size: 13px; line-height: 1; }
@media (max-width: 600px) { .hero-pains { gap: 8px; } .hero-pains li { font-size: 14px; } }

/* hero headline sizing for the longer problem line */
#hero .headline { font-size: clamp(35px, 4.16vw, 58px); }
#hero .headline .line { white-space: nowrap; }
.hero-grid { grid-template-columns: .82fr 1.28fr clamp(160px,16vw,232px); }
@media (max-width: 600px) { #hero .headline { font-size: clamp(28px, 8.6vw, 39px); } }

/* Twipper up-left of the phone in the Ask-Twipper section */
.scout-twip { position: absolute; right: calc(100% - 26px); top: 1%; width: clamp(180px, 20vw, 260px); display: grid; justify-items: center; gap: 12px; z-index: 4; }
.scout-twip img { width: 100%; display: block; filter: drop-shadow(0 24px 36px rgba(20,18,30,.22)); }
@media (prefers-reduced-motion: no-preference) { .scout-twip img { animation: twipBob 5.4s ease-in-out infinite; } }
.scout-twip .say { position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 11px 14px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--ink-2); text-align: center; box-shadow: 0 18px 34px -18px rgba(20,18,30,.4); }
.scout-twip .say::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; width: 9px; height: 9px; background: #fff; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transform: rotate(45deg); }
@media (max-width: 1100px) { .scout-twip { width: clamp(150px, 22vw, 200px); right: calc(100% - 40px); top: 4%; } }
@media (max-width: 820px) {
  .scout-twip { position: static; width: auto; display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
  .scout-twip img { width: 110px; flex: none; }
  .scout-twip .say { text-align: left; }
  .scout-twip .say::after { left: -5px; bottom: auto; top: 50%; margin: -5px 0 0; border: 0; border-left: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
}

/* finale — globe on the left, phone-in-hand on the right, copy between */
.finale-row { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) clamp(210px,23vw,320px); align-items: center; gap: clamp(20px,3vw,48px); width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px,4vw,56px); box-sizing: border-box; }
.finale-row .finale-inner { max-width: none; padding-left: 0; padding-right: 0; }
.finale-phone { position: relative; width: 100%; }
.finale-phone .sp-stage { transform-origin: 50% 92%; }
@media (max-width: 1100px) {
  .finale-row { grid-template-columns: 1fr; gap: 26px; }
  .finale-globe-space { display: none; }
  .finale-phone { width: min(240px, 62vw); margin: 0 auto; }
}

/* giant TWIP lockup in the footer — the real logo letters, W = suitcase */
.site-foot .foot-mark { flex: 1 1 100%; display: flex; align-items: flex-end; justify-content: center; gap: 0;
  --fm-h: clamp(84px, 15vw, 200px); }
.site-foot .foot-mark .fm-g { height: var(--fm-h); width: auto; display: block; }
.site-foot .foot-mark .fm-w { transform-origin: 50% 88%; }
.site-foot .foot-mark.mark-go .fm-w { animation: twipJump 3s cubic-bezier(.3,.8,.4,1) infinite both; }
@keyframes twipJump {
  0%    { transform: translateY(0) scale(1,1) rotate(0deg); }
  3.8%  { transform: translateY(0) scale(1.07,.9) rotate(0deg); }
  11.5% { transform: translateY(-24%) scale(.95,1.07) rotate(0deg); }
  17.2% { transform: translateY(0) scale(1.06,.93) rotate(0deg); }
  20.3% { transform: translateY(0) scale(1,1) rotate(-3.4deg); }
  23%   { transform: translateY(0) rotate(3deg); }
  25.7% { transform: translateY(0) rotate(-2.2deg); }
  28.3% { transform: translateY(0) rotate(1.6deg); }
  31%   { transform: translateY(0) rotate(-1deg); }
  33.7% { transform: translateY(0) rotate(.6deg); }
  38%, 100% { transform: translateY(0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .site-foot .foot-mark.mark-go .fm-w { animation: none; } }
@media (max-width: 700px) { .site-foot .foot-mark { --fm-h: clamp(60px, 18vw, 120px); } }
@media (max-width: 900px) { .hero-copy { left: 0; } }

/* hero split down the middle: globe left, copy centred in the right half */
.hero-grid { grid-template-columns: 1fr 1fr; position: relative; }
.hero-copy { grid-column: 2; display: grid; justify-items: center; gap: 4px; }
.hero-twip { position: absolute; right: 80px; bottom: -252px; grid-column: auto; grid-row: auto; align-self: auto; padding-bottom: 0; width: clamp(216px, 20vw, 296px); }
.hero-twip img { max-width: none; width: 100%; }
.hero-copy { left: 0; text-align: center; transform: translateY(-120px); }
#hero .headline, .hero-copy .sub { margin-left: auto; margin-right: auto; }
.hero-pains { justify-items: center; margin-left: auto; margin-right: auto; }
.hero-pains li { text-align: left; }
.hero-actions { justify-content: center; }

/* landing only: on scroll the brand flies up with the tabs and the pinned
   search bar becomes the animated TWIP lockup (same as the footer) */
.shead.home-head .brand { transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .25s ease; }
.shead.home-head.compact .brand:not(.ms-brand) { opacity: 0; transform: translateY(-210%); pointer-events: none; }
.shead.home-head .ms-brand { opacity: 1 !important; transform: none !important; pointer-events: auto; }
.shead.home-head.compact .ms-full { padding-left: 0; }
.shead.home-head .ms-mark { display: none !important; }
.ms-mark { position: absolute; left: 22px; top: 0; bottom: 0; display: none; align-items: center; pointer-events: none; opacity: 0; transition: opacity .26s ease .12s; }
.shead.home-head.compact .ms-mark { display: flex; opacity: 1; }
.ms-mark .fm-g { height: 30px; width: auto; display: block; filter: brightness(0); }
.ms-mark .fm-w { transform-origin: 50% 88%; }
.shead.home-head.compact .ms-mark.mark-go .fm-w { animation: twipJump 3s cubic-bezier(.3,.8,.4,1) infinite both; }
@media (prefers-reduced-motion: reduce) { .ms-mark.mark-go .fm-w { animation: none; } }
@media (max-width: 700px) { .ms-mark { left: 16px; } .ms-mark .fm-g { height: 24px; } }

/* hero pains — single rotating line, typed in then blown up letter by letter */
.hero-pains.one { display: block; min-height: 26px; margin: -6px 0 2px; overflow: visible; }
.hero-pains.one .pain-live { justify-content: center; overflow: visible; }
.hero-pains.one .pain-txt { display: inline-flex; overflow: visible; }
.hero-pains.one .pain-txt::after { content: ""; width: 2px; height: 1.05em; background: var(--gold-2); margin-left: 3px; opacity: 0; }
.hero-pains.one .pain-txt.typing::after { opacity: 1; animation: painCaret .55s steps(1) infinite; }
@keyframes painCaret { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
.hero-pains.one .ch { display: inline-block; white-space: pre; opacity: 0; transform: translateY(6px); }
.hero-pains.one .ch.on { opacity: 1; transform: none; animation: painWave .42s cubic-bezier(.3,1.4,.45,1) both; }
@keyframes painWave { 0% { opacity: 0; transform: translateY(7px); } 45% { opacity: 1; transform: translateY(-3px); } 75% { transform: translateY(1px); } 100% { opacity: 1; transform: none; } }
.hero-pains.one .ch.blow { animation: painBlow .62s cubic-bezier(.3,.65,.35,1) forwards; }
@keyframes painBlow { 0% { opacity: 1; transform: none; filter: blur(0); } 35% { opacity: .78; transform: scale(1.7); filter: blur(1px); } 100% { opacity: 0; transform: scale(3); filter: blur(6px); } }

/* hero destination ask field (replaces the two CTAs) */
.hero-ask { display: flex; align-items: center; gap: 8px; width: min(420px, 100%); margin: 20px auto 0;
  background: rgba(255,255,255,.92); border: 1px solid var(--hair); border-radius: 999px; padding: 7px 7px 7px 20px;
  box-shadow: 0 14px 34px -18px rgba(20,18,30,.34); backdrop-filter: blur(8px); transition: box-shadow .25s, border-color .25s; }
.hero-ask:focus-within { border-color: var(--violet); box-shadow: 0 18px 40px -18px rgba(15,144,168,.45); }
.hero-ask-in { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink); padding: 10px 0; outline: none; text-align: left; }
.hero-ask-in::placeholder { color: var(--ink-3); opacity: 1; }
.hero-ask-go { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: linear-gradient(180deg, var(--violet), var(--violet-2)); box-shadow: 0 10px 22px -10px rgba(15,144,168,.75); transition: transform .18s, box-shadow .25s; }
.hero-ask-go:hover { transform: translateY(-2px) scale(1.05); }
@media (max-width: 600px) { .hero-ask { width: min(340px, 100%); padding-left: 16px; } .hero-ask-in { font-size: 14.5px; } }

/* hand-drawn underlines on the key words + drawn question mark */
.hero-pains.one .pain-em { position: relative; display: inline-flex; }
.pain-ul { position: absolute; left: -3px; bottom: -7px; width: calc(100% + 6px); height: 8px; overflow: visible;
  fill: none; stroke: var(--gold-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset .52s cubic-bezier(.4,.1,.3,1), opacity .3s ease; vector-effect: non-scaling-stroke; }
.hero-pains.one .pain-em.draw .pain-ul { stroke-dashoffset: 0; }
.hero-pains.one .pain-em.gone .pain-ul { opacity: 0; }
.hero-pains.one .ch.q { width: .58em; height: 1.02em; margin-left: 2px; align-self: center; }
.hero-pains.one .ch.q svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .46s ease-out; }
.hero-pains.one .ch.q.on:not(.blow) { animation: none; opacity: 1; transform: none; }
.hero-pains.one .ch.q.on svg { stroke-dashoffset: 0; }

/* ═══ destination callouts projected over the globe ═══ */
#spots { position: fixed; inset: 0; z-index: 13; pointer-events: none; }
.spot-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: 1; }
.spot { position: absolute; left: 0; top: 0; opacity: 0; transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)); will-change: transform; }
.spot .spot-in { display: flex; flex-direction: column; align-items: center; gap: 7px; opacity: 0; transform: scale(.72) translateY(8px);
  transition: opacity .5s ease var(--d, 0s), transform .62s cubic-bezier(.22,1.4,.4,1) var(--d, 0s); }
.spot.in .spot-in { opacity: 1; transform: none; }
.spot-ring { display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 14px 30px -14px rgba(20,18,30,.5), 0 0 0 1px rgba(20,18,30,.06);
  color: var(--violet-2); backdrop-filter: blur(6px); position: relative; }
.spot-ring::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--violet) 42%, transparent); }
.spot-ring svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spot-lg .spot-ring { width: 74px; height: 74px; }
.spot-lg .spot-ring svg { width: 32px; height: 32px; }
.spot-sm .spot-ring { width: 44px; height: 44px; }
.spot-sm .spot-ring svg { width: 20px; height: 20px; }
.spot-sm .spot-ring::after { inset: -4px; border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.spot-lab { font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; color: var(--ink); background: rgba(255,255,255,.9);
  border-radius: 999px; padding: 4px 10px; box-shadow: 0 8px 18px -12px rgba(20,18,30,.5); white-space: nowrap; }
.spot-lg .spot-lab { font-size: 13px; }
.spot-sm .spot-lab { font-size: 11.5px; color: var(--ink-2); }
.spot-city .spot-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(180deg, var(--violet), var(--violet-2)); padding: 8px 15px; border-radius: 999px; box-shadow: 0 16px 30px -14px rgba(15,144,168,.8); white-space: nowrap; }
.spot-city .spot-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,180,60,.35); }
@media (max-width: 900px) { .spot-lg .spot-ring { width: 58px; height: 58px; } .spot-lg .spot-ring svg { width: 25px; height: 25px; } .spot-sm .spot-ring { width: 36px; height: 36px; } .spot-sm .spot-ring svg { width: 17px; height: 17px; } .spot-lab { font-size: 11px !important; } }

/* drag surface over the globe — only live while the scout section owns it */
#globe-grab { position: fixed; left: 0; top: 0; bottom: 0; width: 42%; z-index: 11; pointer-events: none; touch-action: pan-y; cursor: grab; }
body.at-scout #globe-grab { pointer-events: auto; }
#globe-grab.grabbing { cursor: grabbing; }
@media (max-width: 900px) { #globe-grab { width: 100%; top: 12vh; bottom: 42vh; } }

/* header search bar sits 15px higher */
.shead:not(.pagehdr) .morph-search { top: 69px; }
.shead:not(.pagehdr) .shead-space { height: 77px; }

/* the finale hand+phone swings exactly like the one in the Twipper section */
@media (prefers-reduced-motion: no-preference) {
  body.at-finale .finale-phone .sp-stage { animation: handSway 3.2s cubic-bezier(.45,0,.55,1) infinite; }
}

/* download CTA now lives under the finale phone */
.finale-phone .dl-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px; }

/* Twipper (lui) / Twipperina (lei) — one character per section, alternating */
.twip-char { display: block; width: auto; object-fit: contain; -webkit-user-select: none; user-select: none;
  filter: drop-shadow(0 18px 26px rgba(20,18,30,.2)); }
.hero-twip .twip-char, .scout-twip .twip-char { margin: 0 auto; }
.twip-buddy .twip-char { flex: none; }
.finale-scout .twip-char { height: 100%; margin: 0 auto; }
.finale-scout { width: clamp(120px, 16vw, 190px); height: clamp(120px, 16vw, 190px); margin: 0 auto 10px; }

/* footer lockup tagline — the small letters complete "The world in a pocket" */
.site-foot .foot-mark .fm-l { display: flex; flex-direction: column; align-items: flex-start; }
.site-foot .foot-mark .fm-l em { font-style: normal; font-family: var(--font-brand); font-weight: 400; color: #fff;
  font-size: calc(var(--fm-h) * .115); letter-spacing: .14em; line-height: 1; white-space: nowrap; margin-top: calc(var(--fm-h) * .1); padding-left: .12em; }

/* characters at double size — section-specific placement */
.scout-twip { position: relative; top: -20px; left: 20px; }
.finale-scout { width: clamp(240px, 32vw, 380px); height: clamp(240px, 32vw, 380px); }
.twip-buddy .twip-char { height: 192px; }
@media (max-width: 900px) { .scout-twip { top: 0; left: 0; } .twip-buddy .twip-char { height: 120px; } }

/* destinations: Twipper stands to the right of the headline */
.dest-headrow { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); }
.dest-headrow .dest-head { margin-bottom: 0; }
.dest-headrow .twip-buddy { flex: none; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
.dest-headrow .twip-buddy .say { max-width: 210px; text-align: center; }
@media (max-width: 900px) { .dest-headrow { flex-wrap: wrap; } .dest-headrow .twip-buddy .twip-char { height: 130px; } }

/* tighter gap between the ocean-view section and "on the radar" */
#featured { margin-top: -200px; }

/* every callout is a real experience: title + price, click opens the detail */
.spot-xp { display: grid; gap: 1px; max-width: 190px; text-align: center; margin-top: -2px; background: rgba(255,255,255,.94); border-radius: 12px; padding: 5px 10px 6px; box-shadow: 0 10px 22px -14px rgba(20,18,30,.55); transition: transform .28s cubic-bezier(.22,1.2,.4,1), box-shadow .28s ease; }
.spot-xp b { font-family: var(--font-body); font-weight: 700; font-size: 11.5px; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-xp i { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--violet-2); letter-spacing: .01em; }
.spot-sm .spot-xp { max-width: 168px; }
.spot-live { pointer-events: auto; cursor: pointer; }
.spot-live:hover .spot-xp, .spot-live:focus-visible .spot-xp { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(20,18,30,.6); }
.spot-live:hover .spot-ring { color: var(--violet); }
.spot-live:focus-visible { outline: none; }
.spot-live:focus-visible .spot-ring::after { border-color: var(--violet-2); }
@media (max-width: 900px) { .spot-xp { max-width: 148px; padding: 4px 8px 5px; } .spot-xp b { font-size: 10.5px; } .spot-xp i { font-size: 9.5px; } }

/* ═══ DESKTOP: Twipper's line sits to his LEFT, not above him ═══ */
@media (min-width: 901px) {
  .hero-twip { display: flex; align-items: center; justify-content: flex-end; gap: 14px; width: auto; }
  .hero-twip .twip-char, .hero-twip img { flex: none; width: auto; margin: 0; }
  .hero-twip .say { order: -1; flex: none; width: clamp(180px, 15vw, 226px); text-align: left; }
  .hero-twip .say::after { left: auto; right: -5px; bottom: auto; top: 50%; margin: -5px 0 0; border: 0; border-right: 1px solid var(--hair); border-top: 1px solid var(--hair); }
}

/* ═══ MOBILE-ONLY: hero globe left of Twipper, no speech bubble ═══ */
@media (max-width: 900px) {
  .hero-twip { justify-content: flex-end; padding-right: 6vw; margin-top: 18px; }
  .hero-twip .say { display: none; }
  .hero-twip img { width: auto !important; height: 168px !important; max-width: none; }
  .hero-twip .twip-char { margin: 0 0 0 auto; }
}
/* ═══ MOBILE-ONLY: Ask-Twipper — Twipperina 30% smaller, nudged right ═══ */
@media (max-width: 820px) {
  .scout-twip { padding-left: 34px; }
  .scout-twip img { width: 77px; }
}


/* ═══ ACT 2 promoted to HERO (globe removed — see "Twip Globo (archivio).html") ═══ */
#scout.hero-act { min-height: 132vh; }
#scout.hero-act .scout-head { top: max(190px, 21vh); max-width: 620px; }
#scout.hero-act .scout-stage { padding-top: 120px; }
#scout.hero-act .scout-twip img { height: min(540px, 56vh) !important; }
#scout.hero-act .scout-head h2 { font-size: clamp(36px, 4.7vw, 62px); }
#scout.hero-act .scout-head p { font-size: 17px; max-width: 44ch; }
#scout.hero-act .hero-ask { margin: 26px 0 0; width: min(460px, 100%); }
@media (max-width: 900px) {
  #scout.hero-act { min-height: 124vh; }
  #scout.hero-act .scout-head { top: 176px; }
  #scout.hero-act .scout-stage { padding-top: 150px; }
  #scout.hero-act .hero-ask { margin-inline: auto; }
}


/* ═══ DESTINATIONS promoted to HERO ═══ */
#destinations.hero-act { min-height: 138vh; }
#destinations.hero-act .dest-stage { padding-top: 120px; }
#destinations.hero-act .dest-map { top: 104px; }
#destinations.hero-act .dest-head { font-size: clamp(32px, 3.9vw, 60px); }
@media (max-width: 900px) {
  #destinations.hero-act { min-height: 128vh; }
  #destinations.hero-act .dest-stage { padding-top: 176px; align-items: flex-start; }
  #destinations.hero-act .dest-map { transform: none; }
}

/* d3 Italy map — graphic treatments (see the option files) */
.imap { position: relative; overflow: hidden; }
.imap > svg { display: block; width: 100%; height: 100%; }
.imap-pins { position: absolute; inset: 0; pointer-events: none; }
.imap-pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.imap-pin.flip { flex-direction: row-reverse; transform: translate(-100%, -50%) translateX(9px); }
.imap-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 24%, transparent), 0 4px 10px -4px rgba(0,0,0,.45); }
.imap-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: 0;
  animation: ping 2.4s ease-out infinite var(--bd); }
.imap-lab { font-size: 11.5px; font-weight: 700; letter-spacing: .01em; color: var(--ink);
  background: rgba(255,255,255,.86); border: 1px solid rgba(20,18,30,.07); border-radius: 8px; padding: 3px 8px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -12px rgba(20,18,30,.5); }
.imap-relief .imap-lab { color: #EAF7F8; background: rgba(10,32,40,.62); border-color: rgba(190,240,245,.22); }
.imap-relief .imap-dot { background: #FFD46A; box-shadow: 0 0 0 4px rgba(255,212,106,.22); }
@media (prefers-reduced-motion: reduce) { .imap-dot::after { animation: none; } }
.imap-route { animation: routeFlow 6s linear infinite; }


/* city labels on the Italy sticker */
.istyle { position: relative; }
.istyle > svg { display: block; width: 100%; height: 100%; }
.istyle-labels { position: absolute; inset: 0; pointer-events: none; }
.istyle-lab {
  position: absolute; transform: translate(14px, -50%); white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .01em; color: var(--ink);
  background: rgba(255,255,255,.92); border: 1px solid rgba(20,18,30,.07); border-radius: 9px; padding: 4px 9px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 18px -14px rgba(20,18,30,.6);
}
.istyle-lab.flip { transform: translate(calc(-100% - 14px), -50%); }
@media (max-width: 600px) { .istyle-lab { font-size: 11px; padding: 3px 7px; } }
