/* ==========================================================
   Apartmaji Rombon — v6 "Alpenglow"
   Evening light on Rombon's limestone: night blue, blush stone,
   alpenglow rose.
   ========================================================== */

:root {
  --stone:   #f3eee9;
  --stone-2: #e9e1da;
  --stone-3: #dccfc5;
  --night:   #131a27;
  --night-2: #1b2435;
  --night-3: #27324a;
  --ink:     #1a202c;
  --muted:   #6f6b6c;
  --rose:    #c98a78;
  --rose-d:  #a9685a;
  --rose-l:  #ecd3c9;
  --mist:    #aeb8c6;
  --line:    rgba(26, 32, 44, .14);
  --line-l:  rgba(243, 238, 233, .18);

  --serif: "Noto Serif Display", "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: italic; }
::selection { background: var(--rose); color: var(--stone); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 200px) 0; }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font: 500 11.5px/1 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .num { color: var(--rose-d); font-feature-settings: "tnum"; }
.eyebrow .num::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; opacity: .5; margin-left: 14px; vertical-align: middle; }
.eyebrow .dash { width: 36px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--mist); }
.eyebrow--light .num { color: var(--rose); }

.h2, .h3, .h4, .hero__title, .scene__quote {
  font-family: var(--serif); font-weight: 300; margin: 0;
  letter-spacing: -.015em;
}
.h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.04; }
.h3 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.1; }
.h4 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.h2 em, .h3 em, .hero__title em, .scene__quote em { color: var(--rose-d); }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ink); }

/* line masks (with room for č/š/ž carons and descenders) */
.line { display: block; overflow: hidden; padding: .1em 0 .12em; margin: -.1em 0 -.12em; }
.line > span { display: block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 30px; overflow: hidden; isolation: isolate;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn--line { border: 1px solid currentColor; }
.btn--line::before { background: var(--stone); }
.btn--line:hover { color: var(--ink); border-color: var(--stone); }
.btn--dark { color: var(--ink); }
.btn--dark::before { background: var(--night); }
.btn--dark:hover { color: var(--stone); border-color: var(--night); }
.btn--solid { background: var(--night); color: var(--stone); }
.btn--solid::before { background: var(--rose-d); }
.btn--rose { background: var(--rose); color: var(--night); }
.btn--rose::before { background: var(--stone); }

/* ==========================================================
   LOADER
   ========================================================== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--night); color: var(--stone);
  clip-path: inset(0 0 0 0);
}
.loader__inner { text-align: center; }
.loader__word { display: flex; overflow: hidden; font: 300 clamp(56px, 10vw, 128px)/1.1 var(--serif); letter-spacing: -.01em; padding-bottom: .08em; }
.loader__word span { display: block; }
.loader__bar { width: 180px; height: 1px; margin: 18px auto 16px; background: var(--line-l); }
.loader__bar i { display: block; height: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; }
.loader__sub { margin: 0; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mist); }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 92px; padding: 0 var(--gutter);
  color: var(--stone);
  transition: height .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease), transform .7s var(--ease), box-shadow .6s;
}
.nav.is-solid { height: 72px; background: rgba(243, 238, 233, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.brand__mark { grid-row: 1 / 3; width: 38px; height: 24px; color: var(--rose); }
.brand__name { font: 400 24px/1 var(--serif); letter-spacing: .02em; }
.brand__sub { font: 500 9.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .7; margin-top: 5px; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a, .lang a {
  position: relative; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 8px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 26px; }
.lang { display: flex; gap: 8px; font-size: 12px; opacity: .85; }
.lang a { opacity: .55; } .lang a.is-active { opacity: 1; }
.nav__cta { height: 44px; padding: 0 22px; }
.nav.is-solid .nav__cta::before { background: var(--night); }
.nav.is-solid .nav__cta:hover { color: var(--stone); border-color: var(--night); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.3px; background: currentColor; transition: transform .6s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 26px; }
.menu-open .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--night); color: var(--stone);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .nav { color: var(--stone); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font: 300 clamp(38px, 9vw, 64px)/1.15 var(--serif); display: flex; align-items: baseline; gap: 16px; }
.menu nav a small { font: 500 11px/1 var(--sans); color: var(--rose); letter-spacing: .2em; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--mist); font-size: 15px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; grid-template-rows: 1fr auto auto;
  color: var(--stone); overflow: hidden; background: var(--night);
}
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,26,39,.6) 0%, rgba(19,26,39,0) 28%),
    linear-gradient(90deg, rgba(19,26,39,.55) 0%, rgba(19,26,39,0) 60%),
    linear-gradient(0deg, rgba(19,26,39,.92) 0%, rgba(19,26,39,.45) 40%, rgba(19,26,39,0) 72%);
}
.hero__content {
  position: relative; align-self: end;
  width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 140px var(--gutter) 44px;
}
.hero .eyebrow { color: var(--stone); text-shadow: 0 1px 12px rgba(19,26,39,.5); }
.hero .eyebrow .dash { background: var(--rose); height: 1.5px; }
.hero__title { font-size: clamp(54px, 9.2vw, 150px); line-height: .98; letter-spacing: -.025em; }
.hero__title em { color: var(--rose-l); }
.hero__lead { max-width: 440px; margin: 28px 0 0; font-size: 17px; color: rgba(243,238,233,.82); }

/* apartment strip */
.stay {
  position: relative; z-index: 2;
  width: calc(100% - var(--gutter) * 2); max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr auto;
  background: rgba(243, 238, 233, .08);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line-l);
}
.stay__item { position: relative; display: flex; align-items: center; gap: 22px; padding: 14px 28px 14px 14px; border-right: 1px solid var(--line-l); transition: background .6s var(--ease); min-width: 0; }
.stay__item:hover { background: rgba(243, 238, 233, .1); }
.stay__thumb { flex: none; width: 88px; aspect-ratio: 4 / 3; overflow: hidden; }
.stay__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stay__item:hover .stay__thumb img { transform: scale(1.12); }
.stay__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stay__meta small, .stay__call small { font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose-l); }
.stay__meta strong { font: 300 26px/1.1 var(--serif); }
.stay__meta span { font-size: 14px; color: rgba(243,238,233,.7); }
.stay__price { margin-left: auto; font-size: 13px; color: rgba(243,238,233,.7); white-space: nowrap; }
.stay__price b { font: 300 30px/1 var(--serif); color: var(--stone); }
.stay__arrow { flex: none; width: 22px; color: var(--rose-l); transition: transform .5s var(--ease); }
.stay__item:hover .stay__arrow { transform: translateX(6px); }
.stay__call { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 34px; background: var(--rose); color: var(--night); transition: background .5s var(--ease); }
.stay__call small { color: var(--night); opacity: .75; }
.stay__call strong { font: 300 24px/1 var(--serif); white-space: nowrap; }
.stay__call:hover { background: var(--stone); }

