/* Ceylon Trails by Thami: website design (blue-dominant, playful/illustrated).
   Tokens follow Brand Guidelines v1.0. Gold is a thread, never a fill; Hill Sky and Gold never as text on light grounds. */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0B2D4F;
  --navy-deep: #071F38;
  --ocean: #1E6FB7;
  --sky: #5FB8E8;
  --gold: #D4A649;
  --sand: #E8E6E1;
  --paper: #FBFAF7;
  --mist: #EEF7FC;      /* Hill Sky tint: light ground that keeps pages blue */
  --mist-2: #D9EEFA;
  --muted: #55667A;
  --line: rgba(11, 45, 79, 0.14);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sticker: 0 2px 0 rgba(7, 31, 56, 0.08), 0 10px 24px -8px rgba(7, 31, 56, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--navy);
  background: var(--navy); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky); color: var(--navy); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ocean);
}
.label::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.on-dark .label, .label.light { color: var(--sky); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.h-xl { font-size: clamp(44px, 7.4vw, 112px); }
.h-lg { font-size: clamp(36px, 5vw, 72px); }
.h-md { font-size: clamp(28px, 3.2vw, 44px); }
.h-sm { font-size: clamp(22px, 2vw, 28px); }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 56ch; }
.on-dark { color: #fff; }
.on-dark .lede, .on-dark p { color: rgba(255, 255, 255, 0.84); }
em.accent { font-style: italic; color: var(--sky); }
.on-light em.accent { color: var(--ocean); }

/* Hand-drawn highlight around a word */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -8%; top: -14%; width: 116%; height: 132%; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.underline-doodle { position: relative; display: inline-block; }
.underline-doodle svg { position: absolute; left: 0; bottom: -0.18em; width: 100%; height: 0.32em; overflow: visible; }
.underline-doodle path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.draw path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.4s var(--ease) 0.25s; }
.draw.is-in path { stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sky); --fg: var(--navy);
  position: relative; display: inline-flex; align-items: center; gap: 12px; isolation: isolate; overflow: hidden;
  padding: 16px 26px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap;
  transition: color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(7, 31, 56, 0.55); }
