/*
 * Horizon Airs Split, home page.
 * Vercel serves /css as immutable for a year: after ANY change raise ?v= in index.html.
 */
@font-face { font-family: Archivo; src: url(/fonts/archivo-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; src: url(/fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "B612 Mono"; src: url(/fonts/b612-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(/fonts/b612-mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --deep: #062338; --sea: #0e4160; --water: #cfe3ec; --land: #f1ecd6; --paper: #f5f9fb; --ink: #0b1d2a; --mute: #4b6272; --gyro: #ffc61a; --mag: #b3185f;
  --line: rgba(11, 29, 42, .16); --pad: clamp(18px, 4vw, 64px); --top: 64px;
  --mono: "B612 Mono", ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 Archivo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
:focus-visible { outline: 3px solid var(--mag); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .fly :focus-visible, .cave :focus-visible, .book :focus-visible, .top :focus-visible, .foot :focus-visible { outline-color: var(--gyro); }
.skip { position: fixed; z-index: 60; left: 12px; top: -80px; padding: 10px 16px; background: var(--gyro); color: var(--ink); font-weight: 700; }
.skip:focus { top: 10px; }
.wrap { max-width: 1640px; margin-inline: auto; padding-inline: var(--pad); }
h2 { font-weight: 800; font-stretch: 116%; font-size: clamp(2rem, 4.6vw, 4.1rem); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.lead { max-width: 56ch; margin-top: 14px; color: var(--mute); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; background: var(--gyro); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.btn:hover { background: #ffd75a; }
.btn.ghost { background: none; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.link { font-weight: 700; color: var(--mag); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--top); padding-inline: var(--pad); color: #fff; transition: background-color .35s; }
.top.is-solid, .top.is-open { background: var(--deep); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-stretch: 112%; text-decoration: none; white-space: nowrap; }
.brand img { width: 52px; height: 52px; flex: none; }
.top .brand img, .top .brand span { transition: transform .35s; transform-origin: 0 0; }
/* over the intro the badge is large, in the solid bar it fits the bar */
@media (min-width: 821px) {
  .top:not(.is-solid):not(.is-open) .brand img { transform: scale(1.8); }
  .top:not(.is-solid):not(.is-open) .brand span { transform: translate(44px, 20px); }
}
.links { display: flex; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; }
.links a { text-decoration: none; font-weight: 550; font-size: 16px; padding: 10px 0; }
.links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.lang { min-width: 44px; min-height: 44px; font-weight: 700; font-size: 15px; text-align: center; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 16px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 3px; background: currentColor; transition: transform .25s, top .25s; top: 16px; }
.burger i + i { top: 25px; }
.is-open .burger i { top: 21px; transform: rotate(45deg); }
.is-open .burger i + i { transform: rotate(-45deg); }

/* ---------- scroll film ---------- */
.scene { position: relative; height: calc(var(--len) * 1svh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.film { position: absolute; inset: 0; overflow: hidden; }
.film canvas, .film .poster, .film .poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.film .poster img { object-fit: cover; max-width: none; }
.film canvas { opacity: 0; }
.film.is-live canvas { opacity: 1; }
.film.is-live .poster { visibility: hidden; }

.hero { --len: 270; background: var(--deep); color: #fff; }
.hero .stage { background: var(--sky, #5d86b3); }
.hero .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--deep) 3%, rgba(6, 35, 56, .93) 15%, rgba(6, 35, 56, .5) 28%, rgba(6, 35, 56, 0) 43%), linear-gradient(to bottom, rgba(6, 35, 56, .5), rgba(6, 35, 56, 0) 18%); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; inset: auto 0 0; padding: 0 var(--pad) clamp(22px, 4.4svh, 46px); }
.hero h1 { text-shadow: 0 2px 26px rgba(6, 35, 56, .45); font-weight: 820; font-stretch: calc(var(--wd, 78) * 1%); font-size: min(10vw, 23svh); line-height: .92; letter-spacing: -.02em; white-space: nowrap; transform-origin: 0 100%; }
.hero-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-top: clamp(12px, 2.4svh, 24px); }
.hero-row p { max-width: 46ch; font-size: clamp(1rem, 1.35vw, 1.2rem); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
html[lang="hr"] .hero h1 { font-size: min(7.5vw, 20svh); }

.pre { --len: 390; background: var(--paper); }
.pre .stage { display: grid; grid-template-columns: minmax(360px, 37%) 1fr; }
.pre .film { position: relative; inset: auto; grid-column: 2; }
.pre-text { grid-column: 1; grid-row: 1; align-self: center; padding: var(--top) clamp(24px, 3vw, 52px) 0 var(--pad); }
.checklist { margin-top: clamp(20px, 4svh, 44px); border-top: 2px solid var(--ink); }
.checklist li { border-bottom: 1px solid var(--line); padding: clamp(10px, 1.7svh, 16px) 0; color: var(--mute); transition: color .3s; }
.checklist .row { display: flex; align-items: baseline; gap: 10px; }
.checklist .item { font-weight: 700; font-stretch: 108%; font-size: clamp(1.02rem, 1.45vw, 1.3rem); }
.checklist .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.checklist .state { font-weight: 700; font-size: .95rem; opacity: 0; transition: opacity .3s; color: var(--mag); }
.checklist li.is-on, .checklist li.is-done { color: var(--ink); }
.checklist li.is-done .state, .checklist li.is-on .state { opacity: 1; }
.checklist li > p { max-width: 42ch; max-height: 0; overflow: hidden; opacity: 0; color: var(--mute); transition: max-height .45s, opacity .35s, margin .45s; }
.checklist li.is-on > p { max-height: 11em; opacity: 1; margin-top: 6px; }

.fly { --len: 430; background: var(--deep); color: #fff; }
.fly .caps p { transition: none; }
.fly .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(6, 35, 56, .4), rgba(6, 35, 56, 0) 24%), linear-gradient(to top, rgba(6, 35, 56, .88), rgba(6, 35, 56, 0) 46%), linear-gradient(to bottom, rgba(6, 35, 56, .45), rgba(6, 35, 56, 0) 20%); pointer-events: none; }
.alt { position: absolute; z-index: 2; left: calc(var(--pad) + 92px); bottom: clamp(18px, 4svh, 44px); display: flex; align-items: baseline; }
.alt > span { position: absolute; bottom: calc(100% + 10px); left: .2em; font-weight: 600; line-height: 1; }
.alt b { display: flex; align-items: baseline; font-weight: 820; font-stretch: 112%; font-size: min(18vw, 36svh); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.alt > i { font-style: normal; font-weight: 700; font-size: min(5vw, 9svh); line-height: 1; margin-left: .18em; color: var(--gyro); }
/* the drum: one window per digit, the strip of digits rolls behind it */
.alt .d { display: block; height: .9em; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.alt .r { display: block; width: max-content; margin-top: -.039em; will-change: transform; }
.alt .r > span { display: block; height: 1em; }
/* the altitude tape: 100 m is 19 % of the screen height */
.tape { position: absolute; right: calc(100% + 18px); top: calc(50% - 62svh); width: 74px; height: 124svh; pointer-events: none; -webkit-mask-image: linear-gradient(transparent 20%, #000 40%, #000 60%, transparent 80%); mask-image: linear-gradient(transparent 20%, #000 40%, #000 60%, transparent 80%); }
.tape::after { content: ""; position: absolute; left: 0; top: calc(50% - 1.5px); width: 28px; height: 3px; background: var(--gyro); }
.tape s { position: absolute; left: 0; top: 50%; text-decoration: none; transform: translate3d(0, calc(var(--at, 0) * .19svh), 0); will-change: transform; }
.tape i { position: absolute; left: 0; top: calc(var(--m) * -.19svh - 1px); width: 10px; height: 2px; background: rgba(255, 255, 255, .7); }
.tape .half { width: 17px; }
.tape .full { width: 26px; background: #fff; }
.tape u { position: absolute; left: 36px; top: -.62em; font: 400 15px/1.2 var(--mono); text-decoration: none; }
.caps { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(24px, 5.4svh, 60px); width: min(34ch, 36vw); }
.caps p { position: absolute; right: 0; bottom: 0; width: 100%; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.35; font-weight: 550; opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .5s; text-wrap: pretty; }
.caps p.is-on { opacity: 1; transform: none; }

.canyon { --len: 560; background: var(--deep); color: #fff; }
.canyon .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 35, 56, .86), rgba(6, 35, 56, 0) 44%), linear-gradient(to bottom, rgba(6, 35, 56, .4), rgba(6, 35, 56, 0) 18%); pointer-events: none; }
.canyon h2 { position: absolute; z-index: 2; left: var(--pad); bottom: clamp(70px, 15svh, 138px); margin: 0; font-weight: 820; font-stretch: calc(var(--wd, 118) * 1%); font-size: min(7.9vw, 17.5svh); line-height: .88; letter-spacing: -.02em; white-space: nowrap; transform: rotate(calc(var(--lean, 0) * 1deg)); transform-origin: 0 100%; text-shadow: 0 2px 26px rgba(6, 35, 56, .5); }
html[lang="hr"] .canyon h2 { font-size: min(9.6vw, 20svh); }
.canyon .place { position: absolute; z-index: 2; left: var(--pad); bottom: clamp(20px, 4.4svh, 46px); margin: 0; font-weight: 600; }
.canyon .caps p { visibility: hidden; transition: opacity .4s, transform .5s, visibility .4s; }
.canyon .caps p.is-on { visibility: visible; }
.canyon .caps .btn { display: flex; width: fit-content; margin-top: 16px; }

/* ---------- route chart ---------- */
.tours { display: grid; grid-template-columns: minmax(400px, 37%) 1fr; background: var(--paper); }
.picker { grid-column: 1; grid-row: 1; padding: clamp(64px, 9vw, 120px) clamp(24px, 3vw, 52px) clamp(64px, 8vw, 110px) var(--pad); }
.chart { grid-column: 2; grid-row: 1; position: sticky; top: var(--top); height: calc(100svh - var(--top)); background: var(--water); overflow: hidden; }
.chart > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-land { fill: var(--land); stroke: #6f93a4; stroke-width: 1; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
.c-river { fill: none; stroke: #7fb4cd; stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.c-lake { fill: var(--water); stroke: #6f93a4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.c-grid { fill: none; stroke: #7ba4b8; stroke-opacity: .5; stroke-width: .8; vector-effect: non-scaling-stroke; }
.c-geo { font-family: Archivo, sans-serif; font-style: normal; font-stretch: 118%; font-weight: 500; fill: #55798c; letter-spacing: .04em; text-anchor: middle; }
.c-geo.is-land { fill: #8a8058; }
.c-peak { fill: #8a8058; }
.c-peak-t { font-family: var(--mono); fill: #6f6743; }
.c-case { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .85; }
.c-route { fill: none; stroke: var(--mag); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.c-stop { fill: #fff; stroke: var(--mag); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.c-name { font-family: Archivo, sans-serif; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-opacity: .85; stroke-linejoin: round; }
.c-gyro { color: var(--ink); }
.rose { position: absolute; right: 18px; top: 22px; width: 92px; color: var(--mag); opacity: .85; }
.rose svg { display: block; overflow: visible; }
.rose text { font: 700 13px var(--mono); fill: currentColor; }
.scale { position: absolute; left: 22px; bottom: 20px; font: 400 13px var(--mono); color: var(--ink); }
.scale i { display: block; height: 7px; border: 2px solid var(--ink); border-top: 0; margin-bottom: 4px; }
.credit { position: absolute; right: 10px; bottom: 6px; font-size: 11.5px; color: #42606f; }
.tabs { display: flex; gap: 22px; margin-top: 30px; border-bottom: 2px solid var(--ink); }
.tabs button { min-height: 46px; font-weight: 700; color: var(--mute); border-bottom: 4px solid transparent; margin-bottom: -2px; padding: 0 2px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--mag); }
.dep { margin-top: 14px; color: var(--mute); font-size: .95rem; }
.routes { margin-top: 6px; }
.route { border-bottom: 1px solid var(--line); }
.route h3 button { display: grid; grid-template-columns: 5.2rem 1fr auto; align-items: baseline; width: 100%; padding: 15px 0; gap: 8px; }
.route h3 button:hover .r-name { color: var(--mag); }
.r-min { font: 700 1.15rem var(--mono); }
.r-min i { font: 400 .8rem var(--mono); margin-left: 4px; color: var(--mute); }
.r-name { font-weight: 700; font-size: 1.08rem; transition: color .2s; }
.r-price { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.route.is-on .r-name { color: var(--mag); }
.r-more { padding: 0 0 22px 5.7rem; }
.r-more img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; margin-bottom: 14px; }
.r-stops { font-weight: 600; }
.r-stops span { color: var(--mag); }
.r-more p + p { margin-top: 8px; color: var(--mute); }
.r-more .btn { margin-top: 16px; }

/* ---------- blue cave ---------- */
.cave { position: relative; min-height: min(92svh, 820px); display: flex; align-items: end; background: #021b7a; color: #fff; overflow: hidden; }
.cave > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cave::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 10, 60, .9), rgba(2, 10, 60, .55) 42%, rgba(2, 10, 60, 0) 72%); }
.cave-text { position: relative; z-index: 1; width: min(620px, 100%); padding: clamp(56px, 8vw, 110px) var(--pad); }
.cave-text p { margin-top: 18px; font-size: 1.08rem; text-wrap: pretty; }
.cave-text .btn { margin-top: 26px; }
.facts b { font-weight: 800; font-stretch: 112%; font-size: 2.1rem; margin-right: 10px; }

/* ---------- prices ---------- */
.prices { padding-block: clamp(72px, 10vw, 140px); }
.ruler { margin-top: clamp(28px, 4vw, 52px); border-top: 2px solid var(--ink); }
.ruler li { display: grid; grid-template-columns: 6.4rem 1fr 6rem; align-items: center; border-bottom: 1px solid var(--line); min-height: 62px; }
.p-min { font: 700 1.25rem var(--mono); }
.p-eur { font-weight: 750; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.p-min i { font: 400 .85rem var(--mono); margin-left: 5px; color: var(--mute); }
.p-eur { text-align: right; }
.p-bar { position: relative; align-self: stretch; display: flex; align-items: center; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%); }
.p-bar b { display: block; height: 22px; width: calc(var(--m) / 120 * 100%); background: var(--sea); transform-origin: 0 50%; }
.p-bar em { position: absolute; left: calc(var(--m) / 120 * 100% + 12px); font-style: normal; font-weight: 600; font-size: .95rem; color: var(--mute); white-space: nowrap; }
.ruler li:nth-child(5) .p-bar b { background: var(--gyro); }
.ruler li:nth-child(5) .p-bar em { color: var(--ink); }
.js .ruler .p-bar b { transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--m) * 5ms); }
.js .ruler.is-in .p-bar b { transform: none; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 5vw, 64px); }
.extras .big { font-weight: 800; font-stretch: 110%; font-size: 1.9rem; line-height: 1.15; margin: 4px 0 8px; }
.extras p:not(.big) { color: var(--mute); max-width: 42ch; }
.extras .link { margin-top: 6px; }

/* ---------- reviews ---------- */
.reviews { background: var(--gyro); padding-block: clamp(64px, 9vw, 130px); }
.quotes { columns: 2; column-gap: clamp(28px, 5vw, 88px); margin-top: clamp(28px, 4vw, 56px); }
.quotes figure { break-inside: avoid; padding: 20px 0 22px; border-top: 2px solid var(--ink); }
.quotes blockquote { font-size: clamp(1.1rem, 1.55vw, 1.35rem); line-height: 1.4; font-weight: 550; text-wrap: pretty; }
.quotes figcaption { margin-top: 10px; font-size: .98rem; }

/* ---------- photos ---------- */
.gallery { background: var(--deep); color: #fff; padding-block: clamp(64px, 9vw, 120px); }
.strip { display: flex; gap: 14px; margin-top: clamp(24px, 3.4vw, 44px); padding: 0 var(--pad) 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--pad); scrollbar-color: var(--gyro) transparent; }
.strip li { flex: none; scroll-snap-align: start; }
.strip button { display: block; }
.strip img { height: clamp(260px, 52svh, 470px); width: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.strip li:nth-child(3n + 1) img { aspect-ratio: 4 / 5; }
.strip span { display: block; padding-top: 8px; font-size: .98rem; }
.box { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(3, 18, 30, .96); color: #fff; }
.box[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; }
.box img { max-width: calc(100vw - 2 * var(--pad)); max-height: calc(100dvh - 120px); object-fit: contain; }
.box p { padding: 0 0 22px; }
.box button { position: absolute; width: 52px; height: 52px; font-size: 26px; text-align: center; background: rgba(3, 18, 30, .7); border-radius: 4px; }
.box .close { right: 14px; top: 14px; } .box .prev { left: 14px; top: calc(50% - 26px); } .box .next { right: 14px; top: calc(50% - 26px); }

/* ---------- questions ---------- */
.faq { padding-block: clamp(72px, 10vw, 140px); }
.faq-grid { display: grid; grid-template-columns: minmax(300px, 38%) 1fr; gap: clamp(32px, 6vw, 110px); }
.faq-side { position: sticky; top: calc(var(--top) + 32px); align-self: start; }
.faq-side h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.glance { margin-top: 28px; border-top: 2px solid var(--ink); }
.glance div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.glance dt { color: var(--mute); }
.glance dd { font-weight: 600; }
.faq-list h3 { margin: 34px 0 6px; color: var(--mag); }
.faq-list h3:first-child { margin-top: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 14px 40px 14px 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq-list details p { max-width: 62ch; padding: 0 0 18px; color: var(--mute); }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: 1fr minmax(440px, 46%); background: var(--deep); color: #fff; min-height: 100svh; }
.book .film { position: relative; inset: auto; min-height: 60svh; }
.book-form { align-self: center; padding: clamp(56px, 7vw, 100px) var(--pad) clamp(56px, 7vw, 100px) clamp(24px, 4vw, 72px); }
.book .lead { color: #c4d8e4; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
form .wide { grid-column: 1 / -1; }
form label span { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
form input, form select, form textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid transparent; border-radius: 4px; background: #fff; color: var(--ink); font-size: 16px; }
form textarea { resize: vertical; }
form ::placeholder { color: #66798a; opacity: 1; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--gyro); }
form .btn { min-height: 54px; font-size: 1.08rem; }
form .btn:disabled { opacity: .7; cursor: default; }
.honey { display: none; }

.foot { background: #041a2a; color: #c4d8e4; padding-block: 56px 28px; font-size: .98rem; }
.foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr .8fr; gap: 32px; }
.foot .brand, .foot h3 { color: #fff; }
.foot .brand { margin-bottom: 14px; }
.foot .brand img { width: 96px; height: 96px; }
.foot p { margin-top: 8px; }
.foot .copy { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; }
.foot .copy button { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- headings rise once ---------- */
.js .rise { clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path .8s cubic-bezier(.2, .7, .1, 1), transform .8s cubic-bezier(.2, .7, .1, 1); }
.js .rise.is-in { clip-path: inset(-.2em -1em -.3em -1em); transform: none; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 1080px) {
  .links { position: fixed; inset: var(--top) 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--pad) 22px; background: var(--deep); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .25s, visibility .25s; }
  .is-open .links { visibility: visible; opacity: 1; transform: none; }
  .links a { padding: 14px 0; font-size: 20px; font-weight: 650; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .burger { display: block; }
  .lang { margin-left: auto; }
}
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .top .brand span { font-size: 15px; }
  .top .brand img { width: 48px; height: 48px; }
  .top .btn { padding: 0 14px; font-size: 15px; }
  .top { gap: 8px; }
  .hero { --len: 210; }
  .hero .stage { background: linear-gradient(to bottom, var(--sky, #5d86b3) 32%, var(--deep) 58%); }
  .hero .film { inset: clamp(58px, 14svh, 132px) 0 auto; aspect-ratio: 800 / 514; -webkit-mask-image: linear-gradient(transparent, #000 13%, #000 72%, transparent); mask-image: linear-gradient(transparent, #000 13%, #000 72%, transparent); }
  .hero .stage::after { background: linear-gradient(to bottom, rgba(6, 35, 56, .45), rgba(6, 35, 56, 0) 14%); }
  .hero-text { padding-bottom: clamp(20px, 4svh, 40px); }
  .hero h1, html[lang="hr"] .hero h1 { font-size: min(17.2vw, 13svh); white-space: normal; line-height: .94; }
  .hero h1 span { display: block; }
  html[lang="hr"] .hero h1 { font-size: min(13.4vw, 12svh); }
  .hero-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta .btn { flex: 1 1 44%; padding: 0 12px; }

  .pre { --len: 340; }
  .pre .stage { display: flex; flex-direction: column; }
  .pre .film { order: -1; flex: none; aspect-ratio: 4 / 3; max-height: 42svh; width: 100%; margin-top: var(--top); }
  .pre-text { align-self: stretch; padding: clamp(14px, 3svh, 26px) var(--pad) 0; }
  .pre-text h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .checklist { margin-top: clamp(10px, 2svh, 20px); }
  .checklist li { padding: clamp(6px, 1.1svh, 11px) 0; }
  .checklist li > p { font-size: .98rem; line-height: 1.42; }

  .fly { --len: 360; }
  .fly .film { inset: calc(var(--top) + 5svh) 0 auto; aspect-ratio: 4 / 3; max-height: 44svh; }
  .fly .stage::after { display: none; }
  .fly .film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--deep), rgba(6, 35, 56, 0) 34%), linear-gradient(to bottom, var(--deep), rgba(6, 35, 56, 0) 16%); }
  .alt { left: var(--pad); right: var(--pad); bottom: auto; top: calc(var(--top) + 5svh + min(75vw, 44svh) + .4svh); }
  .alt > span { position: static; order: 3; margin-left: 12px; }
  .alt b { font-size: min(32vw, 19svh); }
  .alt > i { font-size: 8vw; }
  .tape { right: calc(var(--pad) * -1 + 10px); top: auto; bottom: calc(100% + .4svh); width: 62px; height: min(75vw, 44svh); transform: scaleX(-1); -webkit-mask-image: linear-gradient(transparent 4%, #000 26%, #000 74%, transparent 94%); mask-image: linear-gradient(transparent 4%, #000 26%, #000 74%, transparent 94%); }
  .tape u { left: 34px; font-size: 13px; transform: scaleX(-1); }
  .caps { left: var(--pad); right: var(--pad); width: auto; bottom: auto; top: calc(var(--top) + 5svh + min(75vw, 44svh) + min(33vw, 19svh) + 3svh); }
  .caps p { top: 0; bottom: auto; font-size: clamp(1.1rem, 5.4vw, 1.4rem); }

  .canyon { --len: 430; }
  .canyon .stage { --ft: calc(var(--top) + 5svh); --fh: min(100vw, 48svh); --hf: min(14.2vw, 9.2svh); }
  html[lang="hr"] .canyon .stage { --hf: min(19.5vw, 10.6svh); }
  .canyon .film { inset: var(--ft) 0 auto; height: var(--fh); }
  .canyon .stage::after { display: none; }
  .canyon .film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--deep) 1%, rgba(6, 35, 56, 0) 36%), linear-gradient(to bottom, var(--deep), rgba(6, 35, 56, 0) 12%); }
  .canyon h2, html[lang="hr"] .canyon h2 { top: calc(var(--ft) + var(--fh)); bottom: auto; font-size: var(--hf); transform: translateY(-50%) rotate(calc(var(--lean, 0) * 1deg)); }
  .canyon .place { top: calc(var(--ft) + var(--fh) + var(--hf) * 1.02 + 12px); bottom: auto; font-size: .98rem; }
  .canyon .caps { top: calc(var(--ft) + var(--fh) + var(--hf) * 1.02 + 12px + 2.4rem); }

  .tours { display: block; }
  .chart { height: 40svh; z-index: 3; box-shadow: 0 6px 18px rgba(6, 35, 56, .2); }
  .rose, .c-geo.is-sea { display: none; }
  .scale { left: 14px; bottom: 10px; font-size: 12px; }
  .picker { padding: 44px var(--pad) 72px; }
  .tabs { justify-content: space-between; gap: 10px; }
  .r-more { padding-left: 0; }
  .route h3 button { grid-template-columns: 4.6rem 1fr auto; }

  .cave { min-height: 0; display: block; }
  .cave > img { position: static; height: 46vw; min-height: 220px; }
  .cave::after { display: none; }
  .cave-text { padding-top: 36px; }
  .ruler li { grid-template-columns: 5.2rem 1fr 4.4rem; min-height: 56px; }
  .p-bar em { font-size: .82rem; left: 8px; }
  .ruler li:nth-child(5) .p-bar em { color: var(--ink); }
  .ruler li:nth-child(3) .p-bar em { left: calc(var(--m) / 120 * 100% + 8px); }
  .extras { grid-template-columns: 1fr; }
  .quotes { columns: 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .book { display: block; }
  .book .film { aspect-ratio: 4 / 3; min-height: 0; }
  .book-form { padding: 44px var(--pad) 64px; }
  form { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .top .brand { gap: 8px; }
  .top .brand span { white-space: normal; width: min-content; font-size: 13px; line-height: 1.12; }
  .top .btn { padding: 0 11px; font-size: 14px; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 379px) { .top .brand span { display: none; } }
@media (max-width: 820px) and (max-height: 640px) { .pre-text h2 { display: none; } .pre .film { max-height: 34svh; } }

/* ---------- no scroll film for people who ask for less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; }
  .stage { position: relative; min-height: 100svh; height: auto; }
  .pre .stage, .fly .stage { min-height: 0; }
  .checklist li > p { max-height: none; opacity: 1; margin-top: 6px; }
  .checklist li, .checklist .state { color: var(--ink); opacity: 1; }
  .fly .stage { padding: 62svh var(--pad) 60px; }
  .caps { position: static; width: auto; max-width: 60ch; margin-top: 40px; }
  .caps p { position: static; opacity: 1; transform: none; margin-top: 14px; }
  .alt { display: none; }
  .canyon .stage { min-height: 0; padding: 62svh var(--pad) 60px; }
  .canyon h2, .canyon .place { position: relative; left: auto; top: auto !important; bottom: auto; transform: none !important; }
  .canyon .caps p { visibility: visible; }
  .js .rise, .js .ruler .p-bar b { clip-path: none; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* the cookie bar must not cover the booking buttons */
.cc-open .hero-text { padding-bottom: calc(var(--cc-h, 0px) + 18px); }
@media (min-width: 821px) {
  .cc-open .alt, .cc-open .caps, .cc-open .canyon .place { bottom: calc(var(--cc-h, 0px) + 26px); }
  .cc-open .canyon h2 { bottom: calc(var(--cc-h, 0px) + clamp(70px, 11svh, 110px)); }
}
