/* =========================================================
   Hullám Szobák Siófok 2.0
   Native CSS. Radius system: cards/images 20px, inputs 12px, buttons + chips pill.
   Colour roles: green = brand + structure, white/off-white = space, sunset coral = action + highlight
   (booking CTAs, peak season, eyebrows, stars, sun motif). Text on coral is always --sun-ink (white fails contrast).
   z-index scale: progress 60, nav 50, mbar 40, cookie 45, dialog (top layer).
   ========================================================= */

@property --fill { syntax: '<percentage>'; inherits: false; initial-value: 90%; }
@property --wx   { syntax: '<length>';     inherits: false; initial-value: 0px; }

:root {
  --bg: #F3F6F4;
  --bg-2: #E6EEEA;
  --surface: #FBFCFB;
  --ink: #0F201C;
  --ink-2: #44574F;
  --ink-3: #6A7C75;
  --line: rgb(15 32 28 / .12);
  --accent: #0F6E56;
  --accent-strong: #0B5A46;
  --accent-ink: #F3FBF8;
  --accent-soft: #D3EAE1;
  --accent-softer: #E6F3EE;
  --sun: #FF6B4A;
  --sun-strong: #FF8566;
  --sun-ink: #2B0F06;
  --sun-text: #C2401C;
  --sun-soft: #FFE4DB;
  --sun-hero: #FF9670;
  --shadow: 0 1px 2px rgb(15 60 48 / .06), 0 12px 40px -12px rgb(15 60 48 / .18);
  --shadow-lg: 0 30px 80px -24px rgb(15 60 48 / .35);

  --r: 20px;
  --r-sm: 12px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --max: 1280px;
  --nav-h: 68px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --f-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1512;
    --bg-2: #0F1E1A;
    --surface: #13241F;
    --ink: #E6EFEB;
    --ink-2: #A9BDB5;
    --ink-3: #82978F;
    --line: rgb(230 239 235 / .12);
    --accent: #3CC29C;
    --accent-strong: #5ED3B0;
    --accent-ink: #052019;
    --accent-soft: #15392F;
    --accent-softer: #102C25;
    --sun: #FF7E5F;
    --sun-strong: #FF9A80;
    --sun-ink: #2B0F06;
    --sun-text: #FF9A80;
    --sun-soft: #3A1E17;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 40px -12px rgb(0 0 0 / .55);
    --shadow-lg: 0 30px 80px -24px rgb(0 0 0 / .7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--sun-ink); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 70; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 1rem; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tint { background: var(--bg-2); }

.h2 {
  font: 700 clamp(2rem, 4.2vw, 3.4rem)/1.06 var(--f-display);
  letter-spacing: -.03em; margin: 0 0 1.25rem; max-width: 20ch; text-wrap: balance;
}
.h3 { font: 700 clamp(1.4rem, 2.2vw, 1.85rem)/1.15 var(--f-display); letter-spacing: -.02em; margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 52ch; margin: 0 0 2rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  font: 600 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-text);
}
.eyebrow i { font-size: 1.05rem; }
.eyebrow--light { color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px;
  transition: background-size .45s var(--ease-out);
}
.link-arrow i { transition: transform .35s var(--ease-out); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover i { transform: translate(3px, -3px); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--surface); --fg-btn: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  white-space: nowrap; text-decoration: none; border: 0; border-radius: 999px;
  padding: .85rem 1.4rem; font-weight: 700; font-size: .98rem; line-height: 1;
  background: var(--bg-btn); color: var(--fg-btn);
  transition: transform .25s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s;
}
.btn i { font-size: 1.1em; transition: transform .35s var(--ease-out); }
.btn:hover i.ph-arrow-right, .btn:hover i.ph-paper-plane-tilt { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: 1.05rem 1.65rem; font-size: 1.02rem; }
.btn--primary { --bg-btn: var(--accent); --fg-btn: var(--accent-ink); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
/* fill sweeps in from the left on hover */
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent-strong); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.btn--primary:hover::before { transform: scaleX(1); }
.btn--primary:hover { box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--sun { --bg-btn: var(--sun); --fg-btn: var(--sun-ink); box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--sun) 85%, transparent); }
.btn--sun::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sun-strong); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.btn--sun:hover::before { transform: scaleX(1); }
.btn--sun:hover { box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--sun) 90%, transparent); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); --fg-btn: var(--accent); }
.btn--glass {
  --fg-btn: #fff; --bg-btn: rgb(255 255 255 / .14);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35), inset 0 1px 0 rgb(255 255 255 / .35);
}
.btn--glass:hover { --bg-btn: rgb(255 255 255 / .24); }
@media (prefers-reduced-transparency: reduce) { .btn--glass { --bg-btn: rgb(10 30 25 / .7); backdrop-filter: none; } }

