@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night: #0a0d12;
  --snow: #f5f2ea;
  --mist: rgba(245, 242, 234, 0.78);
  --faint: rgba(245, 242, 234, 0.5);
  --red: #d8321f;            /* červená turistická značka */
  --plate: #f3efe2;          /* smaltovaná tabuľka smerovníka */
  --ink: #15171a;
  --pad: clamp(20px, 4.2vw, 68px);
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--night); }
body { font-family: "Archivo", system-ui, sans-serif; color: var(--snow); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior: none; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

/* film */
#film { position: fixed; inset: 0; width: 100%; height: 100%; display: block; transform: scale(var(--zoom, 1.03)) translate3d(var(--mx, 0px), var(--my, 0px), 0); will-change: transform; }
.shade { position: fixed; inset: 0; pointer-events: none; background:
  radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(6, 8, 12, 0.55) 100%),
  linear-gradient(90deg, rgba(6, 8, 12, var(--scrim, 0.5)) 0%, rgba(6, 8, 12, calc(var(--scrim, 0.5) * 0.45)) 38%, transparent 68%),
  linear-gradient(0deg, rgba(6, 8, 12, 0.6) 0%, transparent 34%),
  linear-gradient(180deg, rgba(6, 8, 12, 0.5) 0%, transparent 22%); }
