/* ==========================================================================
   Public site - "Keberangkatan" (departures board)
   One ground, one ink. Bricolage Grotesque. Square corners. No rules outside
   real tables and forms, no shadows at rest, no gradients (one neutral scrim
   under text on photographs is the only exception).
   Colours are overridden per client from config/brand.php in the layout.
   ========================================================================== */

:root {
  --ground: #ecebe7;
  --ink: #38450f;
  --surface: #e1dfd9;
  --surface-2: #d6d3ca;
  --muted: #5d683a;
  --on-ink: var(--ground);
  --line: color-mix(in srgb, var(--ink) 22%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 45%, transparent);
  --ink-hover: color-mix(in srgb, var(--ink) 82%, #000);
  --soft-ink: color-mix(in srgb, var(--ink) 78%, var(--ground));

  /* fields sampled from the photographs */
  --sand: #cdbf9f;
  --sky: #c4d0d8;
  --marble: #f5f4f1;
  --dusk: #1d2a4a;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step-small: clamp(0.9375rem, 0.92rem + 0.1vw, 1rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-title: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.5rem, 10vw, 10rem);

  --margin: clamp(16px, 3vw, 40px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 12vw, 200px);
  --head-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;
  --dur-3: 720ms;
}

/* ---------- reset & base ---------- */
p { max-width: 70ch; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--ink);
  accent-color: var(--ink);
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
[x-cloak] { display: none !important; }

::selection { background: var(--ink); color: var(--ground); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .site-foot :focus-visible { outline-color: var(--on-ink); }
html { scrollbar-color: var(--ink) var(--ground); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--ground); }

.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: var(--margin); top: 12px; z-index: 300; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--on-ink); padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { clip-path: none; width: auto; height: auto; overflow: visible; }

/* ---------- type ---------- */
.t-display { font-size: var(--step-display); font-weight: 600; line-height: 0.9; letter-spacing: -0.045em; }
.t-head { font-size: var(--step-head); font-weight: 600; line-height: 0.98; letter-spacing: -0.035em; }
.t-lead { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.012em; }
.t-body { font-size: var(--step-body); }
.t-small { font-size: var(--step-small); line-height: 1.45; }
.t-num, .board td, .facts td { font-variant-numeric: tabular-nums lining-nums; }
.t-soft { color: var(--muted); }
.t-strong { font-weight: 600; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 40ch; }