/* ---------- Scroll progress (CSS scroll-driven) ---------- */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 60;
    background: linear-gradient(90deg, var(--accent), var(--sun)); transform-origin: 0 50%; transform: scaleX(0);
    animation: grow linear both; animation-timeline: scroll(root);
  }
}
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: .75rem var(--gutter) 0; pointer-events: none; }
.nav__inner {
  pointer-events: auto; height: var(--nav-h); max-width: calc(var(--max) + 2rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem; padding: 0 .65rem 0 1.25rem; border-radius: 999px;
  color: #fff; transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.nav[data-state="scrolled"] .nav__inner {
  color: var(--ink); background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.nav[data-state="hidden"] .nav__inner { transform: translateY(-130%); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.brand__mark path:first-child { stroke: var(--accent); }
.nav[data-state="top"] .brand__mark path:first-child { stroke: #7FE0C2; }
.brand__word { display: grid; font: 800 1.3rem/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; }
.brand__word small { font: 700 .62rem/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; margin-top: .3rem; opacity: .72; }
.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: .93rem; padding: .5rem .8rem; border-radius: 999px;
  transition: background-color .25s;
}
.nav__links a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: .55rem .7rem;
  border-radius: 999px; font-weight: 700; font-size: .88rem; color: inherit;
}
.lang__btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.lang__btn i { font-size: 1.15rem; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); margin: 0; padding: .4rem; list-style: none; min-width: 150px;
  background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right; visibility: hidden;
  transition: opacity .2s, transform .3s var(--ease-out), visibility .2s;
}
.lang[data-open] .lang__menu { opacity: 1; transform: none; visibility: visible; }
.lang__menu a { display: block; padding: .55rem .8rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .93rem; }
.lang__menu a:hover, .lang__menu a[aria-current] { background: var(--accent-softer); color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: color-mix(in srgb, currentColor 12%, transparent); position: relative; color: inherit; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  pointer-events: auto; margin: .5rem auto 0; max-width: calc(var(--max) + 2rem); padding: .75rem;
  display: grid; background: var(--surface); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg);
  animation: drop .45s var(--ease-out);
}
.drawer a { padding: .9rem 1rem; text-decoration: none; font: 600 1.1rem/1.2 var(--f-display); border-radius: 12px; }
.drawer a:hover { background: var(--accent-softer); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) { .nav__cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: .75rem var(--gutter) 0; }
.hero__sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 140px; pointer-events: none; }
.hero__frame {
  position: relative; overflow: hidden; border-radius: calc(var(--r) + 8px);
  min-height: 580px; height: calc(100dvh - 5rem); max-height: 900px;
  display: flex; align-items: flex-end; isolation: isolate;
  animation: frameIn 1.4s var(--ease-out) both;
}
@keyframes frameIn { from { clip-path: inset(6% 4% 6% 4% round 40px); } to { clip-path: inset(0 0 0 0 round 28px); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 2.6s var(--ease-out) both; }
@keyframes kenburns { from { transform: scale(1.18); filter: saturate(.7) brightness(.85); } }
@supports (animation-timeline: view()) {
  .hero__media { animation: heroPar linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes heroPar { to { transform: translateY(18%) scale(1.06); } }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(4 20 16 / .55) 0%, rgb(4 20 16 / 0) 26%),
    linear-gradient(20deg, rgb(4 20 16 / .82) 0%, rgb(4 20 16 / .45) 38%, rgb(4 20 16 / 0) 68%);
}
.hero__content { padding: 0 clamp(1.25rem, 5vw, 4.5rem) clamp(6.5rem, 12vh, 8.5rem); color: #fff; max-width: 900px; }
.hero__title {
  font: 800 clamp(2.6rem, 6vw, 5.3rem)/1.04 var(--f-display); letter-spacing: -.032em;
  margin: 0 0 1.25rem; max-width: 16ch; text-wrap: balance; padding-bottom: .06em;
}
.hero__title em { font-style: italic; font-weight: 700; color: var(--sun-hero); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgb(255 255 255 / .9); max-width: 42ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* word-by-word rise (JS wraps words) */
.hero__title .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .wd > span { display: inline-block; animation: rise 1.1s var(--ease-out) both; animation-delay: calc(.35s + var(--i) * 90ms); }
@keyframes rise { from { transform: translateY(105%) rotate(4deg); } }
.reveal-hero { animation: fadeUp 1s var(--ease-out) both; animation-delay: calc(.4s + var(--d, 0) * 110ms); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* animated waves at the hero's lower edge (brand motif: "hullám" = wave) */
.hero__waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: clamp(60px, 9vw, 110px); pointer-events: none; }
.hero__waves .w { fill: var(--bg); }
.hero__waves .w1 { opacity: .45; animation: drift 14s linear infinite; }
.hero__waves .w2 { animation: drift 22s linear infinite reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

/* quick quote dock */
.dock {
  position: relative; z-index: 2; margin: -3.25rem auto 0; width: min(1000px, 100% - 2 * var(--gutter));
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: .5rem; padding: .6rem;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.dock__field { min-width: 0; display: grid; gap: .1rem; padding: .5rem 1.1rem; border-radius: 999px; transition: background-color .25s; cursor: pointer; }
.dock__field:hover, .dock__field:focus-within { background: var(--accent-softer); }
.dock__field + .dock__field { box-shadow: -1px 0 0 var(--line); }
.dock__label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dock input:invalid { color: var(--ink-3); }
.dock input, .dock select { min-width: 0; border: 0; background: none; padding: 0; font-weight: 700; font-size: 1rem; width: 100%; outline: none; color: var(--ink); }
.dock__btn { padding-inline: 1.6rem; }
@media (max-width: 860px) {
  .dock input, .dock select { font-size: .92rem; }
  .dock { grid-template-columns: 1fr 1fr; border-radius: var(--r); margin-top: -2.5rem; }
  .dock__field { border-radius: var(--r-sm); background: var(--accent-softer); }
  .dock__field + .dock__field { box-shadow: none; }
  .dock__btn { grid-column: 1 / -1; padding-block: 1rem; }
  .dock__field--sm { grid-column: 1 / -1; }
  .hero__frame { min-height: 560px; height: calc(100svh - 4rem); }
  .hero__content { padding-bottom: 6.5rem; }
}

/* ---------- Scroll reveal (IntersectionObserver adds .is-in) ---------- */
.js .reveal, .js .reveal-img { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal-img { transform: translateY(40px) scale(.96); clip-path: inset(10% 0 0 0 round var(--r)); transition-property: opacity, transform, clip-path; transition-duration: .9s, 1.1s, 1.2s; }
.js .is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--r)); }

/* ---------- Location ---------- */
.loc__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.route { list-style: none; margin: 0 0 2.25rem; padding: 0; position: relative; display: grid; gap: 1.35rem; --prog: 0; }
.route::before, .route::after {
  content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px;
}
.route::before { background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px); }
.route::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--prog)); transition: transform 1.9s var(--ease-io) .2s; }
.route__stop { display: grid; grid-template-columns: 44px 6.75rem 1fr; align-items: center; gap: 1rem; position: relative; z-index: 1; }
.route__node {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem;
  background: var(--surface); color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .5s, color .5s, box-shadow .5s, transform .6s var(--ease-out);
}
.route__stop.is-lit .route__node { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-softer); transform: scale(1.05); }
.route__stop--home .route__node { background: var(--accent); color: var(--accent-ink); }
.route__dist { font: 700 1.3rem/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.route__name { font-weight: 600; color: var(--ink-2); }
.route__name small { display: block; font-weight: 500; color: var(--ink-3); font-size: .85rem; }
.route__stop:not(.is-lit):not(.route__stop--home) .route__dist { color: var(--ink-3); }

.loc__media { position: relative; padding: 0 0 18% 0; }
.loc__img { margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.loc__img img { width: 100%; height: 100%; object-fit: cover; }
.loc__img--main { aspect-ratio: 4 / 4.4; width: 86%; margin-left: auto; }
.loc__img--inset { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--bg); }
@supports (animation-timeline: view()) {
  .loc__img--inset img { animation: parY linear both; animation-timeline: view(); }
  .loc__img--main img { animation: parY2 linear both; animation-timeline: view(); scale: 1.12; }
}
@keyframes parY { from { transform: translateY(-6%) scale(1.15); } to { transform: translateY(6%) scale(1.15); } }
@keyframes parY2 { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
@media (max-width: 900px) {
  .loc__grid { grid-template-columns: 1fr; }
  .loc__media { order: -1; }
}

/* ---------- Season price chart (room pages) ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 600; padding: .4rem .75rem; border-radius: 999px; background: var(--accent-softer); color: var(--ink-2); }
.season__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.toggle { display: inline-flex; padding: 3px; background: var(--bg-2); border-radius: 999px; }
.toggle button { border: 0; background: none; padding: .45rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--ink-3); transition: color .3s, background-color .3s, box-shadow .3s; }
.toggle button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.season__chart { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; align-items: end; height: 230px; }
.sbar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: .45rem; text-align: center; }
.sbar__val { font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.sbar__val small { display: block; font-weight: 600; color: var(--ink-3); font-size: .74rem; }
.sbar__track { position: relative; }
.sbar__fill {
  position: absolute; inset: auto 0 0 0; height: 100%; border-radius: 10px 10px 4px 4px;
  background: var(--accent-soft); transform-origin: bottom; transform: scaleY(var(--h, .02));
  transition: transform 1s var(--ease-out), background-color .4s;
}
.sbar:nth-child(2) .sbar__fill { transition-delay: 60ms; } .sbar:nth-child(3) .sbar__fill { transition-delay: 120ms; }
.sbar:nth-child(4) .sbar__fill { transition-delay: 180ms; } .sbar:nth-child(5) .sbar__fill { transition-delay: 240ms; }
.sbar--peak .sbar__fill { background: var(--sun); }
.sbar--peak .sbar__val { color: var(--sun-text); }
.sbar__lbl { font-size: .74rem; color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.sbar__lbl small { display: block; font-weight: 600; color: var(--ink-3); font-size: .7rem; }
/* one shared baseline: all bars share the same value / track / label rows, so a label that wraps
   to more lines (e.g. a long minimum stay) does not lift its bar above the others */
@supports (grid-template-rows: subgrid) {
  .season__chart { grid-template-rows: auto 1fr auto; row-gap: .45rem; align-items: stretch; }
  .sbar { grid-row: 1 / span 3; grid-template-rows: subgrid; height: auto; }
  .sbar__lbl { align-self: start; }
}
.season__note { margin: .9rem 0 0; font-size: .8rem; color: var(--ink-3); }
@media (max-width: 560px) { .season__chart { gap: .3rem; height: 210px; } .sbar__val { font-size: .7rem; } .sbar__lbl { font-size: .62rem; } }

/* ---------- Amenities bento ---------- */
.bento {
  display: grid; gap: .9rem; margin-top: 2.5rem;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto);
  grid-template-areas:
    "pool pool beach beach"
    "pool pool ac wifi"
    "park pets shop shop"
    "station station shop shop";
}
.cell {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.cell strong { font: 700 1.12rem/1.2 var(--f-display); letter-spacing: -.01em; }
.cell span { color: var(--ink-2); font-size: .92rem; }
.cell .ic { font-size: 2rem; color: var(--accent); margin-bottom: auto; transition: transform .7s var(--ease-out); }
.cell--pool { grid-area: pool; min-height: 420px; }
.cell--beach { grid-area: beach; background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.cell--beach span { color: color-mix(in srgb, var(--accent-ink) 80%, transparent); }
.cell--ac { grid-area: ac; }
.cell--wifi { grid-area: wifi; }
.cell--park { grid-area: park; background: var(--accent-softer); }
.cell--pets { grid-area: pets; background: var(--accent-softer); }
.cell--station { grid-area: station; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 1.25rem; background: var(--sun-soft); box-shadow: none; }
.cell--station .cell__mid, .cell--station .ic { color: var(--sun-text); }
.cell--station div { display: grid; }
.cell--station .ic { position: absolute; right: 1.4rem; top: 1.4rem; margin: 0; }
.cell--shop { grid-area: shop; min-height: 400px; }

.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cell:hover img { transform: scale(1.06); }
.cell__over { position: relative; display: grid; gap: .15rem; color: #fff; }
.cell__over i { font-size: 1.8rem; margin-bottom: .5rem; }
.cell__over span { color: rgb(255 255 255 / .88); }
.cell--pool::after, .cell--shop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(4 20 16 / .78), rgb(4 20 16 / 0) 55%); }
.cell--pool .cell__over, .cell--shop .cell__over { z-index: 1; }

.cell__big { font: 800 clamp(4rem, 8vw, 6.6rem)/.9 var(--f-display); letter-spacing: -.05em; margin-bottom: auto; font-variant-numeric: tabular-nums; }
.cell__big span, .cell__mid span { font-size: inherit; color: inherit; }
.cell__big small, .cell__mid small { font-size: .4em; letter-spacing: 0; margin-left: .1em; }
.cell__mid { font: 800 clamp(2.8rem, 5vw, 4rem)/.9 var(--f-display); letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cell__waves { position: absolute; right: 0; bottom: 0; width: 200%; height: 46px; fill: rgb(255 255 255 / .14); animation: drift 9s linear infinite; pointer-events: none; }
.cell--beach > *:not(svg) { position: relative; z-index: 1; }

/* hover micro-motion for icons */
.cell:hover .ic--spin { transform: rotate(120deg); }
.cell:hover .ic--pulse { animation: pulse 1s var(--ease-out); }
.cell:hover .ic--drive { transform: translateX(12px); }
.cell:hover .ic--hop { animation: hop .7s var(--ease-out); }
.cell:hover .ic--train { transform: translateX(-10px); }
@keyframes pulse { 40% { transform: scale(1.18); opacity: .6; } }
@keyframes hop { 30% { transform: translateY(-10px) rotate(-8deg); } 60% { transform: translateY(0) rotate(4deg); } }

@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(160px, auto);
    grid-template-areas: "pool pool" "beach beach" "ac wifi" "park pets" "station station" "shop shop";
  }
  .cell--pool, .cell--shop { min-height: 300px; }
}

/* ---------- Gallery: scroll-parallax columns ---------- */
.gal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.gal__head .h2 { margin: 0; }
.gal__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.gal__col { display: grid; gap: 1rem; }
.gal__col:nth-child(2) { margin-top: 4rem; }
.gal__item { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); cursor: zoom-in; position: relative; }
.gal__item--tall { aspect-ratio: 3 / 4; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.gal__item:hover img { transform: scale(1.06); }
.gal__item::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
@supports (animation-timeline: view()) {
  @media (min-width: 861px) {
    .gal__col[data-speed="slow"] { animation: colSlow linear both; animation-timeline: view(); }
    .gal__col[data-speed="fast"] { animation: colFast linear both; animation-timeline: view(); }
  }
}
@keyframes colSlow { from { transform: translateY(50px); } to { transform: translateY(-50px); } }
@keyframes colFast { from { transform: translateY(-40px); } to { transform: translateY(110px); } }
@media (max-width: 860px) {
  .gal__cols { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .gal__col { display: contents; }
  .gal__item, .gal__item--tall { aspect-ratio: 1; }
}

/* ---------- Reviews marquee ---------- */
.marquee {
  margin-top: 2.5rem; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 1rem; width: max-content; padding: .5rem 0 1rem; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }
.rev {
  margin: 0; width: min(380px, 80vw); flex: none; display: flex; flex-direction: column; gap: 1rem;
  background: var(--surface); border-radius: var(--r); padding: 1.5rem; box-shadow: inset 0 0 0 1px var(--line);
}
.rev__stars { color: var(--sun); display: flex; gap: 2px; }
.rev blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rev blockquote::before { content: '\201C'; } .rev blockquote::after { content: '\201D'; }
.rev figcaption { margin-top: auto; display: grid; font-size: .88rem; }
.rev figcaption span { color: var(--ink-3); }

/* ---------- Booking ---------- */
.book__grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.book__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.benefits i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.benefits strong { display: block; font-weight: 700; }
.benefits span { color: var(--ink-2); font-size: .94rem; }
.book__panel { position: relative; background: var(--surface); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow); padding: clamp(1rem, 2.5vw, 2rem); min-height: 520px; display: flex; flex-direction: column; }
.book__mount { flex: 1; min-height: 0; }
.book__mount iframe { max-width: 100%; }
.book__skeleton { position: absolute; inset: clamp(1rem, 2.5vw, 2rem); display: grid; align-content: start; gap: 1rem; transition: opacity .5s; }
.book__panel[data-ready] .book__skeleton { opacity: 0; pointer-events: none; }
.book__panel[data-failed] .book__skeleton { display: none; }
.sk { display: block; height: 52px; border-radius: 10px; background: var(--bg-2); position: relative; overflow: hidden; }
.sk--bar { height: 44px; width: 55%; }
.sk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent); animation: shimmer 1.6s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk__label { margin: .5rem 0 0; color: var(--ink-3); font-size: .9rem; }
.book__fallback { margin: 1rem 0 0; font-size: .88rem; color: var(--ink-3); }
.book__fallback a { color: var(--accent); font-weight: 700; }
.book__panel[data-failed] .book__fallback { font-size: 1rem; color: var(--ink); padding: 1.25rem; border-radius: var(--r-sm); background: var(--accent-softer); }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } .book__intro { position: static; } }

