/* Fonts: Atkinson Hyperlegible Next for text, Newsreader for headings, Noto Serif Display only for the hero word. */
@font-face {
    font-family: 'Atkinson';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(fonts/atkinson-next-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Atkinson';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(fonts/atkinson-next-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Atkinson';
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url(fonts/atkinson-next-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Atkinson';
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url(fonts/atkinson-next-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Newsreader, weight fixed at 400; the optical size axis stays, so small headings get the text cut */
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/newsreader-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/newsreader-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-017F;
}
/* Noto Serif Display, fixed at width 87.5 and weight 400 (instanced and subset from the variable font) */
@font-face {
    font-family: 'Noto Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/noto-serif-display-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Noto Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/noto-serif-display-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-017F;
}

/* Palette 2027 (05.11.2026): gold for marks and buttons, forest for text and dark fields */
:root {
    --gold: #ba9f38;      /* buttons, dots, rules, passed places */
    --sand: #e1cc96;      /* terms field, text on forest */
    --cream: #fcebd0;     /* "how we travel" field, soft pills */
    --mist: #b1baca;      /* footer field */
    --forest: #1d3b28;    /* text, headings, dark fields */
    --forest-soft: #2a4d36;
    --muted: #55695b;     /* secondary text */

    --font: 'Atkinson', system-ui, sans-serif;
    --serif: 'Newsreader', Georgia, serif;
    --display: 'Noto Serif Display', 'Times New Roman', serif;

    --frame: 10px;
    --radius: 24px;
    --header: 80px;
    --space: clamp(96px, 11vw, 160px);
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 12px);
    -webkit-text-size-adjust: 100%;
    scrollbar-color: var(--forest) #fff;
    accent-color: var(--forest);
}
body {
    margin: 0;
    background: #fff;
    color: var(--forest);
    font: 400 1.0625rem/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--sand); color: var(--forest); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type: every heading in Newsreader; body and sublines in Atkinson */
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 {
    font-size: clamp(2.4rem, 4.4vw, 3.9rem);
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--forest);
}
h3 { font-size: clamp(1.5rem, 2vw, 1.8rem); line-height: 1.08; letter-spacing: -0.005em; }
h4 { font-size: 1.35rem; line-height: 1.12; }
.subline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.arrow {
    flex: none;
    width: 1.35em;
    height: 1.35em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(22px, 4.5vw, 56px);
}

/* The PDF's thin rule with a dot at the start (and at the end with --end) */
.rule {
    position: relative;
    height: 1px;
    margin: 0;
    border: 0;
    background: currentColor;
    opacity: 0.28;
    overflow: visible;
}
.rule::before, .rule--end::after {
    content: '';
    position: absolute;
    top: -3.5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}
.rule::before { left: 0; }
.rule--end::after { right: 0; }

/* Coloured fields own whole regions, inside the same white frame as the hero */
.field {
    margin-inline: var(--frame);
    border-radius: var(--radius);
    padding-block: var(--space);
}
.field--sage { background: var(--cream); }
.field--sand { background: var(--sand); }
.field--brown { background: var(--forest); color: var(--sand); }
.field + .field { margin-top: var(--frame); }

/* Testimonials (variant 3, "Zid"): a white lotus among its leaves, under a forest veil */
.voices { background: linear-gradient(rgba(29, 59, 40, 0.68), rgba(29, 59, 40, 0.8)), url(images/pozadine/utisci-lotos.webp) center / cover var(--forest); color: var(--cream); }
.voices h2 { color: var(--cream); }
.voices .subline { color: var(--sand); }

/* Route map: a sunny dotted Vietnam on white, the route in forest ink, a card on the place's photo beside it */
.ruta { --sky: #7C93BF; }
.ruta__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.ruta .subline { color: var(--muted); }
.ruta .term-switch { background: rgba(29, 59, 40, 0.05); box-shadow: inset 0 0 0 1px rgba(29, 59, 40, 0.18); }
.ruta .term-switch button { color: var(--forest); }
.ruta .term-switch [aria-checked='true'] { background: var(--forest); color: var(--cream); }
.ruta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ruta__map { position: relative; }
.ruta__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.map { position: relative; display: block; width: 100%; height: auto; overflow: hidden; }
.map__land, .map__back, .map__backlabel { pointer-events: none; }
.map__land { fill: rgba(186, 159, 56, 0.5); }
.ruta__map.is-live .map__land { display: none; }
/* The route: one thin, smooth forest line; on first sight its legs draw in one after another, from Hanoi to Hoi An */
.map__leg { fill: none; stroke: var(--forest); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; pointer-events: none; transition: stroke-dashoffset 900ms var(--ease) calc(var(--i) * 380ms); }
.map.is-drawing:not(.is-drawn) .map__leg { stroke-dashoffset: 1; }
.map__back { fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; }
.map__backlabel { font: 700 9px var(--font); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--sky); }
.map__city { cursor: pointer; outline: none; }
.map__hit { fill: transparent; }
.map__dot { fill: var(--forest); stroke: #fff; stroke-width: 2.4; transition: transform 500ms var(--ease), fill 400ms ease; }
.map__ring { fill: rgba(186, 159, 56, 0.18); stroke: var(--gold); stroke-width: 2; opacity: 0; transform: scale(0.6); transition: opacity 400ms ease, transform 600ms var(--ease); }
.map__city text { font: 400 15px var(--serif); fill: var(--forest); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; transition: fill 400ms ease; }
@media (hover: hover) and (pointer: fine) {
    .map__city:hover .map__ring { opacity: 0.7; transform: scale(0.85); }
    .map__city:hover .map__dot { transform: scale(1.2); }
    .map__city:hover text { fill: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
}
.map__city:focus-visible .map__ring, .map__city.is-active .map__ring { opacity: 1; transform: scale(1); }
.map__city.is-active .map__dot { fill: var(--gold); transform: scale(1.2); }
/* One card stays put; the places are stacked in it and their photo, text and background cross-fade.
   Each place has its own background photo, shown as it is, no veil, the place's photo sits in a white frame; dark photos take cream text. */
.ruta__cards { position: relative; isolation: isolate; overflow: hidden; display: grid; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: var(--forest); color: var(--cream); box-shadow: 0 30px 60px -36px rgba(29, 59, 40, 0.65); transition: color 600ms ease; }
.ruta__cards[data-tone='light'] { color: var(--forest); }
.ruta__cards[data-tone='dark'] .ruta__card { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.ruta__bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity 900ms ease, transform 1600ms var(--ease); }
.ruta__bg.is-on { opacity: 1; transform: none; }
/* Darkens the lower part of every city photo so the title, dates and button read on light spots (hats, statue, walls). */
.ruta__cards[data-tone='dark']::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12, 28, 18, 0) 30%, rgba(12, 28, 18, 0.55) 62%, rgba(12, 28, 18, 0.7) 100%); }
.ruta__card { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; }
.ruta__card > * { transition: opacity 350ms ease, transform 500ms var(--ease); }
.ruta__card:not(.is-on) { visibility: hidden; transition: visibility 0s 350ms; }
.ruta__card:not(.is-on) > * { opacity: 0; transform: translateY(8px); }
.ruta__card.is-on > :nth-child(2) { transition-delay: 40ms; }
.ruta__card.is-on > :nth-child(n + 3) { transition-delay: 80ms; }
.ruta__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: clamp(8px, 1vw, 12px) solid #fff; border-radius: calc(var(--radius) - 6px); box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.55); }
.ruta__card h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); color: inherit; }
.ruta__card .subline { color: inherit; }
.ruta__home { justify-self: start; margin-bottom: -4px; padding: 5px 12px; border-radius: 999px; background: var(--forest); color: var(--sand); font-size: 0.78rem; text-shadow: none; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ruta__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.92rem; font-weight: 700; color: inherit; }
.ruta__card .button { transition: opacity 350ms ease 80ms, transform 500ms var(--ease), color 450ms ease, box-shadow 450ms ease; --fill: var(--cream); --bg: var(--forest); --fg: var(--cream); justify-self: start; margin-top: 6px; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.6); text-shadow: none; }
.ruta__cards[data-tone='dark'] .button { --fill: var(--cream); --bg: var(--mist); --fg: var(--forest); }
@media (hover: hover) and (pointer: fine) {
    .map__city:hover .map__ring { opacity: 1; transform: scale(1); }
    .map__city:hover .map__dot { fill: var(--gold); transform: scale(1.2); }
    .ruta__card .button:hover { color: var(--forest); }
}

/* Photos with the PDF's cut corners. The shape lives on the image so cqi resolves against the frame. */
.photo { container-type: inline-size; }
.photo img { width: 100%; border-radius: var(--radius); }
@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
    .notch img, .bevel img { border-radius: 0; }
    .notch img {
        --r: 22px;
        --nx: 40%;
        --ny: 24cqi;
        clip-path: shape(from calc(var(--nx) + var(--r)) 0,
            hline to calc(100% - var(--r)), arc to 100% var(--r) of var(--r) cw,
            vline to calc(100% - var(--r)), arc to calc(100% - var(--r)) 100% of var(--r) cw,
            hline to var(--r), arc to 0 calc(100% - var(--r)) of var(--r) cw,
            vline to calc(var(--ny) + var(--r)), arc to var(--r) var(--ny) of var(--r) cw,
            hline to calc(var(--nx) - var(--r)), arc to var(--nx) calc(var(--ny) - var(--r)) of var(--r) ccw,
            vline to var(--r), arc to calc(var(--nx) + var(--r)) 0 of var(--r) cw, close);
    }
    .notch--right img {
        --nx: 36%;
        clip-path: shape(from var(--r) 0,
            hline to calc(100% - var(--nx) - var(--r)), arc to calc(100% - var(--nx)) var(--r) of var(--r) cw,
            vline to calc(var(--ny) - var(--r)), arc to calc(100% - var(--nx) + var(--r)) var(--ny) of var(--r) ccw,
            hline to calc(100% - var(--r)), arc to 100% calc(var(--ny) + var(--r)) of var(--r) cw,
            vline to calc(100% - var(--r)), arc to calc(100% - var(--r)) 100% of var(--r) cw,
            hline to var(--r), arc to 0 calc(100% - var(--r)) of var(--r) cw,
            vline to var(--r), arc to var(--r) 0 of var(--r) cw, close);
    }
    .bevel img {
        --r: 22px;
        --c: 26cqi;
        clip-path: shape(from var(--r) 0,
            hline to calc(100% - var(--c) - 8px), curve to calc(100% - var(--c) + 6px) 6px with calc(100% - var(--c)) 0,
            line to calc(100% - 6px) calc(var(--c) - 6px), curve to 100% calc(var(--c) + 8px) with 100% var(--c),
            vline to calc(100% - var(--r)), arc to calc(100% - var(--r)) 100% of var(--r) cw,
            hline to calc(var(--c) + 8px), curve to calc(var(--c) - 6px) calc(100% - 6px) with var(--c) 100%,
            line to 6px calc(100% - var(--c) + 6px), curve to 0 calc(100% - var(--c) - 8px) with 0 calc(100% - var(--c)),
            vline to var(--r), arc to var(--r) 0 of var(--r) cw, close);
    }
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px 15px 26px;
    border-radius: 999px;
    --bg: var(--mist);
    --fg: var(--forest);
    background: var(--bg);
    color: var(--fg);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --fill: var(--forest);
    transition: color 450ms ease, transform 450ms var(--ease), box-shadow 450ms ease;
}
/* Hover: the fill pours in from the left and leaves to the right */
.button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--fill);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 600ms var(--ease);
}
/* On forest fields the forest fill would vanish, so it pours cream instead */
.button--ondark { --fill: var(--cream); }
/* Lifted a hair so the arrow sits on the middle of the capitals; flex centres it on the line box, which leaves it low.
   The padding makes room for the hover circle, the negative margin keeps the button's size. */
.button .arrow { position: relative; top: -0.1em; width: 32px; height: 32px; padding: 6px; margin: -6px -8px -6px -6px; border-radius: 50%; transition: transform 450ms var(--ease), background-color 450ms ease, color 450ms ease; }
.button--small { padding: 11px 20px; font-size: 0.9rem; }
.button:active, .round:active { transform: scale(0.97); }