.hero__foot {
  position: relative;
  width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter) 26px;
  font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(243,238,233,.7);
}
.scrollcue { position: relative; width: 1px; height: 44px; background: var(--line-l); overflow: hidden; }
.scrollcue i { position: absolute; inset: 0; background: var(--rose-l); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================
   HOUSE
   ========================================================== */
.house__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.house__copy { margin-top: 44px; max-width: 520px; }
.house__copy p { margin: 0 0 20px; color: #4a4a50; }
.house__copy .lead { color: var(--ink); }
.sign { font: italic 300 22px/1 var(--serif) !important; color: var(--rose-d) !important; margin-top: 30px !important; }
.house__media { position: relative; padding: 0 0 12% 14%; }
.frame { margin: 0; overflow: hidden; position: relative; background: var(--stone-2); }
.frame img, .season__img img, .apt__frame img, .loc__media img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { position: absolute; left: 0; top: -9%; height: 118% !important; }
.frame--tall { aspect-ratio: 4 / 5.2; }
.frame--small { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border: 10px solid var(--stone); }
.house__badge {
  position: absolute; right: -18px; top: 12%;
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--night); color: var(--stone); margin: 0; text-align: center;
  font: 500 9.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.house__badge strong { font: 300 34px/1 var(--serif); letter-spacing: 0; color: var(--rose-l); }
.house__badge span:last-child { color: var(--mist); }


/* ==========================================================
   APARTMENTS
   ========================================================== */
.apts { background: var(--stone-2); }
.apts__head { margin-bottom: clamp(60px, 8vw, 110px); }
.apt { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.apt + .apt { margin-top: clamp(100px, 12vw, 180px); }
.apt--rev .apt__media { order: 2; }
.apt__frame { position: relative; aspect-ratio: 5 / 3.9; overflow: hidden; background: var(--stone-3); }
.apt__frame img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease), transform 1.6s var(--ease); transform: scale(1.04); }
.apt__frame img.is-active { opacity: 1; transform: none; }
.apt__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.apt__thumbs button { width: 84px; aspect-ratio: 4/3; overflow: hidden; opacity: .45; transition: opacity .5s var(--ease); position: relative; }
.apt__thumbs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rose-d); transform: scaleX(0); transition: transform .6s var(--ease); }
.apt__thumbs button.is-active, .apt__thumbs button:hover { opacity: 1; }
.apt__thumbs button.is-active::after { transform: scaleX(1); }
.apt__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.apt__tag { margin: 0 0 18px; font: 500 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rose-d); }
.apt__desc { margin: 24px 0 34px; color: #4a4a50; }
.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 0 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { padding: 18px 28px 18px 0; }
.specs div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.specs dt { font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.specs dd { margin: 0; font: 300 30px/1 var(--serif); white-space: nowrap; }
.specs b { font-weight: 300; }
.amen { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.amen li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 13.5px; color: #4a4a50; }
.apts__note { margin: clamp(80px, 10vw, 140px) auto 0; max-width: 640px; text-align: center; font: italic 300 clamp(20px, 2vw, 26px)/1.5 var(--serif); color: var(--muted); }

/* ==========================================================
   QUOTE BAND
   ========================================================== */
.scene { position: relative; height: 100vh; min-height: 560px; display: grid; place-items: center; overflow: hidden; color: var(--stone); background: var(--night); }
.scene__media { position: absolute; inset: 0; }
.scene__media img { width: 100%; height: 100%; object-fit: cover; }
.scene__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(19,26,39,.55), rgba(19,26,39,.78)); }
.scene__content { position: relative; text-align: center; padding: 0 var(--gutter); }
.scene__peak { width: 110px; color: var(--rose-l); margin: 0 auto 34px; }
.scene__peak path { stroke-dasharray: 200; stroke-dashoffset: 0; }
.scene__quote { font-size: clamp(34px, 5vw, 76px); line-height: 1.12; }
.scene__quote em { color: var(--rose-l); }

/* ==========================================================
   SEASONS
   ========================================================== */
.seasons { padding: clamp(96px, 14vw, 200px) 0 clamp(70px, 9vw, 130px); }
.seasons__head { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 60px; align-items: end; }
.seasons__head .eyebrow { grid-column: 1 / -1; }
.seasons__index { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 7vw, 100px); border-top: 1px solid var(--line); }
.seasons__index a { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 26px 0 0; font: 300 clamp(26px, 2.6vw, 40px)/1.1 var(--serif); transition: color .5s var(--ease); }
.seasons__index a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.seasons__index i { font: italic 300 18px/1 var(--serif); color: var(--rose-d); }
.seasons__index a::after { content: "→"; margin-left: auto; margin-right: 20px; font-size: 20px; color: var(--rose-d); opacity: 0; transform: translateX(-10px); transition: .5s var(--ease); }
.seasons__index a:hover { color: var(--rose-d); }
.seasons__index a:hover::after { opacity: 1; transform: none; }
.seasons__intro { margin: 0; color: #4a4a50; max-width: 420px; justify-self: end; }
.seasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.season:nth-child(2) { margin-top: 90px; }
.season:nth-child(3) { margin-top: 180px; }
.season__img { margin: 0; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--stone-2); }
.season__img img { transition: transform 1.6s var(--ease); }
.season:hover .season__img img { transform: scale(1.06); }
.season__body { padding-top: 28px; position: relative; }
.season__no { position: absolute; right: 0; top: 30px; font: italic 300 22px/1 var(--serif); color: var(--rose-d); }
.season ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.season li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: #4a4a50; transition: padding .5s var(--ease), color .5s; }
.season li:hover { padding-left: 10px; color: var(--ink); }
.kanin {
  margin-top: clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center;
  padding: clamp(36px, 5vw, 64px); background: var(--night); color: var(--stone);
}
.kanin__label { margin: 0; font: 500 11.5px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rose); }
.kanin__text { margin: 0; font: 300 clamp(24px, 2.6vw, 36px)/1.3 var(--serif); }
.kanin__text em { color: var(--rose-l); }

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery { background: var(--night); color: var(--stone); overflow: hidden; }
.gallery .eyebrow { color: var(--mist); } .gallery .eyebrow .num { color: var(--rose); }
.gallery .h2 em { color: var(--rose-l); }
.gallery__head { margin-bottom: clamp(60px, 8vw, 110px); }
.gallery__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.gcol { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); }
.gcol--mid { margin-top: 12vh; }
.gitem { display: block; width: 100%; aspect-ratio: var(--r); overflow: hidden; position: relative; background: var(--night-2); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.92); }
.gitem::after { content: "+"; position: absolute; right: 16px; bottom: 12px; font: 300 30px/1 var(--serif); color: var(--stone); opacity: 0; transform: translateY(8px); transition: .6s var(--ease); }
.gitem:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gitem:hover::after { opacity: 1; transform: none; }

