/* Paradise View · paradiseview.me · Colour System: the Italian architect (10 Oct 2026) */
:root {
  --white: #FFFFFF;      /* Bianco Calce */
  --curzola: #F1F3EF;    /* Bianco Curzola */
  --ink: #074E78;        /* Inchiostro Adriatico */
  --seppia: #1E2A31;     /* Nero di Seppia: body text */
  --green: #5A9282;      /* Verde Persiana */
  --sky: #CFE5F3;        /* Cielo del Mattino */
  --aqua: #3BB2D3;       /* Acqua di Bečići */
  --oleander: #E77A98;   /* Oleandro */
  --olive: #9EAB8E;      /* Argento d'Ulivo */
  --muted: #56656C;
  --m: 20px;             /* page margin */
  --display: "Spectral", Georgia, serif;
  --text: "Ysabeau Office", "Segoe UI", system-ui, sans-serif;
  --sc: "Ysabeau SC", "Ysabeau Office", system-ui, sans-serif;
  --h1: 44px; --h1lh: 1.04; --h2: 32px; --h2lh: 1.1; --body: 17px; --bodylh: 1.6;
  --nav: 17px; --btn: 17px; --label: 16px;
  --gap: 96px;
}
@media (min-width: 900px) {
  :root { --m: clamp(24px, 6vw, 112px); --h1: clamp(64px, 6.6vw, 96px); --h1lh: 1; --h2: clamp(40px, 3.9vw, 56px); --h2lh: 1.08; --body: 19px; --nav: 18px; --btn: 18px; --gap: 192px; }
}
:root[lang="ar"] {
  --display: "IBM Plex Sans Arabic", "Ysabeau Office", system-ui, sans-serif;
  --text: "IBM Plex Sans Arabic", "Ysabeau Office", system-ui, sans-serif;
  --sc: "Ysabeau SC", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --h1: 38px; --h1lh: 1.4; --h2: 28px; --h2lh: 1.45; --body: 19px; --bodylh: 1.8; --nav: 18px; --btn: 18px; --label: 17px;
}
@media (min-width: 900px) { :root[lang="ar"] { --h1: clamp(56px, 5.6vw, 80px); --h1lh: 1.3; --h2: clamp(36px, 3.2vw, 46px); --h2lh: 1.4; --body: 20px; --nav: 19px; --btn: 19px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--seppia); font: 400 var(--body)/var(--bodylh) var(--text); font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--seppia); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: var(--h1lh); letter-spacing: -.02em; font-weight: 200; }
h2 { font-size: var(--h2); line-height: var(--h2lh); letter-spacing: -.012em; margin-bottom: .55em; }
:root[lang="ar"] h1, :root[lang="ar"] h2 { font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 66ch; }
.small { font-size: 16px; line-height: 1.45; color: var(--muted); font-style: italic; }
:root[lang="ar"] .small { font-style: normal; }
.wrap { padding-inline: var(--m); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 16px; font-size: 17px; }
.skip:focus { top: 8px; }

/* label + l'orizzonte (the painted horizon, the only line) */
.label { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 500 var(--label)/1.3 var(--sc); letter-spacing: .12em; color: var(--ink); text-transform: lowercase; }
:root[lang="ar"] .label { letter-spacing: .04em; }
.hz { width: 64px; height: 6px; color: var(--ink); flex: none; }
:root[dir="rtl"] .hz { transform: scaleX(-1); }

/* buttons: square, 52 tall */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); font: 600 var(--btn)/1.1 var(--text); text-decoration: none; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover, .btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--seppia); border-color: var(--seppia); color: var(--white); }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 76px; padding: env(safe-area-inset-top) max(16px, calc(var(--m) - 4px)) 0; transition: background .35s, box-shadow .35s; }
.top.solid { background: var(--white); box-shadow: 0 1px 0 rgba(7, 78, 120, .06); }
.brand { flex: none; }
.brand img { width: 124px; height: auto; }
@media (min-width: 900px) { .brand img { width: 168px; } .top { height: 88px; } }
.tools { display: flex; align-items: center; gap: 4px; }
.tools .btn { white-space: nowrap; }
.tools .btn { min-height: 46px; padding: 0 16px; font-size: var(--nav); }
@media (min-width: 900px) { .tools .btn { min-height: 52px; padding: 0 22px; } }
.langs { position: relative; }
.langs summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 8px; color: var(--ink); font: 500 var(--nav)/1 var(--text); cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs .ln, .langs .lc { display: none; }
@media (min-width: 440px) { .langs .lc { display: inline; } }
@media (min-width: 700px) { .langs .ln { display: inline; } .langs .lc { display: none; } }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); margin: 0; padding: 8px 0; list-style: none; background: var(--white); min-width: 200px; box-shadow: 0 12px 40px rgba(7, 78, 120, .14); }
.langs a { display: block; padding: 12px 20px; font: 500 var(--nav)/1.2 var(--text); text-decoration: none; color: var(--seppia); }
.langs a[aria-current] { color: var(--ink); text-decoration: underline; }
.langs a:hover { background: var(--curzola); }

/* shared sticky stage */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--curzola); }
.layer { position: absolute; inset: 0; }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.cd { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 3; padding: 5px 10px; background: rgba(255, 255, 255, .9); color: var(--ink); font: 500 16px/1.2 var(--sc); letter-spacing: .06em; }
.veil { position: absolute; inset: auto 0 0 0; height: 44%; background: linear-gradient(to top, rgba(255,255,255,.95) 0, rgba(255,255,255,.82) 30%, rgba(255,255,255,0) 100%); pointer-events: none; }

/* 1 · le škure: the shutters open */
.open { position: relative; height: 280vh; height: 280svh; }
.open .layer { transform: scale(var(--z, 1)); transform-origin: var(--ox, 50%) var(--oy, 32%); will-change: transform; }
.open .s2full { opacity: var(--full, 1); }
.js .open .s2full { opacity: var(--full, 0); }
.js .open .s2win { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, transparent 100%); }
.open .cd, .rise .cd { top: 96px; }
.hero-copy { position: absolute; z-index: 2; inset-inline: var(--m); bottom: calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.hero-copy h1 { margin: 0 auto .28em; max-width: 14ch; }
@media (min-width: 900px) { .hero-copy h1 { max-width: none; font-size: clamp(56px, 5.4vw, 84px); } .hero-copy { bottom: 32px; } }
.hero-copy .lede { margin: 0 auto; font-size: calc(var(--body) + 1px); color: var(--seppia); max-width: 34ch; }
.hero-label { position: absolute; z-index: 2; inset-inline: 0; bottom: calc(40px + env(safe-area-inset-bottom)); margin: 0 auto; max-width: none; text-align: center; font: 500 16px/1.3 var(--sc); letter-spacing: .14em; color: var(--ink); }
.hint { position: absolute; z-index: 2; inset-inline: 0; bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; max-width: none; color: var(--ink); font: italic 400 17px/1.3 var(--text); }
.hint svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }
.js .hero-copy { opacity: var(--copy, 0); transform: translateY(calc((1 - var(--copy, 0)) * 24px)); }
.js .hero-label { opacity: var(--hint, 1); }
.js .hint { opacity: var(--hint, 1); }
.open .veil { opacity: var(--veil, 1); }
.open .stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 1; background: linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,0)); pointer-events: none; }
html:not(.js) .hint, html:not(.js) .hero-label { display: none; }