/* ---------- Essentials + FAQ ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2.5rem 0 clamp(4rem, 7vw, 6rem); }
.fact { padding: .25rem 1.5rem 0; border-left: 1px solid var(--line); display: grid; gap: .35rem; align-content: start; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact i { font-size: 1.6rem; color: var(--accent); margin-bottom: .6rem; }
.fact dt { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.fact dd { margin: 0; font: 700 clamp(1.2rem, 2vw, 1.55rem)/1.2 var(--f-display); letter-spacing: -.015em; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

.faq__title { margin-bottom: 1.5rem; }
.faq__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin-bottom: 2rem; }
.qa { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.02rem; transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.qa__a { padding: 0 2.75rem 1.25rem 0; color: var(--ink-2); }
.qa__a a { color: var(--accent); font-weight: 600; }
.qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
.qa[open]::details-content { height: auto; }
@media (max-width: 860px) { .faq__cols { grid-template-columns: 1fr; } }

/* ---------- Contact / quote ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.contact__panel {
  position: relative; overflow: hidden; border-radius: calc(var(--r) + 4px); padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; gap: 1.25rem;
}
.contact__panel .h2 { margin: 0; }
.contact__desc { margin: 0; opacity: .9; max-width: 40ch; }
.contact__list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: 1rem; position: relative; z-index: 1; }
.contact__list li { display: grid; grid-template-columns: 40px 1fr; gap: .85rem; align-items: center; }
.contact__list i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: color-mix(in srgb, var(--accent-ink) 14%, transparent); }
.contact__list span { display: block; font-size: .78rem; opacity: .8; font-weight: 600; }
.contact__list a, .contact__list b { font-weight: 700; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__fb { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; margin-top: auto; position: relative; z-index: 1; }
.contact__fb i { font-size: 1.4rem; }
.contact__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; fill: none; stroke: color-mix(in srgb, var(--accent-ink) 22%, transparent); stroke-width: 1.5; pointer-events: none; }
.contact__waves path { stroke-dasharray: 12 10; animation: dash 3s linear infinite; }
.contact__waves path:nth-child(2) { animation-duration: 4.5s; animation-direction: reverse; }
.contact__waves path:nth-child(3) { animation-duration: 6s; }
@keyframes dash { to { stroke-dashoffset: -44; } }

.contact__formwrap { background: var(--surface); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow); padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-weight: 700; font-size: .9rem; }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: var(--r-sm); padding: .8rem .95rem; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); background: var(--surface); }
.field[data-invalid] input, .field[data-invalid] select { border-color: #C2413A; }
.field__err { margin: 0; min-height: 0; font-size: .83rem; font-weight: 600; color: #B4372F; }
@media (prefers-color-scheme: dark) { .field__err { color: #FF8F86; } .field[data-invalid] input, .field[data-invalid] select { border-color: #FF8F86; } }
.nights { margin: -.25rem 0 0; display: inline-flex; align-items: center; gap: .45rem; justify-self: start; font-weight: 700; font-size: .9rem; color: var(--accent); background: var(--accent-softer); padding: .45rem .85rem; border-radius: 999px; transform: scale(.6); opacity: 0; height: 0; padding-block: 0; overflow: hidden; transition: transform .45s var(--ease-out), opacity .3s, height .3s, padding .3s; }
.nights.is-on { transform: none; opacity: 1; height: auto; padding-block: .45rem; }
.form__status { margin: 0; font-weight: 600; color: #B4372F; }
.form__status:empty { display: none; }
.form__submit { justify-self: start; }
.form__submit[aria-busy="true"] { pointer-events: none; opacity: .8; }
.form__submit[aria-busy="true"] i { animation: fly 1s var(--ease-io) infinite; }
@keyframes fly { 50% { transform: translate(6px, -6px); opacity: .4; } }

.success { display: grid; justify-items: start; gap: .8rem; padding: 2rem 0; animation: swapIn .7s var(--ease-out) both; outline: none; }
.success p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.success__check { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease-out) forwards; opacity: .35; }
.success__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { padding: clamp(4rem, 8vw, 6rem) 0 6rem; background: var(--bg-2); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 2rem; align-items: start; }
.foot__tag { font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.25 var(--f-display); letter-spacing: -.02em; margin: 0; max-width: 18ch; }
.foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.foot__nav a, .foot__addr a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.foot__nav a:hover, .foot__addr a:hover { color: var(--accent); }
.foot__addr { font-style: normal; color: var(--ink-2); line-height: 1.9; }
/* wordmark filled with moving water; fill level rises as it scrolls into view */
.foot__word {
  margin: clamp(2rem, 5vw, 4rem) 0 0; font: 800 clamp(3.4rem, 13.5vw, 12.5rem)/.9 var(--f-display); letter-spacing: -.055em; text-align: center; text-wrap: balance;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 45%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath d='M0 200 Q50 178 100 200 T200 200 T300 200 T400 200 V400 H0Z' fill='%230F6E56'/%3E%3C/svg%3E");
  background-size: 22vw 200%; background-repeat: repeat-x;
  background-position: var(--wx) var(--fill);
  -webkit-background-clip: text; background-clip: text;
  animation: waterX 7s linear infinite;
  user-select: none; padding-bottom: .05em;
}
@media (prefers-color-scheme: dark) {
  .foot__word { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath d='M0 200 Q50 178 100 200 T200 200 T300 200 T400 200 V400 H0Z' fill='%233CC29C'/%3E%3C/svg%3E"); }
}
@keyframes waterX { to { --wx: 22vw; } }
@supports (animation-timeline: view()) {
  .foot__word { animation: waterX 7s linear infinite, waterFill linear both; animation-timeline: auto, view(); animation-range: normal, entry 0% entry 100%; }
}
@keyframes waterFill { from { --fill: 8%; } to { --fill: 93%; } }
.foot__bottom { margin-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: var(--ink-3); }
.foot__bottom a { color: inherit; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; font-weight: 600; }
.foot__bottom a:hover { color: var(--accent); }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    display: grid; grid-template-columns: auto 1fr; gap: .5rem; position: fixed; z-index: 40; left: .75rem; right: .75rem;
    bottom: calc(.75rem + env(safe-area-inset-bottom)); padding: .45rem; border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
    transform: translateY(150%); transition: transform .55s var(--ease-out);
  }
  .mbar[data-show] { transform: none; }
  .mbar .btn { padding-block: .9rem; }
}

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; overflow: hidden; }
.lb::backdrop { background: rgb(4 14 11 / .88); backdrop-filter: blur(6px); }
.lb[open] { display: grid; place-items: center; animation: fadeUp .4s var(--ease-out); }
.lb__img { max-width: min(92vw, 1600px); max-height: 84dvh; border-radius: var(--r-sm); object-fit: contain; transition: opacity .25s, transform .35s var(--ease-out); }
.lb__img.is-swapping { opacity: 0; transform: scale(.97); }
.lb__btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: rgb(255 255 255 / .12); transition: background-color .25s, transform .25s var(--ease-out); }
.lb__btn:hover { background: rgb(255 255 255 / .24); }
.lb__btn:active { transform: scale(.94); }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb__next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; z-index: 45; left: 1rem; bottom: 1rem; max-width: 420px; display: grid; gap: .9rem; padding: 1.25rem;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  animation: fadeUp .6s 1.6s var(--ease-out) both;
}
.cookie p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.cookie .btn { justify-self: start; }
@media (max-width: 767px) {
  .cookie { left: .75rem; right: .75rem; bottom: calc(5.4rem + env(safe-area-inset-bottom)); max-width: none; grid-template-columns: 1fr auto; align-items: center; gap: .75rem; padding: .8rem .9rem; }
  .cookie p { font-size: .78rem; line-height: 1.4; }
  .cookie .btn { justify-self: end; }
}

