/* ==========================================================================
   Home as a map of scenes (index.html + js/x2.js).
   html.x2d  = desktop with motion: one fixed stage, every scene is a full screen card on a 2D grid,
               the wheel/keys/swipe move a camera along the path (right, down, right, down...).
   html.x2m  = phones, reduced motion, short screens: the same scenes stacked, each about one screen tall.
   Moving parts use transform/opacity; clip-path only for photo reveals that run once per visit of a scene.
   ========================================================================== */

/* ---------- scene shell ---------- */
.sc { position: relative; overflow: hidden; }
.sc--light { background: var(--bg); color: var(--ink); }
.sc--white { background: var(--white); color: var(--ink); }
.sc--blush { background: #F2E9E7; color: var(--ink); }
.sc--dark { background: var(--ink); color: var(--bg); }
.sc--dark .eyebrow { color: var(--rose); }
.sc--dark .h2 em, .sc--dark .hero2__title em { color: var(--rose); }
.sc .h2 em, .man2__text em { font-style: italic; }
.sc__in {
  position: relative; z-index: 2; box-sizing: border-box; width: 100%; max-width: 1640px; margin: 0 auto; height: 100%;
  padding: calc(var(--nav-h) + clamp(1.4rem, 5vh, 4rem)) clamp(1.4rem, 4vw, 4.5rem) clamp(1.4rem, 6vh, 4.2rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
}
.sc .h2 { font-size: clamp(2.1rem, min(4.2vw, 7.2vh), 4.4rem); }
.sl { will-change: transform; }

/* buttons for dark and photo backgrounds */
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-hover: var(--rose); }
.btn--glass { --btn-bg: rgba(255, 253, 252, .08); --btn-fg: var(--white); --btn-hover: rgba(255, 253, 252, .22); border-color: rgba(255, 253, 252, .45); }

/* ---------- S1 opening ---------- */
.sc__bg { position: absolute; inset: 0; z-index: 0; }
.sc__poster, .sc__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(42, 30, 32, .74) 0%, rgba(42, 30, 32, .42) 42%, rgba(42, 30, 32, .06) 78%),
  linear-gradient(0deg, rgba(42, 30, 32, .55) 0%, rgba(42, 30, 32, 0) 38%); }
.hero2 { align-content: center; }
.hero2 > * { grid-column: 1 / span 7; }
.hero2__title { margin-top: 1rem; font-size: clamp(3rem, min(7.2vw, 12.5vh), 8.6rem); font-weight: 300; line-height: .96; letter-spacing: -.035em; color: var(--white); text-wrap: balance; }
.hero2__title em { font-style: italic; }
/* dlhší nadpis (dve vety, 2026-10-16): menšie písmo, aby sa hlavička zmestila */
.hero2__title--long { font-size: clamp(2.6rem, min(5.6vw, 10vh), 6.6rem); max-width: 16ch; }
.hero2 .hero2__lead { max-width: 54ch; }
.hero2__lead { margin-top: 1.5rem; max-width: 31rem; color: rgba(255, 253, 252, .84); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero2__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero2__meta { position: absolute; z-index: 2; left: clamp(1.4rem, 4vw, 4.5rem); bottom: clamp(1.2rem, 4vh, 2.4rem); display: flex; flex-wrap: wrap; gap: .4rem 2rem; list-style: none; margin: 0; padding: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 253, 252, .72); }
.hero2__meta li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .7rem; border-radius: 99px; background: var(--rose); vertical-align: middle; }