/* ==========================================================
   LOCATION
   ========================================================== */
.loc__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 130px); align-items: center; }
.loc__media { margin: 0; position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.loc__pin {
  position: absolute; left: 50%; top: 40%;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  background: var(--stone); color: var(--ink); border-radius: 100px;
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(19,26,39,.25);
}
.loc__pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--rose-d); position: relative; }
.loc__pin i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--rose-d); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.loc__body > p { color: #4a4a50; margin: 34px 0 0; max-width: 480px; }
.addr { font-style: normal; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 44px 0; padding-top: 34px; border-top: 1px solid var(--line); }
.addr div:last-child { grid-column: 1 / -1; }
.addr span { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.addr a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.addr a:hover { background-size: 100% 1px; }

/* ==========================================================
   BOOKING
   ========================================================== */
.book { background: var(--night-2); color: var(--stone); padding: clamp(96px, 14vw, 180px) 0; }
.book__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(50px, 8vw, 130px); align-items: start; }
.book .h2 { font-size: clamp(40px, 4.8vw, 72px); }
.book .h2 em { color: var(--rose-l); }
.book__intro > p { color: rgba(243,238,233,.72); margin: 34px 0 0; max-width: 400px; }
.book__contacts { display: flex; flex-direction: column; gap: 6px; margin-top: 34px; font: 300 24px/1.4 var(--serif); }
.book__contacts a { color: var(--rose-l); width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.book__contacts a:hover { background-size: 100% 1px; }

.form { background: var(--night-3); padding: clamp(28px, 4vw, 54px); }
.form__types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.form__types label { cursor: pointer; }
.form__types input { position: absolute; opacity: 0; pointer-events: none; }
.form__types span { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line-l); transition: border-color .5s var(--ease), background .5s var(--ease); }
.form__types b { font: 400 24px/1 var(--serif); }
.form__types small { font-size: 12.5px; letter-spacing: .06em; color: var(--mist); }
.form__types input:checked + span { border-color: var(--rose); background: rgba(201, 138, 120, .12); }
.form__types input:focus-visible + span { outline: 1px solid var(--rose-l); outline-offset: 3px; }
.form__row { display: flex; gap: 22px; }
.fld { position: relative; flex: 1; display: block; padding-top: 22px; margin-top: 8px; }
.fld--sm { flex: 0 0 90px; }
.fld input, .fld textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-l);
  padding: 10px 0 12px; outline: 0; color: var(--stone); font-size: 16px; border-radius: 0;
  color-scheme: dark; resize: vertical; transition: border-color .5s var(--ease);
}
.fld span {
  position: absolute; left: 0; top: 33px; pointer-events: none;
  font-size: 15px; color: var(--mist); transform-origin: left top;
  transition: transform .5s var(--ease), color .5s var(--ease);
}
.fld input:focus, .fld textarea:focus { border-bottom-color: var(--rose); }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span,
.fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span,
.fld input[type="date"] + span, .fld input[type="number"] + span {
  transform: translateY(-26px) scale(.74); color: var(--rose-l); letter-spacing: .12em; text-transform: uppercase;
}
.form__send { width: 100%; margin-top: 36px; height: 60px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.foot { background: var(--night); color: rgba(243,238,233,.72); padding-top: clamp(80px, 10vw, 130px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; font-size: 15px; }
.foot__lead { margin: 0; font: 300 30px/1.2 var(--serif); color: var(--stone); }
.foot__lead em { color: var(--rose-l); }
.foot__col { display: flex; flex-direction: column; gap: 4px; }
.foot__col span { font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; }
.foot__col a:hover { color: var(--stone); }
.foot__word {
  display: flex; justify-content: center; overflow: hidden;
  font: 300 clamp(96px, 23vw, 380px)/.9 var(--serif); letter-spacing: -.01em;
  color: var(--stone); margin-top: clamp(50px, 7vw, 90px); padding-bottom: .04em;
}
.foot__word span { display: block; }
.foot__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-l); font-size: 12.5px; color: var(--mist); }

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lb {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(19, 26, 39, .96); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb img { max-width: 86vw; max-height: 80vh; object-fit: contain; transform: scale(.96); transition: transform .8s var(--ease); }
.lb.is-open img { transform: none; }
.lb__close { position: absolute; top: 28px; right: var(--gutter); color: var(--stone); font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid var(--line-l); border-radius: 50%; color: var(--stone); font-size: 20px; transition: background .4s, color .4s; }
.lb__nav:hover { background: var(--stone); color: var(--night); }
.lb__prev { left: var(--gutter); } .lb__next { right: var(--gutter); }
.lb__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; margin: 0; font: italic 300 18px/1 var(--serif); color: var(--mist); }