.round {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(29, 59, 40, 0.25);
    transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease, transform 160ms ease-out;
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (hover: hover) and (pointer: fine) {
    .button:hover { color: var(--cream); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(12, 28, 18, 0.55); }
    .button--ondark:hover, .ruta__cards[data-tone='dark'] .button:hover { color: var(--forest); }
    .button:hover::before { transform: scaleX(1); transform-origin: left; }
    /* The arrow turns and keeps the button's resting colour in a small circle around it */
    .button:hover .arrow { transform: rotate(-45deg); background: var(--bg); color: var(--fg); }
    .round:hover { background: var(--forest); border-color: var(--forest); color: var(--sand); }
    .top__nav a:hover { color: var(--forest); }
    .photo img { transition: transform 1400ms var(--ease-soft); }
    .photo img { transition: transform 1400ms var(--ease-soft), filter 900ms ease; }
    .about__photo:hover img, .intro__photos .photo:hover img, .terms__photo:hover img, .notfor__photo:hover .layers, .contact__photo:hover img { filter: saturate(1.12) brightness(1.04); }
    .gallery figure:hover img { transform: scale(1.06); filter: saturate(1.1); }
    .contact a:hover, .foot a:hover { text-decoration-color: currentColor; }
}

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 20;
    padding: 10px 16px;
    background: var(--forest);
    color: var(--sand);
    border-radius: 999px;
}
.skip:focus { top: 12px; }

/* Header: sticky, menu with palette hover pills, logo with a sand halo on hover */
.top {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-inline: clamp(12px, 2vw, 26px);
    background: rgba(255, 255, 255, 0.94);
    font-weight: 700;
    font-size: 0.95rem;
    transition: box-shadow 400ms ease;
}
.top.is-stuck { box-shadow: 0 10px 30px -18px rgba(29, 59, 40, 0.35); }
.top__nav { display: flex; gap: 4px; }
.top__nav a {
    position: relative;
    padding: 9px 15px;
    border-radius: 999px;
    text-decoration: none;
    transition: color 350ms ease;
}
.top__nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--cream);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 350ms ease, transform 450ms var(--ease);
}
.top__nav a.is-current { color: var(--forest); }
.top__nav a.is-current::before { opacity: 0.55; transform: scale(1); }
.top__logo { position: relative; justify-self: start; display: block; padding: 10px 18px; }
.top__logo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 18px;
    background: var(--sand);
    opacity: 0;
    transform: scale(0.75) rotate(-3deg);
    transition: opacity 400ms ease, transform 600ms var(--ease);
}
.top__logo img { height: 34px; width: auto; transition: transform 600ms var(--ease); }
.top__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.top__menu { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; transition: background-color 300ms ease, transform 160ms ease-out; }
.top__bars, .top__bars::before, .top__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--forest);
    transition: transform 400ms var(--ease), opacity 250ms ease;
}
.top__bars { position: relative; }
.top__bars::before, .top__bars::after { content: ''; position: absolute; left: 0; }
.top__bars::before { top: -6px; }
.top__bars::after { top: 6px; }
.top__menu[aria-expanded='true'] .top__bars { background: transparent; }
.top__menu[aria-expanded='true'] .top__bars::before { transform: translateY(6px) rotate(45deg); }
.top__menu[aria-expanded='true'] .top__bars::after { transform: translateY(-6px) rotate(-45deg); }
.top__menu:active { transform: scale(0.94); }
/* Phone menu: a white veil under the bar holds a forest field that unrolls from the bar down.
   Plain transitions on a class, so a fast second tap reverses from wherever the motion is. */
.drawer {
    position: fixed;
    inset: var(--header) 0 0;
    padding: 0 var(--frame) var(--frame);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgb(255 255 255 / 0);
    visibility: hidden;
    transition: background-color 380ms var(--ease-soft), visibility 0s linear 420ms;
}
.drawer.is-open { background: #fff; visibility: visible; transition: background-color 300ms var(--ease-soft), visibility 0s; }
.drawer__panel {
    min-height: 100%;
    display: grid;
    align-content: space-between;
    gap: 28px;
    padding: clamp(14px, 3vh, 30px) clamp(22px, 6vw, 44px) 26px;
    border-radius: var(--radius);
    background: var(--forest);
    color: var(--cream);
    clip-path: inset(0 0 100% 0 round var(--radius));
    transition: clip-path 400ms var(--ease);
}
.drawer.is-open .drawer__panel { clip-path: inset(0 round var(--radius)); transition-duration: 500ms; }
/* Items rise in one after another on the way in and leave together on the way out */
.drawer__item { opacity: 0; transform: translateY(14px); transition: opacity 220ms ease, transform 400ms var(--ease); }
.drawer.is-open .drawer__item {
    opacity: 1;
    transform: none;
    transition: opacity 420ms ease calc(70ms + var(--i) * 32ms), transform 500ms var(--ease) calc(70ms + var(--i) * 32ms);
}
.drawer__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--sand) 16%, transparent);
    font: 400 clamp(1.8rem, 7.8vw, 2.35rem)/1.12 var(--serif);
    letter-spacing: -0.01em;
    color: var(--cream);
    text-decoration: none;
    transition: color 350ms ease;
}
/* Each section is a stop on the route: a gold dot before its name */
.drawer__links a::before {
    content: '';
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    transition: transform 400ms var(--ease);
}
.drawer__links a:active { color: var(--sand); }
.drawer__links a:active::before { transform: scale(1.5); }
.drawer__aside { display: grid; gap: 22px; align-self: end; }
.drawer .rule { color: var(--gold); opacity: 0.8; }
.drawer .button { justify-self: start; }
.drawer .link-row { gap: 14px; padding-block: 14px; }
.drawer .link-row__icon { width: 44px; height: 44px; }
.drawer .link-row:focus-visible .link-row__icon { background: var(--sand); color: var(--forest); box-shadow: none; }
/* Landscape: names on the left, the way to write to us on the right, both visible without scrolling */
@media (min-width: 600px) and (orientation: landscape) {
    .drawer__panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-content: start; column-gap: clamp(32px, 6vw, 64px); }
    .drawer__aside { align-self: start; padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .drawer, .drawer.is-open { transition-duration: 200ms, 0s; }
    .drawer__panel { clip-path: none; opacity: 0; transition: opacity 200ms ease; }
    .drawer.is-open .drawer__panel { clip-path: none; opacity: 1; transition: opacity 200ms ease; }
    .drawer__item, .drawer.is-open .drawer__item { opacity: 1; transform: none; transition: none; }
}
/* While the menu is open the page under it stays put, and the bar sits above the back-to-top button */
html.is-menu-open { overflow: hidden; scrollbar-gutter: stable; }
html.is-menu-open .top { z-index: 45; }
@media (hover: hover) and (pointer: fine) {
    .top__nav a:hover { color: var(--forest); }
    .top__nav a:hover::before { opacity: 1; transform: scale(1); }
    .top__logo:hover::before { opacity: 1; transform: scale(1) rotate(0); }
    .top__logo:hover img { transform: translateY(-1px) scale(1.04); }
    .top__menu:hover { background: var(--cream); }
    .drawer__links a:hover { color: var(--sand); }
    .drawer__links a:hover::before { transform: scale(1.5); }
    .drawer .link-row:hover .link-row__icon { background: var(--sand); color: var(--forest); box-shadow: none; }
}

/* Shared rounded frame with the thin white border around it */
.frame {
    position: relative;
    margin-inline: var(--frame);
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}

/* Hero: back photo, the word, front photo with alpha. script.js moves the layers on scroll. */
.hero {
    height: calc(100svh - var(--header) - var(--frame));
    min-height: 580px;
    container: hero / size;
    background: #c9cec8;
    color: #fff;
}
.hero__stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100cqw, 177.78cqh);
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    container-type: inline-size;
}
.hero__layer, .hero__word {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}
.hero__word {
    background: linear-gradient(to bottom, rgba(29, 59, 40, 0.32), rgba(29, 59, 40, 0.1) 45%, transparent 70%);
}
.hero__title {
    position: absolute;
    left: 50%;
    bottom: 61.5%;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    gap: max(14px, 1.2cqi);
    white-space: nowrap;
}
.hero__line {
    display: flex;
    align-items: center;
    gap: 1.2em;
    width: 100%;
    font: italic 500 max(0.75rem, 0.92cqi)/1 var(--font);
    letter-spacing: 0.4em;
    text-transform: uppercase;
}
.hero__rule {
    position: relative;
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}
.hero__rule::before, .hero__rule::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}
.hero__rule::before { left: 0; }
.hero__rule::after { right: 0; }
.hero h1 {
    font: 400 min(12cqi, 14.2vw)/0.8 var(--display);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.hero__shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 60% at 0% 100%, rgba(12, 28, 18, 0.55), transparent 70%),
        linear-gradient(to top, rgba(12, 28, 18, 0.32), transparent 35%);
    pointer-events: none;
}
/* Travellers' words: a postage stamp with the traveller's photo and a postmark, on a note in the hero's sky blue.
   The whole card turns to the next traveller on click; on its own it turns every six seconds. */
.stamp {
    position: absolute;
    right: clamp(20px, 3.5vw, 48px);
    bottom: clamp(28px, 6cqh, 56px);
    width: clamp(300px, 26cqw, 370px);
    transition: opacity 900ms var(--ease-soft) 500ms;
    @starting-style { opacity: 0; }
}
.stamp__card { position: relative; display: grid; cursor: pointer; outline: none; transition: transform 500ms var(--ease); }
.stamp__note {
    display: grid;
    min-height: 150px;
    margin-left: 78px;
    padding: 20px 22px 34px 78px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(212, 224, 226, 0.94), rgba(178, 199, 204, 0.94));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 24px 44px -26px rgba(12, 28, 18, 0.6);
    color: var(--forest);
    transition: box-shadow 500ms ease, background-color 500ms ease;
}
.stamp__words { grid-area: 1 / 1; align-self: center; display: grid; gap: 12px; margin: 0; opacity: 0; transform: translateY(6px); transition: opacity 500ms ease, transform 700ms var(--ease); }
.stamp__words.is-on { opacity: 1; transform: none; transition-delay: 150ms; }
.stamp__words blockquote { margin: 0; font: 400 0.96rem/1.32 var(--serif); text-wrap: pretty; }
.stamp__words blockquote p::before { content: '„'; }
.stamp__words blockquote p::after { content: '“'; }
.stamp__words figcaption { font: 700 0.68rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); opacity: 0.75; }
.stamp__next { position: absolute; right: 18px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font: 700 0.64rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); opacity: 0.55; transition: opacity 400ms ease; }
.stamp__next .arrow { width: 14px; height: 14px; transform: rotate(-45deg); transition: transform 500ms var(--ease); }
.stamp__stamps { position: absolute; left: 0; top: 50%; width: 128px; height: 154px; margin-top: -77px; filter: drop-shadow(0 10px 18px rgba(12, 28, 18, 0.35)); transition: transform 600ms var(--ease); }
/* The perforated edge: holes only in the white margin, the photo stays whole */
.stamp__photo {
    position: absolute;
    inset: 0;
    padding: 8px;
    background: #fbf7ef;
    -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at 6px 6px, transparent 3.6px, #000 4px) 0 0 / 12px 12px;
    mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle at 6px 6px, transparent 3.6px, #000 4px) 0 0 / 12px 12px;
    transform: rotate(-6deg) scale(1.22);
    opacity: 0;
    transition: transform 700ms var(--ease), opacity 400ms ease;
}
.stamp__photo.is-on { transform: rotate(-6deg); opacity: 1; }
.stamp__photo img { width: 100%; height: 100%; object-fit: cover; }
.stamp__post { position: absolute; left: 82px; top: -22px; width: 78px; height: 78px; color: rgba(29, 59, 40, 0.55); transform: rotate(14deg); pointer-events: none; transition: transform 700ms var(--ease); }
.stamp__card:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
    .stamp__card:hover { transform: translateY(-4px); }
    .stamp__card:hover .stamp__note { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 30px 54px -26px rgba(12, 28, 18, 0.7); }
    .stamp__card:hover .stamp__stamps { transform: rotate(4deg) translateY(-4px); }
    .stamp__card:hover .stamp__post { transform: rotate(28deg); }
    .stamp__card:hover .stamp__next { opacity: 1; }
    .stamp__card:hover .stamp__next .arrow { transform: rotate(-45deg) translateX(3px); }
}
.stamp__card:focus-visible .stamp__note { box-shadow: 0 0 0 3px var(--sand), 0 24px 44px -26px rgba(12, 28, 18, 0.6); }
.hero__content {
    position: absolute;
    left: clamp(22px, 3.5vw, 48px);
    bottom: clamp(28px, 6cqh, 56px);
    display: grid;
    gap: 22px;
    justify-items: start;
}
.hero__lead {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
@container hero (orientation: portrait) {
    .hero__title { bottom: 63.5%; }
    .hero__line { gap: 0.8em; font-size: 0.66rem; letter-spacing: 0.22em; }
    .hero h1 { font-size: 15.6vw; }
    /* Phones: a smaller stamp and note in the sky above the title, clear of the traveller in the photo */
    .stamp { left: 18px; right: 18px; top: clamp(14px, 2.5cqh, 24px); bottom: auto; width: auto; }
    .stamp__note { min-height: 118px; margin-left: 52px; padding: 14px 16px 30px 60px; border-radius: 18px; }
    .stamp__words blockquote { font-size: 0.92rem; }
    .stamp__words { gap: 8px; }
    .stamp__stamps { width: 96px; height: 116px; margin-top: -58px; }
    .stamp__photo { padding: 7px; }
    .stamp__post { left: 54px; top: -18px; width: 64px; height: 64px; }
    .stamp__next { right: 14px; bottom: 10px; }
}

/* About: Irena and Bojan, the photo from the café, the PDF's own words */
.about { padding-block: 0 var(--space); }
.about__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 120px);
    align-items: start;
}
.about__photo { display: grid; gap: 18px; position: sticky; top: calc(var(--header) + 24px); }
.about__photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; }
.about__photo figcaption { display: grid; gap: 4px; color: var(--muted); }
.about__text { display: grid; gap: 24px; align-content: start; }
.about__lead { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.28 var(--serif); color: var(--forest); text-wrap: pretty; }
.about__roles { display: grid; gap: 10px; }
/* Three promises, each with a full bullet in the palette's blue, yellow and green */
.about__roles li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 16px; align-items: baseline; font-size: 1.05rem; }
.about__roles li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); transform: translateY(1px); }
.about__roles li:nth-child(2)::before { background: var(--gold); }
.about__roles li:nth-child(3)::before { background: var(--forest); }
.about__welcome { display: grid; gap: 6px; font: 400 clamp(1.4rem, 1.9vw, 1.7rem)/1.2 var(--serif); color: var(--forest); }
.about__welcome .signature { font-family: var(--font); color: var(--forest); }
.about__ig {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    padding: 16px 22px;
    border-radius: 999px;
    background: var(--forest);
    color: var(--cream);
    text-decoration: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: color 450ms ease, transform 450ms var(--ease), box-shadow 450ms ease;
}
/* Same hover as .button: light blue pours in from the left and leaves to the right */
.about__ig::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--mist);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 600ms var(--ease);
}
.about__ig span { display: grid; font-size: 0.86rem; }
.about__ig strong { font: 400 1.35rem/1.1 var(--serif); color: var(--sand); transition: color 400ms ease; }
.about__ig .icon { width: 26px; height: 26px; }
.about__ig .arrow { width: 34px; height: 34px; padding: 6px; border-radius: 50%; transition: transform 450ms var(--ease), background-color 450ms ease, color 450ms ease; }
.about__ig:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
    .about__ig:hover { color: var(--forest); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(12, 28, 18, 0.55); }
    .about__ig:hover::before { transform: scaleX(1); transform-origin: left; }
    .about__ig:hover strong { color: var(--forest); }
    .about__ig:hover .arrow { transform: rotate(-45deg); background: var(--forest); color: var(--cream); }
}