.btn .ico { width: 20px; height: 20px; transition: transform 0.4s var(--ease); }
.btn:hover .ico { transform: translateX(4px) rotate(-8deg); }
.btn-ocean { --bg: var(--ocean); --fg: #fff; }
.btn-ocean:hover { color: var(--navy); }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-navy::before { background: var(--ocean); }
.btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { color: var(--navy); }
.btn-ghost-dark { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost-dark::before { background: var(--navy); }
.btn-ghost-dark:hover { color: #fff; }

.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 50; top: 14px; left: 0; right: 0; pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.site-header.is-hidden { transform: translateY(-130%); }
.nav-shell {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 0 auto; width: min(calc(100% - var(--gutter) * 2), var(--max));
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(11, 45, 79, 0.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 40px -16px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.brand-link { flex: none; }
.brand-link img { width: 200px; height: auto; } /* brand minimum for the horizontal logo on screen */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; color: rgba(255, 255, 255, 0.86);
  font-size: 14px; font-weight: 500; transition: color 0.3s, background 0.3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(95, 184, 232, 0.16); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.saved-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  color: #fff; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.08);
}
.saved-pill .ico { width: 18px; height: 18px; color: var(--sky); }
.saved-pill .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--sky); color: var(--navy); font-size: 12px; display: grid; place-items: center; }
.saved-pill.bump .count { animation: bump 0.5s var(--ease-back); }
@keyframes bump { 40% { transform: scale(1.5); } }
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.lang a { padding: 6px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); transition: background 0.3s, color 0.3s; }
.lang a:hover { color: #fff; background: rgba(95, 184, 232, 0.2); }
.lang a.is-on { background: #fff; color: var(--navy); }
.nav .lang-menu { display: none; }
.skip { position: fixed; z-index: 400; left: 16px; top: -60px; padding: 10px 16px; border-radius: 99px; background: var(--sky); color: var(--navy); font-weight: 600; }
.skip:focus { top: 16px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sky); color: var(--navy); place-content: center; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease); }
.menu-btn span + span { margin-top: 5px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.scroll-progress { position: fixed; z-index: 60; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sky), var(--gold)); }

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; place-items: center;
  background: var(--navy); transform: translateY(0);
}
.curtain::before, .curtain::after { content: ""; position: absolute; left: 0; right: 0; height: 22vh; }
.curtain::before { top: -22vh; background: var(--ocean); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.curtain::after { bottom: -22vh; background: var(--navy); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.curtain img { width: 120px; opacity: 0; transform: translateY(10px) scale(0.9); transition: opacity 0.35s, transform 0.5s var(--ease); }
.curtain .dots { position: absolute; bottom: 30%; display: flex; gap: 10px; }
.curtain .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: hop 0.9s var(--ease) infinite; }
.curtain .dots i:nth-child(2) { animation-delay: 0.12s; }
.curtain .dots i:nth-child(3) { animation-delay: 0.24s; background: var(--gold); }
@keyframes hop { 30% { transform: translateY(-8px); } 60% { transform: translateY(0); } }
.curtain.is-visible img { opacity: 1; transform: none; }
.curtain.leave { transform: translateY(-122vh); transition: transform 1s var(--ease) 0.15s; }
.curtain.enter { transform: translateY(122vh); }
.curtain.done { visibility: hidden; }
.curtain.enter.go { transform: translateY(0); transition: transform 0.7s var(--ease); }

/* ---------- Cursor ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gold); }
.cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid var(--sky);
  display: grid; place-items: center; transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.3s, border-color 0.3s;
  mix-blend-mode: normal;
}
.cursor-ring span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); opacity: 0; transition: opacity 0.2s; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(95, 184, 232, 0.18); }
.cursor-ring.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--sky); border-color: var(--sky); }
.cursor-ring.is-label span { opacity: 1; }
.cursor-ring.is-down { transform: scale(0.85); }
.cursor-trail { position: fixed; z-index: 299; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--sky); pointer-events: none; animation: trail-fade 0.9s var(--ease) forwards; }
@keyframes trail-fade { from { opacity: 0.9; } to { opacity: 0; transform: scale(0.2); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-pop { opacity: 0; transform: scale(0.6) rotate(var(--r, -8deg)); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-back); transition-delay: var(--d, 0s); }
.reveal-pop.is-in { opacity: 1; transform: rotate(var(--r, -4deg)); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 0.06s + var(--d, 0s)); }
.split.is-in .w > span { transform: none; }
.clip-reveal { clip-path: inset(18% 18% 18% 18% round 40px); transition: clip-path 1.4s var(--ease); }
.clip-reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Stickers ---------- */
.sticker {
  --bg: var(--sky); --fg: var(--navy); --r: -6deg;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--bg); color: var(--fg);
  border: 5px solid #fff; box-shadow: var(--shadow-sticker);
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1;
  transform: rotate(var(--r)); transition: transform 0.5s var(--ease-back);
}
.sticker:hover { transform: rotate(calc(var(--r) * -1)) scale(1.06); }
.sticker .ico { width: 20px; height: 20px; }
.sticker.round { width: 112px; height: 112px; border-radius: 50%; flex-direction: column; text-align: center; padding: 10px; font-size: 11px; }
.sticker.round .ico { width: 34px; height: 34px; }
.sticker.navy { --bg: var(--navy); --fg: #fff; }
.sticker.navy .ico { color: var(--sky); }
.sticker.ocean { --bg: var(--ocean); --fg: #fff; }
.sticker.paper { --bg: var(--paper); --fg: var(--navy); }
.sticker.gold { --bg: var(--navy); --fg: var(--gold); }
.sticker.peel::after {
  content: ""; position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, #e9eef2 50%); border-radius: 0 0 50% 0;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.08); transition: width 0.4s var(--ease), height 0.4s var(--ease);
}
.sticker.peel:hover::after { width: 34px; height: 34px; }

/* Stamp (days) */
.stamp {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 2px dashed currentColor; color: var(--navy); background: var(--paper); text-align: center; line-height: 1;
  transform: rotate(-12deg); box-shadow: 0 0 0 5px var(--paper), var(--shadow-sticker);
}
.stamp b { display: block; font-family: var(--serif); font-size: 30px; }
.stamp small { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-group { display: inline-flex; align-items: center; flex: none; }
.ticker { background: var(--sky); color: var(--navy); padding: 18px 0; transform: rotate(-2deg) scale(1.04); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6); }
.ticker .item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-family: var(--serif); font-size: clamp(28px, 4vw, 54px); font-weight: 600; }
.ticker .item .ico { width: 34px; height: 34px; color: var(--navy); }
.ticker .item.outline { color: transparent; -webkit-text-stroke: 1.5px var(--navy); font-style: italic; }
.ticker-2 { background: var(--navy); color: #fff; transform: rotate(1.5deg) scale(1.04); margin-top: -10px; padding: 14px 0; }
.ticker-2 .item { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; gap: 18px; padding-right: 18px; }
.ticker-2 .item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 12vw, 160px) 0; }
.bg-navy { background: var(--navy); }
.bg-deep { background: var(--navy-deep); }
.bg-ocean { background: var(--ocean); }
.bg-sky { background: var(--sky); }
.bg-mist { background: var(--mist); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { margin-top: 16px; max-width: 16ch; }
.wave-top, .wave-bottom { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 90px); pointer-events: none; }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #071F38 0%, var(--navy) 38%, #15558f 72%, var(--ocean) 100%);
}
.hero-art { position: absolute; inset: 0; }
.hero-art svg { position: absolute; left: 50%; bottom: 0; width: max(100%, 1500px); height: auto; transform: translateX(-50%); }
.hero-art .layer { will-change: transform; }
.hero-copy { position: relative; z-index: 3; padding-top: clamp(140px, 20vh, 220px); padding-bottom: 42vh; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy .lede { margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stickers { position: absolute; z-index: 4; right: var(--gutter); top: 26vh; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.hero-stickers .sticker:nth-child(2) { margin-right: 40px; }
.scroll-cue {
  position: absolute; z-index: 4; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.8);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
}
.scroll-cue i { width: 2px; height: 46px; background: linear-gradient(var(--sky), transparent); border-radius: 2px; animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-trail { animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -18.1; } }
.cloud { animation: drift linear infinite; }
@keyframes drift { from { transform: translateX(-200px); } to { transform: translateX(1800px); } }
.flap { animation: flap 0.9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes flap { to { transform: scaleY(0.5); } }
.fly { animation: fly 26s linear infinite; }
@keyframes fly { from { transform: translate(-120px, 40px); } to { transform: translate(1700px, -120px); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 34px 30px 36px; border-radius: 32px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 rgba(11, 45, 79, 0.06), 0 30px 60px -40px rgba(11, 45, 79, 0.5);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.pillar:nth-child(2) { margin-top: 46px; }
.pillar:nth-child(3) { margin-top: 92px; }
.pillar .blob-ico {
  width: 86px; height: 86px; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--sky); color: var(--navy); border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  animation: morph 8s ease-in-out infinite;
}
.pillar:nth-child(2) .blob-ico { background: var(--ocean); color: #fff; animation-delay: -3s; }
.pillar:nth-child(3) .blob-ico { background: var(--navy); color: var(--sky); animation-delay: -5s; }
.pillar .blob-ico .ico { width: 42px; height: 42px; }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
  33% { border-radius: 40% 60% 42% 58% / 58% 40% 60% 42%; }
  66% { border-radius: 52% 48% 65% 35% / 38% 62% 38% 62%; }
}
.pillar h3 { font-size: 30px; margin-bottom: 12px; }
.pillar p { color: #22384F; font-size: 15px; }
.pillar .num { position: absolute; right: 24px; top: 18px; font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--mist-2); line-height: 1; }
.foundation {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  padding: 22px 28px; border-radius: 999px; background: var(--navy); color: #fff;
}
.foundation strong { color: var(--gold); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; }
.foundation span { color: rgba(255, 255, 255, 0.86); font-size: 15px; }

/* ---------- Horizontal tours rail ---------- */
.rail-sec { height: var(--rail-h, 300vh); }
.rail-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.rail-head h2 { max-width: 14ch; margin-top: 14px; }
.rail-progress { width: 180px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 100%; background: var(--sky); transform-origin: 0 50%; transform: scaleX(0); }
.rail { display: flex; gap: 28px; padding: 0 var(--gutter); will-change: transform; }
.rail-card {
  flex: none; width: clamp(260px, 25vw, 360px); position: relative; color: #fff;
  transform: rotate(var(--r, 0deg)); transition: transform 0.6s var(--ease-back);
}
.rail-card:hover { transform: rotate(0deg) translateY(-10px); }
.rail-card .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.rail-card .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease); }
.rail-card:hover .ph img { transform: scale(1.02); }
.rail-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 31, 56, 0.85)); }
.rail-card .meta { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 30px; }
.rail-card h3 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 8px; }
.rail-card .sticker { position: absolute; z-index: 3; top: -14px; left: -10px; }
.rail-card .stamp { position: absolute; z-index: 3; top: -20px; right: -16px; }
.rail-end {
  flex: none; width: clamp(280px, 26vw, 360px); display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 40px; border-radius: 28px; border: 2px dashed rgba(95, 184, 232, 0.5); color: #fff;
}

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-photo { position: relative; }
.story-photo .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 46% 54% 40% 60% / 38% 42% 58% 62%; animation: morph 14s ease-in-out infinite; }
.story-photo .frame img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.story-photo .sticker { position: absolute; z-index: 2; }
.story-photo .s1 { left: -14px; top: 12%; }
.story-photo .s2 { right: -8px; bottom: 16%; }
.story-photo .arc-deco { position: absolute; z-index: -1; width: 120%; left: -10%; top: -8%; }
blockquote.pull, p.pull { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; margin: 28px 0; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat { padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); line-height: 1; color: var(--sky); }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Journey trail ---------- */
.journey { position: relative; }
.journey-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey-svg path.base { fill: none; stroke: rgba(11, 45, 79, 0.15); stroke-width: 3; stroke-dasharray: 0 14; stroke-linecap: round; }
.journey-svg path.live { fill: none; stroke: var(--ocean); stroke-width: 4; stroke-linecap: round; }
.steps { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.step { position: relative; text-align: center; padding-top: var(--y, 0px); }
.step .dot {
  width: 74px; height: 74px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--navy); border: 4px solid var(--mist-2); box-shadow: 0 10px 24px -14px rgba(11, 45, 79, 0.6);
  transition: background 0.5s, color 0.5s, border-color 0.5s, transform 0.6s var(--ease-back);
}
.step.is-lit .dot { background: var(--navy); color: var(--sky); border-color: var(--sky); transform: scale(1.08) rotate(-6deg); }
.step b { display: block; font-family: var(--serif); font-size: 19px; }
.step small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* ---------- Plan CTA ---------- */
.plan { overflow: hidden; }
.plan-card {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 72px); border-radius: 44px; background: var(--ocean); color: #fff; overflow: hidden;
}
.plan-card .arc { position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 3px solid rgba(212, 166, 73, 0.6); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg); }
.plan-form { position: relative; display: grid; gap: 14px; padding: 28px; border-radius: 28px; background: #fff; color: var(--navy); box-shadow: 0 30px 60px -30px rgba(7, 31, 56, 0.7); }
.field { display: grid; gap: 6px; align-content: start; }
.field > span, fieldset legend { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean); }
fieldset { border: 0; min-width: 0; }
fieldset legend { margin-bottom: 8px; }
.plan-form input, .plan-form select, .form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--mist-2); background: var(--mist);
  font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--navy); transition: border-color 0.3s, background 0.3s;
}
.form-card textarea { resize: vertical; min-height: 110px; }
.plan-form input:focus, .plan-form select:focus, .form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--ocean); background: #fff; }
.field input[aria-invalid="true"] { border-color: #B3261E; background: #FFF4F3; }
.field .error { display: none; font-size: 12px; font-weight: 600; color: #B3261E; }
.field input[aria-invalid="true"] ~ .error { display: block; }
.field .hint { font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; cursor: pointer;
  background: var(--mist); color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none;
  box-shadow: inset 0 0 0 2px var(--mist-2); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-back), box-shadow 0.3s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .ico { width: 18px; height: 18px; }
.chip:hover { transform: translateY(-2px) rotate(-2deg); }
.chip:has(input:checked) { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--navy); transform: rotate(-2deg); }
.chip:has(input:checked) .ico { color: var(--sky); }
.chip:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-form .form-actions .btn { flex: 1; justify-content: center; }
.plan-note { font-size: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); padding: 120px 0 40px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid img.logo { width: 220px; }
.foot-grid .h4 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; font-weight: 600; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.foot-grid a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s; }
.foot-grid a:hover { background-size: 100% 1px; color: #fff; }
.licence { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 22px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(212, 166, 73, 0.5); font-size: 12px; }
.licence b { color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.foot-big { margin-top: 90px; font-family: var(--serif); font-size: clamp(54px, 12vw, 190px); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(95, 184, 232, 0.35); white-space: nowrap; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* WhatsApp floating button */
.wa-fab {
  position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--navy); box-shadow: 0 16px 30px -12px rgba(7, 31, 56, 0.7);
}
.wa-fab .ico { width: 30px; height: 30px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sky); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-fab .tip {
  position: absolute; right: 74px; white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(10px); transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none;
}
.wa-fab:hover .tip { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; padding: 14px 20px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); transition: transform 0.6s var(--ease-back), visibility 0.6s; display: flex; gap: 10px; align-items: center; }
.toast .ico { width: 18px; height: 18px; color: var(--sky); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* =================================================================
   TOURS PAGE: playful / illustrated
   ================================================================= */
.t-hero {
  position: relative; min-height: 92svh; overflow: hidden; color: var(--navy);
  background: radial-gradient(1200px 600px at 80% 10%, #8fd0f2 0%, transparent 60%), var(--sky);
  padding: clamp(140px, 18vh, 200px) 0 120px;
}
.t-hero .grain { position: absolute; inset: 0; opacity: 0.08; pointer-events: none; background-image: radial-gradient(var(--navy) 1px, transparent 1.2px); background-size: 22px 22px; }
.t-hero h1 { position: relative; z-index: 2; max-width: 12ch; font-size: clamp(44px, 6.2vw, 96px); }
.t-hero .lede { position: relative; z-index: 2; margin-top: 22px; color: var(--navy); }
.t-hero .label { color: var(--navy); }
.t-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.playground { position: relative; height: 520px; }
.playground .drag {
  position: absolute; touch-action: none; user-select: none; cursor: grab;
  transition: box-shadow 0.3s, transform 0.5s var(--ease-back);
}
.playground .drag.is-dragging { cursor: grabbing; transition: box-shadow 0.3s; box-shadow: 0 30px 40px -18px rgba(7, 31, 56, 0.6); }
.playground .hint { position: absolute; left: 6%; bottom: -6px; display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-style: italic; font-size: 20px; }
.playground .hint svg { width: 70px; height: 50px; }
.playground .hint path { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.die {
  display: grid; place-items: center; width: 140px; height: 140px; border-radius: 50%;
  background: var(--paper); color: var(--navy); border: 7px solid #fff; box-shadow: var(--shadow-sticker);
  font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; line-height: 1.2;
}
.die .ico { width: 54px; height: 54px; margin: 0 auto 6px; }
.die.navy { background: var(--navy); color: #fff; }
.die.navy .ico { color: var(--sky); }
.die.ocean { background: var(--ocean); color: #fff; }
.die.blob { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; width: 170px; height: 150px; }
.die.tag { width: auto; height: auto; padding: 16px 22px; border-radius: 20px; font-size: 13px; }
.die.tag .serif { display: block; font-size: 26px; letter-spacing: 0; text-transform: none; }

/* Hand-drawn squiggle edge between sections */
.edge { display: block; width: 100%; height: 60px; }

/* Map + list */
.atlas { background: var(--mist); }
.atlas-grid { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.6fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.map-card {
  position: sticky; top: 100px; padding: 22px; border-radius: 36px; background: var(--ocean); color: #fff; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(11, 45, 79, 0.8);
}
.map-card .map-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.map-card .map-title b { font-family: var(--serif); font-size: 22px; }
.map-card .map-title small { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-svg .sea-lines path { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; stroke-linecap: round; }
.map-svg .land { fill: var(--navy); stroke: #fff; stroke-width: 3; stroke-linejoin: round; filter: url(#wobble); }
.map-svg .hills path { fill: none; stroke: rgba(95, 184, 232, 0.5); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .place circle { fill: var(--sky); stroke: var(--navy); stroke-width: 2; transition: r 0.4s var(--ease-back), fill 0.3s; }
.map-svg .place text { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: #fff; opacity: 0; transition: opacity 0.3s; paint-order: stroke; stroke: var(--navy); stroke-width: 4px; }
.map-svg .place.on circle { fill: var(--gold); r: 7; }
.map-svg .place.on text { opacity: 1; }
.map-svg .route { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.1 9; }
.map-svg .route-draw { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.6; }
.map-svg .compass text { font-family: var(--serif); font-size: 16px; fill: var(--sky); }
.map-legend { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.85); min-height: 40px; }
.map-legend b { font-family: var(--serif); font-size: 17px; color: #fff; }
.map-note { font-size: 11px; color: rgba(255, 255, 255, 0.6); margin-top: 6px; }

.filters { position: relative; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 14px 30px -24px rgba(11, 45, 79, 0.7); margin-bottom: 36px; }
.filters .pill { position: absolute; z-index: 0; top: 0; left: 0; height: 0; border-radius: 99px; background: var(--navy); transition: transform 0.6s var(--ease-back), width 0.6s var(--ease-back), height 0.3s; }
.filters button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--navy); transition: color 0.35s; }
.filters button .ico { width: 18px; height: 18px; }
.filters button.is-on { color: #fff; }
.filters button.is-on .ico { color: var(--sky); }
.filters .n { font-size: 11px; opacity: 0.6; }

.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px 34px; }
.t-card {
  --r: -1.5deg; --k: 1; position: relative; display: block; border-radius: 30px; background: #fff; padding: 12px 12px 26px;
  box-shadow: 0 2px 0 rgba(11, 45, 79, 0.05), 0 30px 50px -36px rgba(11, 45, 79, 0.7);
  transform: perspective(1000px) rotate(calc(var(--r) * var(--k))) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 0.4s;
}
.t-card.alt { margin-top: 50px; }
.t-card:hover { --k: 0; box-shadow: 0 2px 0 rgba(11, 45, 79, 0.05), 0 40px 70px -30px rgba(11, 45, 79, 0.75); }
.t-card .ph { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 22px 22px 60px 22px; background: var(--mist-2); }
.t-card.alt .ph { border-radius: 22px 60px 22px 22px; }
.t-card h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 30px; }
.t-card h3 a.stretch:focus-visible { outline: none; }
.t-card:focus-within { box-shadow: 0 0 0 4px var(--sky), 0 40px 70px -30px rgba(11, 45, 79, 0.75); }
.t-card .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1s var(--ease); }
.t-card:hover .ph img { transform: scale(1.14); }
.t-card .ph .route-peek {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px 0; align-items: center;
  padding: 10px 14px; border-radius: 16px; background: rgba(11, 45, 79, 0.88); color: #fff; font-size: 12px; font-weight: 500;
  transform: translateY(130%); transition: transform 0.6s var(--ease);
}
.t-card:hover .route-peek, .t-card:focus-visible .route-peek { transform: none; }
.route-peek span { display: inline-flex; align-items: center; }
.route-peek span + span::before { content: ""; width: 14px; height: 2px; margin: 0 6px; background: radial-gradient(circle, var(--gold) 1px, transparent 1.4px) 0 0 / 5px 2px; }
.t-card .type { position: absolute; z-index: 3; left: -14px; top: -16px; --r: -8deg; }
.t-card .stamp { position: absolute; z-index: 3; right: -12px; top: -22px; }
.t-card .body { padding: 22px 14px 0; }
.t-card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.t-card p { margin-top: 10px; font-size: 15px; color: #22384F; }
.t-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px; }
.t-card .season { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ocean); }
.t-card .season .ico { width: 18px; height: 18px; }
.t-card .go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--navy); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-back); }
.t-card:hover .go { background: var(--navy); color: var(--sky); transform: rotate(-45deg); }
.t-card.is-out { opacity: 0; pointer-events: none; }
.t-card.is-hidden { display: none; }
.heart {
  position: absolute; z-index: 4; right: 24px; top: 24px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--navy);
  box-shadow: 0 8px 18px -10px rgba(7, 31, 56, 0.6); transition: transform 0.4s var(--ease-back);
}
.heart:hover { transform: scale(1.12); }
.heart .ico { width: 22px; height: 22px; transition: fill 0.3s, transform 0.5s var(--ease-back); }
.heart[aria-pressed="true"] { color: var(--ocean); }
.heart[aria-pressed="true"] .ico { fill: var(--ocean); transform: scale(1.15); }
.heart .burst { position: absolute; inset: 0; pointer-events: none; }
.heart .burst i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--gold); animation: burst 0.7s var(--ease) forwards; }
.heart .burst i:nth-child(even) { background: var(--sky); }
@keyframes burst { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(-34px) scale(0.2); opacity: 0; } }