/* ==========================================================
   UPGRADES
   ========================================================== */

/* ---------- hero seal ---------- */
.hero__content { position: relative; }
.seal {
  position: absolute; right: var(--gutter); bottom: 52px;
  width: 150px; height: 150px; display: grid; place-items: center; color: var(--stone);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font: 500 10.5px/1 var(--sans); letter-spacing: 0; text-transform: uppercase; fill: currentColor; }
.seal__peak { width: 40px; color: var(--rose-l); transition: transform .8s var(--ease); }
.seal::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid var(--line-l); transition: background .6s var(--ease), inset .6s var(--ease); }
.seal:hover::before { background: rgba(201,138,120,.25); inset: 26px; }
.seal:hover .seal__peak { transform: translateY(-3px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--night); color: var(--stone); padding: clamp(26px, 3.4vw, 44px) 0; }
.marquee__track { display: flex; align-items: center; gap: clamp(26px, 3vw, 48px); width: max-content; animation: marq 48s linear infinite; }
.marquee__track > * { white-space: nowrap; font: 300 clamp(36px, 5vw, 72px)/1.1 var(--serif); }
.marquee__track em { color: var(--rose-l); }
.marquee__track span { color: transparent; -webkit-text-stroke: 1px rgba(243,238,233,.7); }
.marquee__track i { font-style: normal; font-size: clamp(16px, 1.6vw, 22px); color: var(--rose); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- apartments extras ---------- */
.apt { position: relative; }
.apt__letter {
  position: absolute; right: calc(var(--gutter) - .06em); top: -.42em; z-index: 0; pointer-events: none;
  font: 300 clamp(220px, 28vw, 440px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(169,104,90,.3);
}
.apt--rev .apt__letter { right: auto; left: calc(var(--gutter) - .04em); }
.apt__media, .apt__body { position: relative; z-index: 1; }
.apt__ctrl {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px; padding: 70px 26px 24px;
  background: linear-gradient(0deg, rgba(19,26,39,.65), rgba(19,26,39,0));
  color: var(--stone); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.apt__cap { margin-right: auto; font: italic 300 22px/1 var(--serif); letter-spacing: 0; text-transform: none; }
.apt__count { font-feature-settings: "tnum"; }
.apt__ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243,238,233,.45); color: var(--stone); font-size: 15px; transition: background .4s, color .4s; }
.apt__ctrl button:hover { background: var(--stone); color: var(--night); }
.apt__frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(243,238,233,.35); z-index: 40; pointer-events: none; }
.specs { background: var(--stone); border: 0; padding: 0 6px; box-shadow: 0 24px 50px -34px rgba(19,26,39,.4); }
.specs div { padding: 20px 24px 20px 18px; }

/* ---------- agency card ---------- */
.agency {
  margin-top: clamp(90px, 11vw, 160px);
  display: grid; grid-template-columns: 1fr 1.3fr; background: var(--night); color: var(--stone); overflow: hidden;
}
.agency__img { margin: 0; min-height: 340px; overflow: hidden; }
.agency__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.agency:hover .agency__img img { transform: scale(1.06); }
.agency__body { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.agency__text { margin: 0 0 30px; font: 300 clamp(26px, 2.7vw, 40px)/1.25 var(--serif); }
.agency__text em { color: var(--rose-l); }
.agency__link { display: inline-flex; gap: 12px; align-items: center; width: fit-content; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--rose); }
.agency__link span { transition: transform .5s var(--ease); }
.agency__link:hover span { transform: translateX(6px); }

/* ---------- scene: expanding window ---------- */
.scene { background: var(--stone); }

/* ---------- kanin with photo ---------- */
.kanin { position: relative; overflow: hidden; isolation: isolate; min-height: 320px; }
.kanin__bg { position: absolute; left: 0; width: 100%; object-fit: cover; object-position: 50% 20%; z-index: -2; }
.kanin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,26,39,.94) 0%, rgba(19,26,39,.72) 45%, rgba(19,26,39,.3) 100%); }

/* ---------- location visual + map ---------- */
.loc__visual { position: relative; padding-bottom: 90px; }
.loc__map {
  position: absolute; right: -8%; bottom: 0; width: 50%; aspect-ratio: 1; z-index: 2;
  border: 10px solid var(--stone); background: var(--stone-2); box-shadow: 0 30px 60px -30px rgba(19,26,39,.45);
}
.loc__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.18) contrast(1.05); }