.shade::after { content: ""; position: absolute; inset: 0; background: var(--night); opacity: var(--dim, 0); }
.grain { position: fixed; inset: -50%; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 0.9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-2%, 3%); } 80% { transform: translate(4%, 1%); } 100% { transform: translate(0, 0); } }
.bars i { position: fixed; left: 0; right: 0; height: calc(var(--bar, 0) * 11vh); background: #000; pointer-events: none; }
.bars i:first-child { top: 0; } .bars i:last-child { bottom: 0; }

/* značka: biely, červený, biely pás */
.blaze { display: inline-block; width: 22px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #fff 0 33.3%, var(--red) 33.3% 66.6%, #fff 66.6% 100%); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); flex: none; }
.blaze.big { width: 66px; height: 48px; border-radius: 4px; }

/* načítanie */
#loader { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: var(--night); transition: opacity 0.9s ease, visibility 0.9s; }
body:not(.loading) #loader { opacity: 0; visibility: hidden; }
.loader-in { text-align: center; }
.loader-alt { margin-top: 26px; font-stretch: 75%; font-weight: 600; font-size: clamp(44px, 8vw, 84px); letter-spacing: -0.01em; line-height: 1; }
.loader-txt { margin-top: 10px; color: var(--faint); font-size: 17px; }

/* hlavička */
.top { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: clamp(16px, 2.2vw, 28px) var(--pad); transition: opacity 0.5s ease; }
body.loading .top, body.loading .trail, body.loading .readout { opacity: 0; }
.brand { display: flex; align-items: center; gap: 12px; font-stretch: 112%; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.top nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 16px; font-weight: 500; color: var(--mist); }
.top nav a { position: relative; padding: 6px 0; transition: color 0.25s ease; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.top nav a:hover, .top nav a.on { color: var(--snow); }
.top nav a.on::after { transform: scaleX(1); }
.book { font-weight: 650; font-size: 16px; padding: 11px 18px 12px; border-radius: 999px; background: var(--snow); color: var(--ink); transition: transform 0.2s ease, background 0.2s ease; }
.book:hover { background: #fff; transform: translateY(-1px); }

/* chodník vľavo */
.trail { position: fixed; z-index: 9; left: var(--pad); top: 50%; transform: translateY(-50%); height: min(46vh, 380px); display: flex; gap: 16px; opacity: calc(1 - var(--ho, 1)); }
.trail-line { position: relative; width: 2px; height: 100%; background: rgba(245, 242, 234, 0.22); border-radius: 2px; margin-left: 10px; }
.trail-done { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--g, 0) * 100%); background: var(--snow); border-radius: 2px; }
.trail-mark { position: absolute; left: 50%; top: calc(var(--g, 0) * 100%); transform: translate(-50%, -50%); }
.trail ol { list-style: none; display: flex; flex-direction: column; justify-content: space-between; height: 125%; margin-top: -1.5%; font-size: 14px; font-weight: 550; color: var(--faint); }
.trail li { cursor: pointer; transition: color 0.3s ease, transform 0.4s var(--ease); height: 20%; display: flex; align-items: flex-start; line-height: 1; padding-top: 1px; }
.trail li.on { color: var(--snow); transform: translateX(4px); }
.trail li:hover { color: var(--snow); }

/* čas a výška */
.readout { position: fixed; z-index: 9; right: var(--pad); bottom: clamp(18px, 3vw, 34px); text-align: right; font-stretch: 75%; line-height: 1; transition: opacity 0.5s ease; }
.clock { display: block; font-weight: 650; font-size: clamp(34px, 4.4vw, 62px); letter-spacing: 0.01em; }
.alt { display: block; margin-top: 8px; font-size: 17px; font-weight: 500; color: var(--mist); font-stretch: 88%; }
.alt b { font-weight: 650; color: var(--snow); }
.clock, .alt b, .loader-alt span { font-variant-numeric: tabular-nums; }

/* scény */
.stage { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.scene { position: absolute; inset: 0; }
.beat { position: absolute; max-width: min(640px, calc(100vw - 2 * var(--pad) - 70px)); opacity: 0; visibility: hidden; transition: opacity 0.55s ease, visibility 0.55s; }
.beat.in { opacity: 1; visibility: visible; }
.beat > * { transform: translateY(28px); opacity: 0; transition: transform 0.95s var(--ease), opacity 0.7s ease; }
.beat.in > * { transform: none; opacity: 1; }
.beat.in > *:nth-child(2) { transition-delay: 0.09s; } .beat.in > *:nth-child(3) { transition-delay: 0.18s; } .beat.in > *:nth-child(4) { transition-delay: 0.27s; }
.beat.out > * { transform: translateY(-22px); }
.b-left { left: calc(var(--pad) + 96px); }
.b-right { right: var(--pad); }
.b-center { left: 50%; transform: translateX(-50%); width: min(620px, calc(100vw - 2 * var(--pad))); max-width: none; }
.b-wide { left: calc(var(--pad) + 96px); right: var(--pad); max-width: none; }
.b-mid { top: 50%; translate: 0 -50%; }
.b-low { bottom: clamp(96px, 15vh, 170px); max-width: min(820px, calc(100vw - 2 * var(--pad) - 70px)); }
.interactive.in { pointer-events: auto; }

h2 { font-stretch: 112%; font-weight: 680; font-size: clamp(38px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.body { margin-top: clamp(16px, 2vw, 26px); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--mist); max-width: 31em; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45); }
.say { font-stretch: 108%; font-weight: 560; font-size: clamp(24px, 3vw, 44px); line-height: 1.16; letter-spacing: -0.025em; text-wrap: balance; text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4); }
.say em { font-style: normal; color: var(--faint); }

/* úvod */
.hero { position: absolute; left: 0; right: 0; top: 50%; text-align: center; transform: translateY(calc(-50% - var(--hy, 0px))); opacity: var(--ho, 1); padding: 0 var(--pad); }
.hero h1 { font-stretch: 125%; font-weight: 760; text-transform: uppercase; font-size: clamp(44px, 10.2vw, 184px); line-height: 0.9; letter-spacing: calc(-0.03em + var(--hs, 0em)); text-shadow: 0 4px 60px rgba(0, 0, 0, 0.35); white-space: nowrap; }
.hero h1 span { display: inline-block; }
.hero p { margin-top: clamp(14px, 2vw, 26px); font-size: clamp(16px, 1.6vw, 22px); font-weight: 500; color: var(--mist); letter-spacing: 0.01em; }
.cue { position: absolute; left: 50%; bottom: clamp(26px, 6vh, 64px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--mist); opacity: var(--ho, 1); white-space: nowrap; }
.cue-line { width: 2px; height: 46px; background: linear-gradient(180deg, var(--snow) 0 50%, rgba(245, 242, 234, 0.2) 50% 100%); background-size: 100% 200%; animation: cue 1.8s var(--ease) infinite; border-radius: 2px; }
@keyframes cue { 0% { background-position: 0 100%; } 100% { background-position: 0 -100%; } }

/* smerovník */
.post { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: clamp(18px, 2.4vw, 30px); filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35)); }
.post-top { background: var(--red); color: #fff; font-stretch: 88%; font-weight: 700; font-size: 17px; padding: 7px 14px 8px; border-radius: 3px; letter-spacing: 0.01em; }
.post-top span { font-weight: 500; margin-left: 12px; opacity: 0.92; }
.post-arm { position: relative; display: flex; align-items: center; white-space: nowrap; gap: 22px; background: var(--plate); color: var(--ink); font-stretch: 88%; font-weight: 650; font-size: 18px; padding: 9px 58px 10px 14px; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
.post-time { font-weight: 500; }
.post-tip { position: absolute; right: 22px; top: 0; bottom: 0; width: 20px; background: linear-gradient(180deg, #fff 0 30%, var(--red) 30% 70%, #fff 70% 100%); box-shadow: -1px 0 0 rgba(0, 0, 0, 0.12); }

/* čísla cesty */
.figures { display: flex; gap: clamp(26px, 6vw, 96px); flex-wrap: wrap; }
.figures dt { font-stretch: 75%; font-weight: 650; font-size: clamp(54px, 8.4vw, 132px); line-height: 0.92; letter-spacing: -0.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.figures dd { margin-top: 10px; font-size: clamp(16px, 1.4vw, 20px); color: var(--mist); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); }

/* fakty o chate */
.facts { list-style: none; width: min(460px, calc(100vw - 2 * var(--pad))); background: rgba(10, 13, 18, 0.5); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-radius: 18px; padding: 8px 24px; box-shadow: inset 0 0 0 1px rgba(245, 242, 234, 0.12), 0 30px 70px rgba(0, 0, 0, 0.35); }
.facts li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 17px 0; font-size: 17px; line-height: 1.4; }
.facts li + li { border-top: 1px solid rgba(245, 242, 234, 0.12); }
.facts b { font-stretch: 112%; font-weight: 650; }
.facts span { color: var(--mist); }

/* večera */
.menu { margin-top: clamp(22px, 3vw, 36px); padding-left: 18px; border-left: 2px solid var(--red); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--snow); }
.menu-h { font-stretch: 112%; font-weight: 650; color: var(--faint); margin-bottom: 6px; }

/* rezervácia */
.booking { text-align: center; background: rgba(10, 13, 18, 0.56); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); border-radius: 26px; padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px); box-shadow: inset 0 0 0 1px rgba(245, 242, 234, 0.13), 0 40px 100px rgba(0, 0, 0, 0.5); }
.booking h2 { font-size: clamp(36px, 4.6vw, 68px); }
.booking .body { margin-left: auto; margin-right: auto; }
.dates { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dates button { font-size: 16px; font-weight: 550; padding: 12px 18px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(245, 242, 234, 0.24); color: var(--mist); transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.dates button:hover { color: var(--snow); box-shadow: inset 0 0 0 1px rgba(245, 242, 234, 0.5); }
.dates button.on { background: var(--snow); color: var(--ink); box-shadow: none; }
.cta { margin-top: 22px; width: 100%; font-stretch: 108%; font-weight: 700; font-size: 19px; padding: 19px 24px 20px; border-radius: 16px; background: var(--red); color: #fff; transition: transform 0.2s ease, filter 0.2s ease; }
.cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cta:active { transform: translateY(1px); }
.fine { margin-top: 18px; font-size: 14px; line-height: 1.45; color: var(--faint); }

#track { position: relative; width: 1px; pointer-events: none; }

@media (max-width: 820px) {
  .trail, .top nav { display: none; }
  .book { margin-left: auto; }
  h2 { font-size: clamp(30px, 9.4vw, 54px); }
  .post-arm { font-size: 16px; gap: 14px; }
  .post-top { font-size: 15px; }
  .cue { bottom: 96px; }
  .shade { background:
    linear-gradient(0deg, rgba(6, 8, 12, 0.86) 0%, rgba(6, 8, 12, 0.55) 38%, transparent 72%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.55) 0%, transparent 20%); }
  .b-left, .b-wide { left: var(--pad); }
  .b-mid { top: auto; bottom: clamp(110px, 17vh, 170px); translate: none; }
  .b-right { left: var(--pad); right: var(--pad); }
  .b-center.b-mid { top: 50%; bottom: auto; translate: 0 -50%; }
  .readout { bottom: 16px; }
  .clock { font-size: 30px; } .alt { font-size: 14px; margin-top: 5px; }
  .figures { gap: 18px 30px; }
  .facts li { grid-template-columns: 82px 1fr; font-size: 16px; padding: 13px 0; }
  .hero h1 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .grain, .cue-line { animation: none; } .beat > * { transition-duration: 0.01s; } }
