/* 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); }

/* 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; }