/* ---------- frame ---------- */
.wrap { padding-inline: var(--margin); }
.wrap-max { max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(64px, 8vw, 120px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-surface { background: var(--surface); }
.on-sand { background: var(--sand); }
.on-sky { background: var(--sky); }
.on-marble { background: var(--marble); }
.stack > * + * { margin-top: var(--stack, 1em); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head > h2 { grid-column: 1 / span 7; }
.section-head > p, .section-head > .section-head__aside { grid-column: 9 / -1; }
@media (max-width: 860px) {
  .section-head > h2, .section-head > p, .section-head > .section-head__aside { grid-column: 1 / -1; }
  .section-head > p, .section-head > .section-head__aside { margin-top: 16px; }
}

/* ---------- buttons & links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.4em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; border: 0; border-radius: 0;
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:hover { --btn-bg: var(--ink-hover); }
.btn:active { transform: scale(0.98); }
.btn .btn__arrow { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--light { --btn-bg: var(--on-ink); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--marble); }
.btn--quiet { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.btn--quiet:hover { --btn-bg: var(--surface-2); }
.btn--small { min-height: 42px; padding: 0 1em; font-size: var(--step-small); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color var(--dur-2) var(--ease-out);
}
.link:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; }
.link-arrow span:last-child { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover span:last-child { transform: translateX(4px); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 120;
  background: var(--ground);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2);
}
.site-head__bar {
  height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-head.is-hidden { transform: translateY(-100%); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--step-body); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.wordmark img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; padding-block: 6px; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; font-weight: 600; min-height: 44px; padding-inline: 4px; }
.menu-sheet {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--on-ink);
  display: flex; flex-direction: column; padding: 16px var(--margin) 32px;
}
.menu-sheet__top { height: 48px; display: flex; align-items: center; justify-content: space-between; }
.menu-sheet nav { margin-top: auto; display: grid; gap: 6px; }
.menu-sheet nav a { font-size: clamp(2.25rem, 11vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; text-decoration: none; }
.menu-sheet .btn { margin-top: 32px; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
}

/* ---------- breadcrumb ---------- */
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: var(--step-small); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li { list-style: none; display: inline-flex; gap: 10px; }
.crumbs li + li::before { content: "/"; opacity: 0.6; }
.crumbs ol { display: contents; padding: 0; }

/* ---------- interior page head ---------- */
.page-head { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
.page-head h1 { font-size: var(--step-head); max-width: 18ch; margin-top: 24px; }
.page-head .t-lead { margin-top: 20px; max-width: 46ch; }
.page-head--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.page-head--split > .page-head__main { grid-column: 1 / span 7; }
.page-head--split > .page-head__aside { grid-column: 9 / -1; }
.page-hero { padding-top: clamp(28px, 4vw, 64px); }
.page-hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end; }
.page-hero__main { grid-column: 1 / span 8; }
.page-hero__main h1 { margin-top: 24px; font-size: var(--step-display); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; max-width: 12ch; text-wrap: balance; }
.page-hero__aside { grid-column: 9 / -1; display: grid; gap: 24px; justify-items: start; padding-bottom: 0.4em; }
.page-hero__figure { margin-top: clamp(32px, 4vw, 64px); aspect-ratio: 21 / 9; overflow: hidden; background: var(--surface); }
.page-hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.js .page-hero__figure[data-reveal] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0); transition: clip-path 1400ms var(--ease-out); }
.js .page-hero__figure[data-reveal] img { transform: scale(1.1); transition: transform 2200ms var(--ease-out); }
.js .page-hero__figure.is-in { clip-path: inset(0 0 0 0); }
.js .page-hero__figure.is-in img { transform: scale(1); }
@media (max-width: 860px) {
  .page-hero__main, .page-hero__aside { grid-column: 1 / -1; }
  .page-hero__figure { aspect-ratio: 4 / 3; }
}
.page-head__figure { aspect-ratio: 4 / 5; max-height: 62svh; overflow: hidden; background: var(--surface); justify-self: stretch; }
.page-head__figure img { width: 100%; height: 100%; object-fit: cover; }
.results-line { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
@media (max-width: 860px) {
  .page-head--split > .page-head__main, .page-head--split > .page-head__aside { grid-column: 1 / -1; }
  .page-head--split > .page-head__aside { margin-top: 24px; }
}

/* ==========================================================================
   HERO - pinned title over portraits
   ========================================================================== */
.hero { position: relative; height: calc(100svh + (var(--stages, 4) - 1) * 50svh); margin-top: calc(var(--head-h) * -1); }
.hero__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: var(--stage-ground, var(--ground));
  transition: background-color 900ms var(--ease-in-out);
}
.hero__title {
  position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--head-h) + clamp(12px, 3vh, 40px));
  text-align: center; font-size: min(clamp(3.4rem, 11.6vw, 12rem), calc(146vw / var(--chars, 13))); font-weight: 600; letter-spacing: -0.05em; line-height: 0.82;
  color: var(--ink); pointer-events: none; white-space: nowrap;
}
.hero__frame {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%);
  top: calc(var(--head-h) + clamp(12px, 3vh, 40px) + min(clamp(3.4rem, 11.6vw, 12rem), calc(146vw / var(--chars, 13))) * 0.62);
  bottom: 0; width: min(34vw, 560px); overflow: hidden; background: var(--surface);
}
.hero__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 900ms var(--ease-in-out), transform 2400ms var(--ease-out);
}
.hero__frame img.is-active { opacity: 1; transform: scale(1); }
.hero__caption {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 20px;
  width: min(34vw, 560px); padding-inline: 16px; color: #fff; font-size: var(--step-small); font-weight: 500;
}
.hero__caption::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -20px; height: 120px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0)); /* neutral scrim under text on a photo; taste-skill-ignore */
}
.hero__caption span { display: block; transition: opacity var(--dur-2), transform var(--dur-3) var(--ease-out); }
.hero__intro {
  position: absolute; z-index: 3; left: var(--margin); bottom: clamp(24px, 5vh, 48px);
  width: min(32vw, 470px);
}
.hero__intro h1 { font-size: var(--step-title); line-height: 1.04; letter-spacing: -0.035em; }
.hero__intro h1 span { display: block; font-size: var(--step-body); letter-spacing: -0.01em; margin-bottom: 10px; }
.hero__intro p { margin-top: 16px; }
.hero__next {
  position: absolute; z-index: 3; right: var(--margin); bottom: clamp(24px, 5vh, 48px);
  width: min(28vw, 380px); display: grid; gap: 16px; justify-items: start;
}
.hero__next dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: var(--step-small); }
.hero__next dt { color: var(--ink); font-weight: 400; }
.hero__next dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__steps { position: absolute; inset: 0; pointer-events: none; }
.hero__step { height: 50svh; }
.hero__progress { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); top: calc(100svh - 6px); }
@media (max-width: 900px) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; padding-bottom: 32px; }
  .hero__title { position: relative; top: auto; padding-top: calc(var(--head-h) + 20px); font-size: min(15.5vw, calc(132vw / var(--chars, 13))); }
  .hero__frame { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 20px var(--margin) 0; aspect-ratio: 16 / 10; }
  @media (max-width: 640px) { .hero__frame { aspect-ratio: 4 / 5; } }
  .hero__caption { left: var(--margin); right: var(--margin); transform: none; width: auto; bottom: auto; top: calc(var(--frame-bottom, 0px)); display: none; }
  .hero__intro, .hero__next { position: relative; left: auto; right: auto; bottom: auto; width: auto; padding-inline: var(--margin); margin-top: 28px; }
  .hero__steps { display: none; }
}

/* ==========================================================================
   DEPARTURES BOARD
   ========================================================================== */
.board__controls { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: end; margin-bottom: 32px; }
.board__group { display: grid; gap: 10px; }
.board__group > span { font-size: var(--step-small); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 42px; padding: 0 16px; background: var(--surface); color: var(--ink); font-weight: 500; font-size: var(--step-small);
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1);
}
.chip:hover { background: var(--surface-2); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.board__count { margin-left: auto; font-size: var(--step-small); color: var(--muted); }

.board table { font-size: var(--step-body); }
.board thead th {
  text-align: left; font-weight: 500; font-size: var(--step-small); color: var(--muted);
  padding: 0 12px 14px 0; border-bottom: 2px solid var(--ink); white-space: nowrap;
}
.board tbody tr { border-bottom: 1px solid var(--line); transition: background-color var(--dur-2) var(--ease-out); }
.board tbody tr:hover { background: var(--surface); }
.board td { padding: 22px 12px 22px 0; vertical-align: top; }
.board td:first-child { padding-left: 8px; }
.board th:first-child { padding-left: 8px; }
.board .is-num { text-align: right; white-space: nowrap; }
.board__date strong { display: block; font-weight: 600; white-space: nowrap; }
.board__date span, .board__sub { display: block; font-size: var(--step-small); color: var(--muted); margin-top: 4px; }
.board__name a { font-weight: 600; text-decoration: none; letter-spacing: -0.015em; }
.board__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.board__seats { white-space: nowrap; }
.seatbar { display: block; width: 88px; height: 6px; background: var(--surface-2); margin-top: 8px; margin-left: auto; overflow: hidden; }
.seatbar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform 1200ms var(--ease-out); }
.board__price strong { font-weight: 600; }
.board__go { width: 1%; white-space: nowrap; }
.board__go a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--surface); text-decoration: none; transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.board tbody tr:hover .board__go a { background: var(--ink); color: var(--on-ink); transform: translateX(4px); }
.board__status { display: inline-block; font-size: var(--step-small); font-weight: 600; padding: 2px 8px; background: var(--ink); color: var(--on-ink); margin-top: 6px; }
.board__status--soft { background: var(--surface-2); color: var(--ink); }
.board tr.is-leaving { opacity: 0; transform: translateY(-6px); }
.board tr { transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), background-color var(--dur-2); }
.board__empty { padding: 48px 0; display: grid; gap: 16px; justify-items: start; }
@media (max-width: 860px) {
  .board thead { display: none; }
  .board table, .board tbody, .board tr, .board td { display: block; width: 100%; }
  .board tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; }
  .board td { padding: 0; }
  .board td:first-child { padding-left: 0; }
  .board__name { grid-column: 1 / -1; order: -1; font-size: var(--step-lead); }
  .board__date { grid-column: 1; }
  .board__price { grid-column: 2; text-align: right; }
  .board__meta-sm { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); }
  .board__seats { grid-column: 1; text-align: left !important; }
  .board__seats .seatbar { margin-left: 0; }
  .board__go { grid-column: 2; grid-row: 2 / span 3; align-self: center; width: auto; }
  .board .is-hide-sm { display: none; }
}
@media (min-width: 861px) { .board__meta-sm { display: none; } }