/* =========================================================
   Multi-page components
   ========================================================= */
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 90vh; pointer-events: none; }
.section--flush { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.h1 { font: 800 clamp(2.4rem, 5.4vw, 4.4rem)/1.04 var(--f-display); letter-spacing: -.035em; margin: 0 0 1rem; max-width: 18ch; text-wrap: balance; }
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sechead .h2 { margin: 0; }
.nav__links a[aria-current="page"] { background: color-mix(in srgb, currentColor 12%, transparent); }
.drawer a[aria-current="page"] { color: var(--accent); }

/* page header with breadcrumbs and a self-drawing wave line */
.phead { position: relative; padding: calc(var(--nav-h) + 3.5rem) 0 3rem; }
.phead--compact { padding-bottom: 0; }
.phead .lead { margin-bottom: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; font-size: .86rem; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: .35rem; opacity: .6; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.phead { overflow: hidden; isolation: isolate; }
.phead::after {
  content: ''; position: absolute; z-index: -1; right: max(var(--gutter), (100% - var(--max)) / 2); bottom: -90px;
  width: clamp(160px, 22vw, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--sun-strong), var(--sun) 62%, var(--sun) 69%, transparent 70.5%); animation: sunrise 2.2s .2s var(--ease-out) both, sunGlow 7s 2.4s ease-in-out infinite alternate;
}
@keyframes sunrise { from { transform: translateY(70%) scale(.85); opacity: 0; } }
@keyframes sunGlow { to { transform: translateY(-8px) scale(1.04); filter: saturate(1.15); } }
@media (prefers-color-scheme: dark) { .phead::after { opacity: .75; } }
@media (max-width: 700px) { .phead::after { width: 130px; bottom: -60px; opacity: .7; } }
.phead__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2; opacity: .35; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s .3s var(--ease-out) forwards; }