/* Intro: the PDF's second page */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding-block: var(--space);
}
.intro__text { display: grid; gap: 22px; max-width: 62ch; }
.intro__text h3 { margin-top: 8px; }
.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 40px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.intro__text .subline { margin-top: 10px; color: var(--forest); }
.intro__photos {
    display: grid;
    grid-template-columns: 0.62fr 1fr;
    gap: 16px;
    align-items: end;
}
.intro__small img { aspect-ratio: 3 / 4.6; object-fit: cover; }
.intro__big img { aspect-ratio: 3 / 4; object-fit: cover; }

/* How we travel: sage field, PDF page three */
.way__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}
.way__photo { display: grid; gap: 24px; position: sticky; top: calc(var(--header) + 24px); }
.way__photo img { aspect-ratio: 3 / 4.3; object-fit: cover; }
.way__photo .layers img { object-position: 100% 50%; }
.way__photo figcaption {
    justify-self: end;
    max-width: 22ch;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.45;
}
.way__text { display: grid; gap: 22px; }
.way__text > p { max-width: 60ch; font-size: 1.02rem; line-height: 1.65; }
.way__text > .way__lead { font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.25 var(--serif); color: var(--forest); text-wrap: balance; }
/* Six long answers: one per row, the heading beside its text, the PDF's thin rules between them */
.way__grid { display: grid; margin-top: 24px; border-top: 1px solid rgba(29, 59, 40, 0.25); }
.way__grid div {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 10px clamp(24px, 3vw, 48px);
    padding-block: 30px;
    border-bottom: 1px solid rgba(29, 59, 40, 0.25);
}
.way__grid h3 { font-size: clamp(1.35rem, 1.7vw, 1.6rem); text-wrap: balance; }
.way__grid p { font-size: 0.98rem; line-height: 1.65; }

/* Itinerary: a narrow, see-through list on the left; the photo and the days fill the rest */
.itin {
    min-height: calc(100svh - var(--header) - var(--frame));
    margin-block: var(--frame);
    display: grid;
    grid-template-columns: minmax(250px, 25%) minmax(0, 1fr);
    background: var(--forest);
    color: #fff;
}
.itin__images { position: absolute; inset: 0; }
.itin__images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1100ms var(--ease-soft), transform 2200ms var(--ease-soft);
}
.itin__images img.is-active { opacity: 1; transform: scale(1); }
.itin__images::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(12, 28, 18, 0.5), rgba(12, 28, 18, 0.12) 40%, transparent 60%),
        linear-gradient(to top, rgba(12, 28, 18, 0.92) 6%, rgba(12, 28, 18, 0.62) 42%, transparent 76%);
}
.itin__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(32px, 3.2vw, 48px);
    background: rgba(29, 59, 40, 0.32);
    border-right: 1px solid rgba(225, 204, 150, 0.18);
}
.itin__panel h2 { color: #fff; font-size: clamp(2.6rem, 3.4vw, 3.4rem); text-shadow: 0 1px 20px rgba(12, 28, 18, 0.35); }
.itin__panel .term-switch { align-self: flex-start; margin-top: 4px; }
.itin__when { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sand); }
.itin__tabs { display: grid; padding-top: 32px; }
.itin__tabs button {
    display: grid;
    gap: 2px;
    padding: 12px 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.62);
    text-shadow: 0 1px 14px rgba(12, 28, 18, 0.5);
    transition: color 400ms ease, transform 500ms var(--ease);
}
.itin__name {
    position: relative;
    justify-self: start;
    font: 400 clamp(1.7rem, 2.2vw, 2.2rem)/1.05 var(--serif);
}
.itin__name::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: var(--sand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 700ms var(--ease);
}
.itin__date { font-size: 0.86rem; }
.itin__tabs [aria-selected='true'] { color: #fff; }
.itin__tabs [aria-selected='true'] .itin__name::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
    .itin__tabs button:hover { color: #fff; transform: translateX(4px); }
}
.itin__detail {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(36px, 4.5vw, 64px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms ease, visibility 0s 500ms;
}
.itin__detail[data-on] { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease-soft) 100ms; }
.itin__title, .itin__label, .days li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease, transform 800ms var(--ease);
}
.itin__detail[data-on] .itin__title, .itin__detail[data-on] .itin__label, .itin__detail[data-on] .days li { opacity: 1; transform: none; }
.itin__detail[data-on] .itin__title { transition-delay: 120ms; }
.itin__detail[data-on] .itin__label { transition-delay: 200ms; }
.itin__detail[data-on] .days li { transition-delay: calc(280ms + var(--i, 0) * 90ms); }
.itin__title {
    font-size: clamp(4.2rem, 8.5vw, 7.6rem);
    line-height: 0.9;
    letter-spacing: -0.015em;
}
.itin__label {
    margin-top: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sand);
}
.days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px 40px;
    /* A soft, see-through forest pane behind the days, so the text reads over any photo */
    margin-top: 32px;
    padding: clamp(24px, 2.6vw, 34px);
    border-radius: 20px;
    background: rgba(12, 28, 18, 0.15);
}
.days li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid rgba(225, 204, 150, 0.35); }
.days li::before { content: ''; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.days h4 { display: grid; gap: 6px; font-size: 1.45rem; color: #fff; }
.days__date { font: 700 0.76rem/1.3 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
.days p { font-size: 1rem; line-height: 1.62; color: rgba(255, 255, 255, 0.92); }
.days p + p { margin-top: -2px; }
/* The day's subtitle: the serif, in sand, between the title and the text */
.days .days__sub { margin-top: -4px; font: 400 1.15rem/1.3 var(--serif); color: var(--sand); }

/* Gallery strip */
.gallery { padding-block: var(--space) calc(var(--space) * 0.6); }
.gallery__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 44px;
}
.gallery__head > div:first-child { display: grid; gap: 18px; }
.gallery__head .subline { color: var(--forest); }
.gallery__nav { display: flex; gap: 10px; }
.gallery__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* Entering photos are moved down a little; without this the strip turns vertically scrollable for a moment and catches the trackpad. */
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    --edge: max(clamp(22px, 4.5vw, 56px), calc((100% - 1280px) / 2 + clamp(22px, 4.5vw, 56px)));
    scroll-padding-inline: var(--edge);
    /* Room above for the hover lift, taken back with the margin so the layout does not move */
    padding: 14px var(--edge) 10px;
    margin-top: -14px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-draggable, .stays__track.is-draggable { cursor: grab; }
.gallery__track.is-dragging, .stays__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging img, .stays__track img { pointer-events: none; user-select: none; }
.gallery__track li { flex: 0 0 clamp(230px, 24vw, 330px); scroll-snap-align: start; }
.gallery figure { display: grid; gap: 14px; }
.gallery .photo { overflow: hidden; border-radius: var(--radius); }
.gallery img { aspect-ratio: 9 / 14; object-fit: cover; border-radius: 0; }

/* Gallery popup ("tamna soba"): the photo grows out of its thumbnail into the middle of a dark room,
   and on closing it shrinks back into the thumbnail when that one is on screen. */
.gallery__open { display: block; color: inherit; cursor: zoom-in; -webkit-user-drag: none; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden;
    grid-template: auto minmax(0, 1fr) / 88px minmax(0, 1fr) 88px; align-items: center; justify-items: center;
    background: rgba(18, 38, 25, 0); color: var(--cream); transition: background-color 450ms ease; }
.lb[open] { display: grid; }
.lb::backdrop { background: transparent; }
.lb.is-on { background: rgba(18, 38, 25, 0.96); }
.lb__top { grid-column: 1 / -1; justify-self: stretch; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.lb__count { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; }
/* Both photos of a swipe share the one cell; only the stage takes the horizontal gesture, vertical stays with the browser. */
.lb__stage { grid-column: 2; grid-row: 2; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; touch-action: pan-y; }
.lb__img { grid-area: 1 / 1; display: block; max-width: calc(100vw - 196px); max-height: calc(100dvh - 136px); border-radius: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); user-select: none; -webkit-user-drag: none; }
.lb__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(252, 235, 208, 0.3); color: var(--cream); transition: background-color 300ms ease, color 300ms ease, opacity 400ms ease, transform 160ms ease-out; }
.lb__btn:active { transform: scale(0.94); }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lb__prev { grid-column: 1; grid-row: 2; }
.lb__next { grid-column: 3; grid-row: 2; }
.lb__top, .lb__prev, .lb__next { opacity: 0; transition: opacity 400ms ease; }
.lb.is-on .lb__top, .lb.is-on .lb__prev, .lb.is-on .lb__next { opacity: 1; transition-delay: 150ms; }
.is-locked { overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .lb__btn:hover { background: var(--sand); color: var(--forest); } }
@media (max-width: 700px) {
    .lb { grid-template-columns: 12px minmax(0, 1fr) 12px; }
    .lb__prev, .lb__next { display: none; }
    .lb__img { max-width: calc(100vw - 24px); }
}

/* Stays: only photos of the hotels and resorts, on white between the travellers' words and the prices. Wide and tall photos share one height,
   and the first has the PDF's cut corner at the bottom left. The strip glides freely, without snapping. */
.stays { padding-block: var(--space); color: var(--forest); }
.stays .subline { color: var(--forest); }
.stays__lead { max-width: 64ch; font-size: 1.05rem; line-height: 1.7; color: var(--forest); text-wrap: pretty; }
.stays__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.stays__head > div:first-child { display: grid; gap: 18px; }
.stays__nav { display: flex; gap: 10px; }
.stays .round { border-color: rgba(29, 59, 40, 0.35); color: var(--forest); }
.stays__track {
    --edge: max(clamp(22px, 4.5vw, 56px), calc((100% - 1280px) / 2 + clamp(22px, 4.5vw, 56px)));
    display: flex;
    gap: 18px;
    padding: 0 var(--edge);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.stays__track::-webkit-scrollbar { display: none; }
.stays__track li { --h: clamp(260px, 34vw, 500px); flex: none; width: calc(var(--h) * var(--ar)); }
.stays__track img {
    --r: 22px;
    --c: 52px;
    width: 100%;
    height: var(--h);
    object-fit: cover;
    border-radius: var(--r);
}
/* Only the first photo has its bottom-left corner cut */
.stays__track li:first-child img { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
    .stays__track li:first-child img {
        border-radius: 0;
        clip-path: shape(from var(--r) 0,
            hline to calc(100% - var(--r)), arc to 100% var(--r) of var(--r) cw,
            vline to calc(100% - var(--r)), arc to calc(100% - var(--r)) 100% of var(--r) cw,
            hline to calc(var(--c) + 8px), curve to calc(var(--c) - 6px) calc(100% - 6px) with var(--c) 100%,
            line to 6px calc(100% - var(--c) + 6px), curve to 0 calc(100% - var(--c) - 8px) with 0 calc(100% - var(--c)),
            vline to var(--r), arc to var(--r) 0 of var(--r) cw, close);
    }
}
@media (max-width: 640px) {
    .stays__track { gap: 12px; }
    .stays__track img { --r: 18px; --c: 36px; }
}

/* "Naša priča" page, after a travel brochure: a big title with a short note beside it, one wide photo,
   then text and photos side by side on warm paper. The view section is a set of tabs, one photo each. */
.paper { background: color-mix(in srgb, var(--cream) 42%, #fff); padding-block: clamp(48px, 6vw, 88px) var(--space); }
.sp-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 64px; padding-bottom: clamp(28px, 3vw, 44px); }
/* Same face as every heading on the main page (Newsreader), only larger */
.sp-intro h1 { font: 400 clamp(2.9rem, 6vw, 5.4rem)/0.98 var(--serif); letter-spacing: -0.02em; color: var(--forest); }
.sp-intro__side { display: grid; gap: 22px; max-width: 300px; padding-bottom: 12px; }
.sp-intro__side p { color: var(--forest); line-height: 1.55; }
.sp-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font: 700 0.8rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); transition: gap 400ms var(--ease); }
.sp-link .arrow { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .sp-link:hover { gap: 14px; } }

.sp-wide { display: grid; gap: 12px; }
.sp-wide img { aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 64%; }
.sp-wide figcaption, .sp-way__photo figcaption { justify-self: end; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); }