/* ---------- S2 manifest ---------- */
.man2__copy { grid-column: 1 / span 6; }
.man2__text { margin-top: 1.2rem; font-size: clamp(1.9rem, min(3.5vw, 6.2vh), 3.6rem); font-weight: 300; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.man2__sub { margin-top: 1.4rem; max-width: 32rem; color: var(--ink-2); font-size: 1.08rem; }
.man2__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: clamp(1.4rem, 4vh, 2.6rem) 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.man2__stats dt { font-size: clamp(2rem, min(3.4vw, 6vh), 3.3rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.man2__stats dd { margin: .55rem 0 0; font-size: .92rem; color: var(--ink-2); }
.man2__collage { grid-column: 8 / -1; position: relative; height: min(76vh, 780px); }
.man2__ph, .sal2__ph { position: absolute; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -50px rgba(42, 30, 32, .6); }
.man2__ph img, .sal2__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.man2__ph--1 { left: 8%; top: 2%; width: 60%; z-index: 1; }
.man2__ph--2 { right: 0; top: 34%; width: 38%; z-index: 2; }
.man2__ph--3 { left: 0; bottom: 0; width: 34%; z-index: 3; }
/* one calm portrait instead of the three-photo collage (client's wish 2026-10-13) */
.man2__ph--solo { position: relative; inset: auto; width: auto; height: 100%; aspect-ratio: 4 / 5; margin-left: auto; z-index: 1; }

/* ---------- S3 Skin Like Tapes ---------- */
.tap2__copy { grid-column: 1 / span 6; }
.tap2__h { margin-top: .8rem; }
.tap2__lead { margin-top: 1rem; color: var(--ink-2); max-width: 34rem; font-size: 1.06rem; }
.tap2__list { list-style: none; margin: clamp(1rem, 3vh, 1.8rem) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.tap2__item button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: .9rem; width: 100%; height: 100%; padding: clamp(.7rem, 1.8vh, 1.05rem) 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 253, 252, .5); transition: background .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.tap2__item button:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }
.tap2__item b { font-size: .8rem; color: var(--mauve); letter-spacing: .12em; padding-top: .2rem; font-weight: 500; }
.tap2__item strong { display: block; font-weight: 500; font-size: 1.02rem; }
/* the open step's text sits in one reserved slot under the steps (height set in tapes()): the scene fits the screen and a tap moves nothing */
.tap2__list { position: relative; padding-bottom: var(--tap2-slot, 0px); }
.tap2__item em { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0 .2rem; font-style: normal; font-size: .92rem; color: var(--ink-2); line-height: 1.45; visibility: hidden; }
.tap2__item.is-on em { visibility: visible; }
.tap2__item.is-on button { background: var(--white); border-color: var(--mauve); box-shadow: 0 18px 40px -28px rgba(42, 30, 32, .5); }
.tap2__foot { margin-top: clamp(1rem, 3vh, 1.8rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; }
.tap2__price { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -.02em; }
.tap2__price small { font-size: .45em; color: var(--ink-2); letter-spacing: 0; }
.tap2__price span { display: block; font-size: .85rem; letter-spacing: 0; color: var(--ink-2); }
.tap2__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
/* low laptop screens: the scene must clear the scene counter at the bottom */
@media (min-width: 901px) and (max-height: 820px) {
  .tap2__h { margin-top: .4rem; font-size: clamp(2rem, 6.4vh, 3.2rem); }
  .tap2__lead { margin-top: .5rem; font-size: .96rem; line-height: 1.4; }
  .tap2__list { margin-top: .8rem; gap: .4rem; }
  .tap2__item button { padding: .5rem .9rem; }
  .tap2__item strong { font-size: .94rem; line-height: 1.3; }
  .tap2__foot { margin-top: .7rem; gap: .5rem 1rem; }
  .tap2__price { font-size: 1.6rem; }
  .tap2__price span { display: inline; font-size: .8rem; margin-left: .3rem; }
  .tap2__copy { padding-bottom: 3.2rem; }
}
.tap2__media { grid-column: 8 / -1; position: relative; height: min(80vh, 820px); border-radius: calc(var(--r) * 1.2); overflow: hidden; background: var(--surface); }
.tap2__track { display: contents; }
.tap2__shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.tap2__shot.is-on { opacity: 1; z-index: 1; }
.tap2__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s linear; }
.tap2__shot.is-on img { transform: scale(1); }
.tap2__bars { position: absolute; z-index: 3; top: 1rem; left: 1rem; right: 1rem; display: flex; gap: 6px; }
.tap2__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 253, 252, .42); overflow: hidden; }
.tap2__bars b { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- S4 results ---------- */
.pre2__copy { grid-column: 1 / span 5; }
.pre2__hint { margin-top: 1rem; color: rgba(250, 246, 245, .7); max-width: 28rem; }
.pre2__thumbs { list-style: none; margin: clamp(1rem, 3vh, 1.8rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 30rem; }
.pre2__th { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(250, 246, 245, .15); transition: box-shadow .35s var(--ease), transform .45s var(--ease); }
.pre2__th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .4s var(--ease), transform .9s var(--ease); }
.pre2__th::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 30, 32, .85), rgba(42, 30, 32, 0) 60%); opacity: 0; transition: opacity .35s; }
.pre2__th span { position: absolute; z-index: 1; left: .5rem; right: .5rem; bottom: .45rem; font-size: .64rem; line-height: 1.25; color: var(--white); opacity: 0; transition: opacity .35s; }
.pre2__th span b { display: block; font-weight: 600; }
.pre2__th:hover img, .pre2__th.is-on img { opacity: 1; transform: scale(1.06); }
.pre2__th:hover::after, .pre2__th.is-on::after, .pre2__th:hover span, .pre2__th.is-on span { opacity: 1; }
.pre2__th.is-on { box-shadow: 0 0 0 2px var(--rose); transform: translateY(-3px); }
.pre2__th:focus-visible { box-shadow: 0 0 0 2px var(--white); }
.pre2__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: clamp(1rem, 3vh, 1.6rem); color: var(--rose); text-decoration: none; font-weight: 500; }
.pre2__more svg { width: 1.1em; height: 1.1em; }
.pre2__stage { grid-column: 7 / -1; position: relative; height: min(80vh, 820px); }
.pre2__cmp { position: absolute; inset: 0 0 2.4rem 0; margin: 0; display: flex; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.pre2__cmp.is-on { opacity: 1; visibility: visible; z-index: 1; }
.pre2__cmp .compare__pair, .pre2__cmp .cmp { height: 100%; aspect-ratio: 3 / 4; width: auto; max-width: 100%; border-radius: calc(var(--r) * 1.1); }
.pre2__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; color: rgba(250, 246, 245, .75); font-size: .95rem; }
.pre2__cap b { color: var(--white); font-weight: 500; margin-right: .3rem; }