/* home: asymmetric room trio */
.rtrio { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.rtrio .rcard--feature { grid-row: span 2; }
.rpair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rcard { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--surface); border-radius: calc(var(--r) + 4px); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease-out), translate .5s var(--ease-out); }
.rcard:hover { box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); translate: 0 -4px; }
.rcard__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.rcard--feature .rcard__media { aspect-ratio: auto; height: 100%; min-height: 360px; }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.rcard:hover .rcard__media img { transform: scale(1.05); }
.rcard__body { display: grid; gap: .5rem; padding: 1.25rem 1.4rem 1.4rem; align-content: start; }
.rcard__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rcard__name { font: 700 clamp(1.2rem, 1.8vw, 1.5rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.rcard__go { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-softer); color: var(--accent); transition: background-color .35s, color .35s, transform .5s var(--ease-out); }
.rcard:hover .rcard__go { background: var(--sun); color: var(--sun-ink); transform: rotate(45deg); }
.rcard__short { color: var(--ink-2); font-size: .95rem; }
.rcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--ink-3); font-weight: 600; margin-top: .25rem; }
.rcard__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.rcard__meta strong { color: var(--accent); font: 700 1.1rem/1 var(--f-display); }
.rcard__meta small { font: 600 .8rem var(--f-body); color: var(--ink-3); }
@media (max-width: 860px) { .rtrio, .rpair { grid-template-columns: 1fr; } .rtrio .rcard--feature { grid-row: auto; } .rcard--feature .rcard__media { min-height: 0; aspect-ratio: 16 / 10; } }