.sp-trio { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 0.95fr); gap: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px); margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.sp-trio__left img { aspect-ratio: 4 / 4.8; object-fit: cover; object-position: 50% 62%; }
.sp-trio__text { display: grid; gap: 20px; align-content: start; }
.sp-trio__text .subline, .sp-idea .subline, .sp-view .subline { color: var(--forest); }
.sp-trio__text h2 { font-size: clamp(1.9rem, 2.7vw, 2.6rem); line-height: 1.06; }
.sp-trio__text > p:not(.subline) { line-height: 1.75; color: var(--forest); }
.sp-trio__right { grid-column: 3; grid-row: 1 / span 2; }
.sp-trio__right .layers { aspect-ratio: 2 / 3.1; }
.sp-learn { grid-column: 1 / span 2; display: grid; gap: 26px; }
.sp-learn h3 { font-family: var(--serif); font-weight: 400; color: var(--forest); }
.sp-learn__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.sp-learn__grid > div { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid rgba(29, 59, 40, 0.22); }
.sp-learn h4 { display: flex; justify-content: space-between; align-items: start; gap: 16px; font: 700 1.05rem/1.3 var(--font); color: var(--forest); }
.sp-learn h4 svg { flex: none; width: 30px; height: 30px; color: var(--gold); }
.sp-learn p { font-size: 0.96rem; line-height: 1.7; color: var(--muted); }

.sp-idea { display: grid; justify-items: center; gap: 22px; padding-block: clamp(88px, 11vw, 160px) clamp(48px, 6vw, 88px); text-align: center; }
.sp-idea h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); text-wrap: balance; }
.sp-idea__text { display: grid; gap: 16px; max-width: 64ch; color: var(--muted); line-height: 1.75; }

.sp-way { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.sp-way__photo { display: grid; gap: 12px; }
.sp-way__photo .layers { aspect-ratio: 9 / 13.5; }
.sp-way__text { display: grid; gap: 20px; }
.sp-way__text > p { font-size: 1.05rem; line-height: 1.78; color: var(--forest); }
.sp-way__text > .sp-way__close { display: grid; gap: 16px; margin-top: 16px; padding-top: 30px; border-top: 1px solid rgba(29, 59, 40, 0.22); font: 400 clamp(1.6rem, 2.5vw, 2.2rem)/1.2 var(--serif); text-wrap: balance; }
.sp-way__close .signature { color: var(--gold); font-family: var(--font); }

.sp-view { padding-top: var(--space); }
.sp-view__head { display: grid; justify-items: center; gap: 18px; text-align: center; }
.sp-view__head h2 { text-wrap: balance; }
.sp-view__body { display: grid; grid-template-columns: minmax(200px, 0.62fr) minmax(0, 1.9fr); gap: 28px clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.sp-view__tabs { display: grid; gap: 10px; }
.sp-view__tabs button { padding: 15px 20px; border-radius: 12px; background: rgba(29, 59, 40, 0.07); color: var(--forest); font-weight: 700; text-align: left; transition: background-color 400ms ease, color 400ms ease, transform 160ms ease-out; }
.sp-view__tabs button[aria-selected='true'] { background: var(--forest); color: var(--cream); }
.sp-view__tabs button:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .sp-view__tabs button[aria-selected='false']:hover { background: rgba(29, 59, 40, 0.13); } }
.sp-view__panel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.sp-view__panel.is-on { animation: sp-in 600ms var(--ease) both; }
@keyframes sp-in { from { opacity: 0; transform: translateY(8px); } }
.sp-view__copy { display: grid; gap: 16px; }
.sp-view__copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.3vw, 2.2rem); color: var(--forest); }
.sp-view__copy p { line-height: 1.75; color: var(--forest); }
/* Every photo in the tabs has the PDF's cut corner at the bottom right */
.sp-view__panel img {
    --r: 22px;
    --c: 52px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--r);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
}
@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
    .sp-view__panel img {
        border-radius: 0;
        clip-path: shape(from var(--r) 0,
            hline to calc(100% - var(--r)), arc to 100% var(--r) of var(--r) cw,
            vline to calc(100% - var(--c) - 8px), curve to calc(100% - 6px) calc(100% - var(--c) + 6px) with 100% calc(100% - var(--c)),
            line to calc(100% - var(--c) + 6px) calc(100% - 6px), curve to calc(100% - var(--c) - 8px) 100% with calc(100% - var(--c)) 100%,
            hline to var(--r), arc to 0 calc(100% - var(--r)) of var(--r) cw,
            vline to var(--r), arc to var(--r) 0 of var(--r) cw, close);
    }
}
@media (min-width: 901px) { .sp-view__panel:not(.is-on) { display: none; } }

.sp-end__inner { display: grid; justify-items: start; gap: 34px; }
.sp-end__quote { max-width: 28ch; font: 400 clamp(1.9rem, 3.6vw, 3.2rem)/1.12 var(--serif); color: var(--cream); text-wrap: balance; }
.sp-end__cta { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) {
    .sp-intro, .sp-way, .sp-view__body, .sp-view__panel { grid-template-columns: minmax(0, 1fr); }
    .sp-intro__side { max-width: 46ch; }
    .sp-wide img { aspect-ratio: 4 / 3; }
    .sp-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .sp-trio__text, .sp-learn { grid-column: 1 / -1; }
    .sp-trio__left { grid-column: 1; grid-row: 2; }
    .sp-trio__right { grid-column: 2; grid-row: 2; }
    .sp-trio__left img, .sp-trio__right .layers { aspect-ratio: 3 / 4.4; }
    .sp-learn__grid { grid-template-columns: minmax(0, 1fr); }
    .sp-way__photo { max-width: 420px; }
    .sp-view__tabs { display: none; }
    .sp-view__body { gap: 56px; }
    .sp-view__panel .photo { max-width: 460px; }
}



/* Price and terms: cream field, PDF page nine */
.terms__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}
.terms__main { display: grid; gap: 48px; }
.price {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 14px 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(29, 59, 40, 0.25);
}
.price h3 { grid-column: 1 / -1; }
.price p {
    font: 400 clamp(2rem, 3.4vw, 3rem)/1.02 var(--serif);
    text-wrap: balance;
}
.price .price__amount { font-size: clamp(2.8rem, 5vw, 4.4rem); letter-spacing: -0.01em; }
/* The terms open one at a time, like the FAQ; on the cream field the icons sit on white */
.terms__acc .faq__item summary { font: inherit; padding: 24px 0; }
.terms__acc .faq__icon { background: #fff; }
.terms__acc .faq__item:first-child { border-top: 0; }
.terms__acc .faq__answer { padding-right: 0; padding-bottom: 32px; }
.terms__acc .faq__answer p + p { margin-top: 14px; }
.dots { display: grid; gap: 11px; }
.dots li { position: relative; padding-left: 22px; line-height: 1.5; }
.dots li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}
.dots--muted li { color: var(--muted); }
.dots--muted li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.routes ol { display: grid; }
.routes li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 40px;
    padding-block: 18px;
    border-top: 1px solid rgba(29, 59, 40, 0.2);
}
.routes li:last-child { border-bottom: 1px solid rgba(29, 59, 40, 0.2); }
.route {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}
.route__line {
    position: relative;
    flex: 1;
    min-width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}
.route__line::before, .route__line::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.route__line::before { left: 0; }
.route__line::after { right: 0; }
.route__stop { font-style: italic; font-weight: 400; font-size: 0.92rem; color: var(--muted); }
.route__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.terms__photo { position: sticky; top: calc(var(--header) + 24px); }
.terms__photo img { aspect-ratio: 3 / 4; object-fit: cover; }

/* Not for everyone: PDF page ten */
.notfor {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
    padding-block: var(--space);
}
.notfor__photo { position: sticky; top: calc(var(--header) + 24px); }
.notfor__photo .layers { aspect-ratio: 3 / 4.2; }
.notfor__text { display: grid; gap: 22px; }
.notfor__text .subline { color: var(--forest); }
.notfor__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 40px;
    margin-top: 18px;
}
.notfor__list li { position: relative; padding-top: 24px; border-top: 1px solid rgba(29, 59, 40, 0.22); font-size: 0.98rem; }
.notfor__list li::before { content: ''; position: absolute; left: 0; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Testimonials: a few travellers in their own words */

.voices__head { display: grid; gap: 18px; margin-bottom: clamp(44px, 5vw, 72px); }
.voices__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
/* The wall: six stories at once in an even grid; each opens in place */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.wall__card {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 2.4vw, 32px);
    border-radius: 22px;
    background: var(--cream);
    color: var(--forest);
    transition: transform 600ms var(--ease), box-shadow 600ms var(--ease);
}
.wall__card:nth-child(2) { background: var(--sand); }
.wall__card:nth-child(3) { background: var(--mist); }
.wall__card:nth-child(4) { background: #fff; }
.wall__card:nth-child(5) { background: var(--gold); }
.wall__card:nth-child(5) .wall__mark { fill: var(--forest); }
.wall__mark { width: 42px; height: auto; fill: var(--gold); }
.wall__quote { font: 400 clamp(1.4rem, 1.9vw, 1.65rem)/1.15 var(--serif); }
.wall__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    font-size: 0.96rem;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
    mask-image: linear-gradient(#000 60%, transparent);
}
.wall__text p + p { margin-top: 0.9em; }
.wall__card.is-open .wall__text { -webkit-line-clamp: unset; -webkit-mask-image: none; mask-image: none; }
.wall__more { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding-block: 9px; margin-block: -9px; }
.wall__more .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--forest); color: var(--cream); transition: transform 500ms var(--ease), background-color 400ms ease; }
.wall__more[aria-expanded="true"] .icon { transform: rotate(45deg); }
.wall__who { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
    .wall__card:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -28px rgba(12, 28, 18, 0.75); }
    .wall__more:hover .icon { background: var(--mist); color: var(--forest); }
}