/* ==========================================================================
   VERBS - one verb at a time
   ========================================================================== */
.verb-panel { position: relative; height: 100svh; min-height: 560px; overflow: clip; background: var(--dusk); display: grid; place-items: center; padding-bottom: 18svh; }
.verb-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.58) saturate(0.9); }
.verb-panel__word {
  position: relative; z-index: 2; padding-inline: var(--margin);
  text-align: center; font-weight: 600; letter-spacing: -0.05em; line-height: 0.9;
  font-size: min(15vw, calc(150vw / var(--chars, 8)));
  color: var(--word-ink, var(--on-ink));
}
.verb-panel__line {
  position: absolute; z-index: 3; left: var(--margin); bottom: clamp(24px, 4vw, 48px);
  max-width: min(34ch, calc(100% - var(--margin) * 2)); color: #fff; font-size: var(--step-body); font-weight: 500;
}
.verb-panel__line::before {
  content: ""; position: absolute; z-index: -1; left: calc(var(--margin) * -1); bottom: calc(clamp(24px, 4vw, 48px) * -1);
  width: calc(100% + 30vw); height: calc(100% + 140px);
  background: radial-gradient(ellipse at 0% 100%, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0) 70%); /* neutral scrim limited to the corner; taste-skill-ignore */
}
.verb-panel__line strong { display: block; font-size: var(--step-lead); margin-bottom: 6px; letter-spacing: -0.015em; }
.verbs-intro { padding-block: var(--section) clamp(48px, 6vw, 96px); }

/* ==========================================================================
   FAN - four cards dealt into a fan
   ========================================================================== */
.fan { display: flex; justify-content: center; padding-block: 24px 40px; }
.fan__card {
  flex: none; width: clamp(260px, 24vw, 340px); min-height: 400px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px; background: var(--card-bg, var(--surface)); color: var(--card-ink, var(--ink));
  transform: rotate(var(--rot, 0deg)); margin-left: -60px;
  transition: transform var(--dur-3) var(--ease-out);
}
.fan__card:first-child { margin-left: 0; }
.fan__card:hover { transform: rotate(0deg) translateY(-12px); z-index: 2; }
.fan__card h3 { font-size: var(--step-title); letter-spacing: -0.035em; line-height: 0.95; max-width: 240px; }
.fan__card p { margin-top: auto; max-width: 240px; font-size: var(--step-body); }
@media (max-width: 1100px) {
  .fan { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-inline: var(--margin); margin-inline: calc(var(--margin) * -1); scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan__card { margin-left: 0; transform: none; width: 82vw; max-width: 340px; scroll-snap-align: start; min-height: 360px; }
}

/* ==========================================================================
   CURTAIN - full-bleed sequence
   ========================================================================== */
.curtain { position: relative; }
.curtain__item { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--dusk); }
.curtain__item img { width: 100%; height: 100%; object-fit: cover; }
.curtain__cap {
  position: absolute; left: var(--margin); right: var(--margin); bottom: 28px; color: #fff; font-size: var(--step-small); font-weight: 500;
  display: flex; justify-content: space-between; gap: 24px;
}
.curtain__cap::before {
  content: ""; position: absolute; z-index: -1; left: calc(var(--margin) * -1); right: calc(var(--margin) * -1); bottom: -28px; height: 140px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0)); /* neutral scrim; taste-skill-ignore */
}
.curtain__cap a { text-decoration: none; }
.curtain-lead { position: relative; z-index: 2; }
.curtain-lead__text {
  margin-left: 58%; width: min(320px, 36vw); margin-bottom: -4.6em; padding-top: 32px;
  font-size: var(--step-small); font-weight: 500; position: relative; z-index: 2; color: var(--ink);
}
@media (max-width: 860px) {
  .curtain__item { height: 88svh; }
  .curtain-lead__text { margin-left: 0; width: 70%; }
}

/* ==========================================================================
   VOICES - testimonials
   ========================================================================== */