/* ---------- booking background ---------- */
.book { position: relative; overflow: hidden; isolation: isolate; }
.book__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.book__bg img { width: 100%; object-fit: cover; opacity: .2; filter: grayscale(.3); }
.book__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night-2) 0%, rgba(27,36,53,.35) 50%, var(--night-2) 100%); }
.form { background: rgba(39, 50, 74, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-l); }

@media (max-width: 1100px) {
  .seal { display: none; }
}
@media (max-width: 860px) {
  .apt__letter { display: none; }
  .agency { grid-template-columns: 1fr; }
  .agency__img { min-height: 0; aspect-ratio: 16/9; }
  .loc__visual { padding-bottom: 0; }
  .loc__map { position: relative; right: auto; width: 100%; aspect-ratio: 4/3; margin-top: 14px; border: 0; }
  .apt__ctrl { padding: 40px 14px 12px; gap: 10px; }
  .apt__ctrl button { width: 38px; height: 38px; }
  .apt__cap { font-size: 16px; }
}


/* ---------- scene variants ---------- */
.scene { height: 100vh; height: 100svh; }
.scene__media img { will-change: transform; }
.scene--season .scene__media::after { background: radial-gradient(ellipse at center, rgba(19,26,39,.38), rgba(19,26,39,.72)); }
.scene__no { margin: 0 0 18px; font: 500 11.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--rose-l); }
.scene__word { margin: 0; font: 300 clamp(86px, 15vw, 250px)/.95 var(--serif); letter-spacing: -.03em; }
.scene__word em { color: var(--stone); }
.scene__lead { max-width: 640px; margin: 28px auto 0; font: 300 clamp(20px, 2vw, 28px)/1.4 var(--serif); }
.scene__lead em { color: var(--rose-l); }
.scene__list { max-width: 780px; margin: 30px auto 0; font: 500 12px/2.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(243,238,233,.86); }
.scene__cta { margin-top: 44px; color: var(--stone); }
.scene + .scene { margin-top: 0; }
@media (max-width: 860px) {
  .scene { height: 88vh; height: 88svh; }
  .seasons__index { grid-template-columns: 1fr; }
  .seasons__index a + a { padding-left: 0; border-left: 0; }
  .seasons__index a { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .scene__list { font-size: 11px; letter-spacing: .14em; line-height: 2; }
}
@media (max-width: 560px) {
  .scene__quote { font-size: 6.4vw; }
}


/* ---------- doživetja: three calm cards ---------- */
.exp { background: var(--stone); }
.exp__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.exp__intro { margin: 0; max-width: 400px; justify-self: end; color: #4a4a50; }
.exp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.exp__card { position: relative; }
.exp__img { margin: 0 0 26px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); }
.exp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.exp__card:hover .exp__img img { transform: scale(1.05); }
.exp__no { margin: 0 0 10px; font: italic 300 18px/1 var(--serif); color: var(--rose-d); }
.exp__title { margin: 0 0 12px; font: 300 clamp(30px, 2.6vw, 40px)/1.1 var(--serif); letter-spacing: -.01em; }
.exp__text { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; color: #4a4a50; max-width: 380px; }
@media (max-width: 860px) {
  .exp__head { grid-template-columns: 1fr; gap: 24px; }
  .exp__intro { justify-self: start; }
  .exp__grid { grid-template-columns: 1fr; gap: 56px; }
  .exp__img { aspect-ratio: 4 / 3.4; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links, .lang { display: none; }
  .burger { display: block; }
  .stay { grid-template-columns: 1fr 1fr; }
  .stay__item:nth-child(2) { border-right: 0; }
  .stay__call { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: center; gap: 16px; padding: 18px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { height: 76px; }
  .nav__cta { display: none; }
  .house__grid, .apt, .loc__grid, .book__grid, .seasons__head { grid-template-columns: 1fr; }
  .house__media { order: -1; padding-left: 12%; }
  .house__badge { width: 108px; height: 108px; right: -6px; }
  .house__badge strong { font-size: 28px; }
  .apt--rev .apt__media { order: 0; }
  .seasons__intro { justify-self: start; }
  .seasons__grid { grid-template-columns: 1fr; gap: 64px; }
  .season:nth-child(n) { margin-top: 0; }
  .season__img { aspect-ratio: 4 / 3.4; }
  .kanin { grid-template-columns: 1fr; gap: 16px; }
  .gallery__cols { grid-template-columns: 1fr 1fr; }
  .gcol:nth-child(3) { display: contents; }
  .gcol:nth-child(3) .gitem { grid-column: 1 / -1; aspect-ratio: 1.5; }
  .gcol--mid { margin-top: 60px; }
  .loc__media { aspect-ratio: 4 / 3.6; }
  .scene { height: 80vh; }
}
@media (max-width: 560px) {
  .brand__sub { display: none; }
  .hero__lead { font-size: 16px; }
  .scene__quote { font-size: 6.4vw; }
  .stay { grid-template-columns: 1fr; }
  .stay__item { border-right: 0; border-bottom: 1px solid var(--line-l); padding: 10px 18px 10px 10px; gap: 16px; }
  .stay__thumb { width: 64px; }
  .stay__meta strong { font-size: 22px; }
  .stay__meta span { font-size: 13px; }
  .stay__price b { font-size: 24px; }
  .stay__arrow { display: none; }
  .hero__foot span:last-child { display: none; }
  .specs { grid-template-columns: 1fr 1fr; width: 100%; }
  .specs div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .specs div:nth-child(4) { border-top: 1px solid var(--line); }
  .form__row { flex-direction: column; gap: 0; }
  .fld--sm { flex: 1; }
  .addr { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .lb__nav { top: auto; bottom: 64px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   Round 5 — a few more quiet effects
   ========================================================== */
/* scroll progress hairline */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: linear-gradient(90deg, var(--rose-d), var(--rose)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* agency: underline that draws under the italic phrase */
.agency__text em { background: linear-gradient(currentColor, currentColor) 0 96% / 0 1px no-repeat; transition: background-size 1.4s var(--ease) .5s; }
.agency.is-in .agency__text em, html:not(.js) .agency__text em { background-size: 100% 1px; }

/* experience cards: soft dusk wash + number slides on hover */
.exp__img { position: relative; }
.exp__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,26,39,.45), rgba(19,26,39,0) 55%); opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.exp__card:hover .exp__img::after { opacity: 1; }
.exp__no { display: inline-block; transition: transform .7s var(--ease); }
.exp__card:hover .exp__no { transform: translateX(10px); }
.exp__text { position: relative; border-top-color: transparent; }
.exp__text::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); }
.exp__text::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rose-d); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.exp__card:hover .exp__text::after { transform: scaleX(1); }

/* hero: light that drifts with the cursor */
.hero__glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity 1.2s;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 40%), rgba(236,211,201,.55), transparent 70%); }
.hero:hover .hero__glow { opacity: 1; }
@media (hover: none) { .hero__glow { display: none; } }