@keyframes note-in { from { opacity: 0; transform: translateY(14px); } }

/* Frequent questions */
.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 40px clamp(40px, 6vw, 96px);
    padding-block: var(--space);
    align-items: start;
}
.field > .faq { padding-block: 0; }
.faq__head { display: grid; gap: 18px; position: sticky; top: calc(var(--header) + 24px); }
.faq__head .subline { color: var(--forest); }
.faq__photo { margin-top: 18px; max-width: 380px; }
.faq__photo img { aspect-ratio: 3 / 4.2; object-fit: cover; object-position: 50% 40%; }
.faq__item { border-top: 1px solid rgba(29, 59, 40, 0.2); }
.faq__item:last-child { border-bottom: 1px solid rgba(29, 59, 40, 0.2); }
.faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: color 300ms ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* On hover the question steps in a little, the same in the FAQ and in the terms */
.faq__q, .terms__acc summary h3 { transition: transform 500ms var(--ease); }
.faq__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cream);
    transition: transform 500ms var(--ease), background-color 350ms ease;
}
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open]:not(.is-closing) .faq__icon { transform: rotate(45deg); background: var(--sand); }
.faq__answer { padding: 0 60px 24px 0; color: var(--forest); }
.faq__item[open] .faq__answer { animation: note-in 600ms var(--ease) both; }
@media (hover: hover) and (pointer: fine) {
    .faq__item summary:hover { color: var(--forest); }
    .faq__item summary:hover .faq__icon { background: var(--sand); }
    .faq__item summary:hover .faq__q, .terms__acc summary:hover h3 { transform: translateX(8px); }
}

/* Thank you and contact: brown field, PDF page eleven */
.contact { margin-bottom: var(--frame); }
.contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: start;
}
.contact h2 { color: var(--sand); }
.contact__text { display: grid; gap: 20px; max-width: 60ch; }
.contact__text > p:not(.subline) { color: rgba(225, 204, 150, 0.88); }
.contact .subline { color: var(--cream); }
.contact__photo { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr); gap: 28px; align-items: end; margin-top: 30px; }
.contact__photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.contact__photo figcaption { display: grid; gap: 6px; }
.signature { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sand); }
.contact__dream { margin-top: 18px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.45; color: var(--sand); }
.contact__side { display: grid; gap: 40px; }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 9px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.form input, .form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(225, 204, 150, 0.3);
    border-radius: 16px;
    background: var(--forest-soft);
    color: var(--sand);
    font-size: 1.0625rem;
    letter-spacing: 0;
    text-transform: none;
    caret-color: var(--sand);
    transition: border-color 350ms ease, background-color 350ms ease;
}
.form textarea { resize: vertical; min-height: 150px; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; border-color: var(--sand); background: var(--forest-soft); }
.form [aria-invalid='true'] { border-color: #e9a07a; }
.form__hp { position: absolute; left: -9999px; }
.form button { justify-self: start; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.form__status { min-height: 1.6em; }
.form__status.is-error { color: #f3b896; }

/* Contact rows (contact section and footer) */
.links { display: grid; }
.link-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 4px;
    border-top: 1px solid currentColor;
    border-top-color: color-mix(in srgb, currentColor 22%, transparent);
    text-decoration: none;
}
.links li:last-child .link-row { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.link-row__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 40%, transparent);
    transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease, transform 500ms var(--ease);
}
.link-row .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link-row__text { display: grid; gap: 2px; }
.link-row__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.link-row__value { font-size: clamp(1rem, 3.9vw, 1.12rem); font-weight: 700; }
.link-row .arrow { width: 24px; height: 24px; transition: transform 500ms var(--ease); }
/* "Pišite nam": the whole row is a link to the contact form, the address above it is text one click selects whole */
.link-row--form { position: relative; }
.link-row__go { position: absolute; inset: 0; z-index: 1; border-radius: 8px; }
.link-row__email { position: relative; z-index: 2; justify-self: start; cursor: text; -webkit-user-select: all; user-select: all; }
.link-row__email::selection { background: var(--sand); color: var(--forest); }
.link-row--form:has(.link-row__go:focus-visible) .link-row__icon { background: var(--sand); color: var(--forest); box-shadow: none; }
.contact .link-row:hover .link-row__icon, .contact .link-row:focus-visible .link-row__icon { background: var(--sand); color: var(--forest); box-shadow: none; }
.foot .link-row:hover .link-row__icon, .foot .link-row:focus-visible .link-row__icon { background: var(--mist); color: var(--forest); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
    .link-row:hover .link-row__icon { transform: rotate(-8deg); }
    .link-row:hover .arrow { transform: translate(3px, 3px); }
}

/* Footer: a sage field with the trail of the trip, then the signature and the contacts */
.foot { padding-top: var(--frame); }
.foot__field {
    margin-inline: var(--frame);
    border-radius: var(--radius);
    background: var(--cream);
    padding-block: clamp(80px, 9vw, 128px) clamp(28px, 4vw, 44px);
}
.foot__top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    flex-wrap: wrap;
}
.foot__claim {
    font: 400 clamp(2.6rem, 5vw, 4.4rem)/0.98 var(--serif);
    letter-spacing: -0.015em;
    color: var(--forest);
}

/* The trail: a dashed road with a drawing for every place; the motorbike rides it as the page scrolls */
.trail { position: relative; margin-block: clamp(64px, 8vw, 104px); --badge: 60px; }
.trail__intro { max-width: 36ch; margin-bottom: 8px; font-weight: 700; color: var(--forest); }
.trail__stops {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    padding-top: 64px;
}
.trail__stops a { display: grid; justify-items: start; align-content: start; gap: 4px; text-decoration: none; color: var(--forest); }
.trail__badge {
    display: grid;
    place-items: center;
    width: var(--badge);
    height: var(--badge);
    margin-bottom: 14px;
    border-radius: 50%;
    background: #fff;
    color: var(--forest);
    transition: background-color 700ms ease, color 700ms ease, transform 500ms var(--ease);
}
.pictogram { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trail__badge .pictogram { width: 30px; height: 30px; }
.trail li.is-passed .trail__badge { background: var(--gold); color: var(--forest); }
.trail__city { font: 400 clamp(1.5rem, 2vw, 1.85rem)/1.05 var(--serif); transition: color 350ms ease; }
.trail__date { font-size: 0.86rem; font-weight: 700; color: var(--muted); }
.trail__note { max-width: 18ch; font-size: 0.86rem; line-height: 1.35; opacity: 0.85; }
.trail__line { position: absolute; left: 0; top: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(29, 59, 40, 0.38) 0 7px, transparent 7px 14px); }
.trail__done { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.trail.is-vertical .trail__line { width: 2px; background: repeating-linear-gradient(180deg, rgba(29, 59, 40, 0.38) 0 7px, transparent 7px 14px); }
.trail.is-vertical .trail__done { transform: scaleY(0); transform-origin: top; }
.trail__rider { position: absolute; left: 0; top: 0; z-index: 2; color: var(--forest); will-change: transform; }
.trail__rider .pictogram { display: block; width: 58px; height: 41px; stroke-width: 1.5; }
@media (hover: hover) and (pointer: fine) {
    .trail__stops a:hover .trail__badge { transform: translateY(-4px); background: var(--forest); color: var(--sand); }
    .trail__stops a:hover .trail__city { color: var(--forest); }
}

.foot__base {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px clamp(32px, 6vw, 96px);
    padding-top: 44px;
    border-top: 1px solid rgba(29, 59, 40, 0.2);
}
.foot__brand { display: grid; gap: 18px; justify-items: start; }
.foot__logo img { height: 52px; width: auto; }
/* Our logo and the partner's, joined by the brochure's rule: a hairline with a gold dot at its middle */
.foot__logos { display: flex; align-items: center; gap: clamp(22px, 3vw, 34px); }
.foot__logo { display: block; }
.foot__join { position: relative; align-self: stretch; width: 1px; background: rgba(29, 59, 40, 0.22); }
.foot__join::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
}
.foot__partner { display: block; height: 62px; width: auto; }
.foot__brand p { display: grid; gap: 2px; color: var(--muted); }
.foot__brand .signature { color: var(--forest); }
.foot .links { color: var(--forest); }
.foot__legal { padding-block: 22px; font-size: 0.85rem; color: var(--muted); }
.foot__legal a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease); }
.foot__legal a:hover { color: var(--forest); text-decoration-color: currentColor; }

/* Back to top: follows the window once the hero is gone; the ring fills with the page */
.to-top {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 30px -14px rgba(29, 59, 40, 0.7);
    opacity: 0;
    transform: translateY(18px) scale(0.92);
    pointer-events: none;
    transition: opacity 500ms var(--ease-soft), transform 650ms var(--ease), background-color 350ms ease;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top::before { content: ''; position: absolute; inset: 1px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(225, 204, 150, 0.25); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--sand); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top .icon { position: relative; width: 22px; height: 22px; transition: transform 450ms var(--ease); }
.to-top__label {
    position: absolute;
    right: calc(100% + 10px);
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--forest);
    color: var(--sand);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 350ms ease, transform 450ms var(--ease);
}
.to-top:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
    .to-top:hover { background: var(--forest); }
    .to-top:hover .icon { transform: translateY(-3px); }
    .to-top:hover .to-top__label { opacity: 1; transform: none; }
}

/* Instagram handle inside running text */
.ig {
    font-weight: 700;
    color: var(--forest);
    text-decoration: none;
    background: linear-gradient(var(--sand), var(--sand)) 0 100% / 100% 0.36em no-repeat;
    transition: background-size 450ms var(--ease), color 350ms ease;
}
@media (hover: hover) and (pointer: fine) {
    .ig:hover { background-size: 100% 100%; color: var(--forest); }
}

/* Departures: dates of both terms live in the markup, html[data-term] shows one */
.term-april { display: none; }
[data-term='april'] .term-april, [data-term='mart'] .term-mart { display: inline-block; animation: term-in 700ms var(--ease) both; animation-delay: var(--swap-delay, 0ms); }
[data-term='april'] .term-mart { display: none; }
/* A value that changes with a switch (term, room) rises in out of a soft blur; script.js staggers the delays down the page */
@keyframes term-in { from { opacity: 0; filter: blur(4px); transform: translateY(0.35em); } }
.term-switch {
    display: inline-flex;
    gap: 4px;
    justify-self: start;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.term-switch button {
    padding: 8px 18px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    transition: background-color 400ms ease, color 400ms ease, transform 160ms ease-out;
}
.term-switch button:active { transform: scale(0.96); }
.term-switch [aria-checked='true'] { background: var(--sand); color: var(--forest); }
@media (hover: hover) and (pointer: fine) {
    .term-switch button:not([aria-checked='true']):hover { background: rgba(255, 255, 255, 0.16); }
}

.tickets { display: grid; gap: clamp(48px, 6vw, 88px); padding-block: var(--space); }
.tickets__head { display: grid; gap: 20px; }
.tickets__head > p:last-child { max-width: 46ch; color: var(--muted); }
.tickets__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.ticket {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--forest);
    transition: transform 600ms var(--ease), box-shadow 600ms var(--ease);
}
.ticket:nth-child(2) { background: var(--mist); }
.ticket__main { display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3vw, 40px); }
.ticket__month { font-size: clamp(3.4rem, 5.6vw, 5.4rem); line-height: 0.9; }
.ticket__month span { font: 700 0.9rem/1 var(--font); letter-spacing: 0.08em; vertical-align: super; }
.ticket__dates { font-size: 1.15rem; font-weight: 700; }
.ticket__stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 10px; }
.ticket__stops li { border-top: 1px solid rgba(29, 59, 40, 0.18); font-size: 0.86rem; }
.ticket__stops a { display: grid; gap: 2px; padding-block: 10px; color: inherit; text-decoration: none; border-radius: 6px; }
.ticket__stops a:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.ticket__stops li span:first-child { font: 400 1.2rem/1.1 var(--serif); transition: transform 600ms var(--ease); }
.ticket__stops li span:last-child { color: var(--muted); }
/* The tear line, with a punched hole at each end */
.ticket__stub {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px 24px;
    padding: 24px clamp(26px, 3vw, 40px);
    border-top: 2px dashed rgba(29, 59, 40, 0.3);
}
.ticket__stub::before, .ticket__stub::after {
    content: '';
    position: absolute;
    top: -15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
}
.ticket__stub::before { left: -14px; }
.ticket__stub::after { right: -14px; }
.ticket__note { font-weight: 700; line-height: 1.4; }
.ticket .button { white-space: nowrap; }
/* April's card is light blue itself, so its button takes March's cream; both pour forest on hover */
.ticket:nth-child(2) .button { --bg: var(--cream); }
.ticket.is-chosen { box-shadow: 0 0 0 2px var(--forest); }
@media (hover: hover) and (pointer: fine) {
    .ticket:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(29, 59, 40, 0.55); }
    .ticket.is-chosen:hover { box-shadow: 0 0 0 2px var(--forest), 0 30px 50px -34px rgba(29, 59, 40, 0.55); }
    .ticket__stops li:hover span:first-child { transform: translateX(5px); }
}