.voices { display: grid; gap: clamp(72px, 9vw, 140px); }
.voice { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.voice__img { grid-column: 1 / span 4; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.voice__img img { width: 100%; height: 100%; object-fit: cover; }
.voice__initial { width: 100%; height: 100%; display: grid; place-items: center; font-size: clamp(5rem, 12vw, 10rem); font-weight: 600; letter-spacing: -0.06em; background: var(--sand); }
.voice blockquote { grid-column: 6 / span 6; }
.voice:nth-child(even) .voice__img { grid-column: 9 / span 4; grid-row: 1; }
.voice:nth-child(even) blockquote { grid-column: 1 / span 7; grid-row: 1; }
.voice blockquote p { font-size: var(--step-lead); font-weight: 500; line-height: 1.32; max-width: 40ch; letter-spacing: -0.02em; }
.voice footer { margin-top: 20px; font-size: var(--step-small); color: var(--muted); }
.voice footer strong { color: var(--ink); font-weight: 600; font-size: var(--step-body); display: block; }
.stars { display: inline-flex; gap: 2px; margin-top: 8px; }
.stars svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .voice__img, .voice:nth-child(even) .voice__img { grid-column: 1 / span 9; grid-row: 1; }
  .voice:nth-child(even) .voice__img { grid-column: 4 / -1; }
  .voice blockquote, .voice:nth-child(even) blockquote { grid-column: 1 / -1; grid-row: 2; margin-top: 24px; }
}

/* ==========================================================================
   BANDS - FAQ, one band per question, all visible
   ========================================================================== */
.band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: 56px; }
.band:nth-child(odd) { background: var(--ground); }
.band:nth-child(even) { background: var(--surface); }
.band h3 { grid-column: 1 / span 5; font-size: var(--step-lead); line-height: 1.12; letter-spacing: -0.025em; }
.band__answer { grid-column: 7 / -1; font-size: var(--step-body); line-height: 1.55; max-width: 60ch; }
.band__answer > * + * { margin-top: 0.8em; }
.band-head { min-height: 40svh; display: flex; align-items: flex-end; background: var(--ink); color: var(--on-ink); padding-block: 56px; }
.band-head h2 { font-size: var(--step-head); letter-spacing: -0.045em; line-height: 0.92; }
@media (max-width: 860px) {
  .band { padding-block: 32px; }
  .band h3, .band__answer { grid-column: 1 / -1; }
  .band__answer { margin-top: 12px; }
  .band-head { min-height: 30svh; }
}

/* ==========================================================================
   GUIDES - article list
   ========================================================================== */
.guides { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.guides__lead { grid-column: 1 / span 7; text-decoration: none; display: block; }
.guides__lead figure { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface); }
.guides__lead img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.guides__lead:hover img { transform: scale(1.04); }
.guides__lead h3 { margin-top: 24px; font-size: var(--step-title); letter-spacing: -0.035em; line-height: 1; max-width: 20ch; }
.guides__lead p { margin-top: 12px; max-width: 52ch; }
.guides__list { grid-column: 9 / -1; display: grid; }
.guides__list { display: grid; gap: 4px; align-content: start; }
.guides__item { display: grid; gap: 8px; padding: 24px; text-decoration: none; background: var(--surface); transition: background-color var(--dur-2); }
.guides__item:hover { background: var(--surface-2); }
.guides__item h3 { font-size: var(--step-lead); line-height: 1.12; letter-spacing: -0.02em; transition: transform var(--dur-2) var(--ease-out); }
.guides__item:hover h3 { transform: translateX(6px); }
.meta { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 860px) {
  .guides__lead, .guides__list { grid-column: 1 / -1; }
  .guides__list { margin-top: 40px; }
}

/* ---------- article index grid (varied sizes, not identical cards) ---------- */
.shelf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) var(--gap); }
.shelf__item { grid-column: span 4; text-decoration: none; display: grid; gap: 14px; align-content: start; }
.shelf__item:nth-child(5n + 1) { grid-column: span 8; }
.shelf__item figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.shelf__item:nth-child(5n + 1) figure { aspect-ratio: 16 / 9; }
.shelf__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.shelf__item:hover img { transform: scale(1.04); }
.shelf__item h2, .shelf__item h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
.shelf__item:nth-child(5n + 1) h2, .shelf__item:nth-child(5n + 1) h3 { font-size: var(--step-title); letter-spacing: -0.035em; line-height: 1; }
@media (max-width: 860px) { .shelf__item, .shelf__item:nth-child(5n + 1) { grid-column: 1 / -1; } }

/* ==========================================================================
   MARKS - licences, airlines
   ========================================================================== */
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.marks img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter var(--dur-2), opacity var(--dur-2); }
.marks img:hover { filter: none; opacity: 1; }
.marks span { font-weight: 600; font-size: var(--step-lead); }

/* ==========================================================================
   CLOSING - last photograph, text beside
   ========================================================================== */