/* home: guide rail (horizontal scroll-snap) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 340px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem max(var(--gutter), (100% - var(--max)) / 2) 1rem; scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2); scrollbar-width: thin; }
.rail__card { position: relative; scroll-snap-align: start; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.rail__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.rail__card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(4 20 16 / .8), rgb(4 20 16 / 0) 55%); }
.rail__card:hover img { transform: scale(1.07); }
.rail__body { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; font: 700 1.15rem/1.2 var(--f-display); letter-spacing: -.01em; }

.faq { display: grid; }
.faq .h2 { margin-bottom: 1.5rem; }

/* accent CTA band with drifting waves */
.band { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem); }
.band::before {
  content: ''; position: absolute; right: 6%; top: -40%; width: clamp(120px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%;
  /* solid disc: a translucent coral over green turns muddy brown */
  background: radial-gradient(circle at 50% 40%, var(--sun-strong), var(--sun) 62%, var(--sun) 69%, transparent 70.5%);
  animation: sunGlow 6s ease-in-out infinite alternate;
}
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.band .h2 { margin: 0 0 .5rem; }
.band p { margin: 0; opacity: .9; max-width: 48ch; }
.band__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn--light { --bg-btn: var(--accent-ink); --fg-btn: var(--accent); }
.btn--light:hover { --bg-btn: color-mix(in srgb, var(--accent-ink) 88%, var(--accent)); }
.btn--outline-light { --bg-btn: transparent; --fg-btn: var(--accent-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent-ink) 55%, transparent); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
.band__waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: 60px; fill: var(--bg); animation: drift 18s linear infinite; }
.band + .foot { margin-top: 0; }