/* Hover moments across the page: small, slow, in the palette */
.gallery figure { transition: transform 700ms var(--ease); }
.about__roles li > span { display: block; transition: transform 600ms var(--ease), color 400ms ease; }
.notfor__list li::before { transition: transform 600ms var(--ease), background-color 400ms ease; }
@media (hover: hover) and (pointer: fine) {
    .gallery figure:hover { transform: translateY(-6px); }
    .about__roles li:hover > span { transform: translateX(6px); }
    .notfor__list li:hover::before { transform: scale(1.7); }
    .faq__item summary:hover .faq__icon { transform: rotate(90deg); }
    .faq__item[open]:not(.is-closing) summary:hover .faq__icon { transform: rotate(135deg); }
}

/* Entrances: photos rise and settle, headings and lines draw in, list items follow one another */
.js .reveal-photo img, .js .reveal-photo .layers {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 1100ms var(--ease-soft), transform 1400ms var(--ease-soft);
}
.js .reveal-photo.is-in img, .js .reveal-photo.is-in .layers { opacity: 1; transform: none; }
.js .reveal-photo .layers img { opacity: 1; transform: none; transition: none; }
.js .rv {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 900ms var(--ease-soft), transform 1000ms var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
}
.js .rv.is-in { opacity: 1; transform: none; }
.js .rule.rv { transform: scaleX(0); transform-origin: left; opacity: 0.28; transition: transform 1400ms var(--ease); }
.js .rule.rv.is-in { transform: scaleX(1); }

/* Photos cut into three layers ("Način na koji putujemo", "Za koga nije"): the frame stays, the layers move inside it */
.bevel .layers { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; border-radius: var(--radius); }
.bevel .layers img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; border-radius: 0; clip-path: none; will-change: transform; }
@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
    .bevel .layers {
        --r: 22px;
        --c: 26cqi;
        border-radius: 0;
        clip-path: shape(from var(--r) 0,
            hline to calc(100% - var(--c) - 8px), curve to calc(100% - var(--c) + 6px) 6px with calc(100% - var(--c)) 0,
            line to calc(100% - 6px) calc(var(--c) - 6px), curve to 100% calc(var(--c) + 8px) with 100% var(--c),
            vline to calc(100% - var(--r)), arc to calc(100% - var(--r)) 100% of var(--r) cw,
            hline to calc(var(--c) + 8px), curve to calc(var(--c) - 6px) calc(100% - 6px) with var(--c) 100%,
            line to 6px calc(100% - var(--c) + 6px), curve to 0 calc(100% - var(--c) - 8px) with 0 calc(100% - var(--c)),
            vline to var(--r), arc to var(--r) 0 of var(--r) cw, close);
    }
}

/* Tablet and phone */
@media (max-width: 1180px) {
    .top { grid-template-columns: auto 1fr; }
    .top__nav { display: none; }
    .top__logo { padding-left: 0; }
    .top__menu { display: grid; }
}
@media (max-width: 960px) {
    .ruta__grid { grid-template-columns: minmax(0, 1fr); }
    .map__city text { font-size: 18px; }
    .map__backlabel { font-size: 12px; }
    .tickets__list { grid-template-columns: minmax(0, 1fr); }
    :root { --header: 68px; }
    .top__logo img { height: 28px; }
    .intro, .about__inner, .way__inner, .terms__inner, .notfor, .contact__inner, .faq { grid-template-columns: minmax(0, 1fr); }
    .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq__head { position: static; }
    .faq__photo { display: none; }
    .intro__photos { max-width: 680px; grid-template-columns: 0.5fr 1fr; }
    /* One column: photos take the text's full width, capped at a comfortable line length. */
    .way__photo, .terms__photo, .notfor__photo, .about__photo, .contact__photo { position: static; width: 100%; max-width: 80ch; }
    .contact__photo { grid-template-columns: minmax(0, 1fr); }
    .itin { min-height: 0; grid-template-columns: minmax(0, 1fr); align-content: start; }
    .itin__panel { gap: 10px; padding-bottom: 20px; border-right: 0; background: var(--forest); }
    .itin__tabs {
        display: flex;
        gap: 26px;
        overflow-x: auto;
        margin-inline: calc(-1 * clamp(32px, 3.2vw, 48px));
        padding: 22px clamp(32px, 3.2vw, 48px) 4px;
        scrollbar-width: none;
    }
    .itin__tabs::-webkit-scrollbar { display: none; }
    .itin__tabs button { flex: 0 0 auto; padding: 6px 0; }
    .itin__name { font-size: 1.5rem; }
    .itin__date { font-size: 0.8rem; }
    .itin__images { position: relative; grid-column: 1; grid-row: 2; height: 62vw; max-height: 420px; }
    .itin__detail { grid-column: 1; grid-row: 2 / span 2; justify-content: flex-start; padding-top: 32px; }
    /* Only the open place takes room, so the section is as tall as it; the others fade out on top of it */
    .itin__detail:not([data-on]) { position: absolute; inset: 0 0 auto; }
    .itin__detail .days { margin-top: calc(min(62vw, 420px) - 140px); }
    .itin__images::after { background: linear-gradient(to top, var(--forest) 2%, rgba(29, 59, 40, 0.35) 55%, rgba(12, 28, 18, 0.45)); }
    .trail { --badge: 52px; }
    .trail__stops { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 32px; padding: 0 0 0 60px; }
    .trail__stops a { grid-template-columns: var(--badge) minmax(0, 1fr); column-gap: 18px; row-gap: 2px; align-items: center; }
    .trail__badge { grid-row: 1 / span 3; margin: 0; }
    .trail__badge .pictogram { width: 26px; height: 26px; }
    .trail__note { max-width: none; }
}
@media (max-width: 640px) {
    .ruta__cards { padding: 18px; }
    .ruta__card img { border-width: 6px; }
    .ruta__card .button { padding: 12px 16px 12px 20px; gap: 10px; white-space: nowrap; }
    /* The place's name is right above the button, so the narrow card keeps the label short */
    .ruta__for { display: none; }
    .voices { background: linear-gradient(rgba(29, 59, 40, 0.68), rgba(29, 59, 40, 0.8) 120vw, var(--forest) 175vw), url(images/pozadine/utisci-lotos-uspravno.webp) top / 100% auto no-repeat var(--forest); }
    .wall { grid-template-columns: minmax(0, 1fr); }
    body { font-size: 1rem; }
    .way__grid div, .notfor__list { grid-template-columns: minmax(0, 1fr); }
    .price { grid-template-columns: minmax(0, 1fr); }
    .price .button { justify-self: start; }
    .routes li { grid-template-columns: minmax(0, 1fr); }
    .route { font-size: 0.95rem; gap: 10px; }
    .route__stop { font-size: 0.82rem; }
    .gallery__head, .stays__head { flex-direction: column; align-items: start; }
    .contact__photo { grid-template-columns: minmax(0, 1fr); }
    .contact__photo .photo { max-width: 320px; }
    .top__right .button { padding: 10px 16px; font-size: 0.86rem; }
    .faq__answer { padding-right: 0; }
    .foot__base { grid-template-columns: minmax(0, 1fr); }
    .to-top { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal-photo img, .js .reveal-photo .layers, .js .rv { transform: none !important; transition: opacity 400ms ease; }
    .js .rule.rv { transform: none; }
    .itin__images img, .itin__title, .itin__label, .days li { transform: none !important; }
    .faq__item[open] .faq__answer { animation: none; }
    .button, .gallery figure, .about__roles li > span { transform: none !important; }
}

/* "Formular za rezervaciju mesta": the paper field of "Naša priča", one white card per section with room to breathe,
   Bojan's three-layer photo and the list of sections in a sticky column that scrolls on its own when the screen is
   short. No gold here: numbers, ticks and the chosen mark are light blue (mist). Choices pour cream in from the left
   on hover, like the buttons, and turn forest once chosen. */
.rez { --line: rgba(29, 59, 40, 0.18); --bad: #a8431f; --soft: color-mix(in srgb, var(--mist) 38%, #fff); }
.rez :focus-visible { outline-color: var(--forest); }
.rez-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px clamp(40px, 6vw, 104px); align-items: end; padding-bottom: clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.rez-intro__title { display: grid; gap: 24px; }
.rez-intro h1 { font: 400 clamp(2.7rem, 5.6vw, 5rem)/0.98 var(--serif); letter-spacing: -0.02em; color: var(--forest); }
.rez-intro .subline { color: var(--forest); align-items: flex-start; line-height: 1.5; }
.rez-intro__text { display: grid; gap: 20px; max-width: 56ch; line-height: 1.75; }
.rez-intro__text .rez-intro__lead { font: 400 clamp(1.25rem, 1.7vw, 1.45rem)/1.45 var(--serif); }

.rez-body { display: grid; grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr); gap: clamp(40px, 5vw, 96px); align-items: start; margin-top: clamp(56px, 7vw, 104px); }
.rez-aside {
    position: sticky;
    top: calc(var(--header) + 24px);
    display: grid;
    gap: 32px;
    max-height: calc(100vh - var(--header) - 48px);
    max-height: calc(100dvh - var(--header) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(29, 59, 40, 0.25) transparent;
    padding-right: 4px;
}
.rez-photo .layers { aspect-ratio: auto; height: clamp(240px, 44vh, 480px); transition: filter 900ms ease; }
.rez-steps { display: grid; }
.rez-steps a { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font: 400 1.15rem/1.25 var(--serif); text-decoration: none; transition: color 400ms ease, transform 600ms var(--ease); }
.rez-steps li:last-child a { border-bottom: 1px solid var(--line); }
.rez-steps__dot { position: relative; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(29, 59, 40, 0.3); transition: background-color 450ms ease, border-color 450ms ease, transform 450ms var(--ease); }
.rez-steps__dot::after { content: ''; width: 5px; height: 9px; margin-top: -2px; border: solid var(--forest); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0); transition: transform 450ms var(--ease); }
.rez-steps a.is-current { color: var(--forest); }
.rez-steps a.is-current .rez-steps__dot { border-color: var(--forest); }
.rez-steps a.is-done .rez-steps__dot { background: var(--mist); border-color: var(--mist); }
.rez-steps a.is-done .rez-steps__dot::after { transform: rotate(45deg) scale(1); }

.rez-form { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.rez-sec { min-width: 0; margin: 0; padding: clamp(28px, 4.2vw, 60px); border: 0; border-radius: var(--radius); background: #fff; scroll-margin-top: calc(var(--header) + 24px); }
.rez-sec__head { float: left; width: 100%; display: flex; align-items: center; gap: 18px; padding: 0; margin-bottom: 14px; }
.rez-sec__head h2 { font-size: clamp(1.75rem, 2.6vw, 2.35rem); line-height: 1.05; }
/* Atkinson's figures sit on the centre line, so the number is centred in its circle */
.rez-sec__no { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--forest); font: 700 1.05rem/1 var(--font); font-variant-numeric: tabular-nums; }
.rez-sec__lead, .rez-sec__fields, .rez-terms { clear: both; }
.rez-sec__lead { max-width: 58ch; padding-top: 4px; color: var(--muted); line-height: 1.65; }
.rez-sec__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; margin-top: 36px; }
.rez-sec--licni .rez-sec__fields { row-gap: 30px; }
.rez-sec--potvrda .rez-sec__fields { gap: 12px; }
.rez-q, .rez-check { grid-column: 1 / -1; }
.rez-q { display: grid; gap: 12px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.rez-q--half { grid-column: auto; }
.rez-q[hidden] { display: none; }
.rez-q__label { float: left; width: 100%; padding: 0; font: 400 1.3rem/1.35 var(--serif); color: var(--forest); text-wrap: pretty; }
.rez-q--choice .rez-q__label { margin-bottom: 6px; }
.rez-sec--licni .rez-q__label { font: 700 0.8rem/1.3 var(--font); letter-spacing: 0.05em; text-transform: uppercase; }
.rez-q__no { color: var(--muted); }
.rez-q.is-invalid > .rez-q__label::after { content: 'Izaberite jedan odgovor'; display: block; margin-top: 6px; color: var(--bad); font: 700 0.8rem/1.3 var(--font); letter-spacing: 0.04em; text-transform: none; }

.rez input:not([type='radio'], [type='checkbox']), .rez textarea {
    width: 100%;
    min-height: 56px;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--cream) 26%, #fff);
    color: var(--forest);
    font-size: 1.0625rem;
    transition: border-color 350ms ease, background-color 350ms ease;
}
.rez textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.rez input::placeholder, .rez textarea::placeholder { color: rgba(29, 59, 40, 0.42); }
.rez input:focus-visible, .rez textarea:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; border-color: var(--forest); background: #fff; }
.rez [aria-invalid='true'] { border-color: var(--bad) !important; }
/* The @ of Instagram is text beside the field, so it cannot be deleted */
.rez-prefix { position: relative; display: block; }
.rez-prefix__sign { position: absolute; left: 18px; top: 50%; translate: 0 -52%; font-weight: 700; color: var(--forest); pointer-events: none; }
.rez .rez-prefix input { padding-left: 40px; }

/* Links beside a question or an option: open in a new tab, sit above the option's radio */
.rez-link { position: relative; z-index: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--forest); font: 700 0.78rem/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: gap 400ms var(--ease), opacity 300ms ease; }
.rez-link .arrow { width: 14px; height: 14px; }
.rez-q > .rez-link { clear: both; margin-bottom: 6px; }
.rez-opt__text { flex: 1 1 0; min-width: 0; }
.rez-opt .rez-link { margin-left: auto; flex: none; }