.closing { position: relative; height: 90svh; min-height: 560px; overflow: hidden; background: var(--dusk); }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) saturate(0.9); }
.closing__text { position: absolute; z-index: 2; right: var(--margin); bottom: clamp(40px, 8vh, 96px); width: min(46vw, 680px); color: #fff; }
.closing__text h2 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.closing__text p { margin-top: 20px; font-size: var(--step-body); max-width: 44ch; }
.closing__text .btn { margin-top: 28px; }
@media (max-width: 860px) {
  .closing { height: auto; min-height: 0; background: var(--ink); }
  .closing > img { position: relative; height: 70svh; filter: none; }
  .closing__text { position: relative; right: auto; bottom: auto; width: auto; padding: 40px var(--margin) 8px; }
  .closing__text .btn { width: 100%; }
}

/* ==========================================================================
   FOOTER - invitation over a cropped name
   ========================================================================== */
.site-foot { background: var(--ink); color: var(--on-ink); overflow: hidden; position: relative; }
.site-foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: clamp(80px, 10vw, 160px); }
.site-foot__invite { grid-column: 1 / span 7; }
.site-foot__invite h2 { font-size: var(--step-head); letter-spacing: -0.045em; line-height: 0.95; max-width: 13ch; }
.site-foot__invite .btn { margin-top: 32px; }
.site-foot__cols { grid-column: 9 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-content: start; }
.site-foot__cols h3 { font-size: var(--step-small); font-weight: 500; letter-spacing: 0; opacity: 0.75; margin-bottom: 12px; }
.site-foot__cols ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-foot__cols a { text-decoration: none; }
.site-foot__cols a:hover { text-decoration: underline; }
.site-foot__contact { grid-column: 1 / span 7; margin-top: 56px; display: grid; gap: 6px; font-size: var(--step-body); }
.site-foot__contact a { text-decoration: none; }
.site-foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(64px, 8vw, 120px);
  font-size: var(--step-small); opacity: 0.85;
}
.site-foot__legal a { color: inherit; }
.credits { font-size: var(--step-small); margin-top: 20px; opacity: 0.85; }
.credits summary { cursor: pointer; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.credits p { max-width: 72ch; margin-top: 8px; }
.credits a { color: inherit; }
.site-foot__name {
  display: block; white-space: nowrap; font-weight: 600; letter-spacing: -0.06em; line-height: 0.8;
  font-size: var(--name-size, 26vw); transform: translateY(24%); margin-top: 24px; user-select: none;
}
@media (max-width: 860px) {
  .site-foot__invite, .site-foot__cols, .site-foot__contact { grid-column: 1 / -1; }
  .site-foot__cols { margin-top: 48px; }
  .site-foot__invite .btn { width: 100%; }
}

/* ==========================================================================
   PACKAGE DETAIL
   ========================================================================== */
.pkg-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-top: clamp(32px, 4vw, 64px); }
.pkg-hero__main { grid-column: 1 / span 7; }
.pkg-hero__main h1 { font-size: clamp(2.75rem, 1.4rem + 5vw, 7rem); letter-spacing: -0.045em; line-height: 0.92; margin-top: 24px; max-width: 14ch; }
.pkg-hero__main .t-lead { margin-top: 24px; max-width: 44ch; }
.pkg-hero__price { grid-column: 9 / -1; display: grid; gap: 16px; }
.pkg-hero__price .price-big { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.pkg-hero__price s { color: var(--muted); }
.pkg-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.pkg-gallery figure { overflow: hidden; background: var(--surface); }
.pkg-gallery figure:first-child { grid-column: 1 / span 8; grid-row: span 2; min-height: 100%; }
.pkg-gallery figure:not(:first-child) { grid-column: 9 / -1; }
.pkg-gallery figure:nth-child(2) { aspect-ratio: 4 / 3; }
.pkg-gallery figure:nth-child(3) { aspect-ratio: 4 / 3; }
.pkg-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pkg-gallery--one figure:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pkg-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.pkg-body__main { grid-column: 1 / span 7; }
.pkg-body__side { grid-column: 9 / -1; }
.pkg-body__side .sticky { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 16px; padding: 28px; background: var(--surface); }
.pkg-section + .pkg-section { margin-top: clamp(64px, 7vw, 112px); }
.pkg-section > h2 { font-size: var(--step-title); letter-spacing: -0.035em; margin-bottom: 28px; }
@media (max-width: 960px) {
  .pkg-hero__main, .pkg-hero__price, .pkg-body__main, .pkg-body__side { grid-column: 1 / -1; }
  .pkg-hero__price { margin-top: 32px; }
  .pkg-gallery figure:first-child, .pkg-gallery figure:not(:first-child) { grid-column: 1 / -1; }
  .pkg-gallery figure:not(:first-child) { display: none; }
  .pkg-body__side { margin-top: 56px; }
}

.facts { width: 100%; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts th { font-weight: 500; color: var(--muted); width: 38%; font-size: var(--step-small); padding-top: 19px; }
.facts td { font-weight: 500; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 2px solid var(--ink); }

.route { list-style: none; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 3px; background: var(--ink); transform-origin: top; transform: scaleY(var(--route, 1)); transition: transform 1600ms var(--ease-out); }
.route li { position: relative; padding-left: 48px; padding-bottom: 32px; }
.route li:last-child { padding-bottom: 0; }
.route li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 19px; height: 19px; background: var(--ground); border: 3px solid var(--ink); border-radius: 50%; }
.route__day { font-size: var(--step-small); color: var(--muted); }
.route h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; margin-top: 2px; }
.route p { margin-top: 6px; max-width: 58ch; }

.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.5em; background: var(--ink); }
.ticks--x li::before { background: transparent; border: 2px solid var(--ink); }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }

.price-table td, .price-table th { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.price-table td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   PROSE - articles
   ========================================================================== */
.article-head { padding-top: clamp(40px, 6vw, 96px); }
.article-head h1 { font-size: var(--step-head); letter-spacing: -0.045em; line-height: 0.95; max-width: 20ch; margin-top: 24px; }
.article-head .meta { margin-top: 24px; }
.article-cover { margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 21 / 9; overflow: hidden; background: var(--surface); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.article-layout__main { grid-column: 2 / span 7; }
.article-layout__side { grid-column: 10 / -1; }
@media (max-width: 960px) { .article-layout__main, .article-layout__side { grid-column: 1 / -1; } .article-layout__side { margin-top: 64px; } }
.prose { font-size: var(--step-body); line-height: 1.68; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-title); letter-spacing: -0.03em; line-height: 1.08; margin-top: 2em; }
.prose h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; margin-top: 1.8em; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; padding-left: clamp(24px, 4vw, 56px); max-width: 32ch; }
.prose img { margin-block: 2em; }
.prose table { font-size: var(--step-small); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.prose code { font-size: 0.9em; background: var(--surface); padding: 0.1em 0.3em; }
.side-block + .side-block { margin-top: 48px; }
.side-block h2 { font-size: var(--step-small); font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 16px; }
.side-list { list-style: none; padding: 0; display: grid; }
.side-list { gap: 4px; }
.side-list a { display: block; padding: 14px 16px; background: var(--surface); text-decoration: none; font-weight: 500; line-height: 1.3; transition: background-color var(--dur-2); }
.side-list a:hover { background: var(--surface-2); }
.side-list a:hover { text-decoration: underline; }
.toc { list-style: none; padding: 0; display: grid; gap: 8px; font-size: var(--step-small); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--step-small); font-weight: 600; }
.field .hint { font-size: var(--step-small); color: var(--muted); }
.field .error { font-size: var(--step-small); font-weight: 600; color: #8a1c12; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--marble); color: var(--ink);
  border: 2px solid var(--line-strong); border-radius: 0; font-size: var(--step-body);
  transition: border-color var(--dur-2), background-color var(--dur-2);
}
.field textarea { min-height: 140px; resize: vertical; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field ::placeholder { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2338450f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-small); }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.notice { padding: 18px 20px; background: var(--ink); color: var(--on-ink); font-weight: 500; }
.notice--soft { background: var(--surface); color: var(--ink); }
.notice--error { background: #8a1c12; color: #fff; }

/* ==========================================================================
   FILTER BAR (packages index), PAGINATION
   ========================================================================== */
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: end; padding: clamp(20px, 2.4vw, 32px); background: var(--surface); }
.filters__search { grid-column: span 1; }
.filters__actions { grid-column: span 6; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.filters .field input, .filters .field select { background-color: var(--ground); }
@media (max-width: 1200px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filters__search { grid-column: span 3; } .filters__actions { grid-column: 1 / -1; } }
@media (max-width: 960px) { .filters { grid-template-columns: 1fr 1fr; } .filters__search, .filters > .field:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 64px; }
.pager a, .pager span { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 14px; background: var(--surface); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color var(--dur-2); }
.pager a:hover { background: var(--surface-2); }
.pager [aria-current="page"] span, .pager .is-current { background: var(--ink); color: var(--on-ink); }
.pager .is-disabled { opacity: 0.4; }

/* ==========================================================================
   GALLERY (activities) - varied mosaic
   ========================================================================== */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); grid-auto-flow: dense; }