/* ---------- S5 products: expanding panels ---------- */
.pro2__head { grid-column: 1 / span 4; }
.pro2__head p:last-child { margin-top: 1rem; color: var(--ink-2); max-width: 26rem; }
.pro2__panels { grid-column: 5 / -1; display: flex; gap: 10px; height: min(78vh, 800px); }
.pro2__p { position: relative; flex: 1 1 0; min-width: 0; border-radius: calc(var(--r) * 1.1); overflow: hidden; background: var(--ink); color: var(--white); transition: flex-grow .9s var(--ease); }
.pro2__p.is-open { flex-grow: 4.4; }
.pro2__img { position: absolute; inset: 0; margin: 0; }
.pro2__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.pro2__p.is-open .pro2__img img { transform: scale(1); }
.pro2__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.pro2__vid.is-playing { opacity: 1; }
.pro2__p::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(42, 30, 32, .9) 0%, rgba(42, 30, 32, .35) 48%, rgba(42, 30, 32, .12) 100%); transition: opacity .6s; }
.pro2__tab { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem 1rem; }
.pro2__tab:focus-visible { outline: 2px solid var(--rose); outline-offset: -4px; border-radius: inherit; }
.pro2__no { font-size: .78rem; letter-spacing: .14em; opacity: .85; }
.pro2__name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 300; letter-spacing: -.01em; white-space: nowrap; transition: opacity .35s; }
.pro2__p.is-open .pro2__name { opacity: 0; }
.pro2__p.is-open .pro2__tab { pointer-events: none; }
.pro2__body { position: absolute; z-index: 3; left: 0; bottom: 0; width: min(100%, 38rem); box-sizing: border-box; padding: clamp(1.3rem, 3vw, 2.4rem); display: grid; gap: .7rem; opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease), transform .7s var(--ease); pointer-events: none; }
.pro2__p.is-open .pro2__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .4s; }
.pro2__kick { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.pro2__title { font-size: clamp(2.2rem, min(4vw, 7vh), 3.9rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.pro2__text { color: rgba(255, 253, 252, .86); max-width: 31rem; }
.pro2__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.pro2__tags li { padding: .3rem .7rem; border: 1px solid rgba(255, 253, 252, .35); border-radius: 999px; font-size: .8rem; }
.pro2__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .4rem; }
.pro2__more { display: inline-flex; align-items: center; gap: .35rem; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 253, 252, .5); padding-bottom: .1rem; }
.pro2__more svg { width: 1em; height: 1em; }

/* ---------- S6 salon ---------- */
.sal2__copy { grid-column: 1 / span 5; display: grid; gap: 1rem; }
.sal2__copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; max-width: 32rem; }
.sal2__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.sal2__facts dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve); }
.sal2__facts dd { margin: .3rem 0 0; }
.sal2__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.sal2__mosaic { grid-column: 7 / -1; position: relative; height: min(78vh, 800px); }
.sal2__ph--1 { left: 0; top: 6%; width: 46%; z-index: 1; }
.sal2__ph--2 { right: 3%; top: 0; width: 37%; z-index: 2; }
.sal2__ph--3 { right: 0; bottom: 3%; width: 33%; z-index: 2; }
.sal2__ph--4 { left: 26%; bottom: 0; width: 30%; z-index: 3; }
.sal2__ph--5 { left: 54%; top: 38%; width: 19%; z-index: 4; }