/* One choice: the real radio covers the whole row, so the row is the target and keeps the keyboard */
.rez-opts { clear: both; display: grid; gap: 10px; }
.rez-opts--row { display: flex; flex-wrap: wrap; }
.rez-opt {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 14px 20px 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    line-height: 1.4;
    cursor: pointer;
    transition: color 450ms ease, border-color 450ms ease, background-color 450ms ease, transform 160ms ease-out;
}
.rez-opt::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: scaleX(0); transform-origin: right; transition: transform 600ms var(--ease); }
.rez-opt input, .rez-term input, .rez-check input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rez-opt__mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(29, 59, 40, 0.4); transition: background-color 450ms ease, border-color 450ms ease, box-shadow 450ms ease; }
.rez-opt:active, .rez-check:active { transform: scale(0.98); }
.rez-opt:has(:checked) { border-color: var(--forest); background: var(--forest); color: var(--cream); }
.rez-opt:has(:checked)::before { transform: scaleX(0); }
.rez-opt:has(:checked) .rez-opt__mark { border-color: var(--mist); background: var(--mist); box-shadow: inset 0 0 0 4px var(--forest); }
.rez-opt:has(:checked) .rez-link { color: var(--cream); }
.rez-opt:has(:focus-visible), .rez-term:has(:focus-visible), .rez-check:has(:focus-visible) { outline: 2px solid var(--forest); outline-offset: 3px; }
.rez-q.is-invalid .rez-opt, .rez-terms.is-invalid .rez-term, .rez-check.is-invalid { border-color: var(--bad); }
.rez-extra { clear: both; display: block; margin-top: 4px; animation: rez-in 600ms var(--ease) both; }
@keyframes rez-in { from { opacity: 0; transform: translateY(-6px); } }

/* The two terms as tickets, March cream and April mist, as in "Termini" */
.rez-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rez-term { position: relative; display: grid; gap: 10px; padding: clamp(24px, 2.8vw, 34px); border: 1px solid transparent; border-radius: var(--radius); background: var(--cream); cursor: pointer; transition: transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 450ms ease; }
.rez-term--april { background: var(--mist); }
.rez-term__month { font: 400 clamp(2.6rem, 4vw, 3.6rem)/0.9 var(--serif); white-space: nowrap; }
.rez-term__month span { font: 700 0.85rem/1 var(--font); letter-spacing: 0.08em; vertical-align: super; }
.rez-term__dates { font-weight: 700; }
.rez-term__tick, .rez-check__box, .rez-done__tick { display: grid; place-items: center; flex: none; }
.rez-term__tick { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(29, 59, 40, 0.35); transition: background-color 450ms ease, border-color 450ms ease; }
.rez-term__tick path, .rez-check__box path, .rez-done__tick path { fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 500ms var(--ease) 80ms; }
.rez-term__tick svg { width: 18px; }
.rez-term:has(:checked) { box-shadow: 0 0 0 2px var(--forest); }
.rez-term:has(:checked) .rez-term__tick { background: var(--forest); border-color: var(--forest); }
.rez :checked ~ * > svg path { stroke-dashoffset: 0; }