.mosaic__item { grid-column: span 4; position: relative; overflow: hidden; background: var(--surface); text-align: left; display: block; width: 100%; }
.mosaic__item:nth-child(6n + 1) { grid-column: span 8; grid-row: span 2; }
.mosaic__item:nth-child(6n + 4) { grid-column: span 6; }
.mosaic__item:nth-child(6n + 5) { grid-column: span 6; }
.mosaic__item figure { aspect-ratio: 4 / 3; height: 100%; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__cap { display: block; padding-top: 12px; }
.mosaic__cap strong { display: block; font-weight: 600; letter-spacing: -0.015em; }
@media (max-width: 860px) { .mosaic__item, .mosaic__item:nth-child(n) { grid-column: 1 / -1; grid-row: auto; } }
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgb(14 18 8 / 0.94); display: grid; place-items: center; padding: 24px; color: #fff; }
.lightbox img { max-height: 78vh; width: auto; }
.lightbox__bar { position: absolute; top: 16px; right: 16px; left: 16px; display: flex; justify-content: space-between; align-items: center; }
.lightbox__cap { margin-top: 16px; max-width: 70ch; }

/* ==========================================================================
   PARTNER cards (directory) - list rows, not identical cards
   ========================================================================== */
.rows { display: grid; gap: 4px; }
.row { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; padding: 24px; background: var(--surface); text-decoration: none; transition: background-color var(--dur-2); }
.row:hover { background: var(--surface-2); }
.row__logo { width: 96px; height: 96px; background: var(--marble); display: grid; place-items: center; overflow: hidden; }
.row__logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.row h2, .row h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.12; }
.row__aside { text-align: right; font-size: var(--step-small); }
@media (max-width: 640px) { .row { grid-template-columns: 64px 1fr; } .row__logo { width: 64px; height: 64px; } .row__aside { grid-column: 2; text-align: left; } }

/* ==========================================================================
   COMPARE BAR, FLOATING WHATSAPP
   ========================================================================== */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--ink); color: var(--on-ink); }
.compare-bar__in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.compare-bar__items { display: flex; gap: 8px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.compare-bar__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 14px; background: color-mix(in srgb, var(--on-ink) 14%, transparent); font-size: var(--step-small); white-space: nowrap; }
.compare-bar__item button { width: 28px; height: 28px; display: inline-grid; place-items: center; }
.compare-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-small); font-weight: 600; min-height: 44px; }
.compare-toggle .box { width: 20px; height: 20px; border: 2px solid currentColor; display: inline-grid; place-items: center; }
.compare-toggle[aria-pressed="true"] .box { background: currentColor; }
.compare-toggle[aria-pressed="true"] .box svg { color: var(--ground); }
.compare-toggle .box svg { width: 14px; height: 14px; color: transparent; }
.compare-toggle[disabled] { opacity: 0.4; cursor: not-allowed; }
.board__go { white-space: nowrap; }
.board__namewrap { display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.board__thumb { grid-row: span 3; width: 160px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); transition: transform var(--dur-3) var(--ease-out); }
tr[data-row]:hover .board__thumb { transform: scale(1.06); }
.board__go > * { vertical-align: middle; }
.board__cmp { margin-right: 12px; }
@media (max-width: 1100px) { .board__cmp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

.wa-float {
  position: fixed; right: var(--margin); bottom: 20px; z-index: 140;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px;
  background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none;
  outline: 2px solid var(--on-ink); outline-offset: -2px;
  transition: transform var(--dur-2) var(--ease-out), bottom var(--dur-2) var(--ease-out), background-color var(--dur-2), opacity var(--dur-2);
}
.wa-float:hover { background: var(--ink-hover); transform: translateY(-3px); }
.has-compare .wa-float { bottom: 92px; }
.at-hero .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), visibility 0s var(--dur-2); }
@media (max-width: 640px) { .wa-float { padding: 0 18px; right: 16px; bottom: 16px; } .wa-float span { display: none; } }

/* ==========================================================================
   COMPARE TABLE
   ========================================================================== */
.compare-table { min-width: 720px; }
.compare-table th, .compare-table td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare-table tbody th { font-weight: 500; color: var(--muted); font-size: var(--step-small); width: 20%; }
.compare-table .is-best { font-weight: 700; }
.scroll-x { overflow-x: auto; }