/* Flow clips as scroll-driven frames */
.seq { width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.seq.ready, .hours-frame .seq.ready { opacity: 1; }
.rise.has-seq .seq { z-index: 1; } .rise.has-seq .veil, .rise.has-seq .quota, .rise.has-seq .q-steps, .rise.has-seq .cd { z-index: 2; }
.hour-drag { margin-top: 18px; }
.hour-drag input { width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; }
.hour-drag input::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, #C9B6E4, var(--sky) 50%, #F2B48A); }
.hour-drag input::-moz-range-track { height: 3px; background: linear-gradient(90deg, #C9B6E4, var(--sky) 50%, #F2B48A); }
.hour-drag input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12.5px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 0 2px 10px rgba(7, 78, 120, .25); }
.hour-drag input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); }

/* 2 · the idea */
.idea { display: grid; gap: 40px; padding-block: var(--gap) calc(var(--gap) / 2); align-items: center; }
.aq { mix-blend-mode: multiply; }
.aq img { width: 100%; height: auto; }
.aq-olive { width: min(60%, 320px); justify-self: end; }
@media (min-width: 900px) {
  .idea { grid-template-columns: 1fr minmax(0, 7fr) 1fr minmax(0, 4fr); }
  .idea .col { grid-column: 2; } .aq-olive { grid-column: 4; width: 100%; max-width: 420px; justify-self: center; }
}

/* 3 · la quota: rise with the house */
.rise { padding-top: calc(var(--gap) / 2); }
.rise-head { margin-bottom: 40px; }
.rise-head p { max-width: 52ch; }
.rise-track { position: relative; height: 380vh; height: 380svh; }
.rise .layer { opacity: 0; transform: translateY(var(--ty, 0)) scale(1.08); will-change: opacity, transform; }
.rise .r0 { opacity: 1; }
.rise .veil { height: 34%; }
.quota { position: absolute; z-index: 2; inset-inline-start: var(--m); bottom: calc(28px + env(safe-area-inset-bottom)); display: flex; align-items: flex-end; gap: 18px; }
.q-tile { position: relative; width: 64px; height: 64px; flex: none; margin-bottom: 10px; box-shadow: 0 6px 18px rgba(7, 78, 120, .16); }
.q-tile .qt { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.q-tile .qt.on { opacity: 1; }
.q-tile img, .q-tile svg { width: 100%; height: 100%; }
.q-text p { margin: 0; max-width: none; }
.q-floor { font: 500 16px/1.3 var(--sc); letter-spacing: .12em; color: var(--ink); text-transform: lowercase; }
:root[lang="ar"] .q-floor { letter-spacing: 0; font-family: var(--text); }
.q-num { font: 200 64px/1 var(--text); font-family: "Ysabeau Office", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; direction: ltr; unicode-bidi: isolate; }
.q-unit { font-size: .3em; margin-inline-start: .15em; }
:root[lang="ar"] .q-unit { font-family: var(--text); font-size: .32em; }
.q-eye { font: italic 400 16px/1.3 var(--text); color: var(--muted); }
:root[lang="ar"] .q-eye { font-style: normal; }
.q-steps { position: absolute; z-index: 2; inset-inline-end: var(--m); bottom: calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column-reverse; gap: 10px; margin: 0; padding: 0; list-style: none; }
.q-steps li { width: 22px; height: 3px; background: rgba(7, 78, 120, .25); transition: background .3s, width .3s; }
.q-steps li.on { background: var(--ink); width: 34px; }
.note { margin-top: 24px; font-size: 16px; color: var(--muted); font-style: italic; }
:root[lang="ar"] .note { font-style: normal; }
@media (min-width: 900px) { .q-tile { width: 96px; height: 96px; } .q-num { font-size: 128px; } .quota { gap: 28px; } }

/* 4 · le ore */
.hours { padding-top: var(--gap); }
.hours .wrap:first-child { margin-bottom: 40px; }
.hours-frame { position: relative; aspect-ratio: 9 / 16; max-height: 86svh; width: 100%; overflow: hidden; background: var(--curzola); }
@media (min-aspect-ratio: 9/10) { .hours-frame { aspect-ratio: 16 / 9; max-height: 76vh; } }
.hours-frame .layer { opacity: 0; transition: opacity 1.4s ease; }
.hours-frame .layer.on { opacity: 1; }
.hour-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hour-btns .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
@media (min-width: 900px) { .hour-btns .btn { flex: 0 0 auto; padding: 0 28px; } }

/* split sections: an image bleeding off one edge, text beside it */
.split { display: grid; gap: 36px; padding-top: var(--gap); }
.split .media { position: relative; }
.split .media img { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 100svh; object-fit: cover; }
.split .text { padding-inline: var(--m); }
.split .text p { max-width: 52ch; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; align-items: center; }
  .split .text { padding-inline: clamp(40px, 6vw, 112px) var(--m); }
  .split.rev .media { order: 2; }
  .split.rev .text { padding-inline: var(--m) clamp(40px, 6vw, 112px); }
  .split .media img { aspect-ratio: auto; height: min(100vh, 1000px); }
}
.detail { position: relative; margin-top: 36px; max-width: 420px; }
.detail img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* il pavimento: the five tiles */
.tiles { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.tiles li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.tiles .tile { grid-row: span 2; width: 56px; height: 56px; box-shadow: 0 4px 12px rgba(7, 78, 120, .12); }
.tiles .tile img, .tiles .tile svg { width: 100%; height: 100%; }
.t-name { font: 400 24px/1.1 "Spectral", Georgia, serif; color: var(--ink); align-self: end; }
.t-floor { font-size: 16px; color: var(--muted); align-self: start; }
.gift { font-style: italic; color: var(--ink); }
:root[lang="ar"] .gift { font-style: normal; }

/* le stanze */
.rooms { padding-top: var(--gap); }
.rooms .wrap { margin-bottom: 40px; }
.rooms-grid { display: grid; gap: 36px; }
.rooms-grid figure { position: relative; margin: 0; }
.rooms-grid img { width: 100%; height: auto; }
.rooms-grid .r2 img { aspect-ratio: 9 / 16; max-height: 100svh; object-fit: cover; }
@media (min-width: 900px) { .rooms-grid .r2 img { aspect-ratio: 4 / 5; } }
.rooms-grid figcaption { padding: 12px var(--m) 0; font-size: 16px; font-style: italic; color: var(--muted); }
@media (min-width: 900px) {
  .rooms-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: start; padding-inline-end: var(--m); }
  .rooms-grid .r2 { margin-top: 160px; }
  .rooms-grid .r2 figcaption, .rooms-grid .r1 figcaption { padding-inline: 0; }
  .rooms-grid .r1 figcaption { padding-inline-start: var(--m); }
}