.empty { display: none; padding: 50px; text-align: center; border-radius: 30px; border: 2px dashed var(--mist-2); }

/* Tailor-made doodle block */
.doodle-cta { position: relative; overflow: hidden; text-align: center; color: #fff; }
.doodle-cta h2 { max-width: 16ch; margin: 18px auto 0; }
.doodle-cta .lede { margin: 22px auto 0; }
.doodle-cta .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.doodle { position: absolute; pointer-events: none; }
.doodle path { fill: none; stroke: var(--sky); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle.gold path { stroke: var(--gold); }
.spin-slow { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bob { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }

/* =================================================================
   TOUR DETAIL
   ================================================================= */
.d-hero { position: relative; min-height: 100svh; padding: clamp(130px, 17vh, 180px) 0 80px; color: #fff; overflow: hidden; background: var(--navy); }
.d-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.d-hero .crumbs { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.d-hero .crumbs a:hover { color: #fff; }
.d-hero h1 { max-width: 14ch; margin-top: 14px; }
.d-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.d-facts .sticker:nth-child(2) { --r: 4deg; }
.d-facts .sticker:nth-child(3) { --r: -3deg; }
.d-photo { position: relative; }
.d-photo .frame { aspect-ratio: 1 / 1.05; overflow: hidden; border: 10px solid #fff; border-radius: 52% 48% 44% 56% / 46% 40% 60% 54%; animation: morph 14s ease-in-out infinite; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.d-photo .frame img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.d-photo .stamp { position: absolute; left: -10px; bottom: 12%; width: 110px; height: 110px; }
.d-photo .stamp b { font-size: 42px; }
.d-photo .credit { position: absolute; right: 8px; bottom: -28px; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.d-photo .credit a { text-decoration: underline; }

.route-strip { padding: 70px 0 60px; background: var(--ocean); color: #fff; overflow: hidden; }
.route-line { position: relative; display: flex; justify-content: space-between; gap: 10px; margin-top: 34px; }
.route-line svg.line { position: absolute; left: 0; top: 30px; width: 100%; height: 6px; overflow: visible; }
.route-line svg.line path { fill: none; stroke: var(--sky); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0.1 10; }
.route-stop { position: relative; z-index: 1; flex: 1; text-align: center; }
.route-stop .pin { width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--sky); border: 4px solid #fff; transform: scale(0); transition: transform 0.7s var(--ease-back); transition-delay: calc(var(--i) * 0.12s); }
.route-strip.is-in .route-stop .pin { transform: scale(1) rotate(var(--r, 0deg)); }
.route-stop b { font-family: var(--serif); font-size: 17px; font-weight: 600; }

.days { background: var(--mist); }
.days-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.days-side { position: sticky; top: 110px; }
.day-counter { font-family: var(--serif); font-size: clamp(110px, 14vw, 200px); line-height: 0.85; color: var(--navy); display: flex; align-items: flex-start; }
.day-counter small { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ocean); margin: 14px 0 0 12px; }
.day-counter .num { display: inline-block; min-width: 1.1em; }
.day-counter .num.flip { animation: flip 0.5s var(--ease-back); }
@keyframes flip { from { transform: translateY(30%) rotate(-6deg); opacity: 0; } }
.mini-map { margin-top: 26px; width: 100%; max-width: 280px; padding: 14px; border-radius: 26px; background: var(--ocean); }
.timeline { position: relative; padding-left: 70px; }
.timeline .rail-line { position: absolute; left: 26px; top: 10px; bottom: 10px; width: 4px; }
.timeline .rail-line::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(11, 45, 79, 0.25) 2px, transparent 2.5px) 0 0 / 4px 14px repeat-y; }
.timeline .rail-line i { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--ocean); border-radius: 4px; transform-origin: top; transform: scaleY(0); }
.day {
  position: relative; padding: 26px 28px; margin-bottom: 22px; border-radius: 26px; background: #fff;
  box-shadow: 0 20px 40px -32px rgba(11, 45, 79, 0.7); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.day:hover { transform: translateX(8px) rotate(-0.4deg); }
.day::before {
  content: attr(data-n); position: absolute; left: -62px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px;
  box-shadow: inset 0 0 0 3px var(--mist-2); transition: background 0.4s, color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-back);
}
.day.is-active::before { background: var(--navy); color: var(--sky); box-shadow: inset 0 0 0 3px var(--sky); transform: scale(1.15) rotate(-8deg); }
.day h3 { font-size: 23px; }
.day p { margin-top: 8px; color: #22384F; font-size: 15px; }
.day .label { margin-bottom: 6px; }

.request { color: #fff; }
.request-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 44px; background: var(--navy); position: relative; overflow: hidden; }
.request-card ul { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.request-card li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, 0.86); }
.request-card li .ico { color: var(--sky); width: 22px; height: 22px; }
.request-actions { display: grid; gap: 14px; justify-items: start; }

.more-tours .rail-card { --r: 0deg; }
.more-row { display: flex; gap: 28px; overflow-x: auto; padding: 30px var(--gutter) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.more-row::-webkit-scrollbar { display: none; }
.more-row .rail-card { scroll-snap-align: start; }

/* =================================================================
   INNER PAGES (About, Plan, Partners, Gallery, Contact, 404)
   ================================================================= */
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.on-dark .text-link { color: #fff; }
.muted { color: var(--muted); }
.note { display: flex; align-items: center; gap: 10px; margin-top: 34px; font-size: 13px; color: var(--muted); }
.note .ico { width: 20px; height: 20px; color: var(--ocean); }
.h4 { font-family: var(--sans); }

.p-hero { position: relative; overflow: hidden; padding: clamp(150px, 20vh, 210px) 0 clamp(120px, 14vw, 170px); }
.p-hero.bg-sky { background: radial-gradient(1000px 500px at 85% 0%, #8fd0f2 0%, transparent 60%), var(--sky); color: var(--navy); }
.p-hero.bg-ocean { background: radial-gradient(900px 500px at 85% 0%, #2f86d2 0%, transparent 60%), var(--ocean); }
.p-hero.bg-navy { background: radial-gradient(900px 500px at 85% 0%, #15558f 0%, transparent 60%), var(--navy); }
.p-hero-art { position: absolute; right: -40px; bottom: 30px; width: min(720px, 70vw); height: auto; opacity: 0.9; pointer-events: none; }
.p-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: end; }
.p-hero h1 { margin-top: 18px; max-width: 15ch; }
.p-hero .lede { margin-top: 22px; }
.p-hero.on-light .lede { color: var(--navy); }
.p-hero-stickers { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; padding-bottom: 20px; }
.p-hero-stickers .sticker:nth-child(even) { margin-right: 36px; }

.pull-dark { color: var(--navy) !important; }
.stats-light .stat { background: #fff; box-shadow: 0 20px 40px -32px rgba(11, 45, 79, 0.7); }
.stats-light .stat b { color: var(--ocean); }
.stats-light .stat span { color: var(--muted); }

.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.standard, .point, .c-card {
  --k: 1; position: relative; padding: 30px 26px; border-radius: 30px; background: #fff; color: var(--navy);
  box-shadow: 0 30px 60px -40px rgba(7, 31, 56, 0.8);
  transform: perspective(900px) rotate(calc(var(--r, 0deg) * var(--k))) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.standard:hover, .point:hover, .c-card:hover { --k: 0; box-shadow: 0 40px 70px -36px rgba(7, 31, 56, 0.85); }
.standard p, .point p, .c-card p { margin-top: 8px; font-size: 15px; color: #22384F; }
.standard h3, .point h3 { font-size: 24px; }
.standard .blob-ico, .point .blob-ico, .c-card .blob-ico {
  width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--sky); color: var(--navy); border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; animation: morph 8s ease-in-out infinite;
}
.standard:nth-child(2) .blob-ico, .point:nth-child(2) .blob-ico, .c-card:nth-child(2) .blob-ico { background: var(--ocean); color: #fff; animation-delay: -3s; }
.standard:nth-child(3) .blob-ico, .point:nth-child(3) .blob-ico, .c-card:nth-child(3) .blob-ico { background: var(--navy); color: var(--sky); animation-delay: -5s; }
.standard:nth-child(4) .blob-ico { background: var(--mist-2); animation-delay: -6s; }
.standard .blob-ico .ico, .point .blob-ico .ico, .c-card .blob-ico .ico { width: 34px; height: 34px; }

.bird-art { position: relative; max-width: 460px; justify-self: center; }
.bird-art svg { width: 100%; height: auto; }
.bird-art img { position: absolute; left: 14%; top: 10%; width: 72%; height: auto; }

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.guide {
  padding: 18px 18px 26px; border-radius: 30px; background: #fff; text-align: center; transform: rotate(var(--r, 0deg));
  box-shadow: 0 30px 50px -40px rgba(11, 45, 79, 0.8); transition: transform 0.6s var(--ease-back);
}
.guide:hover { transform: rotate(0deg) translateY(-6px); }
.guide-ph {
  display: grid; place-items: center; aspect-ratio: 1 / 1; margin-bottom: 18px; border-radius: 22px 22px 60px 22px;
  border: 3px dashed var(--mist-2); background: var(--mist); color: var(--ocean);
}
.guide-ph .ico { width: 90px; height: 90px; opacity: 0.5; }
.guide h3 { font-size: 24px; }
.guide-langs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.guide-langs .sticker { padding: 6px 12px; border-width: 3px; font-size: 12px; }

.plan-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.plan-grid.form-right { grid-template-columns: 0.85fr 1.15fr; }
.form-card { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 32px; background: #fff; color: var(--navy); box-shadow: 0 30px 60px -36px rgba(7, 31, 56, 0.6); }
.tour-chosen { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--mist); font-size: 14px; }
.tour-chosen .ico { width: 20px; height: 20px; color: var(--ocean); }
.saved-box { padding: 16px; border-radius: 18px; border: 2px dashed var(--mist-2); }
.saved-box ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.saved-box li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 14px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.saved-box li button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--sky); }
.saved-box li button .ico { width: 14px; height: 14px; }
.next-card { position: sticky; top: 110px; padding: 30px; border-radius: 32px; background: var(--navy); color: #fff; overflow: hidden; }
.next-card ol { list-style: none; display: grid; gap: 22px; margin-top: 22px; }
.next-card li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.next-card .n { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--navy); }
.next-card li:nth-child(2) .n { background: var(--ocean); color: #fff; }
.next-card li:nth-child(3) .n { background: var(--paper); }
.next-card b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.next-card p { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }
.next-hours { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, 0.25); font-size: 14px; color: var(--sky); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.desc-card { position: relative; margin: 60px 0 100px; padding: clamp(28px, 4vw, 54px); border-radius: 40px; background: var(--ocean); color: #fff; overflow: hidden; }
.desc-card::after { content: "\201C"; position: absolute; right: 30px; top: -40px; font-family: var(--serif); font-size: 260px; line-height: 1; color: rgba(255, 255, 255, 0.12); }
.desc-card blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; margin-top: 16px; max-width: 40ch; }
.desc-card figcaption { margin-top: 18px; font-size: 13px; color: var(--sky); }

.masonry { columns: 3 300px; column-gap: 24px; }
.m-item { position: relative; break-inside: avoid; margin: 0 0 26px; transform: rotate(var(--r, 0deg)); transition: transform 0.6s var(--ease-back); }
.m-item:hover { transform: rotate(0deg) scale(1.02); z-index: 2; }
.m-open { display: block; width: 100%; padding: 8px; border-radius: 26px; background: #fff; box-shadow: 0 30px 50px -36px rgba(11, 45, 79, 0.8); }
.m-open img { width: 100%; height: auto; border-radius: 20px; }
.m-item:nth-child(3n + 2) .m-open img { aspect-ratio: 4 / 5; object-fit: cover; }
.m-item:nth-child(4n) .m-open img { aspect-ratio: 1 / 1; object-fit: cover; }
.m-item figcaption { position: absolute; left: -8px; bottom: -14px; pointer-events: none; }
.m-item figcaption .sticker { font-size: 11px; padding: 8px 12px; border-width: 4px; }
.sticker.round-ico { width: 52px; height: 52px; padding: 0; border-radius: 50%; --r: -8deg; }
.lightbox { margin: auto; max-width: min(1100px, 92vw); padding: 12px; border: 0; border-radius: 28px; background: #fff; overflow: visible; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.lightbox::backdrop { background: rgba(7, 31, 56, 0.86); backdrop-filter: blur(6px); }
.lightbox img { display: block; max-height: 78vh; width: auto; max-width: 100%; border-radius: 20px; margin: 0 auto; }
.lb-cap { padding: 12px 8px 4px; font-family: var(--serif); font-size: 18px; color: var(--navy); text-align: center; }
.lb-cap:empty { display: none; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--navy); box-shadow: var(--shadow-sticker); transition: transform 0.4s var(--ease-back); }
.lb-btn:hover { transform: scale(1.1) rotate(-6deg); }
.lb-close { right: -18px; top: -18px; background: var(--navy); color: #fff; }
.lb-prev { left: -26px; top: 50%; margin-top: -26px; }
.lb-next { right: -26px; top: 50%; margin-top: -26px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.c-card h2 { margin-bottom: 4px; }
.c-card .btn { margin-top: 20px; }
.c-wa { --r: -1.5deg; background: var(--navy); color: #fff; }
.c-wa p { color: rgba(255, 255, 255, 0.84); }
.contact-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 50px; padding: 26px 30px; border-radius: 999px; border: 2px dashed var(--mist-2); }

.mock-note, .itin-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.mock-note .ico, .itin-note .ico { width: 18px; height: 18px; color: var(--sky); }
.itin-note { margin: 0 0 22px; color: var(--muted); }
.itin-note .ico { color: var(--ocean); }
.die.tag-navy { background: var(--navy); color: #fff; }
.die.tag-navy .serif { color: var(--sky); }
.playground .hint { left: auto; right: 6%; bottom: -30px; }

.nf { position: relative; min-height: 100svh; display: grid; align-content: center; padding: 150px 0 120px; background: radial-gradient(900px 600px at 50% 20%, #15558f 0%, transparent 60%), var(--navy); overflow: hidden; }
.nf-art { width: min(560px, 90vw); height: auto; margin: 0 auto -10px; }
.nf-langs { list-style: none; display: grid; gap: 8px; margin-top: 40px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.nf-langs a { color: var(--sky); margin-left: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .nav-actions .lang { display: none; }
  .menu-btn { display: grid; }
  .menu-open .nav {
    display: flex; position: fixed; inset: 84px var(--gutter) auto; flex-direction: column; align-items: stretch;
    padding: 14px; border-radius: 28px; background: var(--navy); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  }
  .menu-open .nav a { padding: 14px 18px; font-size: 18px; font-family: var(--serif); }
  .menu-open .nav .lang-menu { display: flex; align-self: flex-start; margin: 8px 0 4px 10px; }
  .menu-open .nav .lang-menu a { font-family: var(--sans); font-size: 13px; padding: 8px 12px; }
}
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .menu-open .nav {
    display: flex; position: fixed; inset: 84px var(--gutter) auto; flex-direction: column; align-items: stretch;
    padding: 14px; border-radius: 28px; background: var(--navy); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  }
  .menu-open .nav a { padding: 14px 18px; font-size: 18px; font-family: var(--serif); }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(n) { margin-top: 0; }
  .story-grid, .plan-card, .t-hero-grid, .atlas-grid, .d-hero-grid, .days-grid, .request-card { grid-template-columns: 1fr; }
  .map-card { position: relative; top: 0; max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .step { padding-top: 0 !important; }
  .journey-svg { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-stickers { display: none; }
  .days-side { position: relative; top: 0; }
  .day-counter { font-size: 90px; }
  .playground { height: 420px; }
  .p-hero-grid, .plan-grid { grid-template-columns: 1fr; }
  .p-hero-stickers { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .p-hero-stickers .sticker:nth-child(even) { margin-right: 0; }
  .standards { grid-template-columns: 1fr 1fr; }
  .guides, .points, .contact-cards { grid-template-columns: 1fr; max-width: 560px; }
  .next-card { position: relative; top: 0; }
}
@media (max-width: 700px) {
  .tour-grid { grid-template-columns: 1fr; }
  .t-card.alt { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 14px; }
  .saved-pill .lbl { display: none; }
  .nav-shell { padding: 8px 8px 8px 14px; gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions > .btn { display: none; }
  .saved-pill { padding: 10px 12px; }
  .route-line { flex-wrap: wrap; justify-content: center; gap: 18px 6px; }
  .route-line svg.line { display: none; }
  .route-stop { flex: 0 0 30%; }
  .foot-grid { grid-template-columns: 1fr; }
  .standards { grid-template-columns: 1fr; }
  .contact-more { border-radius: 28px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-close { right: 6px; top: 6px; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .hero-copy { padding-bottom: 300px; }
  .timeline { padding-left: 54px; }
  .day::before { left: -54px; }
  .timeline .rail-line { left: 18px; }
  .die { width: 112px; height: 112px; }
  .die .ico { width: 40px; height: 40px; }
  .die.blob { width: 136px; height: 120px; }
}

/* Touch / small screens: rail falls back to native horizontal scroll */
.rail-sec.is-static { height: auto; }
.rail-sec.is-static .rail-sticky { position: relative; height: auto; padding: 100px 0; }
.rail-sec.is-static .rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 24px; padding-bottom: 24px; scrollbar-width: none; }
.rail-sec.is-static .rail-card { scroll-snap-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-pop, .split .w > span { opacity: 1; transform: none; }
  .clip-reveal { clip-path: none; }
  .curtain { display: none; }
}
