/* Raasta landing - DM Sans (display) / Inter (text), coral #FF5A3D */

:root {
  --bg:      #FFFFFF;
  --surface: #FFFFFF;
  --alt:     #FAFAFA;

  --ink:    #17171A;
  --muted:  #6E6E76;
  --faint:  #A6A6AE;

  --line:   rgba(23,23,26,.09);
  --line-2: rgba(23,23,26,.14);

  --primary:     #FF5A3D;
  --primary-ink: #D8401F;
  --primary-soft:#FFEAE3;

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-hand:    'Caveat', cursive;

  --pill: 999px;
  --card: 28px;                         /* one radius for every card & image */
  --radius-sm: 14px;                    /* small squares: icon tiles, chips, controls */
  --maxw: 1500px;
  --pad: clamp(18px, 2.2vw, 30px);
  --nav-h: 78px;
  --ease: cubic-bezier(.22,.61,.18,1);

  --shadow: 0 1px 2px rgba(23,23,26,.04), 0 6px 18px rgba(23,23,26,.05);
  --shadow-lg: 0 1px 1px rgba(23,23,26,.03), 0 4px 10px rgba(23,23,26,.04), 0 16px 40px rgba(23,23,26,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; overflow-x: clip; background-color: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--primary); color: #fff; }
::-moz-selection { background: var(--primary); color: #fff; }
/* film grain - tactile depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .03;
  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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: var(--primary); transform: scaleX(0); transform-origin: 0 50%; transition: transform .1s linear; }

/* Solid white fill over the iOS safe-area (status bar) strip; collapses to 0 height on non-notch devices. */
.statusbar-fill { position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); z-index: 9500; background: #fff; pointer-events: none; }

.skip-link { position: fixed; left: 12px; top: -64px; z-index: 300; background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(108px, 10.5vw, 148px) 0; }
.section-alt { background: var(--alt); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.section-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.14; color: var(--ink); }
.section-title.left { text-align: left; }
.sec-head { max-width: 760px; margin-bottom: clamp(54px, 6vw, 72px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 560px; }
.section-alt .sec-head, #trust .sec-head { text-align: center; margin-left: auto; margin-right: auto; }
.section-alt .sec-head .eyebrow, #trust .sec-head .eyebrow { justify-content: center; }
.section-alt .sec-sub, #trust .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 11px 20px; border-radius: var(--pill); border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: transform .16s var(--ease), box-shadow .25s var(--ease), background .18s, color .18s, border-color .18s, gap .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 13px 26px; font-size: 16px; }

/* primary */
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(216,64,31,.3), 0 6px 16px -7px rgba(255,90,61,.5);
}
.btn-primary:hover { background: #ff6a4f; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 2px 4px rgba(216,64,31,.3), 0 12px 26px -9px rgba(255,90,61,.62); }
.btn-primary:active { background: #ea4824; transform: translateY(0) scale(.97); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 6px -2px rgba(255,90,61,.4); }

/* outlined, for use over the hero */
.btn-glass { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-glass svg { color: #fff; }
.btn-glass:hover { border-color: #fff; transform: translateY(-2px); }
.btn-glass:active { transform: translateY(0) scale(.98); }

/* inline text link */
.btn-text { color: var(--ink); padding: 10px 6px; }
.btn-text svg { color: var(--primary); }
.btn-text:hover { gap: 11px; color: var(--primary-ink); }
.btn-text:active { transform: scale(.97); }

/* disabled / loading states */
.btn:disabled, .btn.is-loading { cursor: default; opacity: .85; transform: none; pointer-events: none; }
.btn.is-loading { color: transparent !important; position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: btn-spin .6s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* compact button in the nav */
.nav-cta .btn { padding: 9px 16px; font-size: 14px; }
.nav-cta .btn svg { width: 16px; height: 16px; }

/* ---------- nav ---------- */
/* Fixed nav fills the safe-area via padding-top so its background also covers the status-bar strip.
   Transparent over the hero; frosted on desktop once scrolled, solid white on mobile (see ≤1080px). */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); color: var(--ink); transition: background .4s var(--ease), color .4s, border-color .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.over-hero { color: #fff; }
.nav.scrolled { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-bottom: 1px solid var(--line); color: var(--ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 25px; width: auto; display: block; transition: filter .4s var(--ease); }
.nav .brand-logo { height: 22px; }
.nav.over-hero .brand-logo { filter: brightness(0) invert(1); } /* white over the photo hero */
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { position: relative; font-size: 15px; font-weight: 500; color: currentColor; opacity: .8; padding: 8px 14px; border-radius: var(--pill); transition: opacity .2s, background .2s; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: center; transition: transform .28s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.scrolled .nav-links a:hover { background: var(--alt); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: none; color: currentColor; padding: 8px; margin-right: -8px; border-radius: var(--radius-sm); }
.burger-box { position: relative; display: block; width: 24px; height: 14px; }
.burger-box > span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform .36s cubic-bezier(.4,0,.2,1); }
.burger-box > span:nth-child(1) { top: 2px; }
.burger-box > span:nth-child(2) { top: 10px; }
.nav-burger.is-open .burger-box > span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.is-open .burger-box > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
/* negative top margin pulls the hero under the status bar (iOS adds an implicit safe-area inset to body) */
.hero { position: relative; min-height: 100vh; min-height: 100svh; margin-top: calc(env(safe-area-inset-top, 0px) * -1); display: flex; align-items: flex-end; overflow: hidden; color: #fff; padding-bottom: clamp(54px, 8vh, 96px); }
.hero-bg { position: absolute; inset: -14% 0; height: 128%; z-index: 0; background: #16202a url("../assets/hero-poster.jpg") center/cover no-repeat; will-change: transform; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(14,17,21,.55) 0%, rgba(14,17,21,.20) 26%, rgba(14,17,21,.30) 52%, rgba(14,17,21,.80) 100%); }

.hero-content { position: relative; z-index: 2; max-width: 860px; padding-top: var(--nav-h); text-shadow: 0 1px 40px rgba(0,0,0,.25); }
.hero-title { font-size: clamp(36px, 14.1vw - 5.7px, 86px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; color: #fff; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .ln > span { display: block; transform: translateY(115%); animation: lnUp 1.05s var(--ease) both; }
.hero-title .ln:nth-child(1) > span { animation-delay: .15s; }
.hero-title .ln:nth-child(2) > span { animation-delay: .30s; }
@keyframes lnUp { to { transform: translateY(0); } }
.hero-sub { font-size: clamp(17px, 1.3vw, 20px); color: rgba(255,255,255,.88); max-width: 560px; margin-top: 24px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }


/* ---------- destinations marquee ---------- */
.marquee-sec { border-bottom: 1px solid var(--line); background: var(--bg); }
.marquee { overflow: hidden; padding: clamp(34px, 3.6vw, 56px) 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marq 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 24px); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); padding: 0 20px; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .5; flex: 0 0 6px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { padding: clamp(68px, 8vw, 108px) 0; border-bottom: 1px solid var(--line); }
.statement-text { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.5vw, 33px); line-height: 1.4; letter-spacing: -0.025em; max-width: 1020px; color: var(--faint); }
.statement-text .w { color: rgba(166,166,174,.45); transition: color .4s var(--ease); }
.statement-text .w.on { color: var(--ink); }

/* ---------- destinations (dark) ---------- */
.dest { background: var(--alt); color: var(--ink); }
.dest-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.dest-head .sec-head { margin-bottom: 0; }
.dest-nav { display: flex; gap: 10px; flex: 0 0 auto; padding-bottom: 4px; }
.dest-arrow { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s, transform .15s; }
.dest-arrow svg { width: 19px; height: 19px; }
.dest-arrow:hover { background: rgba(23,23,26,.06); border-color: rgba(23,23,26,.28); }
.dest-arrow:active { transform: scale(.94); }
.dest-arrow:disabled { opacity: .3; cursor: default; }
.dest-arrow:disabled:hover { background: transparent; border-color: var(--line-2); }
.dest .eyebrow { color: var(--primary-ink); }
.dest .section-title { color: var(--ink); }
.dest .sec-sub { color: var(--muted); }
.hand { display: inline-block; font-family: var(--font-hand); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; color: var(--primary-ink); transform: rotate(-4deg); margin-bottom: 10px; }
.spark { display: inline-block; width: clamp(20px, 2.2vw, 30px); height: clamp(20px, 2.2vw, 30px); vertical-align: -0.12em; margin-left: 12px; }
.dest-grid {
  margin-top: clamp(30px, 3.5vw, 48px);
  display: flex; gap: clamp(14px, 1.6vw, 18px);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-padding-left: var(--pad);
  padding: 8px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  /* --fade-w (px) is the width of the soft right-edge feather; JS scales it with scroll (0 at the end) */
  --fade-w: 0px;
  -webkit-mask-image: linear-gradient(90deg, #000, #000 calc(100% - var(--fade-w)), rgba(0,0,0,.6) calc(100% - var(--fade-w) * .5), transparent);
  mask-image: linear-gradient(90deg, #000, #000 calc(100% - var(--fade-w)), rgba(0,0,0,.6) calc(100% - var(--fade-w) * .5), transparent);
}
.dest-grid::-webkit-scrollbar { display: none; }
.dest-card {
  flex: 0 0 clamp(220px, 23vw, 290px); aspect-ratio: 3 / 4;
  position: relative; overflow: hidden; border-radius: var(--card); background: #1b1b20;
  display: flex; align-items: flex-end;
  transition: transform .35s var(--ease);
}
.dest-card:hover { transform: translateY(-4px); }
.dest-img { position: absolute; inset: 0; background-size: cover; background-position: center; border-radius: var(--card); transition: transform .7s var(--ease); }
.dest-card:nth-child(1) .dest-img { background-color: #24414f; }
.dest-card:nth-child(2) .dest-img { background-color: #3a3550; }
.dest-card:nth-child(3) .dest-img { background-color: #4a3b2e; }
.dest-card:nth-child(4) .dest-img { background-color: #274034; }
.dest-card:nth-child(5) .dest-img { background-color: #3f2f3a; }
.dest-card:nth-child(6) .dest-img { background-color: #2e3a4a; }
.dest-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(135% 95% at 0% 100%, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 38%, transparent 66%); }
.dest-card:hover .dest-img { transform: scale(1.06); }
.dest-tag { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; padding: clamp(13px, 1.3vw, 18px); color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.dest-tag svg { width: 18px; height: 18px; color: #FF8A6E; flex: 0 0 auto; stroke-width: 1.5; filter: drop-shadow(0 1px 6px rgba(0,0,0,.4)); }
.dest-tag .dt-txt { display: flex; flex-direction: column; line-height: 1.2; }
.dest-tag b { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; color: #fff; }
.dest-tag i { font-style: normal; color: rgba(255,255,255,.82); font-size: 12px; margin-top: 1px; }
@media (max-width: 560px) {
  .dest-card { flex-basis: 78vw; }
  .dest-nav { display: none; }
}
/* custom follow-cursor over the destination cards */
.excite-on .dest-card, .excite-on .dest-card * { cursor: none; }
.excite-cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; will-change: transform; }
.excite-cursor__pill {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
  transition: opacity .22s ease, transform .42s cubic-bezier(.34, 1.56, .64, 1);
}
.excite-cursor.is-visible .excite-cursor__pill { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.excite-cursor__inner {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  color: #fff; background: #15151A; padding: 11px 20px 11px 16px; border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.3), 0 3px 10px rgba(0,0,0,.22);
  will-change: transform;
}
.excite-cursor__inner::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); animation: excitePulse 1.5s ease-in-out infinite;
}
@keyframes excitePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 7px rgba(255,90,61,.7); }
  50% { transform: scale(1.32); box-shadow: 0 0 14px rgba(255,90,61,.95); }
}
@media (prefers-reduced-motion: reduce) {
  .excite-cursor__pill, .excite-cursor.is-visible .excite-cursor__pill { transform: translate(-50%, -50%); transition: opacity .2s ease; }
  .excite-cursor__inner::before { animation: none; }
}
/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(30px, 3.6vw, 60px); row-gap: clamp(46px, 5vw, 60px); margin-top: clamp(34px, 4vw, 56px); }
.feat-card { padding-top: 30px; border-top: 1px solid var(--line-2); transition: border-color .3s; }
.feat-card:hover { border-color: var(--primary); }
.feat-ic { color: var(--primary); margin-bottom: 18px; transition: transform .3s var(--ease); }
.feat-card:hover .feat-ic { transform: translateY(-3px); }
.feat-ic svg { width: 27px; height: 27px; }
.feat-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.feat-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-top: 10px; }

/* ---------- how it works: journey route ---------- */
/* extra breathing room above & below this section */
#how { padding-block: clamp(144px, 14vw, 200px); }
.journey { position: relative; margin-top: clamp(38px, 5vw, 66px); }
/* faint map dot-grid backdrop, faded at the edges */
.journey::before { content: ""; position: absolute; inset: -14px 0; z-index: 0; background-image: radial-gradient(currentColor 1.1px, transparent 1.2px); color: var(--line-2); background-size: 22px 22px; opacity: .5; -webkit-mask-image: radial-gradient(120% 78% at 50% 42%, #000 30%, transparent 76%); mask-image: radial-gradient(120% 78% at 50% 42%, #000 30%, transparent 76%); pointer-events: none; }
.journey-stops { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.jstop { position: relative; text-align: center; padding: 0 clamp(6px, 1vw, 18px); }
/* dashed connector to the next stop */
.jstop:not(:last-child)::before { content: ""; position: absolute; top: 36px; left: 50%; width: 100%; height: 2px; z-index: 0; background-image: linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 15px); background-size: 15px 2px; }
.jstop-node { position: relative; z-index: 2; width: 72px; height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; color: var(--primary); box-shadow: 0 8px 22px rgba(20,22,27,.07); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.jstop-node svg { width: 28px; height: 28px; }
.jstop:hover .jstop-node { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 14px 30px rgba(255,90,61,.2); }
.jstop-no { position: absolute; top: -7px; right: -7px; min-width: 23px; height: 23px; padding: 0 6px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; color: #fff; background: var(--primary); border-radius: 999px; box-shadow: 0 2px 8px rgba(255,90,61,.45); }
.jstop h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: 22px; }
.jstop p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 10px auto 0; max-width: 290px; }

/* trust section uses ink rather than coral, for variety */
#trust .eyebrow::before { background: var(--ink); }
#trust .trust-ic { color: var(--ink); }

/* ---------- split (planner) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 100px); align-items: center; }
.split-copy .eyebrow { margin-bottom: 20px; }
.split-sub { color: var(--muted); font-size: 17px; line-height: 1.62; margin-top: 18px; max-width: 460px; }
.ticks { list-style: none; margin-top: 26px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); padding: 9px 0; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: none; }
.ticks li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.split-copy .btn-text { margin-top: 24px; margin-left: -6px; }

/* ---------- trips mock: phone photo (assets/journey-*.png) + floating cards ----------
   Each PNG carries the phone notch/cutout in its alpha channel, so no CSS mask is needed.
   The cards are real HTML, positioned as a % of the stage and sized in container units (cqw)
   so the whole composition scales crisply at any width. */
.plan-demo { position: relative; will-change: transform; }
.tj-stage {
  position: relative; width: 100%; max-width: 560px; margin: 0 auto;
  aspect-ratio: 948 / 1160;           /* matches the phone PNGs so the image never distorts */
  container-type: inline-size;
  font-family: var(--font);
}
.tj-photo { position: absolute; inset: 0; z-index: 0; }
/* two stacked layers cross-fade so the photo never blinks to empty mid-change */
.tj-photo-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.tj-photo-img.is-shown { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tj-photo-img { transition: none; } }

/* destination shortlist, over the notch area */
.tj-list {
  position: absolute; left: 2%; top: 2.5%; width: 49%; z-index: 2;
  background: var(--surface); border: 1px solid #F9F4F3;
  border-radius: 4.1cqw; padding: 1.44cqw;
  box-shadow: 0 2.4cqw 5.3cqw -1.9cqw rgba(20,22,27,.22), 0 .48cqw 1.2cqw rgba(20,22,27,.07);
}
.tj-row {
  position: relative;
  display: flex; align-items: center; gap: 1.92cqw; width: 100%;
  padding: 2.1cqw 2.28cqw; border: 0; background: none; text-align: left;
  border-radius: 2.88cqw; cursor: pointer;
  transition: background .2s var(--ease);
}
/* inset divider between rows */
.tj-row:not(:last-child)::after { content: ""; position: absolute; left: 2.28cqw; right: 2.28cqw; bottom: 0; height: 1px; background: #F1EBE8; border-radius: 1px; pointer-events: none; }
.tj-row:hover { background: var(--alt); }
.tj-row.is-sel { background: #F8FAFC; }
.tj-row.is-sel::after { display: none; }
.tj-row b { flex: 1 1 auto; font-size: 3cqw; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.tj-price { flex: 0 0 auto; font-size: 2.58cqw; font-weight: 600; color: var(--muted); }
.tj-chev { flex: 0 0 auto; width: 3cqw; height: 3cqw; color: var(--faint); }
/* 7s auto-advance progress bar: only the active row shows it; it fills then advances */
.tj-bar { position: absolute; left: 2.28cqw; right: 2.28cqw; bottom: .6cqw; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.tj-row.is-sel .tj-bar { opacity: 1; background: var(--line-2); }
.tj-bar-fill { display: block; width: 100%; height: 100%; background: var(--primary); border-radius: inherit; transform: scaleX(0); transform-origin: left; }
.tj-row.is-sel .tj-bar-fill { animation: tjFill 7s linear forwards; }
@keyframes tjFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* pause only for mouse users; on touch a tap leaves :hover "stuck", which would freeze the bar at 0% */
@media (hover: hover) { .tj-stage:hover .tj-row.is-sel .tj-bar-fill { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .tj-bar { display: none; }
  .tj-row.is-sel .tj-bar-fill { animation: none; }
}

/* selected-trip detail card */
.tj-detail {
  position: absolute; left: 5%; top: 29%; width: 53%; z-index: 3;
  background: var(--surface); border: 1px solid #F9F4F3;
  border-radius: 4.1cqw; padding: 2.88cqw 3.12cqw 3.12cqw;
  box-shadow: 0 3.1cqw 6.5cqw -2.2cqw rgba(20,22,27,.26), 0 .6cqw 1.4cqw rgba(20,22,27,.08);
}
.tj-detail-label { display: block; font-size: 2.1cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.tj-detail-name { display: block; font-family: var(--font-display); font-size: 5.28cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); margin-top: .84cqw; }
.tj-route-line { margin-top: 2.04cqw; font-size: 2.52cqw; line-height: 1.5; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.tj-route-line .more { color: var(--primary-ink); font-weight: 700; white-space: nowrap; }
.tj-meta { margin-top: 1.44cqw; font-size: 2.28cqw; font-weight: 700; letter-spacing: .005em; color: var(--ink); }
/* content swap animation when a destination is tapped */
@keyframes tjSwap { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.tj-detail.swapping .tj-detail-name { animation: tjSwap .5s var(--ease) both; }
.tj-detail.swapping .tj-route-line { animation: tjSwap .5s var(--ease) both .06s; }
.tj-detail.swapping .tj-meta { animation: tjSwap .5s var(--ease) both .12s; }
@media (prefers-reduced-motion: reduce) {
  .tj-detail.swapping .tj-detail-name,
  .tj-detail.swapping .tj-route-line,
  .tj-detail.swapping .tj-meta { animation: none; }
}

/* ---------- full-bleed visual break ---------- */
.break-img { position: relative; overflow: hidden; min-height: clamp(560px, 88vh, 900px); display: flex; align-items: flex-end; padding-bottom: clamp(60px, 10vh, 130px); color: #fff; }
/* tall overscan (-45%/190%) gives the parallax room to drift without exposing an edge */
.break-bg { position: absolute; inset: -45% 0; height: 190%; z-index: 0; background-size: cover; background-position: center; will-change: transform; }
.break-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,12,16,.74) 0%, rgba(10,12,16,.46) 46%, rgba(10,12,16,.24) 100%); }
.break-inner { position: relative; z-index: 2; }
.break-kicker { display: inline-block; font-family: var(--font-hand); font-weight: 700; font-size: clamp(19px, 2vw, 26px); color: #FF8A6E; transform: rotate(-3deg); margin-bottom: 8px; }
.break-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.04em; line-height: 1.0; color: #fff; }
@media (prefers-reduced-motion: reduce) { .break-bg { transform: none !important; } }

/* ---------- why trust Raasta (minimal) ---------- */
.trust-head { text-align: center; max-width: 620px; margin: 0 auto; }
.trust-head .eyebrow { margin-bottom: 16px; }
.trust-head .sec-sub { margin: 14px auto 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(34px, 5vw, 72px); margin-top: clamp(48px, 5.4vw, 74px); }
.trust-card { text-align: center; }
.trust-ic { display: inline-flex; color: var(--primary); margin-bottom: 15px; }
.trust-ic svg { width: 28px; height: 28px; }
.trust-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.trust-card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 9px auto 0; max-width: 31ch; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; gap: 36px; max-width: 400px; margin-inline: auto; } }

/* ---------- "Across India" - map hero + stat hierarchy ---------- */
.cov-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 92px); align-items: center; }
.cov-map { display: flex; justify-content: center; }
.india-wrap { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; will-change: transform; }
.india-wrap::before { content: ""; position: absolute; inset: -6%; z-index: 0; background: radial-gradient(50% 50% at 52% 46%, rgba(255,90,61,.22), transparent 68%); filter: blur(28px); pointer-events: none; }
.india-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; display: block;
  /* light warm map - color comes from the SVG fill itself; just a soft lift */
  filter: drop-shadow(0 14px 26px rgba(60,42,30,.14));
}
.pin { position: absolute; width: 12px; height: 12px; transform: translate(-50%, -50%); z-index: 2; }
.pin i { position: absolute; inset: 0; z-index: 1; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 12px 2px rgba(255,90,61,.6); }
.pin::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 50%; background: var(--primary); opacity: .55; animation: pinPulse 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pinPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(3.6); opacity: 0; } }

.cov-side .eyebrow { margin-bottom: 18px; }
.cov-lead { color: var(--muted); font-size: 16px; line-height: 1.6; margin-top: 14px; max-width: 400px; }
.cov-stats { margin-top: clamp(26px, 3vw, 40px); }
.stat .num { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat .lbl { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.stat-hero .num { display: block; font-size: clamp(62px, 8.5vw, 108px); color: var(--primary); }
.stat-hero .lbl { margin-top: 8px; font-size: 16px; }
.cov-mini { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 38px); margin-top: clamp(22px, 2.6vw, 30px); padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px solid var(--line); }
.cov-mini .num { display: block; font-size: clamp(30px, 3.6vw, 44px); }
.cov-mini .lbl { margin-top: 6px; }
@media (max-width: 920px) {
  .cov-grid { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 52px); }
  .india-wrap { max-width: 360px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-2); transition: border-color .3s var(--ease); }
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 4px; font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); transition: color .25s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-ink); }
.faq-item.faq-open > summary { color: var(--primary-ink); }
/* chevron becomes a circular toggle that fills + flips when open */
.faq-item summary svg { box-sizing: border-box; margin-left: auto; flex: 0 0 auto; width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.faq-item summary:hover svg { border-color: var(--faint); color: var(--ink); }
.faq-item.faq-open summary svg { transform: rotate(180deg); background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-a { overflow: hidden; will-change: height; }
.faq-a p { padding: 2px 4px 26px; margin: 0; max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq-a a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- waitlist ---------- */
/* CTA - full-bleed band, drifting grid + coral glow + pulsing dots */
/* vertical padding only; the inner .wrap supplies the side gutter */
.cta-sec { position: relative; overflow: hidden; text-align: center; color: var(--ink); padding: clamp(104px, 14vw, 200px) 0; background: var(--bg); }
.cta-sec::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(23,23,26,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,23,26,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%);
  animation: gridPan 11s linear infinite;
}
@keyframes gridPan { to { background-position: 46px 46px, 46px 46px; } }
/* two-column: copy on the left, form card on the right */
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 100px); align-items: start; text-align: left; }
.cta-copy { max-width: 520px; }
.cta-sec .hand { color: var(--primary-ink); margin-bottom: 12px; }
.cta-title { font-size: clamp(30px, 3.6vw, 50px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; color: var(--ink); }
.cta-sub { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; margin: 18px 0 0; max-width: 460px; }
.cta-sec .wl-count { margin-top: 28px; font-size: 14px; color: var(--faint); line-height: 1.5; }

/* form column - no box, inputs sit directly on the section */
.cta-form-wrap { position: relative; }
/* honeypot - visually & functionally hidden from real users, still in the DOM for bots */
.wl-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.wl-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.wl-field { display: flex; flex-direction: column; gap: 8px; }
.wl-label { font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.wl-opt { margin-left: 4px; font-weight: 500; font-size: 12px; color: var(--faint); }
.wl-input { width: 100%; min-height: 52px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 15px 22px; font-size: 16px; color: var(--ink); font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.wl-input::placeholder { color: var(--faint); }
.wl-input:focus { outline: none; border-color: rgba(255,90,61,.55); box-shadow: 0 0 0 4px rgba(255,90,61,.12); }
.wl-input.err { border-color: #e0533b; box-shadow: 0 0 0 4px rgba(224,83,59,.12); }
/* all three inputs + the submit button share one fixed height (selects render ~2px short otherwise) */
.wl-form .btn { width: 100%; min-height: 52px; justify-content: center; margin-top: 6px; padding: 15px 26px; }
/* "How did you hear" dropdown - styled to match the inputs */
.wl-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.wl-select:has(option[value=""]:checked) { color: var(--faint); }
.wl-select option { color: var(--ink); }
.wl-msg { margin-top: 2px; font-size: 13.5px; min-height: 18px; color: var(--muted); text-align: center; }
.wl-msg.err { color: #cf3b22; }
.wl-msg.ok { color: var(--primary-ink); }
.wl-success { display: none; align-items: center; justify-content: center; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink); text-align: center; }
.wl-success.show { display: flex; animation: fade .5s var(--ease) both; }
.wl-success-msg { margin: 0; }
.wl-check { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px; display: grid; place-items: center; background: #E3F5E9; color: #15814B; }
.wl-check svg { width: 15px; height: 15px; }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0 clamp(30px, 3.5vw, 44px); background: var(--alt); border-top: 1px solid var(--line); color: var(--ink); }
.footer .wrap { position: relative; z-index: 1; }
/* sign-off block */
.footer-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px 40px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.footer-sign .hand { color: var(--primary-ink); margin-bottom: 2px; }
.footer-headline { font-family: var(--font-display); font-size: clamp(31px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; color: var(--ink); }
.footer-sign .footer-cta { flex: 0 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 56px); padding-block: clamp(46px, 5.5vw, 68px); }
.footer-brand { max-width: 330px; }
.footer-brand .brand { display: inline-flex; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.footer-cols { display: contents; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; width: fit-content; color: var(--muted); font-size: 14.5px; padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom .copy { color: var(--faint); font-size: 13.5px; }
.footer-credit { color: var(--faint); font-size: 13.5px; }
.footer-credit a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; transition: color .2s, text-decoration-color .2s; }
.footer-credit a:hover { color: var(--primary-ink); text-decoration-color: var(--primary-ink); }
.socials { display: flex; gap: 9px; }
.socials a { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s; }
.socials a:hover { color: var(--ink); background: var(--alt); }
.socials svg { width: 18px; height: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-video { display: none; } /* show the poster image instead of motion */
  .hero-title .ln > span { animation: none; transform: none; }
  .statement-text .w { color: var(--ink); }
  .cta-sec::before { animation: none; }
  .pin::after { animation: none; opacity: 0; }
  .mobile-menu a:not(.btn), .mobile-menu .btn, .mobile-menu .mm-socials { transform: none; transition: opacity .25s var(--ease), color .2s; }
}

/* ---------- mobile menu ---------- */
body.menu-lock { overflow: hidden; }
/* when the menu is open, the nav goes solid so the logo + close icon stay visible */
.nav.menu-open { color: var(--ink); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-bottom: 1px solid var(--line); }
.nav.over-hero.menu-open .brand-logo { filter: none; }
/* full-screen panel; links stagger in from the right on open */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  min-height: 100svh; min-height: 100lvh; /* cover behind the collapsing Safari toolbar too */
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(18px, 4vh, 40px)) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 48px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .72s; /* CLOSE: fade out, stay rendered until links finish retracting */
}
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity .42s var(--ease), visibility 0s; } /* OPEN: fade in immediately */
.mobile-menu > a:not(.btn) {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1;
  font-size: clamp(15px, 4vw, 17px); color: var(--ink); text-align: right;
  padding: clamp(20px, 3.3vh, 30px) 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(26px);
  transition: opacity .5s var(--ease), transform .55s var(--ease), color .2s;
}
.mobile-menu > a:not(.btn):active { color: var(--primary-ink); }
.mobile-menu.open > a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu.open > a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open > a:nth-child(2) { transition-delay: .10s; }
.mobile-menu.open > a:nth-child(3) { transition-delay: .15s; }
.mobile-menu.open > a:nth-child(4) { transition-delay: .20s; }
.mobile-menu.open > a:nth-child(5) { transition-delay: .25s; }
.mobile-menu.open > a:nth-child(6) { transition-delay: .30s; }
.mobile-menu .btn {
  margin-top: clamp(24px, 4vh, 36px); align-self: flex-end; width: auto; font-size: 15px; padding: 13px 28px;
  opacity: 0; transform: translateX(26px);
  transition: opacity .5s var(--ease) .42s, transform .55s var(--ease) .42s;
}
.mobile-menu.open .btn { opacity: 1; transform: none; }
/* social links pinned at the foot of the menu */
.mm-socials {
  margin-top: clamp(18px, 3.5vh, 30px); gap: 8px; align-self: flex-end;
  opacity: 0; transform: translateX(26px);
  transition: opacity .5s var(--ease) .5s, transform .55s var(--ease) .5s;
}
.mm-socials a { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--muted); }
.mm-socials a:hover { color: var(--ink); background: var(--alt); }
.mobile-menu.open .mm-socials { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .split { gap: clamp(36px, 5vw, 64px); }
  /* the full nav needs ~1050px; below that, switch to the burger menu */
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-burger { display: grid; place-items: center; }
  /* mobile/tablet: solid white instead of frosted (a frosted fixed element renders see-through in iOS Safari) */
  .nav.scrolled, .nav.menu-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 767px) {
  /* phones: route goes vertical, trust cards stack; tablets keep the richer multi-column layout */
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-copy { max-width: none; }
  .journey { margin-top: 36px; }
  .journey-stops { grid-template-columns: 1fr; gap: 0; }
  .jstop { text-align: left; display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; padding: 0 0 54px; align-items: start; }
  .jstop:last-child { padding-bottom: 0; }
  .jstop-node { margin: 0; grid-row: 1 / span 2; }
  .jstop:not(:last-child)::before { top: 36px; left: 35px; width: 2px; height: 100%; background-image: linear-gradient(180deg, var(--line-2) 0 7px, transparent 7px 15px); background-size: 2px 15px; }
  .jstop h3 { margin-top: 2px; align-self: center; }
  .jstop p { max-width: none; margin-top: 6px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  /* keep the hero CTAs side by side, sharing the row evenly */
  .hero-actions { gap: 10px; flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 13px 12px; font-size: 14.5px; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-sign { gap: 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- why Raasta: convergence flow ---------- */
.why .sec-head { max-width: 760px; }
.why-em { color: var(--primary-ink); }

.why-flow { margin-top: clamp(34px, 4.5vw, 60px); display: grid; gap: clamp(22px, 3vw, 36px); }
/* questions render as wrapping pills on mobile/tablet, a vertical threaded list on desktop */
.flow-asks-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-bottom: 13px; }
.flow-asks-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.flow-asks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.flow-asks li { position: relative; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--pill); }
.flow-mid { display: none; position: relative; min-height: 300px; }
.flow-threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* vertical funnel: mobile/tablet only, hidden on desktop (shown in the ≤1099px block) */
.flow-threads-v { display: none; }
.ft-base path { stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ft-glow path { stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 9 91; stroke-dashoffset: 100; opacity: 0; filter: drop-shadow(0 0 5px rgba(255,90,61,.95)); }
.flow-node { position: absolute; left: 82%; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(255,90,61,.13), 0 0 16px rgba(255,90,61,.7); }
@media (prefers-reduced-motion: no-preference) {
  .ft-glow path { animation: flowPulse 2.4s cubic-bezier(.4,0,.5,1) infinite; animation-delay: var(--d, 0s); }
  .flow-node { animation: nodePulse 2.4s ease-in-out infinite; }
}
@keyframes flowPulse { 0% { stroke-dashoffset: 100; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes nodePulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(255,90,61,.12), 0 0 14px rgba(255,90,61,.5); } 50% { box-shadow: 0 0 0 9px rgba(255,90,61,.05), 0 0 24px rgba(255,90,61,.9); } }
@media (prefers-reduced-motion: reduce) { .ft-glow path { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .8; } }

/* mobile & tablet: verdict card floats up over the photo's lower edge (desktop uses a side overlap) */
.flow-frame { position: relative; }
.flow-photo { position: relative; margin: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--card); overflow: hidden; background: #161a20; }
/* img is absolutely positioned so it covers the box at whatever height the layout resolves to */
.flow-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.06) 45%, rgba(10,12,16,.58)); }
.flow-where { position: absolute; left: 16px; bottom: 52px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.flow-where svg { width: 15px; height: 15px; color: #FF8A6E; }
.flow-verdict { position: relative; z-index: 2; margin: -40px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--card); box-shadow: var(--shadow-lg); padding: clamp(22px, 5vw, 28px); }
/* verdict header: kicker + headline on the left, score ring on the right */
.flow-verdict-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: clamp(20px, 5vw, 26px); }
.fvh-text { min-width: 0; }
.flow-verdict-head .why-kicker { display: block; margin-bottom: 5px; }
.flow-verdict-h { font-family: var(--font-display); font-size: clamp(20px, 5.2vw, 24px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
/* score as a compact circular gauge */
.flow-score { flex: 0 0 auto; }
.score-ring { position: relative; display: block; width: 50px; height: 50px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.sr-track { fill: none; stroke: #E4EEE7; stroke-width: 4; }
.sr-fill { fill: none; stroke: #21A35A; stroke-width: 4; stroke-linecap: round; }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.03em; color: #1B7A47; }
/* facts: clean single-line rows — small icon · label · value */
.flow-facts { list-style: none; }
.flow-facts li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; column-gap: 11px; padding: 11px 0; border-top: 1px solid var(--line); }
.flow-facts li:first-child { border-top: 0; padding-top: 0; }
.flow-facts li:last-child { padding-bottom: 0; }
.flow-facts svg { width: 16px; height: 16px; color: var(--primary); }
.flow-facts > li > span { color: var(--muted); font-size: 13px; }
.flow-facts b { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; text-align: right; color: var(--ink); }
/* tablet: keep the card centred at a comfortable width (mobile lets it run full-width) */
@media (min-width: 680px) and (max-width: 1099px) {
  .flow-frame { max-width: 520px; margin-inline: auto; }
}
/* desktop: 3-column convergence grid; verdict floats over the photo's right edge (side overlap) */
@media (min-width: 1100px) {
  .why-flow { grid-template-columns: minmax(130px, 0.58fr) minmax(190px, 1.25fr) minmax(500px, 2.3fr); align-items: stretch; gap: clamp(20px, 2.4vw, 44px); }
  .flow-mid { display: block; }
  .flow-asks-label { display: none; }
  .flow-asks-col { display: flex; flex-direction: column; }
  .flow-asks { flex: 1; flex-direction: column; flex-wrap: nowrap; justify-content: space-around; gap: 0; padding: 16px 0; }
  .flow-asks li { text-align: right; padding: 0 18px 0 0; font-size: clamp(15px, 1.3vw, 18px); font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 0; }
  .flow-asks li::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--line-2); }
  .flow-frame { align-self: center; max-width: none; margin: 0; }
  .flow-photo { width: 64%; aspect-ratio: 3 / 4; }
  .flow-where { bottom: 13px; }
  .flow-verdict { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 54%; margin: 0; padding: clamp(18px, 1.8vw, 24px); }
}
/* mobile & tablet: the convergence funnel, rotated to run top-to-bottom into the card */
@media (max-width: 1099px) {
  .flow-asks-col { text-align: center; }
  .flow-asks-label { justify-content: center; }
  .flow-asks { justify-content: center; }
  .flow-mid { display: block; position: relative; min-height: 0; width: 100%; max-width: 440px; height: clamp(150px, 33vw, 220px); margin: -4px auto 0; }
  .flow-threads { display: none; }            /* hide the horizontal set */
  .flow-threads-v { display: block; }          /* show the vertical funnel */
  .flow-node { left: 50%; top: 82%; }          /* convergence point of the vertical paths */
}

/* ---------- tablet (≤1024): one consistent section rhythm ---------- */
@media (max-width: 1024px) {
  .section { padding: 92px 0; }
  #how { padding-block: 92px; }
  .cta-sec { padding: 92px 0; }
  .statement { padding: 60px 0; }
  .break-img { padding-bottom: 66px; }
  .footer { padding: 64px 0 32px; }
  .sec-head { margin-bottom: 46px; }
  .feat-grid { row-gap: 42px; }
  .feat-card { padding-top: 26px; }
}

/* ---------- phone (≤600): tighter type, icons and spacing ---------- */
@media (max-width: 600px) {
  :root { --pad: 20px; }
  /* hide the scroll-progress bar on phones, where it crowds the notch / Dynamic Island */
  .progress { display: none; }
  .section { padding: 64px 0; }
  #how { padding-block: 64px; }
  .statement { padding: 48px 0; }
  .cta-sec { padding: 66px 0; }
  .footer { padding: 54px 0 28px; }
  .break-img { min-height: clamp(400px, 60vh, 520px); padding-bottom: 40px; }
  .sec-head { margin-bottom: 30px; }
  .feat-grid { row-gap: 32px; }
  .feat-card { padding-top: 22px; }

  /* headings + lead text */
  .hero-sub { font-size: 15.5px; margin-top: 18px; }
  .section-title { font-size: 25px; }
  .sec-sub { font-size: 14.5px; }
  .eyebrow { font-size: 12px; }
  .hand { font-size: 21px; }
  .statement-text { font-size: 20px; }
  .mq { font-size: 16.5px; padding: 0 16px; }
  .break-title { font-size: 33px; }
  .cta-title { font-size: 27px; }
  .cta-sub { font-size: 15px; }
  .split-sub, .cov-lead { font-size: 15px; }

  /* buttons a touch smaller */
  .btn-lg { font-size: 15px; padding: 12px 22px; }

  /* features */
  .feat-ic svg { width: 23px; height: 23px; }
  .feat-card h3 { font-size: 18px; }
  .feat-card p { font-size: 14.5px; }

  /* trust */
  .trust-ic svg { width: 24px; height: 24px; }
  .trust-card h3 { font-size: 16.5px; }
  .trust-card p { font-size: 14.5px; }

  /* how-it-works: smaller route nodes + text */
  .jstop { grid-template-columns: 56px 1fr; gap: 4px 16px; }
  .jstop-node { width: 56px; height: 56px; }
  .jstop-node svg { width: 22px; height: 22px; }
  .jstop:not(:last-child)::before { top: 30px; left: 28px; }
  .jstop h3 { font-size: 18px; }
  .jstop p { font-size: 14.5px; }

  /* stats + map */
  .stat-hero .num { font-size: 52px; }
  .stat-hero .lbl { font-size: 15px; }

  /* FAQ toggle a bit smaller */
  .faq-item summary { font-size: 16.5px; gap: 14px; padding: 18px 4px; }
  .faq-item summary svg { width: 32px; height: 32px; }
  .faq-a p { font-size: 15px; }

  /* destination cards */
  .dest-tag b { font-size: 15px; }
}
