:root {
  --sky: #d9ccbd;
  --sky-2: #cfc1b1;
  --ink: #172630;
  --ink-2: #3c4c56;
  --sea: #4d6573;
  --mist: #eceeee;
  --paper: #ffffff;
  --line: #d2d7d9;
  --brass: #a87b2f;
  --chart-sea: #c7d5db;
  --chart-land: #f3f1ec;
  --wa: #1d8f4e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(16px, 4.4vw, 64px);
  --wide: "wdth" 125;
  --cond: "wdth" 75;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad);
  background: var(--sky);
  transition: transform .5s var(--ease);
}
.top.is-solid { background: rgba(236, 238, 238, .97); box-shadow: 0 1px 0 var(--line); }
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.mark__name { font-weight: 800; font-size: 20px; letter-spacing: .01em; font-variation-settings: var(--wide); text-transform: uppercase; }
.mark__sub { font-size: 12.5px; margin-top: 4px; color: var(--ink-2); font-variation-settings: "wdth" 100; }
.top__wa {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 42px; padding: 0 16px 0 13px; border-radius: 21px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.top__wa svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 26px; white-space: nowrap;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s;
}
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); min-height: 48px; }
.btn--wa { background: var(--wa); color: #fff; width: 100%; }
.btn--wa svg { width: 21px; height: 21px; fill: currentColor; flex: none; }
.btn--wa.is-off { opacity: .45; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(var(--sky), var(--sky-2));
  padding-top: 66px;
}
.hero__text { position: relative; z-index: 2; padding: 26px var(--pad) 8px; max-width: 640px; }
.hero__title {
  margin: 0; font-weight: 750; text-transform: uppercase;
  font-size: clamp(30px, 9vw, 92px); line-height: .94; letter-spacing: -.01em;
  font-variation-settings: var(--wide);
  text-wrap: balance;
}
.hero__lead { margin: 18px 0 0; font-size: 17px; max-width: 30em; color: var(--ink-2); text-wrap: pretty; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.rating__num { font-weight: 750; font-size: 30px; line-height: 1; font-variation-settings: var(--wide); }
.rating__txt { font-size: 13.5px; line-height: 1.25; color: var(--ink-2); }
.hero__photo { margin: 0; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

@media (min-width: 900px) {
  .hero { min-height: 100svh; display: grid; grid-template-rows: auto minmax(360px, 1fr); padding-top: 72px; background: var(--sky); }
  .hero__text {
    max-width: none; padding: 44px var(--pad) 34px;
    display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 18px 56px; align-items: end;
  }
  .hero__title { grid-row: span 2; font-size: clamp(52px, 5.4vw, 96px); }
  .hero__lead { margin: 0; font-size: 18px; max-width: 26em; }
  .hero__act { margin: 0; }
  .hero__photo { position: relative; min-height: 0; }
  .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 54%; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .hero__text { padding-top: 28px; padding-bottom: 24px; }
  .hero__title { font-size: clamp(48px, 5.2vw, 80px); }
}

/* load-in: one sequence, opacity + transform */
.js .hero__title, .js .hero__lead, .js .hero__act { opacity: 0; transform: translateY(14px); }
.js .hero__photo img { opacity: 0; transform: scale(1.035); }
.is-in .hero__title, .is-in .hero__lead, .is-in .hero__act, .is-in .hero__photo img {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.is-in .hero__lead { transition-delay: .12s; }
.is-in .hero__act { transition-delay: .22s; }
.is-in .hero__photo img { transition-duration: 1.2s, 1.6s; }

/* ---------- booking ---------- */
.book { padding: 56px var(--pad) 64px; background: var(--mist); }
.book__head { max-width: 760px; }
.book__title {
  margin: 0; font-weight: 750; text-transform: uppercase; line-height: .98;
  font-size: clamp(30px, 7.4vw, 60px); font-variation-settings: var(--wide); text-wrap: balance;
}
.book__lead { margin: 14px 0 0; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.book__grid { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 1000px) {
  .book__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .chart-slot { position: sticky; top: 84px; }
}

/* chart */
.chart { margin: 0; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.chart__map { display: block; width: 100%; height: auto; background: var(--chart-sea); }
.sea { fill: var(--chart-sea); }
.land { fill: var(--chart-land); stroke: #9fb0b8; stroke-width: .8; stroke-linejoin: round; }
.geo text { font: 500 13px "Archivo", sans-serif; fill: #8c989e; letter-spacing: .02em; }
.geo .geo__sea { font-style: italic; fill: #6e8794; font-size: 14px; }
.route { fill: none; stroke: var(--brass); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .5s var(--ease); }
.route.is-on { opacity: 1; }
.pin circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.pin text { font: 600 15px "Archivo", sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--chart-land); stroke-width: 4px; stroke-linejoin: round; opacity: .38; transition: opacity .4s; }
.pin { opacity: .45; transition: opacity .4s var(--ease); }
.pin.is-on { opacity: 1; }
.pin.is-on text { opacity: 1; }
.pin.is-on circle { fill: var(--brass); stroke: var(--paper); }
.pin--home circle { fill: var(--ink); stroke: var(--paper); }
.pin--home, .pin--home text { opacity: 1; }

.chart__cap { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 6px; }
.chart__name { font-weight: 700; font-size: 19px; line-height: 1.25; }
.chart__meta { color: var(--ink-2); font-size: 15px; }
.stops { list-style: none; margin: 0; padding: 6px 20px 20px; display: grid; gap: 0; counter-reset: s; }
.stops li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.stops li::before { counter-increment: s; content: counter(s); font-weight: 700; font-size: 13px; color: var(--brass); font-variant-numeric: tabular-nums; }
.stops li.is-start::before { content: ""; }
.stops .t { color: var(--ink-2); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.js .stops li { opacity: 0; transform: translateY(6px); }
.stops.is-in li { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.stops.is-in li:nth-child(2) { transition-delay: .04s; }
.stops.is-in li:nth-child(3) { transition-delay: .08s; }
.stops.is-in li:nth-child(4) { transition-delay: .12s; }
.stops.is-in li:nth-child(5) { transition-delay: .16s; }
.stops.is-in li:nth-child(6) { transition-delay: .2s; }
.stops.is-in li:nth-child(7) { transition-delay: .24s; }
.stops.is-in li:nth-child(n+8) { transition-delay: .28s; }

/* steps */
.book__steps { display: grid; gap: 14px; min-width: 0; }
.step { margin: 0; padding: 22px 20px; border: 0; border-radius: 18px; background: var(--paper); min-width: 0; }
.step__head { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; }
.step__n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; flex: none;
}
.step__t { font-weight: 700; font-size: 19px; }
.step__note { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-2); text-wrap: pretty; }
.step__note:empty { display: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 40px; padding: 0 15px; border-radius: 20px; border: 0; cursor: pointer;
  background: var(--mist); font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }

.list { display: grid; margin-top: 12px; }
.opt { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 4px 14px 34px; border-top: 1px solid var(--line); cursor: pointer; }
.opt:first-child { border-top: 0; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #9aa6ac; background: var(--paper);
}
.opt::after {
  content: ""; position: absolute; left: 9px; top: 22px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--paper); transform: scale(0); transition: transform .3s var(--ease);
}
.opt.is-on::before { background: var(--ink); box-shadow: none; }
.opt.is-on::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.opt__name { font-weight: 650; font-size: 16.5px; line-height: 1.3; text-wrap: pretty; }
.opt__price { font-weight: 700; font-size: 16px; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.opt__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); }
.opt__slot { grid-column: 1 / -1; }
.opt__slot:empty { display: none; }
.opt__slot .chart { margin: 12px 0 2px -34px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 999px) {
  .chart .pin text { font-size: 30px; stroke-width: 7px; }
  .chart .geo text { font-size: 24px; }
  .chart .geo .geo__sea { font-size: 25px; }
  .chart .pin circle { r: 11px; stroke-width: 3; }
  .chart .route { stroke-width: 6; }
  .chart .land { stroke-width: 1.4; }
}

.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; scroll-padding: 0 20px; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; scroll-snap-align: start; width: 64px; padding: 10px 0 11px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--mist); display: grid; justify-items: center; gap: 1px; line-height: 1.15;
}
.day__w { font-size: 13px; color: var(--ink-2); }
.day__d { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.day__m { font-size: 12.5px; color: var(--ink-2); }
.day[aria-checked="true"] { background: var(--ink); color: #fff; }
.day[aria-checked="true"] .day__w, .day[aria-checked="true"] .day__m { color: #d6dde1; }
@media (min-width: 1000px) {
  .days { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .day { width: calc((100% - 6 * 8px) / 7); }
}

.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.time {
  min-height: 54px; border-radius: 14px; border: 0; cursor: pointer; background: var(--mist);
  font-size: 16px; font-weight: 650; padding: 8px 4px;
}
.time[aria-checked="true"] { background: var(--ink); color: #fff; }

.counters { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.counter { display: flex; align-items: center; gap: 12px; }
.counter[hidden] { display: none; }
.counter__l { font-weight: 600; min-width: 58px; }
.counter__b {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  background: var(--mist); font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.counter__b:disabled { opacity: .35; cursor: default; }
.counter__v { min-width: 30px; text-align: center; font-weight: 700; font-size: 21px; font-variant-numeric: tabular-nums; }

.name { display: grid; gap: 6px; margin-top: 18px; }
.name__l { font-weight: 600; font-size: 15px; }
.name__opt { font-weight: 400; color: var(--ink-2); }
.name input {
  height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 16px; width: 100%;
}
.name input:focus { border-color: var(--ink); outline: none; }

/* slip */
.slip { padding: 22px 20px; border-radius: 18px; background: var(--ink); color: #fff; }
.slip__title { margin: 0 0 12px; font-weight: 750; font-size: 20px; text-transform: uppercase; font-variation-settings: var(--wide); }
.slip__msg {
  margin: 0 0 16px; padding: 14px 16px; border-radius: 4px 14px 14px 14px; background: #24363f; color: #e9eef0;
  font-size: 15px; white-space: pre-line; line-height: 1.5; overflow-wrap: anywhere;
}
.slip__hint { margin: 10px 0 0; font-size: 14px; color: #b7c3c9; text-align: center; }
.slip__hint:empty { display: none; }

/* ---------- route photos ---------- */
.route-photos { padding: 64px 0 72px; background: var(--paper); }
.rp__title {
  margin: 0 var(--pad) 24px; font-weight: 750; text-transform: uppercase; line-height: .98;
  font-size: clamp(30px, 7.4vw, 60px); font-variation-settings: var(--wide);
}
.rp__strip {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad); scroll-padding: 0 var(--pad); align-items: flex-start;
}
.rp__strip::-webkit-scrollbar { display: none; }
.rp { flex: none; width: 78vw; max-width: 420px; margin: 0; scroll-snap-align: start; }
.rp--tall { width: 62vw; max-width: 330px; }
.rp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.rp--tall img { aspect-ratio: 4 / 5; }
.rp figcaption { display: grid; gap: 2px; padding: 12px 2px 0; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.rp figcaption b { color: var(--ink); font-size: 17px; }
@media (min-width: 1000px) {
  .rp__strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr 1.3fr; overflow: visible; gap: 18px; }
  .rp, .rp--tall { width: auto; max-width: none; }
  .rp img { aspect-ratio: 4 / 5; }
  .rp:nth-child(even) { margin-top: 48px; }
}

/* ---------- aboard ---------- */
.aboard { display: grid; background: var(--sky); }
.aboard__photo { margin: 0; }
.aboard__photo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.aboard__text { padding: 44px var(--pad) 52px; }
.aboard__title {
  margin: 0; font-weight: 750; text-transform: uppercase; line-height: .98;
  font-size: clamp(30px, 7.4vw, 56px); font-variation-settings: var(--wide);
}
.aboard__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; }
.aboard__list li { padding: 11px 0; border-top: 1px solid rgba(23, 38, 48, .16); font-weight: 600; }
.aboard__p { margin: 18px 0 0; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.aboard__where { margin: 22px 0 0; display: grid; gap: 10px; }
.aboard__where div { display: grid; gap: 1px; }
.aboard__where dt { font-size: 13.5px; color: var(--ink-2); }
.aboard__where dd { margin: 0; font-weight: 600; }
.aboard__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (min-width: 1000px) {
  .aboard { grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .aboard__photo img { aspect-ratio: auto; }
  .aboard__text { align-self: center; padding: 64px var(--pad); max-width: 680px; }
}

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  padding: 26px var(--pad) 30px; background: var(--ink); color: #c6d0d5; font-size: 14px;
}
.foot__mark { color: #fff; font-weight: 800; text-transform: uppercase; font-variation-settings: var(--wide); font-size: 16px; }
.foot__credit { flex-basis: 100%; color: #8e9ca3; font-size: 13px; }

/* ---------- mobile bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); color: #fff;
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.bar.is-on { transform: none; }
.bar__sum { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bar__btn { flex: none; min-height: 46px; padding: 0 18px; border-radius: 23px; background: var(--wa); color: #fff; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
@media (min-width: 1000px) { .bar { display: none; } }

@media (max-width: 380px) {
  .mark__name { font-size: 18px; }
  .top__wa { padding: 0 14px 0 12px; }
  .step { padding: 20px 16px; }
  .days { margin: 0 -16px; padding: 2px 16px 4px; }
  .stops { padding: 6px 16px 18px; }
  .chart__cap { padding: 16px 16px 6px; }
}