/* The confirmations: four required, one by choice, each with its tag */
.rez-check { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; line-height: 1.55; cursor: pointer; transition: border-color 450ms ease, background-color 450ms ease, transform 160ms ease-out; }
.rez-check__box { width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid rgba(29, 59, 40, 0.45); transition: background-color 400ms ease, border-color 400ms ease; }
.rez-check__box svg { width: 16px; }
.rez-check__text { flex: 1; }
.rez-check__tag { flex: none; margin-top: 2px; padding: 4px 10px; border-radius: 999px; background: var(--soft); font: 700 0.68rem/1.2 var(--font); letter-spacing: 0.07em; text-transform: uppercase; color: var(--forest); }
.rez-check--optional { margin-top: 22px; }
.rez-check--optional .rez-check__tag { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.rez-check:has(:checked) { border-color: var(--forest); background: color-mix(in srgb, var(--cream) 42%, #fff); }
.rez-check:has(:checked) .rez-check__box { background: var(--forest); border-color: var(--forest); }

/* Sending: the button stays quiet until every required answer is in, then turns forest */
.rez-send { display: grid; gap: 26px; margin-top: 12px; padding-inline: clamp(28px, 4.2vw, 60px); }
.rez-send__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.rez-submit { --bg: var(--soft); --fg: var(--muted); --fill: var(--mist); transition: color 450ms ease, background-color 450ms ease, transform 450ms var(--ease), box-shadow 450ms ease; }
.rez-submit.is-ready { --bg: var(--forest); --fg: var(--cream); box-shadow: 0 18px 32px -20px rgba(12, 28, 18, 0.6); }
.rez-submit[disabled] { opacity: 0.6; cursor: progress; }
.rez-left { color: var(--muted); font-size: 0.95rem; }
.rez-status { min-height: 1.6em; }
.rez-status:empty { display: none; }
.rez-status.is-error { color: var(--bad); font-weight: 700; }

.rez-done { display: grid; justify-items: start; gap: 20px; padding: clamp(36px, 5vw, 76px); border-radius: var(--radius); background: #fff; animation: rez-in 800ms var(--ease) both; }
.rez-done:focus { outline: none; }
.rez-done__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); }
.rez-done__tick svg { width: 30px; }
.rez-done__tick path { animation: rez-draw 700ms var(--ease) 350ms both; }
@keyframes rez-draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
.rez-done p { max-width: 54ch; line-height: 1.7; }

@media (hover: hover) and (pointer: fine) {
    .rez-steps a:hover { color: var(--forest); transform: translateX(5px); }
    .rez input:not([type='radio'], [type='checkbox']):hover, .rez textarea:hover { border-color: rgba(29, 59, 40, 0.45); }
    .rez-opt:not(:has(:checked)):hover { border-color: rgba(29, 59, 40, 0.45); }
    .rez-opt:not(:has(:checked)):hover::before { transform: scaleX(1); transform-origin: left; }
    .rez-opt:not(:has(:checked)):hover .rez-opt__mark { border-color: var(--forest); }
    .rez-term:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(29, 59, 40, 0.55); }
    .rez-term:has(:checked):hover { box-shadow: 0 0 0 2px var(--forest), 0 30px 50px -34px rgba(29, 59, 40, 0.55); }
    .rez-check:not(:has(:checked)):hover { border-color: rgba(29, 59, 40, 0.45); background: color-mix(in srgb, var(--cream) 28%, #fff); }
    .rez-link:hover { gap: 11px; }
    .rez-photo:hover .layers { filter: saturate(1.12) brightness(1.04); }
    .rez-submit.is-ready:hover { color: var(--forest); }
}
@media (max-width: 1100px) {
    .rez-body { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px; }
    .rez-sec__fields { grid-template-columns: minmax(0, 1fr); }
    .rez-q--half { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .rez-intro, .rez-body { grid-template-columns: minmax(0, 1fr); }
    .rez-aside { position: static; max-height: none; overflow: visible; padding-right: 0; }
    .rez-photo { max-width: 440px; }
    .rez-photo .layers { height: clamp(320px, 60vh, 520px); }
    .rez-steps { display: none; }
    .rez-sec__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rez-q--half { grid-column: auto; }
}
@media (max-width: 640px) {
    .rez-sec { padding: 26px 20px 30px; }
    .rez-sec__fields { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 28px; }
    .rez-q--half { grid-column: 1 / -1; }
    .rez-sec__no { width: 38px; height: 38px; font-size: 0.95rem; }
    .rez-terms { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .rez-term { padding: 22px 20px; }
    .rez-term__tick { top: 14px; right: 14px; width: 28px; height: 28px; }
    .rez-opts--row .rez-opt { flex: 1 1 auto; }
    .rez-opt { flex-wrap: wrap; }
    .rez-opt__text { flex-basis: calc(100% - 34px); }
    .rez-opt .rez-link { margin-left: 34px; }
    .rez-check { flex-wrap: wrap; }
    .rez-check__text { flex: 1 1 calc(100% - 40px); }
    .rez-check__tag { margin-left: 38px; }
    .rez-send { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .rez-opt, .rez-term, .rez-check, .rez-steps a { transform: none !important; }
    .rez-extra, .rez-done, .rez-done__tick path { animation: none; }
}

/* "Informacije o rezervaciji i plaćanju": a reading page. Paper intro with Irena on the pagoda stairs in three
   layers, the terms in one readable column beside a sticky table of contents, the price as two tickets, the
   instalments as a dotted route, the cancellation fees as bars that fill as they come into view. No gold: the
   accents are light blue (mist) and forest. */
.uv-top { padding-bottom: clamp(64px, 8vw, 120px); }
.uv-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.uv-intro__text { display: grid; gap: 22px; justify-items: start; max-width: 62ch; line-height: 1.75; }
.uv-intro h1 { font: 400 clamp(2.7rem, 5.4vw, 4.9rem)/0.98 var(--serif); letter-spacing: -0.02em; color: var(--forest); }
.uv-intro .subline { color: var(--forest); align-items: flex-start; line-height: 1.5; margin-bottom: 6px; }
.uv-term { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 0 6px; }
.uv-term__label { font: 700 0.8rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.uv-term__dates { font-weight: 700; }
.uv-toc__term { display: grid; gap: 12px; justify-items: start; padding-bottom: 22px; margin-bottom: 4px; border-bottom: 1px solid rgba(29, 59, 40, 0.14); }
.uv-intro__lead { font: 400 clamp(1.3rem, 1.8vw, 1.55rem)/1.4 var(--serif); }
.uv-intro .button { margin-top: 10px; }
.uv-intro__photo .layers { aspect-ratio: 3 / 4.2; }

.uv-body { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr); gap: clamp(40px, 6vw, 104px); align-items: start; padding-block: var(--space); }
.uv-toc { position: sticky; top: calc(var(--header) + 32px); display: grid; gap: 14px; max-height: calc(100dvh - var(--header) - 64px); overflow-y: auto; scrollbar-width: thin; }
.uv-toc__title { font: 700 0.8rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.uv-toc ol { display: grid; counter-reset: toc; }
.uv-toc a { position: relative; display: block; padding: 9px 0 9px 22px; border-top: 1px solid rgba(29, 59, 40, 0.14); color: var(--muted); font: 400 1.08rem/1.3 var(--serif); text-decoration: none; transition: color 400ms ease, transform 600ms var(--ease); }
.uv-toc li:last-child a { border-bottom: 1px solid rgba(29, 59, 40, 0.14); }
.uv-toc a::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(29, 59, 40, 0.35); transition: background-color 400ms ease, box-shadow 400ms ease, transform 500ms var(--ease); }
.uv-toc a.is-current { color: var(--forest); }
.uv-toc a.is-current::before { background: var(--forest); box-shadow: none; transform: scale(1.25); }

.uv-main { display: grid; gap: clamp(64px, 7vw, 104px); max-width: 760px; }
.uv-sec { display: grid; gap: 16px; justify-items: start; scroll-margin-top: calc(var(--header) + 28px); line-height: 1.65; }
.uv-sec > * { max-width: 64ch; }
.uv-sec h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.04; margin-bottom: 6px; padding-top: 26px; border-top: 1px solid rgba(29, 59, 40, 0.16); width: 100%; max-width: none; }
/* A subheading sits closer to its own text than to the block above it */
.uv-sec h3 { font-size: clamp(1.3rem, 1.6vw, 1.5rem); line-height: 1.25; margin-top: 22px; margin-bottom: -6px; }
.uv-sec .button { margin-block: 4px 6px; }
.uv-lead { font: 400 clamp(1.25rem, 1.7vw, 1.45rem)/1.45 var(--serif); }
.uv-lead strong { font-weight: 400; white-space: nowrap; }
.uv-small { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
/* A sentence that must not be missed: mist bar on the left, the colour of the form */
.uv-note { padding: 14px 0 14px 20px; border-left: 3px solid var(--mist); }
.uv-list { display: grid; }
.uv-list li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid rgba(29, 59, 40, 0.1); line-height: 1.5; }
.uv-list li:first-child { border-top: 0; padding-top: 2px; }
.uv-list li::before { content: ''; position: absolute; left: 0; top: calc(10px + 0.75em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--forest); opacity: 0.7; }
.uv-list li:first-child::before { top: calc(2px + 0.75em - 3px); }
/* An inline link in sentence case: easier to read than the uppercase label links */
/* The arrow is inline, so a wrapped link keeps it right after the last word */
.uv-link { display: inline; color: var(--forest); font-weight: 700; line-height: 1.45; text-decoration: underline; text-decoration-color: rgba(29, 59, 40, 0.3); text-underline-offset: 0.25em; transition: text-decoration-color 300ms ease; }
.uv-link .arrow { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -0.28em; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .uv-link:hover { text-decoration-color: currentColor; } .uv-link:hover .arrow { transform: translate(3px, 3px); } }
/* Included and not included: two equal cards, side by side */
.uv-incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: none; margin-top: 12px; }
.uv-incl__card { display: grid; gap: 14px; align-content: start; justify-items: start; padding: clamp(24px, 2.8vw, 34px); border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(29, 59, 40, 0.14); }
.uv-incl__card--in { background: var(--cream); box-shadow: none; }
.uv-incl__card h3 { margin: 0 0 2px; }
.uv-incl__card .uv-link { margin-top: 6px; }

/* Coloured cards for payment and "Zajedno na putovanju" */
.uv-sec--card { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: color-mix(in srgb, var(--mist) 26%, #fff); max-width: none; }
.uv-sec--card > * { max-width: 64ch; }
.uv-sec--card h2 { border-top: 0; padding-top: 0; }
.uv-sec--cream { background: var(--cream); }

/* The price as two tickets, double room cream, single room mist */
.uv-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: none; margin-block: 8px; }
.uv-price { display: grid; gap: 8px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--cream); transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); }
.uv-price--single { background: var(--mist); }
.uv-price__label { font: 700 0.8rem/1.3 var(--font); letter-spacing: 0.06em; text-transform: uppercase; }
.uv-price__amount { font: 400 clamp(2.6rem, 4.4vw, 3.6rem)/1 var(--serif); letter-spacing: -0.01em; }
.uv-price__extra { justify-self: start; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); font-size: 0.85rem; font-weight: 700; }

/* Payment options */
.uv-option { display: grid; gap: 14px; width: 100%; max-width: none; padding-top: 24px; border-top: 1px solid rgba(29, 59, 40, 0.14); }
.uv-option__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.uv-option h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.uv-option__tag { font: 700 0.75rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.uv-switch { background: #fff; box-shadow: inset 0 0 0 1px rgba(29, 59, 40, 0.16); }
.uv-switch button { color: var(--forest); padding: 8px 16px; font-size: 0.88rem; }
.uv-switch [aria-checked='true'] { background: var(--forest); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .uv-switch button:not([aria-checked='true']):hover { background: rgba(29, 59, 40, 0.06); } }

/* The instalments as a route: a line with a dot at every payment */
.uv-rates { position: relative; display: grid; margin-block: 6px; }
.uv-rates::before { content: ''; position: absolute; left: 8px; top: 26px; bottom: 58px; width: 1.5px; background: rgba(29, 59, 40, 0.3); transform-origin: top; transition: transform 1400ms var(--ease); }
.js .uv-rates:not(.is-in)::before { transform: scaleY(0); }
.uv-rates li { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding-block: 14px; }
.uv-rates__dot { grid-row: 1 / span 2; width: 18px; height: 18px; border-radius: 50%; background: var(--mist); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mist) 26%, #fff); }
.uv-rates__name { font-weight: 700; }
.uv-rates__due { grid-column: 2; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.uv-rates__amount { grid-column: 3; grid-row: 1 / span 2; font: 400 clamp(1.6rem, 2.4vw, 2rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.uv-rates__total { margin-top: 6px; padding-top: 18px !important; border-top: 1px solid rgba(29, 59, 40, 0.2); }
.uv-rates__total .uv-rates__name { grid-column: 2; grid-row: 1 / span 2; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.uv-room-single { display: none; }
.uv-room-double { display: inline-block; animation: term-in 700ms var(--ease) both; animation-delay: var(--swap-delay, 0ms); }
[data-room-view='single'] .uv-room-single { display: inline-block; animation: term-in 700ms var(--ease) both; animation-delay: var(--swap-delay, 0ms); }
[data-room-view='single'] .uv-room-double { display: none; }

.uv-pay { display: grid; gap: 12px; }
.uv-pay li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.uv-pay__flag { min-width: 86px; padding: 5px 12px; border-radius: 999px; background: #fff; text-align: center; font: 700 0.75rem/1.4 var(--font); letter-spacing: 0.06em; text-transform: uppercase; }

/* Cancellation: how to cancel, then the fees as a scale */
.uv-mail { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; width: 100%; max-width: none; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: color-mix(in srgb, var(--mist) 26%, #fff); }
.uv-mail__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: var(--cream); }
.uv-mail h3 { margin: 0 0 8px; }
.uv-mail a { color: var(--forest); text-decoration-color: rgba(29, 59, 40, 0.35); }
.uv-fees { display: grid; width: 100%; max-width: none; margin-block: 4px; }
.uv-fees li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 8px 24px; align-items: center; padding-block: 14px; border-top: 1px solid rgba(29, 59, 40, 0.12); }
.uv-fees li:last-child { border-bottom: 1px solid rgba(29, 59, 40, 0.12); }
.uv-fees__when { font-weight: 700; line-height: 1.4; }
.uv-fees__date { display: block; margin-top: 3px; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.uv-fees__what { line-height: 1.4; }
.uv-fees__bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--mist) 30%, #fff); overflow: hidden; }
.uv-fees__bar span { display: block; width: calc(var(--p) * 1%); min-width: 6px; height: 100%; border-radius: inherit; background: color-mix(in srgb, var(--forest) calc(30% + var(--p) * 0.7%), var(--mist)); transform-origin: left; transition: transform 1100ms var(--ease); transition-delay: calc(var(--i) * 90ms); }
.js .uv-fees:not(.is-in) .uv-fees__bar span { transform: scaleX(0); }

/* "Zajedno na putovanju": the five agreements, numbered in light blue circles */
.uv-together { display: grid; gap: 12px; width: 100%; max-width: none; margin-block: 6px; }
.uv-together li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); line-height: 1.6; transition: transform 600ms var(--ease), background-color 400ms ease; }
.uv-together__no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); font: 700 0.95rem/1 var(--font); }

/* Closing words on forest, beside the contact rows */
.uv-end { margin-bottom: var(--frame); }
.uv-end__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.uv-end__text { display: grid; gap: 20px; justify-items: start; max-width: 60ch; }
.uv-end__quote { font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.25 var(--serif); color: var(--cream); text-wrap: balance; }
.uv-end__text > p:not(.uv-end__quote, .signature) { color: rgba(225, 204, 150, 0.9); line-height: 1.7; }

@media (hover: hover) and (pointer: fine) {
    .uv-toc a:hover { color: var(--forest); transform: translateX(5px); }
    .uv-price:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(29, 59, 40, 0.55); }
    .uv-together li:hover { transform: translateX(6px); background: #fff; }
    .uv-intro__photo:hover .layers { filter: saturate(1.12) brightness(1.04); }
    .uv-end .link-row:hover .link-row__icon { background: var(--sand); color: var(--forest); box-shadow: none; }
    .uv-incl__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(29, 59, 40, 0.14), 0 26px 44px -32px rgba(29, 59, 40, 0.5); }
    .uv-incl__card--in:hover { box-shadow: 0 26px 44px -32px rgba(29, 59, 40, 0.5); }
    .uv-list li:hover { transform: translateX(4px); }
    .uv-list li:hover::before { transform: scale(1.6); opacity: 1; }
    .uv-rates li:not(.uv-rates__total):hover .uv-rates__dot { transform: scale(1.18); box-shadow: 0 0 0 8px color-mix(in srgb, var(--mist) 34%, #fff); }
    .uv-rates li:not(.uv-rates__total):hover .uv-rates__amount { transform: translateX(-4px); }
    .uv-fees li:hover .uv-fees__bar span { filter: brightness(1.25) saturate(1.2); }
    .uv-fees li:hover .uv-fees__when { transform: translateX(4px); }
    .uv-mail:hover .uv-mail__icon { transform: rotate(-10deg) scale(1.06); }
    .uv-pay li:hover .uv-pay__flag { background: var(--forest); color: var(--cream); }
    .uv-note:hover { border-left-color: var(--forest); }
    .uv-together li:hover .uv-together__no { background: var(--forest); color: var(--cream); transform: scale(1.06); }
}
/* Hover transitions: slow and small, like the rest of the site */
.uv-incl__card { transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); }
.uv-list li { transition: transform 600ms var(--ease); }
.uv-list li::before { transition: transform 500ms var(--ease), opacity 400ms ease; }
.uv-rates__dot { transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.uv-rates__amount, .uv-fees__when { transition: transform 600ms var(--ease); }
.uv-fees__bar span { transition: transform 1100ms var(--ease), filter 400ms ease; transition-delay: calc(var(--i) * 90ms), 0ms; }
.uv-mail__icon { transition: transform 600ms var(--ease); }
.uv-pay__flag { transition: background-color 400ms ease, color 400ms ease; }
.uv-note { transition: border-color 400ms ease; }
.uv-together__no { transition: background-color 400ms ease, color 400ms ease, transform 500ms var(--ease); }
.uv-intro__photo .layers { transition: filter 900ms ease; }
@media (max-width: 1100px) {
    .uv-body { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr); gap: 40px; }
    .uv-incl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
    .uv-intro, .uv-body, .uv-end__inner { grid-template-columns: minmax(0, 1fr); }
    .uv-intro__photo { max-width: 440px; }
    .uv-toc { position: static; max-height: none; padding: 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--cream) 42%, #fff); }
    .uv-body { padding-top: 48px; gap: 64px; }
}
@media (max-width: 640px) {
    .uv-prices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .uv-fees li { grid-template-columns: minmax(0, 1fr) auto; }
    .uv-fees__bar { grid-column: 1 / -1; grid-row: 2; }
    .uv-fees__what { grid-column: 1 / -1; grid-row: 3; color: var(--muted); }
    .uv-pay li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .uv-pay__flag { justify-self: start; }
    .uv-rates li { column-gap: 14px; }
    .uv-option__head { align-items: start; }
    .uv-mail { grid-template-columns: minmax(0, 1fr); }
    .uv-together li { padding: 14px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .uv-fees__bar span, .uv-rates::before { transition: none; transform: none !important; }
    .uv-toc a, .uv-price, .uv-together li, .uv-incl__card, .uv-list li, .uv-fees__when, .uv-rates__amount, .uv-mail__icon { transform: none !important; }
    .term-mart, .term-april, .uv-room-double, .uv-room-single { animation-duration: 300ms !important; }
}