/* full-bleed sections */
.bleed { padding-top: var(--gap); }
.bleed .frame { position: relative; overflow: hidden; }
.bleed .frame img { width: 100%; aspect-ratio: 9 / 16; max-height: 100svh; object-fit: cover; }
@media (min-aspect-ratio: 9/10) { .bleed .frame img { aspect-ratio: 16 / 9; max-height: 96vh; } }
.bleed .wrap { padding-top: 48px; }
.col { max-width: 760px; }
.facts, .dist { display: grid; gap: 0; margin: 32px 0 12px; max-width: 640px; }
.facts div, .dist div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; }
.facts dt, .dist dt { color: var(--seppia); }
.facts dd, .dist dd { margin: 0; font: 300 26px/1.1 var(--text); font-family: "Ysabeau Office", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
:root[dir="rtl"] .facts dd, :root[dir="rtl"] .dist dd { font-family: var(--text); }
.dist dd { display: flex; align-items: baseline; gap: 6px; }
.dist .tu { font-size: 18px; }
.dist .tm { font: italic 400 16px/1 var(--text); color: var(--muted); }
:root[lang="ar"] .dist .tm { font-style: normal; }

/* l'indirizzo */
.address { display: grid; gap: 40px; padding-block: var(--gap) 0; align-items: center; }
.aq-sun { width: min(70%, 380px); }
.map { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; aspect-ratio: 4 / 5; background: var(--curzola) url("/img/01/A4-s-480.webp") center / 60% no-repeat; background-blend-mode: multiply; text-align: center; padding: 24px; }
.map .small { margin: 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .address { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; }
  .aq-sun { display: none; }
  .map { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
}

/* il secondo capitolo */
.maine .media img { aspect-ratio: 9 / 16; }
@media (min-width: 900px) { .maine .media img { aspect-ratio: auto; height: min(90vh, 900px); } }

/* register interest */
.register { position: relative; display: grid; gap: 28px; padding-block: var(--gap); }
.aq-oleander { width: min(46%, 240px); justify-self: end; margin-bottom: -40px; }
.form { display: grid; gap: 22px; max-width: 640px; }
.f { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; }
.f > span, .f legend { font: 500 16px/1.3 var(--text); color: var(--ink); padding: 0; }
.f input:not([type="checkbox"]):not([type="radio"]), .f textarea { width: 100%; min-height: 52px; padding: 10px 2px; border: 0; border-radius: 0; background: transparent; box-shadow: inset 0 -1.5px 0 var(--ink); color: var(--seppia); font: 400 var(--body)/1.4 var(--text); -webkit-appearance: none; appearance: none; }
.f textarea { resize: vertical; min-height: 120px; box-shadow: inset 0 0 0 1.5px var(--ink); padding: 12px; }
.f input:not([type="checkbox"]):not([type="radio"]):focus, .f textarea:focus { outline: none; box-shadow: inset 0 -3px 0 var(--ink); background: var(--curzola); }
.f textarea:focus { box-shadow: inset 0 0 0 3px var(--ink); }
.opts { display: grid; gap: 10px; }
.opts legend { margin-bottom: 8px; }
.opt { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: var(--body); line-height: 1.4; }
.opt input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); -webkit-appearance: none; appearance: none; display: grid; place-items: center; cursor: pointer; }
.opt input:checked { background: var(--ink); }
.opt input:checked::after { content: ""; width: 7px; height: 12px; border: solid var(--white); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.consent { font-size: 16px; }
.floors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.floors legend { margin-bottom: 10px; grid-column: 1 / -1; }
.fl { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; cursor: pointer; }
.fl input { position: absolute; opacity: 0; pointer-events: none; }
.fl .tile { width: 100%; aspect-ratio: 1; display: block; outline: 1.5px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .2s; }
.fl .tile img, .fl .tile svg { width: 100%; height: 100%; }
.fl:hover .tile { transform: translateY(-2px); }
.fl input:checked + .tile { outline-color: var(--ink); }
.fl input:focus-visible + .tile { outline: 2px solid var(--ink); }
.fl .fl-name { font: 400 16px/1.15 "Spectral", Georgia, serif; color: var(--ink); }
.fl .fl-m { font: 400 16px/1.1 "Ysabeau Office", system-ui, sans-serif; color: var(--muted); font-variant-numeric: tabular-nums; direction: ltr; }
@media (max-width: 420px) { .fl .fl-name { font-size: 16px; } .floors { gap: 6px; } }
.form .btn { justify-self: start; min-width: 180px; }
.status { min-height: 1.4em; margin: 0; color: var(--ink); font-weight: 500; }
.status.err { color: #9B2C3D; }
.write { margin: 0; font-size: 16px; color: var(--muted); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 900px) {
  .register { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 96px; align-items: start; }
  .register .col { grid-column: 1; grid-row: 1; } .register .form { grid-column: 2; grid-row: 1 / span 2; }
  .aq-oleander { grid-column: 1; grid-row: 2; justify-self: start; width: 260px; margin: 0; }
}

/* footer: la firma */
.foot { padding: 48px var(--m) calc(56px + env(safe-area-inset-bottom)); text-align: center; background: var(--white); }
.firma { width: 300px; height: auto; margin: 0 auto 28px; }
@media (min-width: 900px) { .firma { width: 360px; } }
.place { margin: 0 auto 28px; font: 500 16px/1.3 var(--sc); letter-spacing: .12em; color: var(--ink); max-width: none; }
.foot-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 4px; margin: 0 0 32px; padding: 0; list-style: none; }
.foot-langs a { display: inline-block; padding: 10px 12px; font: 500 var(--nav)/1.2 var(--text); text-decoration: none; color: var(--seppia); }
.foot-langs a[aria-current] { color: var(--ink); text-decoration: underline; }
.legal { max-width: 62ch; margin: 0 auto; }
.legal p { margin: 0 auto 10px; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* 3D journey: from the Gulf to the roof terrace */
.journey { position: relative; height: 820vh; height: 820svh; }
.j-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--white); }
.j-canvas, .j-posters, .j-posters .jp, .j-white { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-posters .jp, .j-posters .jp img { width: 100%; height: 100%; object-fit: cover; }
.j-posters .jp { opacity: 0; transition: opacity .6s; }
.j-posters .jp.on { opacity: 1; }
.j-canvas { opacity: 0; transition: opacity .6s; }
.j-canvas.ready { opacity: 1; }
.j-canvas.ready ~ .j-white { opacity: var(--jw, 0); }
.j-white { background: var(--white); opacity: 0; pointer-events: none; }
.j-labels { position: absolute; inset: 0; pointer-events: none; }
.j-lab { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s; text-align: center; white-space: nowrap; }
.j-lab b { display: block; padding: 5px 10px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 16px/1.2 var(--sc); letter-spacing: .08em; }
:root[lang="ar"] .j-lab b { letter-spacing: 0; font-size: 17px; }
.j-lab.home b { background: var(--ink); color: var(--white); }
.j-lab i { display: block; width: 1px; height: 22px; margin: 0 auto; background: var(--ink); }
.j-lab[data-side="left"] i, .j-lab[data-side="right"] i { display: none; }
.j-labels { z-index: 1; }
.journey .veil { height: 46%; }
.j-caps { position: absolute; inset-inline: var(--m); bottom: calc(36px + env(safe-area-inset-bottom)); z-index: 2; }
.j-cap { position: absolute; inset-inline: 0; bottom: 0; max-width: 680px; opacity: 0; transform: translateY(16px); transition: opacity .45s, transform .45s; pointer-events: none; }
.j-cap.on { opacity: 1; transform: none; }
.j-cap h2 { margin-bottom: .35em; }
.j-cap p { margin: 0; max-width: 56ch; }
.j-credit { position: absolute; z-index: 2; top: 92px; inset-inline-end: 12px; max-width: min(560px, 70vw); margin: 0; padding: 4px 8px; background: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.35; color: var(--muted); text-align: end; }
@media (max-width: 700px) { .j-credit { top: 80px; inset-inline: 8px; max-width: none; font-size: 16px; line-height: 1.3; text-align: start; } .j-caps { bottom: calc(40px + env(safe-area-inset-bottom)); inset-inline-end: calc(var(--m) + 56px); } }
.journey.static { height: auto; } .journey.static .j-stage { position: relative; height: auto; overflow: visible; }
.journey.static .j-canvas, .journey.static .j-white, .journey.static .j-labels, .journey.static .veil { display: none; }
.journey.static .j-posters { position: relative; display: grid; gap: 4px; height: auto; }
.journey.static .j-posters .jp { position: relative; opacity: 1; height: auto; aspect-ratio: 16 / 9; }
.journey.static .j-caps { position: relative; inset: auto; padding: 32px var(--m) 0; display: grid; gap: 28px; }
.journey.static .j-cap { position: relative; opacity: 1; transform: none; }
.journey.static .j-credit { position: relative; inset: auto; margin: 16px var(--m) 0; background: none; text-align: start; }

/* why montenegro */
.whyme { padding-block: var(--gap) 0; }
.wm-facts { list-style: none; margin: 36px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
@media (min-width: 900px) { .wm-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; } }
.wm-facts li { display: grid; gap: 8px; align-content: start; }
.wm-big { font: 300 clamp(40px, 5vw, 64px)/1 "Ysabeau Office", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; direction: ltr; unicode-bidi: isolate; justify-self: start; }
:root[dir="rtl"] .wm-big { justify-self: end; }
:root[lang="ar"] .wm-big { font-family: var(--text); font-weight: 400; }
.wm-text { font-size: var(--body); line-height: 1.45; }
.wm-src { font-size: 16px; color: var(--muted); }
.wm-src a { color: var(--muted); }
.wm-note { max-width: 70ch; }

/* WhatsApp: square, sea ink, appears after the shutters */
.wa { position: fixed; z-index: 28; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; background: var(--ink); color: var(--white); box-shadow: 0 8px 24px rgba(7, 78, 120, .28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s, transform .35s, background .25s; }
.wa.on { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { background: var(--seppia); color: var(--white); }
html:not(.js) .wa { opacity: 1; transform: none; pointer-events: auto; }
.wa-inline { gap: 10px; }
.wa-inline svg { width: 22px; height: 22px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .open { height: auto; } .open .stage { position: relative; }
  .js .open .s2full { opacity: 1; } .js .hero-copy { opacity: 1; transform: none; } .js .hint, .js .hero-label { display: none; }
  .open .layer { transform: none; }
  .rise-track { height: auto; } .rise .stage { position: relative; height: auto; display: grid; gap: 4px; background: none; overflow: visible; }
  .rise .layer { position: relative; opacity: 1; transform: none; height: 70svh; }
  .rise .veil, .quota, .q-steps { display: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hours-frame .layer { transition: none; }
  .hint svg { animation: none; }
}

/* i materiali: the ten, numbered */
.mat { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; max-width: 560px; }
.mat li { display: flex; align-items: baseline; gap: 18px; padding: 9px 0; }
.mat .n { flex: none; width: 2.2em; font: 300 18px/1 "Ysabeau Office", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }

/* ==================================================================================================================
   Paradise View · homepage 03 (11 Oct 2026). A · the two doors (measured from the approved comp, 941 × 1672),
   C · the plots at a glance with index tabs, B · the land as a survey sheet. Brand: the Italian architect.
   ================================================================================================================== */
:root {
  --chip-k: #B84873;   /* Oleandro, deepened for white text (5.0 : 1) */
  --chip-u: #4E6E50;   /* olive green for white text (5.9 : 1) */
  --tab-1: #E9BFCD; --tab-2: #C9D3BC; --tab-3: #E3D8C6; --tab-4: #C6DDEC; --tab-5: #F2C9D4;
  --hair: #DCE3E6;     /* hairlines */
  --quiet: #5B7385;    /* grey-blue captions, 4.9 : 1 on white */
  --bar-h: 64px;
}
::selection { background: var(--sky); color: var(--ink); }
html { scrollbar-color: #B9CBD6 transparent; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .home { padding-bottom: 0; } }
.ar { display: inline-block; flex: none; margin-inline-start: .45em; width: 1em; height: .6em; }
[dir="rtl"] .ar { transform: scaleX(-1); }

/* ---------- header (fixed, transparent over the wall; white once you scroll) ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 0; height: calc(env(safe-area-inset-top) + 68px); transition: background .35s, box-shadow .35s; }
.hd.solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(7, 78, 120, .07); }
.hd-logo img { width: 128px; height: auto; margin-top: 4px; }
.hd-tools { display: flex; align-items: center; gap: 2px; }
.hd-cd { position: absolute; top: calc(env(safe-area-inset-top) + 52px); inset-inline-end: 18px; margin: 0; font: 500 16px/1 var(--sc); letter-spacing: .16em; text-transform: uppercase; color: var(--quiet); transition: opacity .3s; pointer-events: none; }
.hd.solid .hd-cd { opacity: 0; }
.hd .langs summary { min-height: 46px; padding: 0 8px; color: var(--ink); }
.hd .langs .ln { display: none; }
.hd .langs ul { top: calc(100% + 4px); }
.hd-menu { display: grid; place-items: center; width: 48px; height: 46px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.hd-dossier { display: none; }
@media (min-width: 640px) { .hd-logo img { width: 31.5vw; max-width: 296px; } .hd { height: calc(env(safe-area-inset-top) + 9.5vw); max-height: 96px; } .hd-cd { top: calc(env(safe-area-inset-top) + 8.6vw); } }
@media (min-width: 1000px) {
  .hd { align-items: center; height: 88px; padding: 0 clamp(20px, 3vw, 48px); }
  .hd-logo img { width: 190px; margin: 0; }
  .hd-cd { top: 66px; font-size: 16px; }
  .hd .langs .ln { display: inline; }
  .hd-dossier { display: inline-flex; align-items: center; min-height: 46px; margin-inline: 8px; padding: 0 20px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 var(--nav)/1 var(--text); text-decoration: none; transition: background .25s; }
  .hd-dossier:hover { background: var(--seppia); color: #fff; }
}
.menu { position: fixed; inset: 0; z-index: 39; display: grid; align-content: center; gap: 28px; padding: 96px clamp(24px, 8vw, 120px) 48px; background: var(--white); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-idx { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu-idx a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; font: 300 clamp(32px, 6vw, 56px)/1.1 var(--display); color: var(--ink); text-decoration: none; }
.menu-idx a:hover { color: var(--seppia); }
.menu .tab-n { font: 500 16px/1 var(--sc); letter-spacing: .12em; color: var(--quiet); }
.menu-more, .menu-contact { margin: 0; font-size: var(--body); }
.menu-open { overflow: hidden; }

/* ---------- A · the two doors ---------- */
.door { position: relative; background: var(--white); }
.door-scene { position: relative; container-type: inline-size; aspect-ratio: 941 / 985; overflow: hidden; }
.door-wall { position: absolute; left: 0; top: 9.746%; width: 100%; height: 90.254%; }
.door-wall img { width: 100%; height: 100%; object-fit: cover; }
.door-h { position: absolute; inset-inline: 2%; top: 11.6%; margin: 0; text-align: center; font: 300 5.84cqw/1.1 var(--display); letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.win { position: absolute; top: 24.77%; height: 68.63%; display: block; container-type: inline-size; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.win-k { inset-inline-start: 13.6%; width: 28.06%; }
.win-u { inset-inline-start: 58.24%; width: 28.48%; }
[dir="rtl"] .win-k { inset-inline-start: 13.3%; } [dir="rtl"] .win-u { inset-inline-start: 58.6%; }
.win-view { position: absolute; inset: 0; overflow: hidden; }
.win-view img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--par, 0px)) scale(1.06); transition: transform .9s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.win-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 12.6cqw; text-align: center; }
.win-name { font: 300 max(17px, 16.1cqw)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.win-rule { width: 17.4cqw; height: 1.5px; margin: 3.2cqw 0 3.6cqw; background: currentColor; opacity: .75; }
.win-place { font: 600 max(16px, 8.3cqw)/1.2 var(--text); color: var(--ink); }
.win-area { margin-top: 1.6cqw; font: 300 max(22px, 20.4cqw)/1.05 var(--display); letter-spacing: -.01em; font-variant-numeric: lining-nums; white-space: nowrap; }
.win-dist { margin-top: 2cqw; font: 400 max(16px, 8.6cqw)/1.25 var(--text); color: var(--seppia); }
.win-enter { display: inline-flex; align-items: center; justify-content: center; min-width: 73.5cqw; min-height: max(40px, 22cqw); margin-top: 6cqw; padding: 0 6cqw; border-radius: 4px; background: var(--ink); color: #fff; font: 600 max(16px, 8.3cqw)/1 var(--text); box-shadow: 0 6px 18px rgba(7, 78, 120, .22); transition: background .25s, transform .25s; }
.win:hover .win-enter, .win:focus-visible .win-enter { background: var(--seppia); transform: translateY(-1px); }
.win:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
/* phones: the windows are narrow, the place and distance move into the line below the aerial */
@media (max-width: 639px) {
  .hd-cd { display: none; }
  .door { padding-top: 18px; }
  .door-h { font-size: max(22px, 5.84cqw); }
  .win-place, .win-dist { display: none; }
  .win-txt { padding-top: 14cqw; }
  .win-rule { margin-bottom: 5cqw; }
}

.door-aer { position: relative; margin: -1.1% 0 0; }
.aer { position: relative; container-type: inline-size; }
.aer img { width: 100%; height: auto; }
.aer-tall { display: none; }
@media (max-width: 639px) { .aer-band { display: none; } .aer-tall { display: block; } }
.tag { position: absolute; top: max(var(--b), 13.5%); transform: translate(-50%, -100%); padding: .38em .85em .34em; border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; font: 500 max(16px, 2.34cqw)/1 var(--sc); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: transform .3s; }
.tag-k { background: var(--chip-k); } .tag-u { background: var(--chip-u); }
.tag:hover { transform: translate(-50%, calc(-100% - 2px)); color: #fff; }
.aer-tall .tag { top: max(var(--b), 9%); }
.plc { position: absolute; transform: translateY(-50%); color: #fff; font: 600 max(16px, 2.34cqw)/1 var(--text); text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.aer-note { margin: 10px 16px 0; font: italic 400 16px/1.4 var(--text); color: var(--quiet); text-align: center; }
[lang="ar"] .aer-note { font-style: normal; }

.door-sum { display: grid; grid-template-columns: 1fr 1fr; margin: 22px clamp(16px, 6cqw, 56px) 0; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.door-sum p { margin: 0; display: grid; justify-items: center; gap: 6px; padding: 0 10px; text-align: center; }
.door-sum p + p { border-inline-start: 1px solid var(--hair); }
.sum-n { font: 300 clamp(20px, 4.04vw, 40px)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.sum-l { font: 400 clamp(16px, 2.5vw, 22px)/1.35 var(--text); color: var(--seppia); }
.door-status { margin: 18px auto 0; max-width: none; text-align: center; font: 500 16px/1.4 var(--sc); letter-spacing: .2em; text-transform: uppercase; color: var(--quiet); }
.cta { display: flex; align-items: center; justify-content: center; width: min(67%, 640px); min-width: min(100%, 300px); min-height: 56px; margin: 22px auto 44px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: 600 clamp(17px, 2.76vw, 22px)/1.1 var(--text); text-decoration: none; cursor: pointer; box-shadow: 0 10px 28px rgba(7, 78, 120, .22); transition: background .25s, transform .25s, box-shadow .25s; }
.cta:hover { background: var(--seppia); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 32px rgba(7, 78, 120, .28); }
@media (max-width: 639px) { .cta { width: calc(100% - 32px); } .door-sum { grid-template-columns: 1fr; gap: 14px; } .door-sum p + p { border-inline-start: 0; border-top: 1px solid var(--hair); padding-top: 14px; } }

/* desktop: the wide wall, headline on the plaster above the windows, first viewport = the two doors */
@media (min-width: 1000px) and (min-aspect-ratio: 11/10) {
  .door-scene { aspect-ratio: 1672 / 1100; }
  .door-wall { top: 0; height: 100%; }
  .door-wall img { object-position: 50% 100%; }
  .door-scene::before { content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: 1; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0)); pointer-events: none; }
  .door-h { top: 12.4%; z-index: 2; font-size: clamp(48px, 4.6cqw, 88px); }
  .win { top: 29.0%; height: 61.18%; }
  .win-k { inset-inline-start: 28.71%; width: 16.33%; }
  .win-u { inset-inline-start: 54.67%; width: 16.45%; }
  [dir="rtl"] .win-k { inset-inline-start: 28.88%; } [dir="rtl"] .win-u { inset-inline-start: 54.9%; }
  .door-aer { margin-top: 0; }
  .door-sum { max-width: 1080px; margin-inline: auto; }
}

/* ---------- the bar (phones and tablets) ---------- */
.bar { position: fixed; inset: auto 0 0; z-index: 35; display: flex; align-items: center; gap: 16px; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding: 0 18px env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); box-shadow: 0 -1px 0 rgba(7, 78, 120, .08), 0 -8px 24px rgba(7, 78, 120, .06); }
.bar-wa { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #2F9E5B; color: #fff; flex: none; }
.bar-wa svg { width: 26px; height: 26px; }
.bar-div { width: 1px; height: 30px; background: var(--hair); }
.bar-d { flex: 1; display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--seppia); font: 600 20px/1 var(--text); text-decoration: none; }
.bar-d svg { color: var(--seppia); }
[dir="rtl"] .bar-d svg { transform: scaleX(-1); }
@media (min-width: 1000px) { .bar { display: none; } }

/* ---------- index tabs (C): a dossier's coloured tabs on the edge, after the doors ---------- */
.tabs { position: fixed; z-index: 30; inset-inline-end: 0; top: 84px; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 12px); display: flex; flex-direction: column; gap: 4px; width: 34px; opacity: 0; transform: translateX(100%); transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
[dir="rtl"] .tabs { transform: translateX(-100%); }
.tabs.on { opacity: 1; transform: none; pointer-events: auto; }
.tab { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px 0 0 10px; writing-mode: vertical-rl; color: var(--ink); font: 500 16px/1 var(--sc); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; overflow: hidden; transition: flex-grow .4s, width .3s, background .3s; }
[dir="rtl"] .tab { border-radius: 0 10px 10px 0; }
.tab-1 { background: var(--tab-1); } .tab-2 { background: var(--tab-2); } .tab-3 { background: var(--tab-3); } .tab-4 { background: var(--tab-4); } .tab-5 { background: var(--tab-5); }
.tab.cur { flex-grow: 1.6; font-weight: 600; box-shadow: inset 3px 0 0 var(--ink); }
[dir="rtl"] .tab.cur { box-shadow: inset -3px 0 0 var(--ink); }
.tab .tab-n { opacity: .7; }
[lang="ar"] .tab { letter-spacing: 0; font-family: var(--text); }
@media (min-width: 1000px) { .tabs { width: 42px; top: 120px; bottom: 32px; } }
@media (max-height: 620px) { .tab .tab-t { display: none; } }
.home main > section:not(.door) { padding-inline-end: 34px; }
@media (min-width: 1000px) { .home main > section:not(.door) { padding-inline-end: 42px; } }

/* ---------- C · the two plots at a glance ---------- */
.glance { padding-block: 64px 24px; }
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 40px; border-block: 1px solid var(--hair); }
.nums div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; gap: 8px; padding: 22px 8px; text-align: center; }
.nums div:nth-child(odd) { border-inline-end: 1px solid var(--hair); }
.nums div:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
.nums dd { margin: 0; font: 300 clamp(36px, 7vw, 64px)/1 var(--display); color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.nums dt { font: 500 16px/1.3 var(--sc); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nums div { border-bottom: 0 !important; border-inline-end: 1px solid var(--hair); } .nums div:last-child { border-inline-end: 0; } }
.idx { display: grid; gap: 0; border-bottom: 1px solid var(--hair); }
.idx-row { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto; column-gap: 20px; align-items: start; padding: 22px 0; border-top: 1px solid var(--hair); color: var(--seppia); text-decoration: none; }
.idx-art { grid-row: span 4; width: 112px; height: auto; mix-blend-mode: multiply; }
.idx-t { font: 500 clamp(18px, 2.2vw, 22px)/1.2 var(--sc); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.idx-l { font-size: var(--body); line-height: 1.45; }
.idx-l:last-child { font-style: italic; color: var(--muted); }
[lang="ar"] .idx-l:last-child { font-style: normal; }
.idx-row:hover .idx-t { text-decoration: underline; text-underline-offset: .25em; }
@media (min-width: 900px) { .idx { grid-template-columns: 1fr 1fr; column-gap: 48px; border-bottom: 0; } .idx-row { grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--hair); } .idx-art { width: 160px; } }

/* ---------- the two chapters ---------- */
.chapter { padding-top: clamp(80px, 12vw, 176px); }
.ch-head { max-width: 1100px; }
.ch-head h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; max-width: 18ch; }
.lede { font-size: calc(var(--body) + 1px); line-height: 1.6; max-width: 62ch; }
.ch-land { margin: 40px 0 0; }
.ch-land img { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 100svh; object-fit: cover; }
@media (min-aspect-ratio: 9/10) { .ch-land img { aspect-ratio: 16 / 9; max-height: 92vh; } }
.ch-land figcaption, .strip figcaption { padding-top: 12px; font: italic 400 16px/1.45 var(--text); color: var(--quiet); }
[lang="ar"] .ch-land figcaption, [lang="ar"] .strip figcaption { font-style: normal; }
.ch-body { display: grid; gap: 28px; padding-top: 36px; }
.sheet { margin: 0; display: grid; border-top: 1px solid var(--ink); max-width: 900px; }
.sheet div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.sheet dt { font: 500 16px/1.4 var(--sc); letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.sheet dd { margin: 0; font-size: var(--body); line-height: 1.5; color: var(--seppia); }
@media (max-width: 520px) { .sheet div { grid-template-columns: 1fr; gap: 4px; } }
.more { display: inline-flex; align-items: center; justify-self: start; min-height: 48px; color: var(--ink); font: 600 var(--btn)/1.2 var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.more:hover { color: var(--seppia); }
.strip { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 560px); gap: 16px; margin: 44px 0 0; padding: 0 var(--m) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); overscroll-behavior-x: contain; }
.strip li { scroll-snap-align: start; }
.strip figure { margin: 0; }
.strip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.cd-cap { white-space: nowrap; }
@media (min-width: 1000px) { .strip { grid-auto-columns: 34vw; } .ch-body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; } }

/* ---------- B · the land: survey sheet, plot drawings, parcel table, the urban plan ---------- */
.land { padding-top: clamp(80px, 12vw, 176px); }
.land-head h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; max-width: 16ch; }
.survey { margin: 32px 0 0; }
.sv-title { margin: 0 0 10px; font: 500 16px/1.3 var(--sc); letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.sv-frame { position: relative; overflow: hidden; background: #fff; border-block: 1px solid var(--hair); }
.sv-frame > img, .sv-frame > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-tall { display: none; }
@media (max-width: 699px) { .sv-wide { display: none; } .sv-tall { display: block; } }
.sv-l, .sv-d, .sv-n, .sv-p, .sv-e { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.sv-l { transform: translate(-50%, calc(-100% - 18px)); padding: 6px 10px; background: rgba(255, 255, 255, .94); font: 400 16px/1.2 var(--text); color: var(--seppia); box-shadow: 0 4px 14px rgba(7, 78, 120, .12); }
.sv-l i { font-style: normal; color: var(--ink); font-weight: 600; }
.sv-l b { font: 500 16px/1 var(--sc); letter-spacing: .1em; text-transform: uppercase; margin-inline-end: 6px; }
.sv-k b { color: var(--chip-k); } .sv-u b { color: var(--chip-u); }
.sv-u { white-space: normal; width: max-content; max-width: 46vw; }
.sv-d { padding: 4px 8px; background: rgba(255, 255, 255, .92); font: 600 16px/1.2 var(--text); color: var(--ink); }
.sv-d i { font-weight: 400; font-style: normal; color: var(--quiet); }
.sv-a { transform: translate(8px, -50%); }
.sv-n { font: 600 16px/1 var(--text); color: var(--ink); transform: translate(-50%, 4px); }
.sv-s { position: absolute; display: flex; justify-content: space-between; font: 500 16px/1 var(--text); color: var(--ink); transform: translateY(-100%); }
.sv-s span:first-child { transform: translateX(-50%); } .sv-s span:last-child { transform: translateX(50%); }
.sv-p { padding: 2px 6px; background: rgba(255, 255, 255, .9); font: 600 16px/1.2 var(--text); color: var(--ink); }
.sv-e { font: 500 16px/1 var(--text); color: var(--quiet); background: rgba(255, 255, 255, .8); padding: 1px 4px; }
.plots { display: grid; gap: 28px; margin-top: 36px; }
.plot-sheet { margin: 0; }
.ps-k .sv-frame { max-width: 520px; }
@media (min-width: 900px) { .plots { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; } }
.tbl { margin-top: 36px; overflow-x: auto; }
.tbl table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.tbl th, .tbl td { padding: 12px 10px; text-align: start; border-bottom: 1px solid var(--hair); font-size: 16px; }
.tbl thead th { font: 500 16px/1.3 var(--sc); letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); border-bottom: 1px solid var(--ink); }
.tbl tbody th { font: 600 17px/1.2 var(--text); color: var(--ink); }
.tbl .r-k th { box-shadow: inset 4px 0 0 var(--oleander); } .tbl .r-u th { box-shadow: inset 4px 0 0 var(--green); }
.maps { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 8px; }
.plan { display: grid; gap: 24px; margin-top: 56px; align-items: start; }
.plan img { width: 100%; max-width: 560px; height: auto; border: 1px solid var(--hair); box-shadow: 0 18px 40px rgba(7, 78, 120, .1); }
.plan figcaption { font-size: var(--body); line-height: 1.55; max-width: 52ch; }
.plan figcaption b { display: block; margin-bottom: 6px; font: 300 clamp(26px, 2.6vw, 36px)/1.15 var(--display); color: var(--ink); }
@media (min-width: 900px) { .plan { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); } }
/* drawing on arrival: outlines trace themselves, distances extend, labels follow */
.js .survey .draw, .js .plot-sheet .draw { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1), fill-opacity .8s .9s; }
.js .survey .sv-dist, .js .survey .sv-apart { stroke-dasharray: 1 !important; }
.js .in .draw { stroke-dashoffset: 0; fill-opacity: .38; }
.js .plot-sheet.in .draw { fill-opacity: .16; }
.js .in .sv-dist, .js .in .sv-apart { transition-delay: .9s; }
.js .survey .sv-l, .js .survey .sv-d, .js .plot-sheet .sv-p, .js .plot-sheet .sv-e { opacity: 0; transition: opacity .6s 1.4s; }
.js .in .sv-l, .js .in .sv-d, .js .in .sv-p, .js .in .sv-e { opacity: 1; }

/* ---------- Montenegro, on the record ---------- */
.mne { padding-block: clamp(80px, 12vw, 176px) 0; }
.mne h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; max-width: 14ch; }
.mne-facts { list-style: none; margin: 40px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.mne-facts li { display: grid; align-content: start; gap: 10px; padding: 24px 14px 28px 0; border-bottom: 1px solid var(--hair); }
.mne-facts li:nth-child(odd) { padding-inline-end: 18px; border-inline-end: 1px solid var(--hair); }
.mne-facts li:nth-child(even) { padding-inline-start: 18px; }
.mne-big { font: 200 clamp(44px, 8vw, 104px)/.95 var(--display); color: var(--ink); font-variant-numeric: lining-nums; direction: ltr; unicode-bidi: isolate; justify-self: start; letter-spacing: -.02em; }
.mne-t { font-size: var(--body); line-height: 1.45; }
.mne-src, .mne-src a { font-size: 16px; color: var(--quiet); }
@media (min-width: 1000px) { .mne-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mne-facts li { padding-inline: 0 20px !important; border-inline-end: 1px solid var(--hair); } .mne-facts li:nth-child(4n) { border-inline-end: 0; } .mne-facts li:not(:nth-child(4n+1)) { padding-inline-start: 20px !important; } }

/* ---------- the dossier request ---------- */
.req { display: grid; gap: 32px; padding-block: clamp(80px, 12vw, 176px) 64px; }
.req-head h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; max-width: 12ch; }
.req .cta { margin: 6px 0 0; width: 100%; max-width: 420px; justify-self: start; }
.wa-inline { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: #1F7A45; font-weight: 600; text-decoration: none; }
@media (min-width: 1000px) { .req { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 64px; } }

@media (prefers-reduced-motion: reduce) {
  .win-view img { transform: scale(1.06) !important; transition: none; }
  .tabs, .tab, .cta, .tag { transition: none; }
  .js .survey .draw, .js .plot-sheet .draw { stroke-dashoffset: 0; fill-opacity: .38; transition: none; }
  .js .survey .sv-l, .js .survey .sv-d, .js .plot-sheet .sv-p, .js .plot-sheet .sv-e { opacity: 1; transition: none; }
}

/* ---------- project page (/uliveto/) ---------- */
.pj-hero { position: relative; }
.pj-hero img { width: 100%; height: 100svh; object-fit: cover; }
.pj-hero-t { position: absolute; inset: auto 0 0; padding-bottom: 40px; background: linear-gradient(to top, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, 0)); padding-top: 120px; }
.pj-hero-t h1 { font: 200 clamp(56px, 9vw, 140px)/.95 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.pj-hero-t p { margin: 10px 0 0; font: 500 clamp(17px, 1.6vw, 22px)/1.4 var(--text); color: var(--seppia); }
.pj-note { margin-top: 12px; font: italic 400 16px/1.45 var(--text); color: var(--quiet); }
.proj .chapter { padding-top: clamp(56px, 8vw, 120px); }
.proj .chapter h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; max-width: 20ch; }
.proj .sheet { margin-top: 28px; }
.proj .land { padding-top: 56px; }
.ps-u .sv-frame { max-width: 1100px; }
.pj-new { display: grid; gap: 40px; padding-top: 72px; }
.pj-new img { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 100svh; object-fit: cover; }
@media (min-aspect-ratio: 9/10) { .pj-new img { aspect-ratio: 16 / 9; max-height: 92vh; } }
.pj-new figcaption { padding-top: 10px; font: italic 400 16px/1.45 var(--text); color: var(--quiet); }

@media (min-width: 640px) and (max-width: 999px) {
  .hd-menu svg, .hd .langs summary svg { width: 4.6vw; height: auto; }
  .hd-menu { width: 7vw; height: 7vw; }
  :root { --bar-h: 92px; }
  .bar { gap: 22px; padding-inline: 4.6vw; }
  .bar-wa { width: 7.6vw; height: 7.6vw; } .bar-wa svg { width: 4.4vw; height: 4.4vw; }
  .bar-d { font-size: 3.6vw; }
  .bar-d svg { width: 2vw; height: auto; }
  .cta { min-height: max(56px, 8vw); font-size: 2.76vw; }
}
/* desktop chapter heads: heading and lede side by side */
@media (min-width: 1000px) {
  .ch-head, .land-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; align-items: end; max-width: none; }
  .ch-head .lede, .land-head .lede { margin-bottom: .4em; }
}
.mne-big { font-size: clamp(44px, 5.4vw, 80px); white-space: nowrap; }

/* ---------- the plots on Google satellite (Google's live embed; outlines drawn by the page) ---------- */
.gsat { margin: 56px 0 0; }
.gsat-h { margin: 0 0 18px; font: 300 clamp(26px, 2.6vw, 36px)/1.15 var(--display); color: var(--ink); }
.gsat-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .gsat-grid { grid-template-columns: 1fr 1fr; } }
.gsat-map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #DCE6E3; }
.gsat-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.gsat-map svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gsat-map .o-halo { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 5; stroke-linejoin: round; }
.gsat-k .o-line { fill: rgba(231, 122, 152, .22); stroke: #E77A98; stroke-width: 2.5; stroke-linejoin: round; }
.gsat-u .o-line { fill: rgba(126, 214, 168, .2); stroke: #3FAE7A; stroke-width: 2.5; stroke-linejoin: round; }
.gsat-load { position: absolute; inset: 0; display: grid; place-items: center; font: 500 16px/1 var(--sc); letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); }
.gsat-map.ready .gsat-load { display: none; }
.gsat-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 12px 0 0; font-size: var(--body); }
.gsat-cap b { font: 500 17px/1 var(--sc); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.gsat-cap .more { margin-inline-start: auto; }
/* long words (German) wrap inside narrow columns; the phone headline may take two lines */
.mne-t, .mne-src, .sheet dd, .idx-l, .nums dt, .sum-l { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 639px) { .door-h { top: 10.4%; font-size: clamp(18px, 5.4cqw, 22px); line-height: 1.08; } }
.win-area, .nums dd, .tbl td, .gsat-cap { unicode-bidi: plaintext; }
/* phones: tabs show their number; the current chapter's tab opens to its full name */
@media (max-width: 999px) {
  .tab .tab-t { display: none; }
  .tab.cur .tab-t { display: inline; }
  .tab.cur { flex: 0 0 auto; padding-block: 14px; }
}
.home main > section:not(.door) { padding-inline-end: calc(var(--m) + 34px); }
@media (min-width: 1000px) { .home main > section:not(.door) { padding-inline-end: calc(var(--m) + 42px); } }
.home main > section.chapter, .home main > section.land { padding-inline-end: 34px; }
@media (min-width: 1000px) { .home main > section.chapter, .home main > section.land { padding-inline-end: 42px; } }

/* v12 (12 Oct 2026) · the residences: key numbers, the section / plan drawings, one card per apartment type or villa, the film */
.rs { padding-top: clamp(80px, 12vw, 176px); }
.rs h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; max-width: 20ch; }
.rs .lede { margin-top: 20px; }
.rs-nums { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; max-width: 1100px; }
@media (min-width: 900px) { .rs-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.rs-nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--ink); padding-top: 14px; }
.rs-nums dd { margin: 0; font: 300 clamp(34px, 4.6vw, 60px)/1 var(--display); color: var(--ink); }
.rs-nums dt { font: 400 16px/1.4 var(--text); color: var(--muted); }
.rs-draw { margin: 56px 0 0; }
.rs-scroll { overflow-x: auto; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); scrollbar-width: thin; }
.rs-frame { position: relative; min-width: 760px; background: #fff; border-block: 1px solid var(--hair); }
.rs-frame.rs-plan { min-width: 600px; max-width: 1100px; margin-inline: auto; }
.rs-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-l { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; padding: 4px 8px; background: rgba(255, 255, 255, .92); font: 500 16px/1.2 var(--text); color: var(--ink); border-radius: 2px; }
.rs-l.rs-q { color: var(--muted); font-weight: 400; }
.rs-l.rs-hi { color: var(--seppia); background: rgba(207, 229, 243, .96); }
.rs-l.rs-sea { transform: translate(0, -50%); background: none; font-weight: 600; }
.rs-v-chip { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 16px/1 var(--text); box-shadow: 0 2px 8px rgba(7, 78, 120, .25); }
.rs-v-chip.rs-stefan { background: #C9567A; }
.rs-north { position: absolute; transform: translate(-50%, -50%); font: 600 16px/1 var(--text); color: var(--ink); }
.rs-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; font: 400 16px/1.4 var(--text); color: var(--seppia); }
.rs-k::before { content: ''; display: inline-block; width: 26px; border-top: 3px dashed currentColor; vertical-align: middle; margin-inline-end: 10px; }
.rs-k.rs-stefan::before { color: #C9567A; } .rs-k.rs-bay::before { color: var(--ink); }
.rs-cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.rs-card { display: grid; gap: 8px; align-content: start; padding: 20px 20px 22px; background: #fff; border: 1px solid var(--hair); border-top: 3px solid var(--ink); }
.rs-card.rs-roof { border-top-color: var(--olive); }
.rs-card.rs-stefan { border-top-color: #C9567A; }
.rs-card h3 { font: 500 19px/1.3 var(--text); color: var(--seppia); }
.rs-count { margin: 0; font: 300 46px/1 var(--display); color: var(--ink); }
.rs-count { display: flex; flex-direction: column; gap: 6px; }
.rs-count span { font: 500 16px/1.2 var(--sc); letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); }
.rs-count .rs-vid { font: 500 16px/1 var(--sc); letter-spacing: .12em; text-transform: uppercase; margin-inline-end: 4px; }
.rs-size { margin: 0; font: 600 var(--body)/1.3 var(--text); color: var(--ink); }
.rs-size span, .rs-size + .rs-terr { font-weight: 400; }
.rs-size span { color: var(--muted); font-size: 16px; }
.rs-terr { margin: 0; font: 400 16px/1.4 var(--text); color: var(--seppia); }
.rs-view { margin: 6px 0 0; display: flex; gap: 12px; align-items: center; font: 400 16px/1.45 var(--text); color: var(--seppia); }
.rs-compass { flex: none; color: var(--ink); }
.rs-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font: 400 16px/1.45 var(--text); color: var(--seppia); }
.rs-facts li::before { content: '·'; margin-inline-end: 8px; color: var(--ink); font-weight: 700; }
.rs-total { margin: 32px 0 0; font: 500 var(--body)/1.6 var(--text); color: var(--seppia); max-width: 70ch; }
.rs-note { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }
.rs-film { margin: 56px 0 0; }
.rs-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--curzola); border-radius: 4px; }
.rs-film figcaption { padding-top: 10px; font: italic 400 16px/1.45 var(--text); color: var(--muted); }
.rs-film figcaption b { font-style: normal; font-weight: 600; color: var(--ink); }
.rs-sum { padding-top: 40px; }
.rs-sum .rs-nums { margin-top: 0; }
.rs-sum .rs-film { margin-top: 36px; }
.rs-nums dd small { font: 400 max(16px, .42em)/1 var(--text); margin-inline-start: .18em; vertical-align: .9em; color: var(--ink); }
.rs-nums dd bdi { white-space: nowrap; }
.rs-dl { margin: 2px 0 0; display: grid; gap: 4px; }
.rs-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--hair); }
.rs-dl dt { font: 400 16px/1.4 var(--text); color: var(--quiet); }
.rs-dl dd { margin: 0; font: 600 var(--body)/1.3 var(--text); color: var(--ink); text-align: end; }