/* rooms overview: sticky stacking cards */
.stack { display: grid; gap: 2rem; }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 1.5rem + var(--i) * 1.25rem);
  display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(560px, 78vh);
  background: var(--surface); border-radius: calc(var(--r) + 8px); overflow: hidden; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  transform-origin: top center;
}
@supports (animation-timeline: view()) {
  .stack__card:not(:last-child) { animation: stackOut linear both; animation-timeline: view(); animation-range: exit -20% exit 60%; }
}
@keyframes stackOut { to { transform: scale(.93); filter: brightness(.85); } }
.stack__media { display: block; overflow: hidden; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.stack__card:hover .stack__media img { transform: scale(1.04); }
.stack__body { padding: clamp(1.5rem, 3.5vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.stack__body .h2 { margin: 0; }
.stack__short { margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
.stack__price { margin: .25rem 0 0; color: var(--ink-3); }
.stack__price strong { color: var(--accent); font: 700 1.6rem/1 var(--f-display); letter-spacing: -.02em; }
.stack__cta { display: flex; gap: .6rem; flex-wrap: wrap; }
.stack__thumbs { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.stack__thumbs img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 900px) {
  .stack__card { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; animation: none !important; }
  .stack__media { aspect-ratio: 16 / 10; }
}

/* comparison table */
.cmp { overflow-x: auto; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.cmp table { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; }
.cmp thead th { font: 700 1.05rem/1.2 var(--f-display); }
.cmp thead a { text-decoration: none; color: var(--accent); }
.cmp thead a:hover { text-decoration: underline; }
.cmp tbody tr + tr { box-shadow: inset 0 1px 0 var(--line); }
.cmp tbody th { font-size: .85rem; font-weight: 700; color: var(--ink-3); width: 18%; }
.cmp tbody td strong { color: var(--accent); }

/* room page */
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .6rem; height: clamp(320px, 52vw, 560px); border-radius: calc(var(--r) + 6px); overflow: hidden; }
.mosaic__item { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.mosaic__item--main { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .5s; }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic__all { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; border: 0; border-radius: 999px; padding: .65rem 1rem; font-weight: 700; font-size: .9rem; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease-out); }
.mosaic__all:active { transform: scale(.97); }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 440px; }
  .mosaic__item--main { grid-column: span 2; grid-row: auto; }
  .mosaic__item:nth-child(n+4) { display: none; }
}
.roomgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.rsec { padding-bottom: 2.25rem; margin-bottom: 2.25rem; box-shadow: 0 1px 0 var(--line); }
.rsec:last-child { box-shadow: none; margin-bottom: 0; }
.rsec .h3 { margin-bottom: 1rem; }
.rsec__lead { font-size: 1.08rem; color: var(--ink-2); margin: 0 0 1rem; max-width: 65ch; }
.rsec__cap { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 700; padding: .5rem .9rem; border-radius: 999px; background: var(--accent-softer); color: var(--accent); }
.equip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.equip li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .94rem; }
.equip i { font-size: 1.35rem; color: var(--accent); flex: none; }
.extras { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem; }
.extras li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-2); }
.extras i { color: var(--accent); font-size: 1.2rem; margin-top: .15rem; flex: none; }
.bookcard { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: .75rem; padding: 1.75rem; border-radius: calc(var(--r) + 4px); background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.bookcard__price { margin: 0; color: var(--ink-3); }
.bookcard__price strong { display: block; color: var(--ink); font: 800 2rem/1.1 var(--f-display); letter-spacing: -.03em; }
.bookcard__cap { margin: 0 0 .5rem; display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--ink-2); }
.bookcard .btn { width: 100%; }
.bookcard__q { margin: .25rem 0 0; font-size: .9rem; color: var(--ink-3); text-align: center; }
.bookcard__q a { color: var(--accent); font-weight: 700; text-decoration: none; }
.bookcard__list { list-style: none; margin: .5rem 0 0; padding: 1rem 0 0; display: grid; gap: .5rem; box-shadow: inset 0 1px 0 var(--line); font-size: .9rem; color: var(--ink-2); }
.bookcard__list li { display: flex; gap: .5rem; align-items: center; }
.bookcard__list i { color: var(--accent); }
@media (max-width: 960px) { .roomgrid { grid-template-columns: 1fr; } .bookcard { position: static; } }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { border: 0; border-radius: 999px; padding: .6rem 1rem; font-weight: 700; font-size: .9rem; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s, transform .2s var(--ease-out); }
.filter span { font-size: .78rem; opacity: .7; margin-left: .2rem; }
.filter:hover { color: var(--accent); }
.filter:active { transform: scale(.96); }
.filter[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.masonry { columns: 3 280px; column-gap: 1rem; transition: opacity .22s, transform .3s var(--ease-out); }
.masonry.is-switching { opacity: 0; transform: translateY(10px); }
.masonry__item { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 1rem; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--bg-2); break-inside: avoid; }
.masonry__item img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.masonry__item:hover img { transform: scale(1.04); }
@supports (animation-timeline: view()) {
  .masonry__item { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(40px) scale(.97); } }

/* guide page: scrollytelling */
.guide__intro { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 62ch; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.scrolly__media { position: sticky; top: calc(var(--nav-h) + 2rem); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--nav-h) - 4rem); border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--bg-2); }
.scrolly__img { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease-out), transform 1.6s var(--ease-out); }
.scrolly__img.is-on { opacity: 1; transform: scale(1); }
.scrolly__img img { width: 100%; height: 100%; object-fit: cover; }
.scrolly__count b { color: var(--sun-hero); }
.scrolly__count { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .85rem; border-radius: 999px; background: rgb(5 20 16 / .55); color: #fff; font-size: .85rem; font-variant-numeric: tabular-nums; backdrop-filter: blur(8px); }
.scrolly__list { list-style: none; margin: 0; padding: 12vh 0 18vh; display: grid; gap: 30vh; }
.scrolly__step { opacity: .35; transition: opacity .5s; }
.scrolly__step.is-active { opacity: 1; }
.scrolly__step .h3 { margin-bottom: .75rem; }
.scrolly__step p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.scrolly__inline { display: none; }
@media (max-width: 860px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__media { display: none; }
  .scrolly__list { padding: 0; gap: 3rem; }
  .scrolly__step { opacity: 1; }
  .scrolly__inline { display: block; margin: 0 0 1rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
  .scrolly__inline img { width: 100%; height: 100%; object-fit: cover; }
}
.tips { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: calc(var(--r) + 4px); background: var(--sun-soft); }
.tips .h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.tips .h3 i { color: var(--sun-text); }
.tips ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--ink-2); columns: 2; }
@media (max-width: 760px) { .tips ul { columns: 1; } }