/* ---------- S7 lengths ---------- */
.len2__fig { grid-column: 1 / span 5; display: flex; justify-content: center; }
.len2__fig .length__figure { height: min(80vh, 820px); width: auto; aspect-ratio: 2 / 3; margin: 0; }
.len2__panel { grid-column: 7 / -1; }
.len2__intro { margin-top: .9rem; color: var(--ink-2); }
.len2 .pills { margin-top: clamp(1rem, 2.6vh, 1.6rem); }
.len2 .length__facts { margin-top: clamp(1rem, 2.6vh, 1.6rem); gap: 1rem var(--gap); }
.len2__types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(1rem, 3vh, 1.8rem); max-width: 36rem; }
.len2__type { display: flex; gap: .9rem; align-items: center; padding: .55rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; font-size: .88rem; color: var(--ink-2); transition: border-color .3s, background .3s; }
.len2__type:hover { border-color: var(--mauve); background: var(--white); }
.len2__type b { display: block; color: var(--ink); font-weight: 500; font-size: .98rem; }
.len2__vid { position: relative; flex: none; width: 58px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--surface); }
.len2__vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- S8 prices ---------- */
.cen2__head { grid-column: 1 / span 4; }
.cen2__head > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); }
.cen2__buy { margin-top: clamp(1.2rem, 4vh, 2.2rem); padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.cen2__buy p:not(.eyebrow) { margin: .5rem 0 .8rem; color: var(--ink-2); font-size: .95rem; }
.cen2__body { grid-column: 6 / -1; min-width: 0; }
.cen2 .tabs { margin-bottom: 1.4rem; }
.cen2__panels { max-height: min(60vh, 620px); overflow: auto; padding-right: 1rem; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

/* ---------- S9 booking ---------- */
.rez2__copy { grid-column: 1 / span 5; }
.rez2__copy > p:not(.eyebrow):not(.rez2__social):not(.rez2__legal) { margin-top: 1rem; color: var(--ink-2); max-width: 30rem; }
.rez2__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin: clamp(1.2rem, 3.4vh, 2rem) 0 0; }
.rez2__info dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve); }
.rez2__info dd { margin: .3rem 0 0; }
.rez2__social { margin-top: 1.4rem; }
.rez2__legal { margin-top: 1rem; font-size: .82rem; color: var(--ink-2); }
.rez2__legal a { color: inherit; }
.rez2__form { grid-column: 7 / -1; box-sizing: border-box; max-height: calc(100vh - var(--nav-h) - 3rem); overflow: auto; overscroll-behavior: contain; padding: clamp(1.1rem, 2.4vw, 2rem); background: var(--white); border-radius: calc(var(--r) * 1.2); box-shadow: 0 40px 80px -60px rgba(42, 30, 32, .55); scrollbar-width: thin; }
.rez2__form .bform { grid-column: auto !important; }

