/* Travellante — site styles
   Idea: the logo's sunrise (the ember sun rising between two mountains) opens the site,
   departures read like a bus-stand board, every price sits on a tear-off ticket stub. */
:root {
  --midnight: #092E36;
  --night: #061F25;
  --teal-2: #0E3A43;
  --teal-3: #1D4A53;
  --ember: #E2410F;
  --ember-deep: #C9380B;
  --ember-dark: #B3310A;
  --snow: #F7F3EC;
  --stone: #E8DFD1;
  --glacier: #A8C6CB;
  --ink-soft: #2F474D;
  --muted: #5D7076;
  --paper: #FFFDF8;
  --line: #E2D8C7;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--snow); color: var(--midnight);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--midnight); color: var(--snow); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.eyebrow {
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ember-deep);
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--glacier); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head h2 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 700; }
.section-head p { color: var(--ink-soft); font-size: 18px; max-width: 60ch; }
.on-dark .section-head p { color: #CFDCDE; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--ember-deep); color: #FFFFFF; }
.btn-primary:hover { background: var(--ember-dark); }
.btn-ghost { background: transparent; color: var(--midnight); box-shadow: inset 0 0 0 2px var(--midnight); }
.btn-ghost:hover { background: var(--midnight); color: var(--snow); }
.btn-light { background: var(--snow); color: var(--midnight); }
.btn-light:hover { background: #FFFFFF; }
.btn-ghost-light { background: transparent; color: var(--snow); box-shadow: inset 0 0 0 2px rgba(247, 243, 236, 0.7); }
.btn-ghost-light:hover { background: var(--snow); color: var(--midnight); }
.text-link { font-family: var(--display); font-weight: 600; color: var(--ember-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--midnight); }

/* ---------- Sale strip ---------- */
/* Black Friday banner: a bold ember strip on every page, linking to the offers */
.sale { position: relative; display: block; overflow: hidden; background: var(--ember-deep); color: #FFFFFF; font-family: var(--display); text-decoration: none; }
.sale .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.sale-label { padding: 4px 11px; border-radius: 999px; background: var(--midnight); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--snow); }
.sale-offer { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.sale-cta { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sale:hover .sale-cta, .sale:focus-visible .sale-cta { text-decoration-thickness: 2.5px; }
.sale:focus-visible { outline: 3px solid var(--midnight); outline-offset: -3px; }
.sale::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent); transform: skewX(-18deg); animation: saleSheen 7s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes saleSheen { 0% { left: -40%; } 22%, 100% { left: 130%; } }

/* Home hero: a round sale stamp, pressed on after the headline rises */
.sale-stamp { position: absolute; z-index: 3; top: 72px; right: max(28px, 7vw); width: 156px; height: 156px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: var(--ember-deep); color: #FFFFFF; font-family: var(--display); text-decoration: none; text-align: center; line-height: 1.05; transform: rotate(-9deg); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); animation: stampPress 0.55s cubic-bezier(.3, 1.4, .5, 1) 1.7s backwards; transition: transform 0.25s ease; }
.sale-stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.7); pointer-events: none; }
.sale-stamp:hover { transform: rotate(-3deg) scale(1.05); }
.sale-stamp:focus-visible { outline: 3px solid var(--snow); outline-offset: 4px; }
.ss-name { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ss-small { font-size: 13px; font-weight: 600; margin-top: 4px; }
.ss-big { font-size: 33px; font-weight: 700; letter-spacing: -0.03em; }
.ss-off { font-size: 15px; font-weight: 700; }
@keyframes stampPress { from { opacity: 0; transform: rotate(-24deg) scale(1.7); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 243, 236, 0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(9, 46, 54, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-family: var(--display); font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--ember); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--midnight); color: var(--snow); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Home hero: the sunrise ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--snow);
  background: linear-gradient(180deg, #04171C 0%, #082A32 46%, #15444C 78%, #24525A 100%);
}
.hero-stars { position: absolute; inset: 0 0 auto 0; width: 100%; height: 70%; pointer-events: none; }
.hero-stars circle { fill: #F7F3EC; }
.hero-stars .tw { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.25; } }
.hero-inner { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.hero h1 { font-size: clamp(52px, 8.4vw, 116px); line-height: 0.92; font-weight: 700; letter-spacing: -0.04em; }
.hero h1 .accent { color: var(--ember); }
.hero-lead { font-size: 20px; color: #D9E4E5; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-scene { position: relative; z-index: 1; display: block; width: 100%; height: auto; margin-top: -40px; }
.sun-group { animation: sunrise 2.6s cubic-bezier(.22, .7, .2, 1) 0.2s both; }
@keyframes sunrise { from { transform: translateY(210px); } to { transform: translateY(0); } }
.sun-glow { animation: glow 2.6s ease-out 0.2s both; }
@keyframes glow { from { opacity: 0.15; } to { opacity: 0.85; } }

/* ---------- Special batches: one boarding pass per date ---------- */
.specials-section { background: var(--night); color: var(--snow); padding: 32px 0 84px; scroll-margin-top: 70px; --notch-bg: var(--night); }
.specials-section .section-head { margin-bottom: 30px; }
.group[data-sp-block] { --notch-bg: var(--stone); }

.sp-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); gap: 22px 20px; }
.sp-tkt { --band: var(--ember-deep); --band-ink: #FFFFFF; --tilt: -1.2deg; position: relative; display: flex; flex-direction: column; border-radius: 18px; background: var(--paper); color: var(--midnight); text-decoration: none; overflow: hidden; box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.6); transform: rotate(var(--tilt)); transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), box-shadow 0.25s ease; }
.sp-tkt:nth-child(even) { --tilt: 1.1deg; }
.sp-tkt:hover, .sp-tkt:focus-visible { transform: translateY(-6px) rotate(0deg); box-shadow: 0 24px 36px -22px rgba(0, 0, 0, 0.7); }
.sp-tkt.is-xmas { --band: #2E6670; }
.sp-tkt.is-newyear { --band: #E8A33D; --band-ink: var(--midnight); }
.sp-band { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--band); color: var(--band-ink); font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.sp-band svg { width: 16px; height: 16px; flex: none; }
.sp-when { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; }
.sp-flaps { display: flex; gap: 3px; }
.sp-flaps span { position: relative; display: grid; place-items: center; width: 32px; height: 42px; border-radius: 6px; background: linear-gradient(180deg, #17353B 0 49%, #0F2A30 51% 100%); color: #FFF6E8; font-family: var(--display); font-weight: 700; font-size: 26px; }
.sp-flaps span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.55); }
.sp-mon { display: flex; flex-direction: column; font-family: var(--display); font-size: 13px; color: var(--muted); line-height: 1.2; }
.sp-mon b { font-size: 18px; font-weight: 700; letter-spacing: 0.08em; color: var(--midnight); }
.sp-tear { position: relative; margin: 0 14px; border-top: 2px dashed #CFC4B1; }
.sp-tear::before, .sp-tear::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--notch-bg, var(--night)); }
.sp-tear::before { left: -24px; }
.sp-tear::after { right: -24px; }
.sp-info { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.sp-trip { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.sp-meta { font-size: 13px; color: var(--muted); }
.sp-cost { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sp-cost small { font-size: 12.5px; color: var(--muted); }
.sp-cost b { font-family: var(--display); font-size: 21px; font-weight: 700; }
.sp-cost s { font-size: 13px; color: var(--muted); }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.sp-seat { padding: 4px 9px; border-radius: 999px; font-family: var(--display); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sp-seat.is-low { background: #FBE3D8; color: var(--ember-dark); }
.sp-seat.is-open { background: #E7F6EC; color: #145A36; }
.sp-seat.is-full { background: var(--stone); color: var(--ink-soft); }
.sp-go { padding: 6px 14px; border-radius: 999px; background: var(--midnight); color: var(--snow); font-family: var(--display); font-size: 13.5px; font-weight: 600; transition: background-color 0.15s ease; }
.sp-tkt:hover .sp-go, .sp-tkt:focus-visible .sp-go { background: var(--ember-deep); }
.nav-call { display: inline-flex; align-items: center; gap: 7px; }
.nav-call svg { width: 18px; height: 18px; flex: none; }
.mb-actions { display: flex; align-items: center; gap: 10px; }
.mb-call { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(247, 243, 236, 0.5); color: var(--snow); }
.mb-call svg { width: 20px; height: 20px; }
.sp-link { align-self: flex-start; font-family: var(--display); font-weight: 600; font-size: 15px; color: #FFC4A8; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.sp-link:hover { color: #FFFFFF; }

/* ---------- Request a call back: one form in a dialog, torn like a ticket ---------- */
.cb { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--midnight); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55); overflow: auto; overscroll-behavior: contain; }
.cb::backdrop { background: rgba(6, 31, 37, 0.62); backdrop-filter: blur(3px); }
.cb[open] { animation: cbIn 0.3s cubic-bezier(.2, .8, .2, 1); }
@keyframes cbIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.cb-head { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 64px 24px 28px; background: var(--midnight); color: var(--snow); }
.cb-head .eyebrow { color: var(--glacier); }
.cb-head h2 { font-size: 32px; font-weight: 700; }
.cb-lead { color: #D2DEE0; font-size: 15px; }
.cb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(247, 243, 236, 0.12); color: var(--snow); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color 0.15s ease; }
.cb-close:hover { background: rgba(247, 243, 236, 0.24); }
.cb-close:focus-visible { outline-color: var(--snow); }
.cb-body { padding: 22px 28px 26px; border-top: 2px dashed #CFC4B1; }
.cb .form { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.cb .form[hidden] { display: none; }
.cb .form .btn { width: 100%; justify-self: stretch; }
.cb .wa-ready { padding: 0; border: 0; border-radius: 0; }
.cb .wa-ready h3 { font-size: 21px; }
.cb .wa-preview { max-height: 240px; }
.opt-label { font-weight: 500; color: var(--muted); }
.ticket-stub .cb-open { margin-top: 0; }

/* ---------- Trip page: the route map beside a booking card ---------- */
.tp-head { grid-area: head; display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.tp-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "head card" "map card"; grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 22px; align-items: start; padding-top: 14px; }
.tp-body { padding-bottom: 88px; }
.tp-head .crumbs, .tp-head .crumbs a { color: var(--muted); }
.tp-head .crumbs a:hover { color: var(--ember-deep); }
.tp-head h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.tp-head .tagline { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.tp-batch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tp-head .sp-link { color: var(--ember-deep); }
.tp-head .sp-link:hover { color: var(--midnight); }
.tp-tabs { position: sticky; top: 0; z-index: 20; margin-top: 40px; background: rgba(247, 243, 236, 0.96); border-bottom: 1px solid var(--line); transition: top 0.35s cubic-bezier(.2, .7, .2, 1); }
.tp-tabs .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.tp-tabs .wrap::-webkit-scrollbar { display: none; }
.tp-tabs a.tp-tabs-book { margin-left: auto; background: var(--ember-deep); border-color: var(--ember-deep); color: #FFFFFF; }
.tp-tabs a.tp-tabs-book:hover { background: var(--ember-dark); border-color: var(--ember-dark); }
.site-header:not(.is-hidden) ~ main .tp-tabs { top: 72px; }
.tp-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--midnight); text-decoration: none; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.tp-tabs a:hover { border-color: var(--midnight); }
.tp-tabs a[aria-current] { background: var(--midnight); border-color: var(--midnight); color: var(--snow); }
.route-map { grid-area: map; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.route-map svg { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); }
.route-map .rm-tall { display: none; }
.route-map figcaption { font-size: 14px; color: var(--muted); }
.tp-content { display: flex; flex-direction: column; gap: 64px; padding-top: 36px; min-width: 0; }
.tp-content .block { scroll-margin-top: 150px; }
.sub-h { font-size: 22px; font-weight: 700; margin-top: 14px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 68ch; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.day-body h4 { font-size: 21px; font-weight: 700; }
.pack-card h4 { font-size: 18px; font-weight: 700; }
.faq-item h4 { font-size: 18px; font-weight: 600; }

.book-card { grid-area: card; position: sticky; top: 96px; margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 40px -26px rgba(9, 46, 54, 0.45); overflow: hidden; }
.bc-top { padding: 22px 24px 18px; display: flex; flex-direction: column; gap: 2px; }
.bc-label { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.bc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-variant-numeric: tabular-nums; }
.bc-price strong { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.bc-price s { font-size: 17px; color: var(--muted); }
.bc-off { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ember-deep); }
.bc-price s:empty, .bc-off:empty { display: none; }
.bc-per { font-size: 14px; color: var(--muted); }
.bc-body { padding: 18px 24px 22px; border-top: 2px dashed #CFC4B1; display: flex; flex-direction: column; gap: 14px; }
.bc-live { display: flex; flex-direction: column; gap: 14px; }
.bc-live[hidden], .bc-static[hidden], .bc-row[hidden] { display: none; }
.bc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bc-h { margin: 0; font-family: var(--display); font-weight: 700; font-size: 17px; }
.bc-field { display: flex; flex-direction: column; gap: 8px; }
.bc-status { margin: 0; font-family: var(--display); font-weight: 600; font-size: 14px; color: #145A36; }
.bc-status.is-special { color: var(--ember-dark); }
.bc-status:empty { display: none; }
.bc-select { min-height: 44px; min-width: 0; max-width: 72%; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--midnight); background: var(--paper); color: var(--midnight); font-family: var(--display); font-weight: 600; font-size: 15px; cursor: pointer; }
.bc-select.bc-wide { width: 100%; max-width: none; min-height: 50px; border-radius: 14px; font-size: 16px; }
.bc-step { display: flex; align-items: center; gap: 4px; }
.bc-step button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--midnight); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color 0.15s ease; }
.bc-step button:hover:not(:disabled) { border-color: var(--midnight); }
.bc-step button:disabled { opacity: 0.4; cursor: default; }
.bc-step output { min-width: 34px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.bc-total { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--snow); }
.bc-total:empty { display: none; }
.bc-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.bc-sum strong { font-family: var(--display); font-size: 21px; color: var(--midnight); }
.bc-adv { font-size: 13.5px; color: var(--muted); }
.bc-book { width: 100%; min-height: 54px; font-size: 18px; }
.bc-doubt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.bc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--midnight); font-family: var(--display); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color 0.15s ease; }
.bc-chip svg { width: 18px; height: 18px; flex: none; }
.bc-chip:hover { border-color: var(--midnight); color: var(--midnight); }

/* ---------- Departures board ---------- */
.board-section { background: var(--night); color: var(--snow); padding: 8px 0 96px; }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.board-head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.board-clock { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--glacier); letter-spacing: 0.08em; text-transform: uppercase; }
.board { background: #03161A; border-radius: 20px; padding: 10px; box-shadow: inset 0 0 0 1px rgba(168, 198, 203, 0.14); }
.board-labels, .board-row {
  display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px; align-items: center; padding: 12px 18px;
}
.board-labels { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--glacier); }
.board-row { text-decoration: none; border-top: 1px solid rgba(168, 198, 203, 0.12); border-radius: 12px; transition: background-color 0.15s ease; }
.board-row:hover { background: rgba(168, 198, 203, 0.08); }
.flaps { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.flap-word { display: inline-flex; gap: 3px; }
.flap {
  position: relative; display: inline-grid; place-items: center; width: 1.12em; height: 1.5em;
  font-family: var(--display); font-weight: 700; font-size: 18px; color: #FFF6E8;
  background: linear-gradient(180deg, #17353B 0 49%, #0F2A30 51% 100%); border-radius: 4px;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.55); }
.flap.space { background: transparent; }
.flap.space::after { display: none; }
.board-cell { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: #E8EFEF; }
.board-fare { font-family: var(--display); font-weight: 700; font-size: 20px; color: #FF8A5B; white-space: nowrap; }
.board-fare s { font-size: 13px; font-weight: 500; color: #8FA7AB; margin-right: 6px; }
.board-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: #9FE0B4; text-transform: uppercase; }
.board-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5CD98A; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.board-note { margin-top: 18px; color: #B9CBCE; font-size: 15px; }

/* ---------- Trip styles: luggage tags ---------- */
.tags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.tag {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 46px 20px 22px;
  background: var(--paper); border-radius: 16px 16px 18px 18px; text-decoration: none;
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  box-shadow: 0 1px 0 rgba(9, 46, 54, 0.05);
}
.tag::before { content: ""; position: absolute; top: 16px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--snow); box-shadow: inset 0 0 0 3px var(--line); }
.tag { --tilt: -1.6deg; --ty: 0px; transform: translateY(var(--ty)) rotate(var(--tilt)); transform-origin: 50% 24px; }
.tag:nth-child(even) { --tilt: 1.4deg; --ty: 10px; }
.tag h3 { font-size: 21px; font-weight: 700; }
.tag p { font-size: 15px; color: var(--ink-soft); }
.tag .tag-go { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ember-deep); }
.tag.is-dark { background: var(--midnight); color: var(--snow); }
.tag.is-dark p { color: #D2DEE0; }
.tag.is-dark .tag-go { color: #FF8A5B; }
.tag.is-dark::before { background: var(--snow); box-shadow: inset 0 0 0 3px #2B5C65; }

/* ---------- Quiz ---------- */
.quiz-section { background: var(--stone); }
.quiz { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; margin-top: 44px; align-items: start; }
.quiz-steps { display: flex; flex-direction: column; gap: 26px; }
.quiz-q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.quiz-q legend { font-family: var(--display); font-weight: 700; font-size: 20px; padding: 0; margin-bottom: 4px; }
.quiz-q legend span { color: var(--ember-deep); margin-right: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: var(--paper); font-family: var(--display); font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1.5px #D6CBB8;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chip input:checked + label { background: var(--midnight); color: var(--snow); box-shadow: none; }
.chip input:focus-visible + label { outline: 3px solid var(--ember); outline-offset: 3px; }
.quiz-result { background: var(--midnight); color: var(--snow); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 100%; position: sticky; top: 100px; }
.quiz-result .eyebrow { color: var(--glacier); }
.quiz-result h3 { font-size: 34px; font-weight: 700; }
.quiz-result p { color: #D2DEE0; }
.quiz-result .q-price { font-family: var(--display); font-weight: 700; font-size: 22px; color: #FF8A5B; }
.quiz-result .q-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- Why ---------- */
.why { background: var(--midnight); color: var(--snow); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.why-item { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(247, 243, 236, 0.22); }
.why-item h3 { font-size: 23px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.why-item h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); flex: none; }
.why-item p { color: #D2DEE0; font-size: 16px; }

/* ---------- Postcards + reviews ---------- */
.road { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: 48px; }
.postcards { position: relative; aspect-ratio: 7 / 6; }
.stamp {
  --r: 7px; position: absolute; margin: 0; background: var(--paper);
  padding: calc(2.2 * var(--r)) calc(2.2 * var(--r)) calc(1.2 * var(--r) + 34px);
  -webkit-mask: radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask: radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  filter: drop-shadow(0 10px 18px rgba(9, 46, 54, 0.16));
}
.stamp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stamp figcaption { position: absolute; left: calc(2.2 * var(--r)); right: calc(2.2 * var(--r)); bottom: calc(1.2 * var(--r) + 8px); font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stamp-1 { width: 54%; left: 0; top: 0; z-index: 3; --rot: -4deg; }
.stamp-2 { width: 52%; right: 0; top: 9%; z-index: 2; --rot: 4deg; }
.stamp-3 { width: 50%; left: 22%; bottom: 0; z-index: 1; --rot: -2deg; }
.reviews { display: flex; flex-direction: column; gap: 16px; }
.review { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); }
.review blockquote { margin: 0; font-size: 17px; }
.review blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 52px; line-height: 0.6; color: var(--ember); margin-bottom: 8px; }
.review figcaption { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember-deep); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: var(--stone); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 15px; width: 36px; height: 36px; border-radius: 50%; background: var(--midnight); color: var(--snow); display: grid; place-items: center; margin-bottom: 6px; }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { color: var(--ink-soft); font-size: 16px; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--midnight); color: var(--snow); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -0.035em; max-width: 16ch; }
.page-hero p { color: #D2DEE0; font-size: 19px; max-width: 58ch; }
.page-hero::after { content: ""; position: absolute; right: 6%; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: var(--ember); opacity: 0.9; }
.page-hero.no-sun::after { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--display); font-size: 14px; color: var(--glacier); }
.crumbs a { color: var(--glacier); text-decoration: none; }
.crumbs a:hover { color: var(--snow); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: 0.6; }

/* ---------- Tickets (departures) ---------- */
.departures { background: var(--stone); padding: 72px 0 88px; }
.group { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px; }
.group:first-child { margin-top: 0; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.group-head h2 { font-size: 32px; font-weight: 700; }
.group-head .off { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ember-deep); }
.group-head p { flex-basis: 100%; color: var(--ink-soft); font-size: 15px; }
.ticket { --notch: 13px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(9, 46, 54, 0.06), 0 12px 28px -18px rgba(9, 46, 54, 0.35); overflow: hidden; }
.ticket-main { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); }
.ticket-media { position: relative; background: var(--midnight); min-height: 230px; }
.ticket-media img, .ticket-media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ticket-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.route { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-deep); }
.ticket h3 { font-size: 26px; font-weight: 700; }
.ticket h3 a { text-decoration: none; }
.ticket h3 a:hover { color: var(--ember-deep); }
.ticket .line { color: var(--ink-soft); font-size: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.facts li { font-family: var(--display); font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--snow); border: 1px solid #DDD3C2; }
.ticket-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 4px; }
.ticket-stub { position: relative; padding: 26px 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; border-left: 2px dashed #CFC4B1; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: calc(-1 * var(--notch) - 1px); width: calc(2 * var(--notch)); height: calc(2 * var(--notch)); border-radius: 50%; background: var(--stone); }
.ticket-stub::before { top: calc(-1 * var(--notch)); }
.ticket-stub::after { bottom: calc(-1 * var(--notch)); }
.stub-label { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices td { padding: 7px 0; border-bottom: 1px solid #EEE6D8; vertical-align: baseline; }
.prices tr:last-child td { border-bottom: 0; }
.prices .opt { font-size: 14px; color: var(--ink-soft); }
.prices .was { text-align: right; font-size: 14px; color: var(--muted); padding-right: 10px; white-space: nowrap; }
.prices .now { text-align: right; font-family: var(--display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.stub-note { font-size: 13px; color: var(--ink-soft); }
.ticket-stub .btn { margin-top: auto; width: 100%; }

/* ---------- Trip page ---------- */
.trip-hero { background: var(--midnight); color: var(--snow); padding: 40px 0 72px; overflow: hidden; }
.trip-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.trip-hero-text { display: flex; flex-direction: column; gap: 18px; }
.trip-hero h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.96; }
.trip-hero .tagline { font-size: 20px; color: #D2DEE0; max-width: 40ch; }
.trip-hero .facts li { background: rgba(247, 243, 236, 0.08); border-color: rgba(247, 243, 236, 0.22); color: var(--snow); }
.trip-hero .route { color: #FF8A5B; }
.hero-stamp { --r: 9px; position: relative; margin: 0; background: var(--paper); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(2.5deg); transition: transform 0.3s ease-out;
  padding: calc(2.2 * var(--r)) calc(2.2 * var(--r)) calc(1.2 * var(--r) + 40px);
  -webkit-mask: radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask: radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)), linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}
.hero-stamp img, .hero-stamp svg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hero-stamp figcaption { position: absolute; left: calc(2.2 * var(--r)); right: calc(2.2 * var(--r)); bottom: calc(1.2 * var(--r) + 10px); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-top: 64px; padding-bottom: 88px; }
.trip-content { display: flex; flex-direction: column; gap: 64px; }
.block { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 100px; }
.block h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.block > p { font-size: 18px; color: var(--ink-soft); max-width: 66ch; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.highlights li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.highlights li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--ember); flex: none; }

.profile { background: var(--midnight); border-radius: var(--radius); padding: 22px 22px 14px; color: var(--snow); }
.profile { overflow-x: auto; }
.profile svg { width: 100%; min-width: 540px; height: auto; display: block; }
.profile .p-label { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glacier); }

.stops { display: flex; flex-wrap: wrap; gap: 8px 6px; padding: 0; list-style: none; align-items: center; }
.stops li { font-family: var(--display); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.stops li:not(:last-child)::after { content: "→"; color: var(--ember-deep); margin-left: 4px; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; border-left: 2px dashed #CFC4B1; }
.day { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.day:last-child { padding-bottom: 0; }
.day-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--midnight); color: var(--snow); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; }
.day.is-peak .day-num { background: var(--ember-deep); }
.day-body { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.day-body h3 { font-size: 21px; font-weight: 700; }
.day-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ember-deep); letter-spacing: 0.04em; }
.day-body p { color: var(--ink-soft); font-size: 16px; max-width: 64ch; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.gallery figcaption { font-size: 14px; color: var(--muted); }

.incl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.incl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.incl-card h3 { font-size: 19px; font-weight: 700; }
.incl-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.incl-card li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.incl-card li::before { content: "✓"; font-weight: 700; color: #1E7A4B; flex: none; }
.incl-card.is-out li::before { content: "✕"; color: var(--ember-deep); }

.pack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pack-card { background: var(--stone); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.pack-card h3 { font-size: 18px; font-weight: 700; }
.pack-card ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink-soft); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.faq-item h3 { font-size: 18px; font-weight: 600; }
.faq-item p { font-size: 16px; color: var(--ink-soft); }
.notice { background: #FBEDE6; border-radius: 14px; padding: 16px 20px; font-size: 15px; color: #6A2A12; }

.book-stub { position: sticky; top: 96px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(9, 46, 54, 0.06), 0 18px 36px -22px rgba(9, 46, 54, 0.45); overflow: hidden; }
.book-stub .stub-top { background: var(--midnight); color: var(--snow); padding: 18px 24px; display: flex; flex-direction: column; gap: 4px; }
.book-stub .stub-top .eyebrow { color: var(--glacier); }
.book-stub .stub-top strong { font-family: var(--display); font-size: 20px; }
.book-stub .stub-body { position: relative; padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; border-top: 2px dashed #CFC4B1; }
.book-stub .stub-body .btn { width: 100%; }
.book-stub .ask { font-size: 14px; text-align: center; }

.mobile-book { display: none; }

.related { background: var(--stone); padding: 72px 0 88px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.mini { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.2s ease; }
.mini:hover { transform: translateY(-3px); }
.mini-media { aspect-ratio: 16 / 10; background: var(--midnight); position: relative; }
.mini-media img, .mini-media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.mini-body h3 { font-size: 21px; font-weight: 700; }
.mini-body p { font-size: 14px; color: var(--ink-soft); }
.mini-body .mini-price { font-family: var(--display); font-weight: 700; color: var(--ember-deep); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--midnight); background: var(--snow);
  border: 1.5px solid #D6CBB8; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ember); outline-offset: 1px; border-color: var(--midnight); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.side-card { background: var(--midnight); color: var(--snow); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.side-card p { color: #D2DEE0; }
.side-card a.big { font-family: var(--display); font-size: 24px; font-weight: 700; text-decoration: none; color: var(--snow); }
.side-card a.big:hover { color: #FF8A5B; }
.form-wrap > .side-card { grid-column: 2; grid-row: 1 / span 2; }
.form-wrap > .form, .form-wrap > .wa-ready { grid-column: 1; }
.field input::placeholder, .field textarea::placeholder { color: #8A9A9E; }
.wa-ready { background: var(--paper); border: 2px solid var(--ember-deep); border-radius: 22px; padding: 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.wa-ready[hidden] { display: none; }
.wa-ready h3 { font-family: var(--display); font-size: 24px; line-height: 1.2; margin: 0; }
.wa-ready p { margin: 0; color: var(--ink-soft); }
.wa-preview { margin: 4px 0 0; padding: 16px 18px; background: #E7F6EC; border-radius: 4px 16px 16px 16px; font: inherit; font-size: 15px; line-height: 1.5; color: var(--midnight); white-space: pre-wrap; word-break: break-word; max-height: 440px; overflow: auto; }
.wa-preview i { color: var(--muted); font-size: 13px; }
.wa-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- About ---------- */
.equation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 8vw, 110px); letter-spacing: -0.04em; line-height: 1; }
.equation .op { color: var(--ember); }
.equation .ante { color: var(--ember-deep); }
.equation small { font-size: 18px; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); display: block; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--ink-soft); }
.prose h2 { font-size: 30px; color: var(--midnight); margin-top: 18px; }
.prose h3 { font-size: 21px; color: var(--midnight); margin-top: 8px; }
.prose ol, .prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose strong { color: var(--midnight); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }

/* ---------- Instagram band ---------- */
.insta { background: var(--ember-deep); color: #FFFFFF; padding: 56px 0; }
.insta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.insta h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; max-width: 22ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--snow); padding: 72px 0 110px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 18px; color: #B9CBCE; font-size: 15px; max-width: 30ch; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--glacier); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: #E8EFEF; font-size: 15px; }
.footer-col a:hover { color: #FF8A5B; text-decoration: underline; }
.small-print { margin-top: 48px; border-top: 1px solid rgba(247, 243, 236, 0.16); padding-top: 22px; font-size: 13px; color: #A9BCBF; display: flex; flex-direction: column; gap: 6px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--ember-deep); color: #FFFFFF; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(9, 46, 54, 0.55); }
.wa-float svg { width: 28px; height: 28px; }



/* ---------- How to book: a WhatsApp chat that plays the three steps ---------- */
.book { padding-top: 24px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: 64px; align-items: center; }
.book-copy { display: flex; flex-direction: column; gap: 28px; }
.book-copy .cta-row { margin-top: 0; }
.book-steps { list-style: none; margin: 0; padding: 0; counter-reset: bstep; display: flex; flex-direction: column; gap: 6px; }
.book-steps li { counter-increment: bstep; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 62px; border-radius: 16px; transition: background-color 0.35s ease; }
.book-steps li::before { content: counter(bstep); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--midnight); color: var(--snow); font-family: var(--display); font-weight: 700; font-size: 15px; transition: background-color 0.35s ease, transform 0.35s ease; }
.book-steps strong { font-family: var(--display); font-size: 19px; font-weight: 700; }
.book-steps span { color: var(--ink-soft); font-size: 16px; }
.book-steps li.is-active { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.book-steps li.is-active::before { background: var(--ember-deep); transform: scale(1.08); }

.chat { --wa-bg: #EFE7DA; --wa-out: #D9FDD3; border-radius: 30px; overflow: hidden; background: var(--wa-bg); box-shadow: 0 1px 0 rgba(9, 46, 54, 0.06), 0 30px 60px -36px rgba(9, 46, 54, 0.55); border: 6px solid var(--midnight); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--midnight); color: var(--snow); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--snow); display: grid; place-items: center; flex: none; }
.chat-avatar img { width: 26px; height: 26px; }
.chat-who { display: flex; flex-direction: column; line-height: 1.25; }
.chat-who strong { font-family: var(--display); font-size: 16px; }
.chat-status { font-size: 13px; color: var(--glacier); }
.chat-status.is-typing { color: #9FE0B4; }
.chat-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 18px;
  background-color: var(--wa-bg);
  background-image: radial-gradient(rgba(9, 46, 54, 0.05) 1.2px, transparent 1.3px);
  background-size: 18px 18px; }
.chat-day { align-self: center; margin: 8px 0 4px; padding: 5px 12px; border-radius: 8px; background: rgba(255, 253, 248, 0.92); box-shadow: 0 1px 1px rgba(9, 46, 54, 0.1); font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.chat-day:first-child { margin-top: 0; }
.chat-row { position: relative; display: flex; }
.chat-row.out { justify-content: flex-end; }
.msg { position: relative; max-width: 84%; padding: 7px 10px 6px; border-radius: 12px; font-size: 15px; line-height: 1.4; color: #111B21; box-shadow: 0 1px 1px rgba(9, 46, 54, 0.12); }
.msg p { display: inline; }
.chat-row.in .msg { background: #FFFFFF; border-top-left-radius: 3px; }
.chat-row.out .msg { background: var(--wa-out); border-top-right-radius: 3px; }
.chat-row.in .msg::before, .chat-row.out .msg::before { content: ""; position: absolute; top: 0; width: 9px; height: 12px; }
.chat-row.in .msg::before { left: -8px; background: #FFFFFF; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.chat-row.out .msg::before { right: -8px; background: var(--wa-out); clip-path: polygon(0 0, 100% 0, 0 100%); }
.msg-meta { float: right; display: inline-flex; align-items: center; gap: 4px; margin: 8px 0 -3px 12px; font-size: 11px; color: #667781; line-height: 1; }
.ticks { width: 17px; height: 11px; color: #53BDEB; transition: color 0.3s ease; }
.msg-photo { position: relative; display: block; width: 210px; max-width: 100%; height: 118px; margin: -3px -6px 8px; border-radius: 8px; background: linear-gradient(160deg, #FFFFFF, #F2EEE6); box-shadow: inset 0 0 0 1px rgba(9, 46, 54, 0.08); }
.msg-photo .paid { position: absolute; left: 14px; top: 16px; padding: 4px 10px; border-radius: 999px; background: #1E7A4B; color: #FFFFFF; font-family: var(--display); font-weight: 700; font-size: 13px; }
.msg-photo .receipt-line { position: absolute; left: 14px; right: 40px; height: 8px; border-radius: 4px; background: #E3DDD2; top: 58px; }
.msg-photo .receipt-line.short { right: 90px; top: 76px; }
.typing { position: absolute; left: 0; top: 0; display: none; gap: 4px; padding: 12px 14px; border-radius: 12px; border-top-left-radius: 3px; background: #FFFFFF; box-shadow: 0 1px 1px rgba(9, 46, 54, 0.12); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: typingDot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.55; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-row.is-typing .typing { display: inline-flex; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; background: var(--wa-bg); text-decoration: none; }
.chat-input > span:first-child { flex: 1; padding: 12px 18px; border-radius: 999px; background: #FFFFFF; color: #667781; font-size: 15px; box-shadow: 0 1px 1px rgba(9, 46, 54, 0.1); transition: color 0.2s ease; }
.chat-send { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ember-deep); color: #FFFFFF; flex: none; transition: transform 0.2s ease, background-color 0.2s ease; }
.chat-send svg { width: 22px; height: 22px; }
.chat-input:hover > span:first-child { color: var(--midnight); }
.chat-input:hover .chat-send { transform: scale(1.06); background: var(--ember-dark); }
.chat-input:focus-visible { outline-offset: -4px; }

/* The chat plays once it scrolls into view (only when motion is on) */
.chat.is-armed .chat-day, .chat.is-armed .msg { transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2, .9, .3, 1.2); }
.chat.is-armed .chat-day:not(.on) { opacity: 0; transform: translateY(6px); }
.chat.is-armed .chat-row.out .msg:not(.on) { opacity: 0; transform: translate(14px, 8px) scale(0.94); transform-origin: right bottom; }
.chat.is-armed .chat-row.in .msg:not(.on) { opacity: 0; transform: translate(-14px, 8px) scale(0.94); transform-origin: left bottom; }
.chat.is-armed .ticks:not(.read) { color: #8696A0; }


/* ---------- Batches: every Friday ---------- */
.next-batch { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #E7F6EC; color: #145A36; font-family: var(--display); font-weight: 600; font-size: 14px; }
.next-batch::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2FAE66; flex: none; }
.next-batch.is-special { background: #FBE3D8; color: var(--ember-dark); }
.next-batch.is-special::before { background: var(--ember); }
.next-batch.on-dark { background: rgba(92, 217, 138, 0.14); color: #BFF0D0; }
.next-batch.on-dark.is-special { background: rgba(255, 138, 91, 0.18); color: #FFC4A8; }
.board-status.is-special { color: #FFB08F; }
.board-status.is-special::before { background: var(--ember); }
.board-status.is-full { color: #9FB3B6; }
.board-status.is-full::before { background: #6B7F83; animation: none; }
.next-batch.is-full { background: var(--stone); color: var(--ink-soft); }
.next-batch.is-full::before { background: #8D9A9D; }

.cal { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.cal:not(.is-ready) { display: block; }
.cal-fallback { color: var(--ink-soft); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-month { font-family: var(--display); font-weight: 700; font-size: 20px; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--stone); color: var(--midnight); font-size: 24px; line-height: 1; cursor: pointer; transition: background-color 0.15s ease, opacity 0.15s ease; }
.cal-nav:hover:not(:disabled) { background: #DDD2C0; }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week { margin-bottom: 6px; }
.cal-week span { text-align: center; font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cal-week .is-fri { color: var(--ember-deep); }
.cal-day, .cal-blank, .cal-fri { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; font-family: var(--display); font-size: 15px; }
.cal-day { color: #A3AFB2; }
.cal-fri { position: relative; border: 0; padding: 0; font-weight: 700; cursor: pointer; min-height: 40px; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.cal-fri.is-open { background: #FFFFFF; color: var(--midnight); box-shadow: inset 0 0 0 2px var(--ember-deep); }
.cal.is-daily .cal-fri.is-open { box-shadow: inset 0 0 0 1.5px rgba(201, 56, 11, 0.55); font-weight: 600; }
.cal-fri.is-special { background: var(--ember-deep); color: #FFFFFF; }
.cal-fri.is-full, .cal-fri.is-past { background: var(--stone); color: #8D9A9D; text-decoration: line-through; cursor: not-allowed; }
.cal-fri.is-past { text-decoration: none; opacity: 0.5; }
.cal-fri:not(:disabled):hover { transform: translateY(-2px); }
.cal-fri.is-picked { background: var(--midnight); color: var(--snow); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ember); animation: pickPop 0.35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pickPop { 40% { transform: scale(1.12); } }
.cal-star { position: absolute; top: 4px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #FFD7C4; }
.cal-fri.is-picked .cal-star { background: var(--ember); }
.cal-days.slide-l { animation: calInL 0.32s cubic-bezier(.2, .8, .2, 1); }
.cal-days.slide-r { animation: calInR 0.32s cubic-bezier(.2, .8, .2, 1); }
@keyframes calInL { from { opacity: 0; transform: translateX(24px); } }
@keyframes calInR { from { opacity: 0; transform: translateX(-24px); } }
.cal-key { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-soft); }
.cal-key li { display: flex; align-items: center; gap: 7px; }
.cal-key i { width: 14px; height: 14px; border-radius: 4px; }
.cal-key .k-open { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--ember-deep); }
.cal-key .k-special { background: var(--ember-deep); }
.cal-key .k-full { background: var(--stone); }
.cal-pick { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--midnight); color: var(--snow); align-self: start; }
.cal-pick .eyebrow { color: var(--glacier); }
.cal-date { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.cal-state { font-family: var(--display); font-weight: 600; font-size: 15px; color: #9FE0B4; }
.cal-state.is-special { color: #FFB08F; }
.cal-price { color: #D2DEE0; font-size: 15px; }
.cal-pay { color: #B9CBCE; font-size: 13.5px; margin-bottom: 8px; }
.cal-book { width: 100%; }

/* ---------- Motion ----------
   One orchestrated moment (the sunrise), then motion that answers the visitor:
   the board re-flaps under the cursor, tags swing from their hole, the trail fills as you read. */

/* Home hero: the headline rises with the sun, the full stop arrives last, and the dawn warms as you scroll */
.hero { --p: 0; }
.hero-dawn { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--p);
  background: radial-gradient(70% 60% at 62.5% 92%, rgba(255, 138, 91, 0.5), rgba(226, 65, 15, 0.16) 45%, rgba(226, 65, 15, 0) 75%); }
.hero-stars { opacity: calc(1 - var(--p) * 0.85); }
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.rise .w > span { display: inline-block; animation: wordRise 1s cubic-bezier(.2, .75, .15, 1) both; }
.rise .w:nth-child(1) > span { animation-delay: 0.3s; }
.rise .w:nth-child(2) > span { animation-delay: 0.4s; }
.rise .w:nth-child(3) > span { animation-delay: 0.5s; }
.rise .w:nth-child(4) > span { animation-delay: 0.6s; }
.rise .w:nth-child(5) > span { animation-delay: 0.7s; }
.rise .accent { display: inline-block; animation: dotRise 0.9s cubic-bezier(.3, 1.5, .5, 1) 1.45s both; }
@keyframes wordRise { from { transform: translateY(108%); } }
@keyframes dotRise { from { transform: translateY(0.5em) scale(0); opacity: 0; } }
.hero-inner > .eyebrow { animation: fadeUp 0.8s ease-out 0.1s both; }
.hero .hero-lead { animation: fadeUp 0.8s ease-out 1.05s both; }
.hero .hero-actions { animation: fadeUp 0.8s ease-out 1.25s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* Inner pages: their sun rises too */
.page-hero::after { animation: heroSun 1.8s cubic-bezier(.22, .7, .2, 1) 0.1s both; }
@keyframes heroSun { from { transform: translateY(150px); } }
.trip-hero .hero-stamp { animation: stampIn 1s cubic-bezier(.2, .8, .2, 1) 0.15s backwards; }
@keyframes stampIn { from { opacity: 0; transform: translateY(40px) rotate(9deg); } }

/* Header: tucks away while you read, comes back as soon as you scroll up */
.site-header { transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.3s ease; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(9, 46, 54, 0.6); }
.menu-toggle path { transition: transform 0.28s ease, opacity 0.2s ease; transform-box: fill-box; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.nav.is-open { animation: menuIn 0.28s cubic-bezier(.2, .8, .2, 1); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }

/* Luggage tags swing from their hole */
.tag.swing { animation: tagSwingIn 1.5s cubic-bezier(.3, .6, .3, 1) both; }
.tag.sway { animation: tagSwing 1.1s ease-out; }
@media (hover: hover) { .tag:hover { animation: tagSwing 1.1s ease-out; } }
@keyframes tagSwing {
  0% { transform: translateY(var(--ty)) rotate(var(--tilt)); }
  18% { transform: translateY(calc(var(--ty) - 4px)) rotate(calc(var(--tilt) + 7deg)); }
  42% { transform: translateY(calc(var(--ty) - 4px)) rotate(calc(var(--tilt) - 5deg)); }
  66% { transform: translateY(calc(var(--ty) - 2px)) rotate(calc(var(--tilt) + 2.5deg)); }
  84% { transform: translateY(var(--ty)) rotate(calc(var(--tilt) - 1deg)); }
  100% { transform: translateY(var(--ty)) rotate(var(--tilt)); }
}
@keyframes tagSwingIn {
  0% { transform: translateY(var(--ty)) rotate(calc(var(--tilt) + 11deg)); }
  30% { transform: translateY(var(--ty)) rotate(calc(var(--tilt) - 7deg)); }
  55% { transform: translateY(var(--ty)) rotate(calc(var(--tilt) + 3.5deg)); }
  78% { transform: translateY(var(--ty)) rotate(calc(var(--tilt) - 1.2deg)); }
  100% { transform: translateY(var(--ty)) rotate(var(--tilt)); }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin-top: 2px; font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--muted); }
.swipe-hint span { display: inline-block; animation: nudgeX 1.6s ease-in-out 3; }
@keyframes nudgeX { 50% { transform: translateX(6px); } }

/* Trip finder: answers fill the pips, and the match flips to the new trip */
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz-pips { display: inline-flex; gap: 6px; flex: none; }
.quiz-pips i { width: 9px; height: 9px; border-radius: 50%; background: rgba(168, 198, 203, 0.3); transition: background-color 0.3s ease, transform 0.3s ease; }
.quiz-pips i.on { background: var(--ember); transform: scale(1.2); }
.quiz-result.is-new { animation: resultPop 0.6s ease-out; }
@keyframes resultPop { from { box-shadow: 0 0 0 0 rgba(226, 65, 15, 0.6); } to { box-shadow: 0 0 0 20px rgba(226, 65, 15, 0); } }
.chip input:checked + label { animation: chipPick 0.35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes chipPick { 40% { transform: scale(1.08); } }

/* Postcards are dealt onto the table, lift under the cursor, and come to the front when tapped */
.stamp { transform: rotate(var(--rot)); transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), opacity 0.35s ease; cursor: pointer; }
.js-motion .postcards:not(.is-in) .stamp { opacity: 0; transform: translateY(80px) rotate(calc(var(--rot) * -3)); }
.postcards.is-in:not(.is-settled) .stamp { transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity 0.6s ease; }
.postcards.is-in:not(.is-settled) .stamp-2 { transition-delay: 0.18s; }
.postcards.is-in:not(.is-settled) .stamp-3 { transition-delay: 0.36s; }
.stamp.is-front { z-index: 4; animation: lift 0.45s ease-out; }
@media (hover: hover) { .stamp:hover { transform: translateY(-10px) rotate(0deg) scale(1.03); z-index: 5; } }
@keyframes lift { 50% { transform: translateY(-14px) rotate(0deg) scale(1.04); } }

/* Trip pages: the trail fills as you read the days, and the climb draws itself */
.timeline { --trail: 0; }
.timeline::after { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--ember); transform-origin: top; transform: scaleY(var(--trail)); z-index: 0; }
.day-num { transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.day.is-passed .day-num { background: var(--ember-deep); }
.day.is-current .day-num { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(226, 65, 15, 0.18); }
.pf-walker { opacity: 0; transition: opacity 0.3s ease; }
.pf-armed.is-walking .pf-walker { opacity: 1; }
.pf-armed .pf-dot { opacity: 0; transform: scale(0.2); transform-box: fill-box; transform-origin: center; transition: opacity 0.25s ease, transform 0.4s cubic-bezier(.3, 1.7, .5, 1); }
.pf-armed .pf-dot.on { opacity: 1; transform: none; }
.pf-armed .pf-peak { opacity: 0; transition: opacity 0.5s ease 0.15s; }
.pf-armed .pf-peak.on { opacity: 1; }

/* WhatsApp button: one gentle nudge per visit */
.wa-float { transition: transform 0.25s ease, opacity 0.25s ease; }
.wa-float.is-tucked { opacity: 0; transform: scale(0.6); pointer-events: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.wa-float.nudge::after { animation: ping 1.5s ease-out 2; }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(226, 65, 15, 0.55); } to { box-shadow: 0 0 0 20px rgba(226, 65, 15, 0); } }
.wa-float-label { position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap; background: var(--midnight); color: var(--snow); font-family: var(--display); font-weight: 600; font-size: 14px; padding: 9px 15px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(9, 46, 54, 0.6); opacity: 0; transform: translate(10px, -50%); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
.wa-float.nudge .wa-float-label { opacity: 1; transform: translate(0, -50%); }
@media (hover: hover) { .wa-float:hover .wa-float-label { opacity: 1; transform: translate(0, -50%); } }

/* Forms: the ready message slides in where you can see it */
.wa-ready:not([hidden]) { animation: panelIn 0.5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

/* Moving between pages: a quick cross-fade where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; }
.site-header { view-transition-name: site-header; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tp-top { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 28px; }
  .tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .tp-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "map" "card"; grid-template-rows: none; }
  .tp-tabs a.tp-tabs-book { display: none; }
  .book-card { position: static; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-stub { border-left: 0; border-top: 2px dashed #CFC4B1; padding: 24px; }
  .ticket-stub::before, .ticket-stub::after { top: calc(-1 * var(--notch) - 1px); bottom: auto; }
  .ticket-stub::before { left: calc(-1 * var(--notch)); }
  .ticket-stub::after { left: auto; right: calc(-1 * var(--notch)); }
  .why-grid, .steps, .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .trip-layout { grid-template-columns: minmax(0, 1fr); }
  .book-stub { position: static; order: -1; }
  .quiz, .road, .form-wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .book-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chat { width: 100%; max-width: 440px; justify-self: center; }
  .form-wrap > .side-card, .form-wrap > .form, .form-wrap > .wa-ready { grid-column: 1; grid-row: auto; }
  .quiz-result { position: static; }
  .board-labels { display: none; }
  .board-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 16px 12px; }
  .board-row .flaps { grid-column: 1 / -1; }
  .board-row .b-dur, .board-row .b-from { font-size: 14px; }
  .board-row .b-fare { grid-column: 1; }
  .board-row .b-status { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--snow); border-bottom: 1px solid rgba(9, 46, 54, 0.12); padding: 8px 20px 20px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
  .menu-toggle { display: inline-flex; }
  .trip-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-stamp { max-width: 520px; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--midnight); color: var(--snow); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, 0.5); }
  .mobile-book .mb-price { display: flex; flex-direction: column; font-family: var(--display); line-height: 1.2; }
  .mobile-book .mb-price small { font-size: 12px; color: var(--glacier); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
  .mobile-book .mb-price strong { font-size: 20px; color: #FF8A5B; }
  .mobile-book .btn { min-height: 46px; padding: 10px 18px; }
  body.has-mobile-book .wa-float { display: none; }
  body.has-mobile-book .site-footer { padding-bottom: 140px; }
}
@media (max-width: 640px) {
  .sp-tickets { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 10px 20px 22px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .sp-tickets::-webkit-scrollbar { display: none; }
  .sp-tkt { flex: 0 0 72%; scroll-snap-align: center; }
  .route-map .rm-wide { display: none; }
  .route-map .rm-tall { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
  .site-header:not(.is-hidden) ~ main .tp-tabs { top: 58px; }
  .bc-price strong { font-size: 34px; }
  .tp-head .tagline { font-size: 17px; }
  .specials-section { padding: 16px 0 64px; }
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .brand img { height: 30px; }
  .tags { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px -20px 0; padding: 18px 20px 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .tags::-webkit-scrollbar { display: none; }
  .tag { flex: 0 0 76%; scroll-snap-align: center; }
  .swipe-hint { display: flex; }
  .ticket-main { grid-template-columns: minmax(0, 1fr); }
  .ticket-media { min-height: 0; aspect-ratio: 16 / 10; }
  .ticket-body { padding: 22px; }
  .highlights, .incl-grid, .pack, .gallery, .form { grid-template-columns: minmax(0, 1fr); }
  .cal { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 18px; }
  .cal-week, .cal-days { gap: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .postcards { aspect-ratio: 1 / 1; }
  .stamp figcaption { font-size: 12px; }
  .flap { font-size: 16px; }
  .hero-inner { padding-top: 60px; }
  .sale .wrap { gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
  .sale-offer { font-size: 17px; }
  .sale-cta { font-size: 14px; }
  .sale-stamp { top: 18px; right: 16px; width: 100px; height: 100px; }
  .hero .hero-inner { padding-top: 140px; }
  .sale-stamp::before { inset: 5px; }
  .ss-name { font-size: 8px; letter-spacing: 0.1em; }
  .ss-small { font-size: 10px; margin-top: 2px; }
  .ss-big { font-size: 22px; }
  .ss-off { font-size: 11px; }
  .hero-scene { margin-top: 0; }
  .page-hero::after { width: 160px; height: 160px; bottom: -80px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