/* terms page */
.qi { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.qi__item { display: grid; gap: .2rem; padding: 1.25rem; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.qi__item i { font-size: 1.5rem; color: var(--accent); margin-bottom: .4rem; }
.qi__item dt { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.qi__item dd { margin: 0; font: 700 1.15rem/1.2 var(--f-display); }
@media (max-width: 900px) { .qi { grid-template-columns: repeat(2, 1fr); } }
.terms { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 2rem); }
.toc__title { margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.toc a { position: relative; display: block; padding: .5rem .75rem; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink-2); transition: background-color .3s, color .3s; }
.toc a::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transition: transform .4s var(--ease-out); }
.toc a:hover { color: var(--accent); }
.toc a[aria-current] { color: var(--accent); background: var(--accent-softer); }
.toc a[aria-current]::before { transform: scaleY(1); }
.terms__body { display: grid; gap: 1.25rem; }
.tcard { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: calc(var(--r) + 4px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.tcard > .h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.tcard > .h3 i { color: var(--accent); }
.tcard__sub { font: 700 1rem/1.3 var(--f-display); margin: 1.75rem 0 .75rem; }
.crows { margin: 0; display: grid; }
.crow { display: grid; grid-template-columns: minmax(140px, 1fr) 2.2fr; gap: 1rem; padding: .85rem 0; }
.crow + .crow { box-shadow: inset 0 1px 0 var(--line); }
.crow dt { font-weight: 700; color: var(--ink-3); font-size: .92rem; }
.crow dd { margin: 0; }
.crow small { display: block; color: var(--ink-3); font-size: .86rem; margin-top: .25rem; }
@media (max-width: 600px) { .crow { grid-template-columns: 1fr; gap: .25rem; } }
.alert { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem 0 0; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--accent-softer); color: var(--ink); font-size: .95rem; }
.alert i { color: var(--accent); font-size: 1.3rem; flex: none; margin-top: .05rem; }
.alert a { color: var(--accent); }
.note { margin: 1rem 0 0; font-size: .92rem; color: var(--ink-2); }
.pays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.pays li { display: grid; gap: .15rem; padding: 1rem; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.pays i { font-size: 1.4rem; color: var(--accent); margin-bottom: .3rem; }
.pays span { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 600px) { .pays { grid-template-columns: 1fr; } }
.bank { margin: 0; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--bg-2); font-size: .93rem; line-height: 1.8; font-variant-numeric: tabular-nums; }
/* cancellation timeline: bar fills, plane lands at arrival */
.cline { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 3rem; }
.cline__seg { display: grid; gap: .2rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); }
.cline__seg--free { background: var(--accent-softer); }
.cline__seg--lost { background: var(--sun-soft); }
.cline__range { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.cline__seg strong { font: 700 1.15rem/1.2 var(--f-display); }
.cline__seg--free strong { color: var(--accent); }
.cline__seg--lost strong { color: var(--sun-text); }
.cline__seg small { color: var(--ink-2); font-size: .86rem; }
.cline__bar { position: absolute; left: 0; right: 2.25rem; bottom: 1.1rem; height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.cline__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent) 0 50%, var(--sun) 50% 100%); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease-io); }
.cline.is-in .cline__bar span { transform: scaleX(1); }
.cline__pin { position: absolute; right: 0; bottom: .35rem; font-size: 1.6rem; color: var(--accent); opacity: 0; transform: translateX(-20px); transition: opacity .5s 1.6s, transform .8s 1.6s var(--ease-out); }
.cline.is-in .cline__pin { opacity: 1; transform: none; }
@media (max-width: 600px) { .cline { grid-template-columns: 1fr; } }
.tcard--faq .qa:first-of-type { border-top: 0; }
@media (max-width: 960px) { .terms { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { display: flex; flex-wrap: wrap; gap: .4rem; } .toc a { box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: .4rem .85rem; } .toc a::before { display: none; } }

/* booking page */
.book__alt { margin-top: 2rem; padding: 1.25rem; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .75rem; justify-items: start; }
.book__alt p { margin: 0; font-weight: 600; }

/* contact page */
.mapgrid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.map { border-radius: calc(var(--r) + 4px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-color-scheme: dark) { .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); } }
@media (max-width: 860px) { .mapgrid { grid-template-columns: 1fr; } }

/* lightbox counter */
.lb__fig { margin: 0; display: grid; justify-items: center; gap: .75rem; }
.lb__count { color: rgb(255 255 255 / .75); font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ---------- Home "Programok egy sétányira": pinned horizontal scroll ----------
   main.js (initRailPin) wraps the section's content in .hpin__stage, adds .hpin and sets --travel
   (rail width minus section width). The section becomes 100svh + --travel tall, the stage sticks to
   the viewport, and while it is pinned the page scroll moves the rail sideways 1:1 (CSS view timeline,
   contain range). When the last card is in view the page scrolls on.
   Without JS, without scroll-timeline support or with reduced motion the rail stays a swipeable strip. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hpin {
      height: calc(100svh + var(--travel, 0px)); padding-block: 0;
      view-timeline: --rail block; view-timeline-inset: 0px; overflow-x: clip;
    }
    .hpin__stage {
      position: sticky; top: 0; height: 100svh; overflow-x: clip;
      display: flex; flex-direction: column; justify-content: center;
      padding-block: calc(var(--nav-h) + 1.5rem) 1.5rem;
    }
    .hpin .rail {
      width: max-content; overflow: visible; scroll-snap-type: none;
      /* cards shrink on short screens so heading + cards always fit the pinned stage */
      grid-auto-columns: clamp(200px, min(26vw, (100svh - var(--nav-h) - 15rem) * .75), 340px);
      animation: railX linear both; animation-timeline: --rail; animation-range: contain 0% contain 100%;
    }
    /* keyboard users get the plain scrollable rail back, so a focused card is always reachable */
    .hpin .rail:has(:focus-visible) { width: auto; overflow-x: auto; animation: none; translate: none; }
    @keyframes railX { to { translate: calc(-1 * var(--travel, 0px)) 0; } }
    @media (max-width: 767px) { .hpin__stage { padding-bottom: 5.5rem; } } /* room for the mobile action bar */
  }
}

/* ---------- Reduced motion: everything collapses to static ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; animation-delay: 0s !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .hero__media, .gal__col, .loc__img img, .progress { animation: none !important; }
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .marquee__track { animation: none; padding-inline: var(--gutter); }
  .marquee__track [data-clone] { display: none; }
  .rev { scroll-snap-align: start; }
  .foot__word { --fill: 93%; }
  .stack__card, .masonry__item { animation: none !important; }
  .phead__wave { stroke-dashoffset: 0; }
  .phead::after, .band::before { animation: none !important; }
  .scrolly__img { transition: none; }
}

/* 404 page: the other languages */
.nf__langs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 46rem; color: var(--ink-2); }
.nf__langs a { color: var(--accent); text-underline-offset: .2em; }
