:root {
  color-scheme: light;
  --snow: #f2f5f7;
  --paper: #fff;
  --ink: #0f1d29;
  --muted: #4e6374;
  --line: #d5dde3;
  --piste: #1f4fd8;
  --piste-soft: #e6edfd;
  --night: #0b1520;
  --night-hi: #111e2b;
  --ice: #a9c5ff;
  --glow: #d5e4ff;
  --night-text: #becbd9;
  --night-line: #ffffff30;
  --ok: #1f4fd8;
  --ok-soft: #dfe8fc;
  --r: 4px;
  --gutter: clamp(18px, 5vw, 90px);
  --section: clamp(60px, 9vw, 136px);
  --limit: 1512px;
  --rail-pad: max(var(--gutter), calc((100% - var(--limit))/2 + var(--gutter)));
}

.wrap { max-width: var(--limit); padding-inline: var(--gutter); }
main [id] { scroll-margin-top: 84px; }
section { padding-block: var(--section); }
h2 { font-size: clamp(34px, 5.65vw, 77px); line-height: .99; letter-spacing: -.052em; font-stretch: 112%; }
.eyebrow, .terrain-label { font: 500 11px/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { color: var(--piste); }
.eyebrow::before { width: 13px; }
.terrain-label { display: flex; gap: 7px; align-items: center; }
.sec-head { margin-bottom: clamp(24px, 4vw, 55px); }
.mark { display: inline-block; width: 36px; height: 36px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mark.small { width: 19px; height: 19px; }
.skip { position: fixed; top: 0; left: 10px; z-index: 100; padding: 10px 20px; background: var(--paper); transform: translateY(-120%); }
.skip:focus { transform: none; }
.btn { min-height: 50px; padding-inline: 17px; }
.btn.sm { min-height: 44px; }
.btn:hover { background: #1639a0; border-color: #1639a0; }
.btn.ghost:hover { color: #fff; }
.text-action { display: inline-flex; align-items: center; gap: 7px; padding-block: 8px; font-weight: 650; text-underline-offset: 4px; }

/* The site's navigation stays available as visitors move through the photographs. */
header.top { background: #0b1520f5; color: var(--snow); border-bottom-color: var(--night-line); }
.top .wrap { min-height: 60px; padding-block: 7px; gap: 8px; }
.top .wrap > .btn { display: none; }
.top .brand { margin-right: auto; gap: 7px; color: var(--snow); }
.brand .mark { width: 30px; height: 30px; color: var(--ice); }
.top .brand .bt { display: grid; font: 800 14px/.96 var(--display); letter-spacing: -.02em; }
.brand small { display: none; }
nav.main { display: none; }
.top .seg { background: transparent; border: 0; padding: 0; }
.top .seg a { display: grid; place-items: center; min-width: 29px; min-height: 44px; padding-inline: 4px; color: var(--night-text); }
.top .seg [aria-current="true"] { background: transparent; color: white; box-shadow: inset 0 -2px var(--ice); border-radius: 0; }
.top .seg a:not([aria-current="true"]):hover { color: var(--ice); }
.mobile-menu { position: relative; display: block; border: 0!important; padding: 0!important; margin: 0!important; }
.mobile-menu summary { display: grid; place-items: center; min-height: 44px; padding: 3px 5px!important; font: 700 14px/1 var(--body)!important; color: var(--snow); }
.mobile-menu summary::marker { content: ''; }
.mobile-menu summary::after { display: none!important; }
.mobile-menu nav { position: absolute; top: 100%; right: 0; min-width: 194px; padding: 6px; background: var(--night-hi); border: 1px solid var(--night-line); }
.mobile-menu nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; color: var(--snow); text-decoration: none; }
.mobile-menu nav a:hover { background: #ffffff14; }
main#top { scroll-margin-block-start: 84px; }
.top nav a[aria-current="location"] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.mobile-menu nav { max-height: calc(100svh - 64px); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 1040px) {
  .top nav.main a[href="#rezervace"] { display: none; }
}
.top :focus-visible, .mast :focus-visible, .stay :focus-visible, #okoli :focus-visible, #hodnoceni :focus-visible { outline-color: var(--ice); }

/* A photograph opens the page. The dark lower edge runs into the story below. */
.mast { position: relative; isolation: isolate; padding: 0; color: var(--snow); background: var(--night); }
.mast-frame { position: absolute; inset: 0; margin: 0; overflow: hidden; z-index: -1; }
.mast-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 44%; }
.mast-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#09142309 10%,#0b152042 36%,#0b1520d9 70%,var(--night) 100%); }
.photo-note { display: none; }
.mast-layout { position: relative; min-height: clamp(535px, 83svh, 785px); display: flex; align-items: end; padding-top: 210px; padding-bottom: 48px; }
.mast .terrain-label { color: var(--glow); text-shadow: 0 1px 12px #040c18; }
.mast h1 { font: 800 clamp(39px, 12.9vw, 92px)/.9 var(--display); font-stretch: 112%; letter-spacing: -.071em; text-wrap: initial; margin: 10px 0 17px; }
.hero-period { color: var(--ice); }
.mast .lead { color: #e9f1f8; font-size: 16px; max-width: 34ch; line-height: 1.45; }
.mast-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; margin-top: 21px; }
.mast .btn { color: #0f1d29; background: var(--glow); border-color: var(--glow); }
.mast .btn:hover { background: white; border-color: white; }
.mast-next { color: var(--snow); text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 700; padding-block: 11px; }
.mast-scroll { display: none; }

.stay { padding-top: clamp(36px, 5vw, 72px); color: var(--snow); background: var(--night); }
.stay-layout { display: grid; gap: 27px; }
.stay h2 { max-width: 13ch; }
.stay-visual { position: relative; }
.stay-intro { display: contents; }
.stay-visual { grid-row: 2; }
.stay-photo { margin: 0; }
.stay-photo img { display: block; width: 100%; aspect-ratio: 1.32; object-fit: cover; }
.stay-photo figcaption { padding-top: 10px; color: var(--night-text); font: 400 11px/1.45 var(--mono); }
.walk-line { position: absolute; right: 7px; bottom: 32px; width: min(50%, 270px); display: grid; grid-template-columns: minmax(0,1fr); color: var(--ice); background: var(--night-hi); border: 1px solid var(--night-line); }
.walk-line > img { display: block; width: 100%; height: 67px; object-fit: cover; object-position: center 46%; }
.walk-line p { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 5px 6px; border-top: 1px solid var(--night-line); color: var(--glow); font: 500 9px/1.25 var(--mono); }
.walk-line .mark { width: 14px; height: 14px; }
.day-story { list-style: none; margin: 0; padding: 0; }
.day-story li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--night-line); }
.day-story .mark { color: var(--ice); width: 29px; height: 29px; }
.day-story h3 { font-size: 17px; margin-bottom: 4px; line-height: 1.18; }
.day-story p { font-size: 14px; line-height: 1.48; color: var(--night-text); max-width: 44ch; }

/* Full-width, native horizontal track. The next photograph stays in sight. */
.units { background: white; }
.units-intro { display: grid; gap: 20px; margin-bottom: 18px; }
.units .lead { margin-top: 10px; max-width: 44ch; }
.rail-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.rail-index, .rail-arrows { display: flex; gap: 5px; }
.rail-index a, .rail-arrows button { display: grid; place-items: center; min-height: 44px; min-width: 44px; padding-inline: 7px; border: 1px solid var(--line); color: var(--ink); background: transparent; font: 600 13px/1 var(--mono); text-decoration: none; cursor: pointer; }
.rail-index a[aria-current="true"] { border-color: var(--piste); color: var(--piste); background: var(--piste-soft); }
.rail-arrows button:disabled { cursor: default; opacity: .35; }
.rail-arrows button:first-child .mark { rotate: 180deg; }
.apts { --rail-card: min(84vw, 400px); --rail-gap: clamp(10px,1.8vw,25px); display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: var(--rail-card); gap: var(--rail-gap); width: 100%; padding: 2px var(--rail-pad) 13px; padding-inline-end: max(var(--rail-pad), calc(100% - var(--rail-pad) - var(--rail-card))); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad); scrollbar-color: #71839b #edf1f6; scrollbar-width: thin; }
.apts:focus-visible { outline-offset: -3px; }
.apt { display: flex; flex-direction: column; min-width: 0; padding: 0; gap: 0; border: 1px solid var(--line); border-radius: 0; box-shadow: none; scroll-snap-align: start; }
.apt:hover { transform: none; box-shadow: none; }
.apt .gal { position: relative; display: block; margin: 0; padding: 0; aspect-ratio: 1.16; background: #d6dce2; }
.apt .gal button:first-child { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.apt .gal button:not(:first-child) { display: none; }
.apt .gal img { object-position: 50% 56%; }
.apt .gal button:focus-visible { outline-offset: -4px; outline-color: var(--ice); }
.photo-trigger { position: absolute; bottom: 10px; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; background: var(--night); color: white; pointer-events: none; }
.photo-trigger .mark { width: 22px; height: 22px; }
.unit-copy { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.apt .tag { align-items: center; margin: 0 0 13px; }
.apt .code { color: var(--piste); font: 500 27px/1 var(--mono); }
.apt .floor { font-size: 10px; line-height: 1.35; }
.apt-title { font-size: clamp(24px, 5.7vw, 39px); letter-spacing: -.045em; line-height: 1.02; text-wrap: pretty; }
.unit-copy > p { margin: 10px 0 3px; font-size: 15px; line-height: 1.49; color: var(--muted); }
.unit-detail { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 0; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--piste); font: 700 14px/1.2 var(--body); cursor: pointer; }
.apt .price { align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.apt .price small { font-size: 11px; }
.apt .price strong { font-size: clamp(17px,4.6vw,26px); }
.apt .price .btn { padding-inline: 9px; }
.live-rates:not(.has-rates) .apt .price > div:first-child,.live-rates:not(.has-rates) .dt-foot > div:first-child { display: none; }

/* The same horizon, two seasons. */
#okoli { color: var(--snow); background: var(--night); }
#okoli .sec-head { margin-bottom: 18px; }
#okoli .eyebrow { color: var(--ice); }
#okoli .eyebrow::before { background: var(--ice); }
.season { margin-bottom: 12px; }
.season button { min-height: 44px; background: transparent; border-color: var(--night-line); color: #e9f1f8; border-radius: 0; }
.season button[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: var(--night); }
.season-editorial { position: relative; display: grid; align-items: end; margin-inline: calc(0px - var(--gutter)); isolation: isolate; min-height: clamp(440px, 86vw, 670px); overflow: hidden; background: var(--night-hi); }
.season-editorial img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 48% center; z-index: -2; }
.season-editorial::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 10%,#0813203d 45%,#081320f5 100%); }
.season-editorial > div { padding: 48px var(--gutter) 23px; }
.season-editorial .terrain-label { color: var(--glow); margin-bottom: 8px; }
.season-editorial h3 { font-size: clamp(28px, 6vw, 57px); letter-spacing: -.05em; max-width: 18ch; }
.season-editorial p:not(.terrain-label) { color: #e2ebf4; margin-top: 9px; max-width: 52ch; line-height: 1.45; }
.scene-link { color: var(--glow); text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.season-links { font-size: 14px; margin-top: 14px; }
.season-links a { color: var(--glow); }
.local-tips { color: var(--snow); margin-top: 10px; border-color: var(--night-line); }
.local-tips summary { min-height: 44px; }
#okoli .near { margin: 19px 0 0; gap: 0; }
#okoli .near > div { background: transparent; border-color: var(--night-line); border-radius: 0; }
#okoli .near .d { color: var(--ice); }
#okoli .near p { color: var(--night-text); }

#vybaveni { padding-block: var(--section) 56px!important; background: white; }
#vybaveni .amen { grid-template-columns: 1fr; border: 0; }
#vybaveni .amen > div { display: grid; align-content: start; grid-template-columns: 30px minmax(0,1fr); gap: 4px 13px; padding: 12px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.amen .mark { grid-row: span 2; width: 29px; height: 29px; color: var(--piste); }
.amen strong { line-height: 1.2; }
#hodnoceni { background: var(--night); color: var(--snow); padding-block: var(--section)!important; }
#hodnoceni .wrap { display: grid; gap: 16px 28px; }
#hodnoceni .sec-head { margin: 0; }
#hodnoceni .eyebrow, #hodnoceni a, #hodnoceni .rv-n { color: var(--ice); }
#hodnoceni .rv-sub, #hodnoceni .rv-item small { color: var(--night-text); }
#hodnoceni .rv-sub strong { color: white; }
#hodnoceni .rv-grid, #hodnoceni .rv-item { border-color: var(--night-line); }
.guest-voice { margin: 0; position: relative; padding: 18px 0 18px 13px; border-left: 2px solid var(--ice); }
.guest-voice blockquote { margin: 0; }
.guest-voice p { font: 700 clamp(25px,4.4vw,46px)/1.14 var(--display); letter-spacing: -.043em; max-width: 22ch; }
.guest-voice b { color: var(--ice); font: 500 36px/.65 var(--display); }
.guest-voice figcaption { margin-top: 7px; font-size: 13px; }
.rv-grid { margin: 0; }
.rv-n { font-size: clamp(32px,5vw,50px); }
.rv-more { margin-top: 0; }

#rezervace { background: var(--snow); color: var(--ink); }
.book .eyebrow { color: var(--piste); }
.book .lead { color: var(--muted); }
.book-head { gap: 14px; }
.book-head h2 { max-width: 17ch; }
.book-callout { margin: 0 0 12px; border: 1px solid #aebde0; padding: 9px 13px; color: var(--ink); background: var(--piste-soft); font-size: 14px; }
.book-callout .mark { vertical-align: middle; }
.book-callout a { font-weight: 700; margin-left: 3px; }
.book .bk { border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
.book .steps li { border-color: var(--line); }
.book .steps .n, .book .steps a { color: var(--piste); }
.book .steps p { color: var(--muted); }
.book .apsel button { padding-inline: 7px; }
.book .apsel em { white-space: normal; line-height: 1.25; }
.bk-side { background: #edf2f7; }
.booking-currency { display:flex; justify-content:flex-end; margin-bottom:8px; }
.booking-currency .seg button { min-height: 42px; min-width: 44px; }
.book .sw input:focus-visible + span { outline: 2px solid var(--piste); outline-offset: 3px; }
dialog.lb { display: none; border: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; }
dialog.lb[open] { display: grid; }
dialog.lb::backdrop { background: #060c12ea; }
dialog.lb figure { max-width: 100%; }
dialog.lb .pv, dialog.lb .nx { background: #0b1520d9; }
dialog.lb .x { z-index: 1; }

#info .wrap { border-top: 1px solid var(--line); padding-top: 34px; }
#info h2,#o-ubytovani h2,#kontakt h2 { font-size: clamp(31px,4.5vw,57px); }
#kontakt { background: white; padding-block: var(--section)!important; }
footer { color: var(--night-text); background: var(--night); border-color: var(--night-line); }
footer a { color: var(--snow); }

.guide-hero { background: var(--night); color: var(--snow); }
.guide-hero .wrap { display: grid; gap: 24px; }
.guide-hero .text-action, .guide-hero .eyebrow { color: var(--ice); }
.guide-hero .eyebrow::before { background: var(--ice); }
.guide-hero h1 { font-size: clamp(38px,7vw,80px); line-height: .99; letter-spacing: -.055em; margin: 9px 0 15px; }
.guide-hero .lead { color: var(--night-text); }
.guide-hero .btn { background: var(--glow); border-color: var(--glow); color: var(--ink); }
.guide-hero img { display: block; width: 100%; aspect-ratio: 1.28; object-fit: cover; }
.guide-body .wrap { display: grid; gap: 22px; }
.guide-body article h2 { font-size: clamp(28px,4vw,49px); margin: 31px 0 11px; }
.guide-body article h2:first-child { margin-top: 0; }
.guide-body aside { align-self: start; background: #e7edf7; padding: 20px; }
.guide-body aside h2 { font-size: 28px; margin-bottom: 10px; }
.guide-body aside a { display: block; padding-block: 7px; }
.guide-photos { display: grid; gap: 8px; margin-top: 23px; }
.guide-photos img { width: 100%; aspect-ratio: 1.25; display: block; object-fit: cover; }

@media (min-width: 660px) {
  .top .wrap { min-height: 68px; }
  .top .wrap > .btn { display: inline-flex; }
  .top .brand .bt { font-size: 17px; }
  .brand .mark { width: 38px; height: 38px; }
  .mast-layout { min-height: clamp(620px,88svh,980px); padding-bottom: 65px; }
  .mast h1 { font-size: clamp(73px, 12vw, 185px); }
  .mast .lead { font-size: clamp(18px,1.55vw,23px); }
  .mast-frame::after { background: linear-gradient(0deg,var(--night),transparent 72%),linear-gradient(90deg,#060e1c60,transparent 64%); }
  .photo-note { display: block; position: absolute; right: var(--rail-pad); bottom: 13px; color: var(--night-text); z-index: 1; font: 400 11px/1 var(--mono); }
  .mast-scroll { display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--night-line); color: var(--snow); }
  .mast-scroll .mark { rotate: 90deg; }
  .stay-layout { grid-template-columns: minmax(0,.92fr) minmax(0,1.12fr); align-items: start; gap: clamp(24px,5vw,88px); }
  .stay-intro { display: block; }
  .stay-visual { grid-row: auto; }
  .day-story { margin-top: 24px; }
  .walk-line p { padding: 7px 9px; font-size: 11px; }
  .stay-photo img { aspect-ratio: 1.43; }
  .unit-copy { padding: 19px; }
  .units-intro { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  .rail-toolbar { gap: 12px; }
  .apts { --rail-card: min(82vw, 1000px); }
  .apt { display: grid; grid-template-columns: minmax(0,1.38fr) minmax(225px,1fr); }
  .apt .gal { aspect-ratio: auto; min-height: 375px; }
  .apt .gal button:nth-child(2) { display: block; position: absolute; left: 12px; bottom: 12px; width: 25%; aspect-ratio: 1; box-shadow: 0 1px 8px #0b152066; border: 1px solid #ffffffad; border-radius: 0; }
  .season-editorial { margin-inline: 0; min-height: clamp(415px,54vw,660px); }
  .season-editorial > div { padding-bottom: 34px; }
  .season-editorial::before { background: linear-gradient(0deg,#081320dc,transparent 60%),linear-gradient(90deg,#081320a6,transparent 77%); }
  #hodnoceni .wrap { grid-template-columns: minmax(0,1fr) minmax(0,.86fr); }
  .guest-voice { grid-column: 2; grid-row: 1/4; align-self: center; padding: 26px; }
  .guide-hero .wrap, .guide-body .wrap { grid-template-columns: minmax(0,1.05fr) minmax(245px,1fr); align-items: center; }
  .guide-body .wrap { grid-template-columns: minmax(0,1fr) minmax(215px,.36fr); align-items: start; }
  .guide-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .book .apsel button { padding-inline: 14px; }
  .book .apsel em { white-space: nowrap; }
  #vybaveni .amen { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px; }
}

@media (min-width: 1040px) {
  .top .wrap { min-height: 74px; gap: 18px; }
  nav.main { display: flex; gap: clamp(10px,1.7vw,30px); }
  nav.main a { color: var(--snow); font-size: 14px; font-weight: 650; opacity: .9; }
  nav.main a:hover { color: var(--ice); }
  .mobile-menu { display: none; }
  .brand small { display: block; margin-top: 3px; color: var(--night-text); font: 400 9px/1.05 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
  .top .tools { margin-left: auto; }
  .day-story li { padding-block: 17px; gap: 15px; }
  .day-story h3 { font-size: 19px; }
  .day-story p { font-size: 16px; }
  .stay-visual { padding-bottom: 48px; }
  .walk-line { position: absolute; right: 14px; bottom: 0; width: min(47%,280px); }
  .walk-line > img { height: 108px; }
  .unit-copy { padding: clamp(22px,2.35vw,38px); }
  .apt .gal { min-height: 440px; }
  .apt .price .btn { padding-inline: 14px; }
  .apt .code { font-size: 38px; }
  .season-editorial > div { padding-bottom: 48px; }
  #vybaveni .amen { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 355px) {
  .top .brand .mark { width: 26px; height: 26px; }
  .mast .btn { padding-inline: 10px; }
  .mast-actions { gap: 6px 12px; }
  .apt .price .mark { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .mast-copy { animation: mast-in .83s var(--ease-out) both; }
  @keyframes mast-in { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
  @supports (animation-timeline: scroll()) {
    .mast-frame img { animation: lift-view linear both; animation-timeline: scroll(root block); animation-range: 0 88svh; }
    @keyframes lift-view { from { transform: scale(1.015); } to { transform: translateY(11%) scale(1.16); } }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