/* ==========================================================================
   Desktop scene map
   ========================================================================== */
html.x2d, .x2d body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.x2d .footer, .x2d #fab, .x2d .top-sentinel { display: none; }
.x2d .x2__stage { position: fixed; top: 0; bottom: 0; left: var(--rail); right: 0; overflow: hidden; background: #1d1416; }
.x2d .sc { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; contain: layout paint; }
.x2d .x2__stage.is-moving .sc { will-change: transform; border-radius: 22px; }
.x2d .sc__scroll { scrollbar-gutter: stable; }

/* HUD: where you are, where the next scroll goes, the map */
.x2hud { position: fixed; z-index: 55; left: calc(var(--rail) + clamp(1rem, 2.6vw, 2.6rem)); right: clamp(1rem, 2.6vw, 2.6rem); bottom: clamp(.8rem, 2.4vh, 1.4rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; pointer-events: none; }
.x2hud__count, .x2hud__nav { pointer-events: auto; display: flex; align-items: center; gap: .8rem; padding: .5rem .55rem .5rem .95rem; border-radius: 999px; background: rgba(29, 20, 22, .78); color: var(--bg); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.x2hud__count { padding-right: 1rem; }
.x2hud__n { font-weight: 600; font-variant-numeric: tabular-nums; }
.x2hud__label { font-style: normal; color: var(--rose); letter-spacing: .12em; }
.x2hud__bar { position: relative; width: 70px; height: 2px; border-radius: 2px; background: rgba(250, 246, 245, .2); overflow: hidden; }
.x2hud__bar i { position: absolute; inset: 0; background: var(--rose); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease); }
.x2hud__nav { border-radius: 18px; padding: .45rem .5rem .45rem .9rem; }
.x2hud__hint { display: inline-flex; align-items: center; gap: .5rem; }
.x2hud__hint i { font-style: normal; display: inline-block; font-size: 1rem; animation: x2nudge 1.6s var(--ease) infinite; }
.x2hud__hint i.is-down { transform: rotate(90deg); animation-name: x2nudge-d; }
@keyframes x2nudge { 50% { transform: translateX(4px); } }
@keyframes x2nudge-d { 0%, 100% { transform: rotate(90deg); } 50% { transform: rotate(90deg) translateX(4px); } }
.x2map { display: grid; grid-template-columns: repeat(5, 11px); grid-template-rows: repeat(5, 8px); gap: 3px; padding: .45rem; border-radius: 10px; background: rgba(250, 246, 245, .06); }
.x2map span, .x2map button { all: unset; width: 11px; height: 8px; border-radius: 2px; }
.x2map button { cursor: pointer; background: rgba(250, 246, 245, .22); transition: background .3s, transform .3s; }
.x2map button.is-seen { background: rgba(250, 246, 245, .5); }
.x2map button.is-on { background: var(--rose); transform: scale(1.25); }
.x2map button:hover { background: var(--white); }
.x2map button:focus-visible { outline: 1px solid var(--white); outline-offset: 2px; }
.x2d .hero2__meta { bottom: calc(clamp(.8rem, 2.4vh, 1.4rem) + 64px); }

/* ==========================================================================
   Stacked scenes (phones, reduced motion, short screens)
   ========================================================================== */
html.x2m.motion { scroll-behavior: smooth; }
html.x2m { scroll-snap-type: y proximity; }
.x2m .sc { scroll-snap-align: start; min-height: 100svh; }
.x2m .sc__in { height: auto; min-height: 100svh; }
.x2m .sc--hero .sc__in { min-height: 100svh; }
.x2m.motion .sc [data-a] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.x2m.motion .sc.is-in [data-a] { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .sc__in { padding: calc(var(--nav-h) + 1.6rem) var(--pad) 2.4rem; row-gap: 1.6rem; align-content: start; }
  .sc__in > * { grid-column: 1 / -1 !important; }
  .sc--hero .sc__in { align-content: end; padding-bottom: 6.5rem; }
  .hero2__title { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .hero2__title--long { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .hero2 .hero2__lead { font-size: .98rem; line-height: 1.5; }
  .hero2__meta { gap: .3rem 1.2rem; font-size: .66rem; }
  .sc__veil { background: linear-gradient(0deg, rgba(42, 30, 32, .88) 0%, rgba(42, 30, 32, .58) 55%, rgba(42, 30, 32, .3) 100%); }
  .man2__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .man2__stats dd { font-size: .8rem; }
  .man2__collage { height: auto; }
  .man2__ph--solo { height: auto; width: 100%; }
  .tap2__list { grid-template-columns: 1fr; }
  .tap2__media { height: 62svh; order: -1; }
  /* phones: photos are a strip you swipe sideways */
  .tap2__track { display: flex; position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tap2__track::-webkit-scrollbar { display: none; }
  .tap2__shot { position: relative; inset: auto; flex: 0 0 100%; opacity: 1; scroll-snap-align: center; scroll-snap-stop: always; transition: none; }
  .tap2__shot img, .tap2__shot.is-on img { transform: none; transition: none; }
  .pre2__stage { height: 68svh; order: -1; }
  .pre2__thumbs { max-width: none; }
  .pro2__panels { flex-direction: column; height: auto; }
  .pro2__p { flex: none; height: 64px; transition: height .8s var(--ease); }
  .pro2__p.is-open { height: min(78svh, 620px); }
  .pro2__name { writing-mode: horizontal-tb; transform: none; font-size: 1.3rem; }
  .pro2__tab { flex-direction: row; align-items: center; justify-content: flex-start; gap: .9rem; padding: 0 1.1rem; }
  .pro2__p.is-open .pro2__tab { opacity: 0; }
  .sal2__mosaic { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sal2__ph { position: relative; inset: auto; width: auto; }
  .sal2__ph--3, .sal2__ph--4, .sal2__ph--5 { display: none; }
  .len2__fig .length__figure { height: 60svh; }
  .len2__types { grid-template-columns: 1fr; }
  .cen2__panels { max-height: none; overflow: visible; padding: 0; }
  .rez2__form { max-height: none; overflow: visible; }
  .rez2__info { grid-template-columns: 1fr; }
}

.menu__more { font-size: .8em; opacity: .7; }
.rez2__form .bform { border: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.x2m .nav.is-scrolled { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }   /* phones: the logo never sits on top of text */

/* Bookio panel in the booking scene (while BOOKING = "bookio"; the saved form is in site/partials/home-rezervacia-form.html) */
.rez2__form.bookio { display: flex; align-items: center; }
.bookio__card { display: grid; gap: 1rem; justify-items: start; }
.bookio__card .h3 { margin: 0; }
.bookio__card p { margin: 0; }
.bookio__alt { font-size: .92rem; opacity: .8; }