/* ==========================================================
   Facts — photo bento (round 6)
   ========================================================== */
.facts {
  list-style: none; margin: clamp(64px, 8vw, 110px) 0 0; padding: 0; border: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(260px, 30vh));
  gap: 16px;
}
.fact { position: relative; overflow: hidden; isolation: isolate; color: var(--stone); background: var(--night); display: flex; align-items: flex-end; }
.fact--sun { grid-column: 1 / 3; grid-row: 1 / 3; }
.fact:nth-child(2) { grid-column: 3 / 5; }
.fact__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.fact:hover .fact__img { transform: scale(1.07); }
.fact::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(19,26,39,.35) 0%, rgba(19,26,39,0) 28%),
              linear-gradient(0deg, rgba(19,26,39,.88) 0%, rgba(19,26,39,.35) 42%, rgba(19,26,39,0) 70%); }
.fact--sun::after { background:
  radial-gradient(45% 40% at var(--sx, 50%) var(--sy, 14%), rgba(255, 190, 140, .42), rgba(255, 190, 140, 0) 70%),
  linear-gradient(0deg, rgba(19,26,39,.92) 0%, rgba(19,26,39,.4) 35%, rgba(19,26,39,.1) 58%, rgba(19,26,39,.5) 100%); }
.fact__body { position: static; width: 100%; padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fact__body strong { font: 300 clamp(24px, 1.9vw, 30px)/1.1 var(--serif); }
.fact--sun .fact__body strong { font-size: clamp(34px, 3.6vw, 56px); }
.fact__body > span { position: relative; align-self: stretch; padding-top: 12px; font-size: 15px; color: rgba(243,238,233,.78); }
.fact__body > span::before, .fact__body > span::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.fact__body > span::before { right: 0; background: var(--line-l); }
.fact__body > span::after { width: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.fact:hover .fact__body > span::after { transform: scaleX(1); }
.fact__no { font: italic 300 20px/1 var(--serif); color: var(--rose-l); }

/* glass icon badge */
.fact__icon { width: 50px; height: 50px; padding: 12px; margin-bottom: 10px; border-radius: 50%;
  fill: none; stroke: var(--stone); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(243,238,233,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-l);
  transition: background .6s var(--ease), stroke .6s, border-color .6s; }
.fact:hover .fact__icon { background: var(--rose); stroke: var(--night); border-color: var(--rose); }
.fact__icon--peak path { stroke-dasharray: 80; }
.fact:hover .fact__icon--peak path { animation: draw 1.4s var(--ease); }
@keyframes draw { from { stroke-dashoffset: 80; } }
.fact:hover .fact__icon--pin { animation: hop .9s var(--ease); }
@keyframes hop { 30% { transform: translateY(-7px); } 60% { transform: translateY(0); } 75% { transform: translateY(-2px); } }

/* sun card: warm light + the sun's path from east (V) over south (J) to west (Z) */
.sunarc { position: absolute; top: clamp(28px, 3.4vw, 50px); left: 50%; width: min(78%, 420px); transform: translateX(-50%); overflow: visible; }
.sunarc path { fill: none; stroke-width: 1.2; }
.sunarc__path { stroke: rgba(243,238,233,.45); stroke-dasharray: 3 6; }
.sunarc__lit { stroke: var(--rose-l); stroke-width: 1.6 !important; }
.sunarc__sun circle { fill: #ffd7a8; }
.sunarc__sun .sunarc__halo { fill: rgba(255, 215, 168, .3); animation: halo 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 50% { transform: scale(1.4); opacity: .5; } }
.sunarc text { fill: rgba(243,238,233,.8); font: 500 10px/1 var(--sans); letter-spacing: .2em; }

@media (max-width: 1100px) {
  .facts { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fact--sun { grid-column: 1 / -1; grid-row: auto; min-height: 480px; }
  .fact:nth-child(2) { grid-column: auto; }
  .fact:not(.fact--sun) { min-height: 300px; }
  .fact:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .fact--sun { min-height: 440px; }
  .fact:not(.fact--sun) { min-height: 260px; }
  .sunarc { width: 86%; }
}

/* ---------- apartments header: tighter, with a side index (round 7) ---------- */
.house.section { padding-bottom: clamp(64px, 8vw, 120px); }
.apts.section { padding-top: clamp(72px, 9vw, 130px); }
.apts__head { display: grid; grid-template-columns: auto minmax(300px, 460px); grid-template-areas: "eyebrow side" "title side"; grid-template-rows: 1fr auto; justify-content: space-between; column-gap: 60px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.apts__head > .eyebrow { grid-area: eyebrow; align-self: end; }
.apts__head > .h2 { grid-area: title; margin: 0; }
.apts__side { grid-area: side; }
.apts__intro { margin: 0 0 26px; color: #4a4a50; }
.apts__index { border-top: 1px solid var(--line); }
.apts__index a { position: relative; display: grid; grid-template-columns: 34px 1fr auto 22px; align-items: baseline; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .6s var(--ease), padding .6s var(--ease); }
.apts__index a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.apts__index a:hover { color: var(--stone); padding-left: 18px; padding-right: 18px; }
.apts__index a:hover::before { transform: none; }
.apts__index i { font: italic 300 17px/1 var(--serif); color: var(--rose-d); }
.apts__index strong { font: 300 28px/1 var(--serif); }
.apts__index span { font-size: 14px; color: var(--muted); transition: color .6s; }
.apts__index a:hover span { color: var(--mist); }
.apts__index a:hover i { color: var(--rose-l); }
.apts__index svg { width: 22px; align-self: center; color: var(--rose-d); transition: transform .5s var(--ease), color .6s; }
.apts__index a:hover svg { transform: translateX(4px); color: var(--rose-l); }
@media (max-width: 960px) {
  .apts__head { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "eyebrow" "title" "side"; row-gap: 0; }
  .apts__side { margin-top: 32px; }
  .apts__side { max-width: 520px; }
}
@media (max-width: 560px) {
  .apts__index a { grid-template-columns: 28px 1fr auto; }
  .apts__index svg { display: none; }
  .apts__index strong { font-size: 24px; }
}

/* ==========================================================
   HERO — framed window (round 8, from variant F)
   ========================================================== */
.fhero { --ft: 150px; --fs: var(--gutter); --fb: clamp(150px, 22vh, 210px); position: relative; height: 190vh; background: var(--stone); }
.fhero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fhero__ref { position: absolute; top: var(--ft); left: var(--fs); right: var(--fs); bottom: var(--fb); pointer-events: none; visibility: hidden; }
.fhero__frame { position: absolute; inset: 0; z-index: 2; clip-path: inset(var(--ft) var(--fs) var(--fb) var(--fs) round 22px); background: var(--night); }
.fhero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 55%; }
.fhero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,26,39,.3) 0%, rgba(19,26,39,0) 30%, rgba(19,26,39,0) 55%, rgba(19,26,39,.5) 100%); }
.fhero__title { position: absolute; margin: 0; left: calc(var(--fs) + clamp(18px, 3vw, 56px)); bottom: calc(var(--fb) - .95em);
  font: 300 min(9.4vw, 17vh)/.92 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.fhero__title--ink { z-index: 1; color: var(--ink); }
.fhero__title--ink em { color: var(--rose-d); }
.fhero__title--light { z-index: 3; color: var(--stone); }
.fhero__title--light em { color: var(--rose-l); }
.fhero__kicker { position: absolute; z-index: 1; left: var(--fs); top: calc(var(--ft) - 38px); margin: 0; }
.fhero__kicker .dash { background: var(--rose-d); }

/* taped notes */
.tag { position: absolute; z-index: 4; margin: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 20px 13px; background: var(--stone); color: var(--ink);
  font: italic 300 clamp(20px, 1.9vw, 28px)/1 var(--serif); box-shadow: 0 16px 34px -16px rgba(19,26,39,.55); }
.tag::before { content: ""; position: absolute; left: 50%; top: -10px; width: 60px; height: 20px; margin-left: -30px; background: rgba(201,138,120,.45); transform: rotate(-4deg); }
.tag svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--rose-d); stroke-width: 1.5; stroke-linecap: round; }
.tag--1 { right: calc(var(--fs) + clamp(24px, 7vw, 140px)); top: calc(var(--ft) - 20px); transform: rotate(3deg); }
.tag--2 { right: calc(var(--fs) + clamp(24px, 4vw, 70px)); bottom: calc(var(--fb) + clamp(40px, 8vh, 90px)); transform: rotate(-5deg); font-size: clamp(24px, 2.3vw, 34px); }

.fhero__meta { position: absolute; z-index: 1; right: var(--fs); bottom: clamp(22px, 4vh, 44px); width: min(360px, 34vw); display: grid; gap: 14px; justify-items: start; }
.fhero__meta p { margin: 0; color: #4a4a50; font-size: 15.5px; line-height: 1.6; }
.fhero__link { display: inline-flex; gap: 12px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--rose-d); }
.fhero__link span { transition: transform .5s var(--ease); }
.fhero__link:hover span { transform: translateY(4px); }

/* light hero: dark nav until it turns solid */
.nav:not(.is-solid) { color: var(--ink); }
.nav:not(.is-solid) .nav__cta::before { background: var(--night); }
.nav:not(.is-solid) .nav__cta:hover { color: var(--stone); border-color: var(--night); }
.menu-open .nav { color: var(--stone); }

@media (max-width: 980px) {
  .fhero__meta { left: calc(var(--fs) + clamp(18px, 3vw, 56px)); right: var(--fs); width: auto; max-width: 420px; bottom: clamp(20px, 3.5vh, 36px); gap: 10px; }
  .fhero__meta p { font-size: 14.5px; line-height: 1.5; }
}
@media (max-width: 640px) {
  .fhero { --ft: 116px; --fs: 12px; --fb: 26vh; height: 170vh; }
  .fhero__title { font-size: min(14vw, 13vh); left: calc(var(--fs) + 14px); }
  .fhero__kicker { left: calc(var(--fs) + 8px); top: calc(var(--ft) - 32px); font-size: 10px; }
  .fhero__kicker .dash { width: 20px; }
  .tag--1 { right: 18px; top: calc(var(--ft) + 18px); font-size: 18px; padding: 9px 14px 10px; }
  .tag--2 { right: 22px; bottom: calc(var(--fb) + 70px); font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .fhero { height: auto; }
  .fhero__stage { position: relative; }
}

/* ==========================================================
   BOOKING — light, framed (round 9; echoes the hero)
   ========================================================== */
.bk { --bh: clamp(380px, 38vw, 540px); background: var(--stone-2); padding: clamp(96px, 12vw, 170px) 0; }
.bk__grid { display: grid; grid-template-columns: 1fr minmax(0, 1.02fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.bk__visual { position: relative; padding-bottom: 1.25em; font-size: clamp(40px, 4.6vw, 70px); }
.bk__frame { position: relative; height: var(--bh); border-radius: 22px; overflow: hidden; background: var(--night); }
.bk__frame img { width: 100%; object-fit: cover; }
.bk__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,26,39,0) 55%, rgba(19,26,39,.45) 100%); }
.bk__title { position: absolute; left: clamp(20px, 2.6vw, 40px); top: calc(var(--bh) - 1.08em); margin: 0; font-size: 1em; line-height: 1; white-space: nowrap; }
.bk__title--light { z-index: 2; color: var(--stone); }
.bk__title--light em { color: var(--rose-l); }
.bk__title--ink { z-index: 0; color: var(--ink); }
.bk__title--ink em { color: var(--rose-d); }
.tag--bk { right: -14px; top: 26px; transform: rotate(3deg); font-size: clamp(17px, 1.4vw, 21px); }
.bk__lead { margin: 30px 0 0; max-width: 460px; color: #4a4a50; }
.bk__contacts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk__contacts a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--stone); border: 1px solid transparent; transition: border-color .5s var(--ease), transform .5s var(--ease); }
.bk__contacts a:hover { border-color: var(--rose); transform: translateY(-3px); }
.bk__contacts svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--stone-2); fill: none; stroke: var(--rose-d); stroke-width: 1.4; stroke-linejoin: round; transition: background .5s, stroke .5s; }
.bk__contacts a:hover svg { background: var(--rose); stroke: var(--night); }
.bk__contacts span { display: flex; flex-direction: column; gap: 3px; min-width: 0; font: 300 18px/1.2 var(--serif); overflow-wrap: anywhere; }
.bk__contacts small { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bk__contacts li:last-child { grid-column: 1 / -1; }

/* form card */
.bkform { background: var(--stone); padding: clamp(28px, 3.6vw, 52px); box-shadow: 0 40px 80px -50px rgba(19,26,39,.45); }
.bkform__step { display: flex; align-items: center; gap: 14px; margin: 34px 0 14px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.bkform__step:first-child { margin-top: 0; }
.bkform__step i { font: italic 300 18px/1 var(--serif); letter-spacing: 0; color: var(--rose-d); }
.bkform__step::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.bkform .form__types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.bkform .form__types input { position: absolute; opacity: 0; pointer-events: none; }
.bkform .form__types .pick { position: relative; display: flex; flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
.bkform .pick img { flex: none; width: 64px; height: 64px; object-fit: cover; }
.bkform .form__types .pick__t { display: flex; flex-direction: column; gap: 5px; padding: 0; border: 0; background: none; }
.bkform .pick b { font: 400 22px/1 var(--serif); }
.bkform .pick small { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.bkform .pick em { font: italic 300 15px/1 var(--serif); color: var(--rose-d); margin-top: 2px; }
.bkform .pick::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--stone-3); transition: border-color .4s, box-shadow .4s; }
.bkform .form__types input:checked + .pick { border-color: var(--rose-d); box-shadow: 0 0 0 1px var(--rose-d); background: #fff; }
.bkform .form__types .pick:hover { border-color: var(--rose); }
.bkform .form__types input:checked + .pick::after { border-color: var(--rose-d); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--rose-d); }
.bkform .form__types input:focus-visible + .pick { outline: 2px solid var(--rose); outline-offset: 3px; }

.bkform .fld { margin-top: 0; }
.bkform .fld input, .bkform .fld textarea { color: var(--ink); border-bottom-color: var(--line); color-scheme: light; }
.bkform .fld span { color: var(--muted); }
.bkform .fld input:focus, .bkform .fld textarea:focus { border-bottom-color: var(--rose-d); }
.bkform .fld input:focus + span, .bkform .fld input:not(:placeholder-shown) + span,
.bkform .fld textarea:focus + span, .bkform .fld textarea:not(:placeholder-shown) + span,
.bkform .fld input[type="date"] + span, .bkform .fld input[type="number"] + span { color: var(--rose-d); }

.bkform__send { position: relative; width: 100%; height: 64px; margin-top: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
  background: var(--night); color: var(--stone); overflow: hidden; isolation: isolate;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.bkform__send::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rose-d); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.bkform__send:hover::before { transform: none; }
.bkform__send svg { width: 24px; transition: transform .5s var(--ease); }
.bkform__send:hover svg { transform: translateX(6px); }

@media (max-width: 1100px) {
  .bk__grid { grid-template-columns: 1fr; }
  .bk__side { max-width: 680px; }
  .tag--bk { right: 14px; }
}
@media (max-width: 560px) {
  .bk { --bh: 300px; }
  .bk__visual { font-size: 9.4vw; }
  .bk__title { left: 16px; }
  .bk__contacts a { padding: 12px; gap: 10px; }
  .bk__contacts svg { width: 30px; height: 30px; padding: 6px; }
  .bk__contacts span { font-size: 16px; }
  .bkform .form__types { grid-template-columns: 1fr; }
  .tag--bk { top: -12px; right: 10px; }
}