/* ==========================================================================
   MOTION - entrances, drift
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js [data-reveal="fan"] { transform: translateY(80px) rotate(0deg); }
.js [data-reveal="fan"].is-in { transform: rotate(var(--rot, 0deg)); }
.js [data-reveal="rise"] { opacity: 0; transform: translateY(0.4em); }
.js tr[data-reveal]:not(.is-in) .seatbar i { transform: scaleX(0); }
.js .route:not(.is-in)::before { transform: scaleY(0); }
.drift { animation: drift 24s var(--ease-in-out) infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; }
.js .split-line > span { transform: translateY(105%); }
.js .is-in .split-line > span, .js .split-line.is-in > span { transform: none; transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .js [data-reveal].is-in, .js .split-line > span { opacity: 1; transform: none; }
  .js [data-reveal="fan"] { transform: rotate(var(--rot, 0deg)); }
  .hero__frame img { transform: none; }
}
@media print { .site-head, .wa-float, .compare-bar, .site-foot__name { display: none; } }
@media (max-width: 1100px) {
  .board__namewrap { grid-template-columns: 88px minmax(0, 1fr); }
  .board__thumb { width: 88px; }
}

/* ---------- package detail additions ---------- */
.pkg-ticket { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pkg-ticket dt { font-size: var(--step-small); color: var(--muted); }
.pkg-ticket dd { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.seatbar--wide { width: 100%; }
.pkg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.pkg-gallery figure { position: relative; }
.pkg-gallery figure button { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pkg-gallery figure img { transition: transform 1200ms var(--ease-out); }
.pkg-gallery figure:hover img { transform: scale(1.03); }
.pkg-gallery figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: var(--step-small); font-weight: 500; background: rgb(20 24 10 / 0.62); padding: 4px 10px; pointer-events: none; }
.split-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); }
.split-lists h3 { margin-bottom: 16px; }
.ticks--one { grid-template-columns: 1fr; }
.lightbox figure { display: grid; justify-items: center; }
.lightbox__nav { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
@media (max-width: 860px) {
  .split-lists, .ticks { grid-template-columns: 1fr; }
  .pkg-gallery figure:first-child, .pkg-gallery figure:not(:first-child) { grid-column: 1 / -1; }
  .pkg-gallery figure:not(:first-child) { grid-column: span 6; }
}
@media (max-width: 860px) { .pkg-gallery figure:first-child { grid-row: auto; aspect-ratio: 4 / 3; } }

/* ---------- compare ---------- */
.compare-table { width: 100%; table-layout: fixed; }
.compare-table thead td:first-child, .compare-table tbody th[scope="row"] { width: 22%; }
.cmp-head { display: grid; gap: 12px; text-decoration: none; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
.cmp-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); transition: transform var(--dur-3) var(--ease-out); }
.cmp-head:hover img { transform: scale(1.03); }
.cmp-head:hover span { text-decoration: underline; }
.compare-table .cmp-group th { padding-top: 40px; font-size: var(--step-lead); font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); }
.compare-table td { font-variant-numeric: tabular-nums; }
.compare-table tfoot td { border-bottom: 0; padding-top: 32px; }

/* ---------- guides ---------- */
.searchline { display: flex; gap: 8px; width: 100%; max-width: 440px; }
.searchline input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid var(--line-strong); background: var(--ground); font: inherit; color: var(--ink); }
.searchline input:focus { border-color: var(--ink); outline: none; }
.chips--links { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--links .chip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: background-color var(--dur-2); }
.chips--links .chip:hover { background: var(--surface-2); }
.chips--links .chip[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.chips--links .chip[aria-current="page"] .t-soft { color: inherit; opacity: 0.7; }
.shelf__item p { color: var(--ink); }
.shelf--even .shelf__item, .shelf--even .shelf__item:nth-child(5n + 1) { grid-column: span 4; }
.shelf--even .shelf__item:nth-child(5n + 1) figure { aspect-ratio: 4 / 3; }
.shelf--even .shelf__item:nth-child(5n + 1) h3 { font-size: var(--step-lead); }
@media (max-width: 860px) { .shelf__item, .shelf__item:nth-child(5n + 1), .shelf--even .shelf__item { grid-column: 1 / -1; } }
.tagline { margin-top: clamp(64px, 7vw, 112px); display: grid; gap: 12px; }
.tagline ul, .taglist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.taglist { margin-top: 48px; }
.share { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin-top: 48px; padding: 20px 24px; background: var(--surface); }
.wrap-bleed { margin-inline: var(--margin); }
.article-side { position: sticky; top: calc(var(--head-h) + 24px); }
.side-ask { padding: 24px; background: var(--sand); display: grid; gap: 14px; }
.side-ask h2 { font-size: var(--step-lead); color: var(--ink); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img { margin-block: 1.6em; }
@media (max-width: 960px) {
  .article-layout__main, .article-layout__side { grid-column: 1 / -1; }
  .article-layout__side { margin-top: 64px; }
  .article-side { position: static; }
}

/* ---------- gallery ---------- */
.mosaic__item { cursor: zoom-in; }
.mosaic__item:nth-child(6n) { grid-column: 1 / -1; }
.mosaic__item:nth-child(6n) figure { aspect-ratio: 21 / 8; }
.mosaic__item:nth-child(6n + 1) figure { aspect-ratio: auto; height: calc(100% - 56px); min-height: 320px; }
.lightbox__video { width: min(90vw, 1100px); aspect-ratio: 16 / 9; border: 0; background: #000; }
.row--text { grid-template-columns: 160px 1fr auto; align-items: start; }
@media (max-width: 860px) {
  .mosaic__item, .mosaic__item:nth-child(6n + 1), .mosaic__item:nth-child(6n + 4), .mosaic__item:nth-child(6n + 5) { grid-column: 1 / -1; grid-row: auto; }
  .mosaic__item:nth-child(6n + 1) figure { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .row--text { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- partners ---------- */
.row--partner { grid-template-columns: 160px 1fr auto; align-items: start; }
.row__media { display: block; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__initial { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: var(--sand); font-size: var(--step-title); font-weight: 600; }
.badge-inline { display: inline-block; vertical-align: middle; margin-left: 10px; font-size: var(--step-small); font-weight: 600; padding: 2px 8px; background: var(--ink); color: var(--on-ink); letter-spacing: 0; }
.review + .review { margin-top: 40px; }
.review blockquote p { font-size: var(--step-body); line-height: 1.6; margin-top: 8px; }
.review figcaption { margin-top: 12px; }
@media (max-width: 640px) { .row--partner { grid-template-columns: 1fr; } .row--partner .row__aside { text-align: left; } }

/* ---------- about / contact ---------- */
.about-why__h { grid-column: 1 / span 6; }
.about-why__body { grid-column: 8 / -1; }
.facts-inline { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 32px; }
.facts-inline dt { font-size: var(--step-small); color: var(--muted); }
.facts-inline dd { font-size: var(--step-lead); font-weight: 600; }
.about-route { grid-column: 1 / span 6; }
.about-route__fig { grid-column: 8 / -1; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); align-self: start; position: sticky; top: calc(var(--head-h) + 24px); }
.about-route__fig img { width: 100%; height: 100%; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.contact-ways { grid-column: 1 / span 5; display: grid; gap: 4px; }
.contact-way { display: grid; gap: 4px; padding: 20px 24px; background: var(--surface); text-decoration: none; transition: padding var(--dur-2) var(--ease-out), background-color var(--dur-2); }
.contact-way:hover { background: var(--surface-2); }
.contact-way strong { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.contact-way:hover { padding-left: 32px; }
.contact-form { grid-column: 7 / -1; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { background-color: var(--ground); }
.contact-map iframe { width: 100% !important; height: 440px; border: 0; display: block; }
.contact-photo { aspect-ratio: 21 / 8; overflow: hidden; margin-bottom: var(--section); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .about-why__h, .about-why__body, .about-route, .about-route__fig, .contact-ways, .contact-form { grid-column: 1 / -1; }
  .about-why__body { margin-top: 24px; }
  .about-route__fig { position: static; margin-top: 48px; aspect-ratio: 4 / 3; }
  .contact-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.leg-strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: none; }
.leg-strip li { display: grid; gap: 6px; }
.leg-strip figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); margin-bottom: 8px; }
.leg-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.leg-strip li:hover img { transform: scale(1.04); }
.leg-strip strong { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 760px) { .leg-strip { grid-template-columns: 1fr; } }

/* ---------- programmatic ---------- */
.flight-line { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; }
.flight-line > div { display: grid; gap: 2px; }
.flight-line dt { font-size: var(--step-small); color: var(--muted); }
.flight-line dd { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.flight-line__mid { text-align: center; justify-items: center; position: relative; padding-bottom: 28px; }
.flight-line__mid dd { font-size: var(--step-lead); letter-spacing: -0.015em; }
.flight-line__mid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; background: var(--ink); transform-origin: left; transition: transform 1600ms var(--ease-out); }
.js .flight-line:not(.is-in) .flight-line__mid::after { transform: scaleX(0); }
.flight-line > div:last-child { text-align: right; justify-items: end; }

/* ---------- booking / account ---------- */
.booking-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.booking-grid__main { grid-column: 1 / span 7; }
.booking-grid__side { grid-column: 9 / -1; }
.booking-grid__side .sticky { position: sticky; top: calc(var(--head-h) + 24px); }
.pax { border: 0; padding: 24px; background: var(--surface); margin: 0 0 4px; }
.pax input, .pax select { background-color: var(--ground); }
.pax legend { display: flex; justify-content: space-between; width: 100%; font-size: var(--step-lead); font-weight: 600; padding: 0; margin-bottom: 16px; float: left; }
.pax legend + * { clear: both; }
.status-tag { display: inline-block; padding: 4px 12px; background: var(--sand); font-weight: 600; font-size: var(--step-small); }
.status-tag--ok { background: var(--ink); color: var(--on-ink); }
.t-title-sm { font-size: var(--step-title); letter-spacing: -0.035em; line-height: 1; }
@media (max-width: 960px) { .booking-grid__main, .booking-grid__side { grid-column: 1 / -1; } }

/* ---------- finish-review fixes ---------- */
.voice--text blockquote, .voice--text:nth-child(even) blockquote { grid-column: 3 / span 8; }
.voice--text blockquote p { font-size: var(--step-lead); line-height: 1.32; letter-spacing: -0.02em; max-width: 46ch; }
.voices .voice--text + .voice--text { margin-top: clamp(48px, 6vw, 96px); }
@media (max-width: 860px) { .voice--text blockquote, .voice--text:nth-child(even) blockquote { grid-column: 1 / -1; grid-row: auto; margin-top: 0; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
body.menu-open { overflow: hidden; }
.menu-toggle--close { display: inline-flex; }
.board__seat-word { display: none; }
@media (max-width: 860px) { .board__seat-word { display: inline; } }
.board { padding-bottom: 8px; }
.wa-hide .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), visibility 0s var(--dur-2); }

/* ---------- account pages: form on the ground, Madinah on the right ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; min-height: 100dvh; } /* taste-skill-ignore: 100vh is the fallback before 100dvh */
.auth__panel { display: grid; grid-template-rows: auto 1fr auto; gap: 48px; padding: clamp(20px, 3vw, 40px) clamp(16px, 5vw, 80px); }
.auth__head, .auth__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.auth__main { align-self: center; width: 100%; max-width: 30rem; display: grid; gap: 28px; }
.auth__intro { display: grid; gap: 16px; }
.auth__intro h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem); }
.auth__switch { font-size: var(--step-small); }
.auth__media { position: relative; margin: 0; overflow: hidden; background: var(--surface-2); }
.auth__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.auth__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgb(0 0 0 / 0.6), transparent); pointer-events: none; } /* taste-skill-ignore: photo scrim behind the caption */
.auth__media figcaption { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); display: grid; gap: 4px; color: #fff; }
.auth__media figcaption strong { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; }
.auth__media figcaption span { font-size: 0.8125rem; opacity: 0.8; }
.field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pass { position: relative; }
.field .pass input { padding-right: 120px; }
.pass__toggle { position: absolute; top: 2px; right: 2px; bottom: 2px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: var(--step-small); font-weight: 600; cursor: pointer; transition: background-color var(--dur-2); }
.pass__toggle:hover { background: var(--surface); }
.link--button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .auth__media { order: -1; height: 22vh; min-height: 160px; max-height: 240px; }
  .auth__media figcaption strong { font-size: var(--step-body); }
  .auth__panel { gap: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .auth__main > * { animation: auth-rise var(--dur-3) var(--ease-out) both; }
  .auth__main > :nth-child(2) { animation-delay: 80ms; }
  .auth__main > :nth-child(3) { animation-delay: 160ms; }
  .auth__main > :nth-child(4) { animation-delay: 240ms; }
  .auth__media img { animation: auth-settle 1.6s var(--ease-out) both; }
  @keyframes auth-rise { from { opacity: 0; transform: translateY(16px); } }
  @keyframes auth-settle { from { transform: scale(1.06); } }
}
