/* THEA by Rocco De Santis — foglio di stile unico
   Colori e caratteri dal brand manual: Cool Grey 2 #DDDDDB, Pantone 7628 C #771C15.
   Caratteri inclusi nel sito (licenza OFL): Kalnia, Gilda Display, Archivo, GFS Didot. */

@font-face { font-family: "Kalnia"; src: url(../fonts/kalnia-latin.woff2) format("woff2"); font-weight: 100 700; font-stretch: 100% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kalnia"; src: url(../fonts/kalnia-latin-ext.woff2) format("woff2"); font-weight: 100 700; font-stretch: 100% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gilda Display"; src: url(../fonts/gilda-latin.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gilda Display"; src: url(../fonts/gilda-latin-ext.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "GFS Didot"; src: url(../fonts/gfsdidot-greek.woff2) format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
  /* colore */
  --ground: #DDDDDB;         /* Color A, Cool Grey 2 */
  --ground-2: #D3D2CE;       /* lo stesso grigio, un tono sotto: fondo del pattern */
  --brick: #771C15;          /* Color B, Pantone 7628 C */
  --brick-deep: #5A130E;     /* il mattone in ombra: solo il campo «Prenota» */
  --ink: #1A1210;            /* velature sulle foto */
  --white: #FFFFFF;
  --white-soft: rgba(255, 255, 255, .78);
  --rule-light: rgba(255, 255, 255, .42);
  --rule-soft: rgba(119, 28, 21, .38);

  /* caratteri */
  --display: "Kalnia", "GFS Didot", Georgia, serif;
  --body: "Gilda Display", "GFS Didot", Georgia, serif;
  --label: "Archivo", "Arial Narrow", Arial, sans-serif;
  --greek: "GFS Didot", "Gilda Display", serif;

  /* scala */
  --fs-label: .8125rem;
  --fs-small: 1rem;
  --fs-body: clamp(1.0625rem, .98rem + .32vw, 1.25rem);
  --fs-lead: clamp(1.1875rem, 1.04rem + .55vw, 1.5rem);
  --fs-h3: clamp(1.1875rem, 1.06rem + .45vw, 1.4375rem);
  --fs-h2: clamp(1.75rem, 1.22rem + 1.9vw, 3rem);
  --fs-statement: clamp(1.5rem, 1.06rem + 1.65vw, 2.625rem);
  --fs-word: clamp(3.25rem, 2.4rem + 2.8vw, 5rem);
  --fs-display: clamp(2.75rem, 1.5rem + 4.6vw, 6rem);

  /* spazio */
  --gutter: clamp(1.25rem, .55rem + 3vw, 3.5rem);
  --section: clamp(6rem, 3.6rem + 8vw, 11rem);
  --mast-h: 96px;
  --ring-gap: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'%3E%3Cpath transform='translate(20 8) scale(.78)' d='M0-10C.55-3.4 1.15-1.05 4.6 0 1.15 1.05.55 3.4 0 10-.55 3.4-1.15 1.05-4.6 0-1.15-1.05-.55-3.4 0-10Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--brick) var(--ground); scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--brick); font-family: var(--body); font-size: var(--fs-body); line-height: 1.7; caret-color: var(--brick); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--brick); color: var(--ground); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
[lang="grc"] { font-family: var(--greek); }

/* ---------- tipografia ---------- */
.h2, .h3, .display {
  font-family: var(--display); font-weight: 300; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: .012em; line-height: 1.18; text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); margin-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
.display { font-size: var(--fs-display); font-weight: 250; font-stretch: 114%; line-height: 1.04; letter-spacing: 0; }
.label { font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.prose { max-width: 36em; text-wrap: pretty; }
.prose + .prose { margin-top: 1.1em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 1.25em; text-wrap: pretty; }
.center { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.center .prose { margin-inline: auto; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; transition: text-decoration-thickness .25s; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 2rem;
  border: 2px solid currentColor; color: inherit; text-decoration: none;
  font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn:hover { background: var(--brick); border-color: var(--brick); color: var(--ground); }
.btn--small { min-height: 40px; padding: 0 1.1rem; font-size: .75rem; }
.btn--light { color: var(--white); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--brick); }
.masthead--dark .btn:hover { background: var(--white); border-color: var(--white); color: var(--brick); }

/* ---------- ornamenti ---------- */
.sparkles { height: 16px; color: var(--brick); background-color: currentColor;
  -webkit-mask: var(--sparkle) center / 40px 16px space no-repeat; mask: var(--sparkle) center / 40px 16px space no-repeat;
  -webkit-mask-repeat: space no-repeat; mask-repeat: space no-repeat; }
.textured { position: relative; isolation: isolate; background: var(--ground-2); }
.textured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/pattern-ovali.svg) 0 0 / 64px auto repeat; opacity: .065; }

/* ---------- anello dell'ovale (dal monogramma: spesso sopra e sotto, filo sui lati) ---------- */
.hero__ring { position: absolute; inset: calc(var(--ring-gap) * -1); border-radius: 50%; border: solid var(--brick); border-width: 7px 1px; pointer-events: none; }

/* ---------- testata ---------- */
.skip { position: absolute; left: 1rem; top: -200px; z-index: 50; background: var(--brick); color: var(--ground); padding: .75rem 1.25rem; font-family: var(--label); font-weight: 600; font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 1rem; }
.masthead { position: absolute; z-index: 10; top: 0; left: 0; right: 0; height: var(--mast-h); padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--brick); }
.masthead--dark { color: var(--white); background: linear-gradient(rgba(26, 18, 16, .5), rgba(26, 18, 16, 0)); }
.masthead__brand { display: block; color: inherit; }
.masthead__brand .logo { width: clamp(92px, 3vw + 66px, 122px); height: auto; }
.masthead__end { justify-self: end; display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.lang { font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; text-decoration: none; padding: .75rem .25rem; }
.lang:hover { text-decoration: underline; text-underline-offset: .35em; }
.menu-toggle { justify-self: start; display: inline-flex; align-items: center; gap: .9rem; min-height: 44px; font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; }
.burger { position: relative; width: 26px; height: 9px; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; border-top: 1.5px solid currentColor; }
.burger::before { top: 0; } .burger::after { bottom: 0; }

.stickybar { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 60px; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--ground); color: var(--brick); border-bottom: 1px solid var(--brick);
  transform: translateY(-101%); transition: transform .55s var(--ease-out); }
.stickybar.is-on { transform: none; }
.stickybar > .btn { justify-self: end; }
.stickybar__brand .mono { height: 38px; width: auto; }

/* menu a tutto schermo: si apre come l'ovale */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 0 var(--gutter) 2.5rem; background: var(--ground); color: var(--brick); }
.menu[open] { display: flex; flex-direction: column; animation: oval-in .7s var(--ease-out); }
.menu::backdrop { background: transparent; }
@keyframes oval-in { from { clip-path: ellipse(0% 0% at 50% 50%); } to { clip-path: ellipse(75% 75% at 50% 50%); } }
.menu__top { height: var(--mast-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu__close { justify-self: start; display: inline-flex; align-items: center; gap: .9rem; min-height: 44px; font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; }
.menu__close .ico { width: 20px; height: 20px; }
.menu__brand .logo { width: clamp(92px, 3vw + 66px, 122px); }
.menu .lang { justify-self: end; text-transform: uppercase; }
.menu__nav { flex: 1; display: grid; place-items: center; }
.menu__nav ul { text-align: center; }
.menu__nav li + li::before { content: ""; display: block; width: 40px; height: 16px; margin: clamp(1rem, 2.4vh, 1.75rem) auto; background: var(--brick); -webkit-mask: var(--sparkle) center / 40px 16px no-repeat; mask: var(--sparkle) center / 40px 16px no-repeat; }
.menu__nav a { font-family: var(--display); font-weight: 300; font-stretch: 110%; text-transform: uppercase; font-size: clamp(1.75rem, 1rem + 3.2vw, 3.25rem); line-height: 1.15; text-decoration: none; }
.menu__nav a:hover, .menu__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.menu__addr { text-align: center; font-size: var(--fs-small); }

/* ---------- prima schermata: l'ovale ---------- */
.hero { position: relative; overflow-x: clip; }
.hero__stage { position: relative; min-height: 100svh; padding: calc(var(--mast-h) + 1.5rem) var(--gutter) 5.5rem;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "def slot act"; align-items: center; column-gap: clamp(2.5rem, 5vw, 6.5rem); }
.hero__slot { grid-area: slot; position: relative; height: min(66svh, 640px); aspect-ratio: 5 / 8; }
.hero__window { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; background: var(--ink); }
.hero__veil, .hero__caption { display: none; }
.hero__act { grid-area: act; max-width: 25rem; }
.hero__claim { margin: 0 0 2.25rem; font-family: var(--body); font-weight: 400; font-size: clamp(1.3125rem, 1.08rem + .8vw, 1.875rem); line-height: 1.42; text-wrap: pretty; }
.hero__def { grid-area: def; justify-self: end; max-width: 20rem; text-align: right; }
.word { font-family: var(--display); font-weight: 250; font-stretch: 118%; font-size: var(--fs-word); line-height: 1; letter-spacing: 0; }
.gloss { font-size: var(--fs-lead); line-height: 1.4; margin-top: .9rem; }
.gloss [lang="grc"] { font-size: 1.12em; }
.hero__note { margin-top: 1.5rem; font-size: var(--fs-small); line-height: 1.65; text-wrap: pretty; }
.hero__note i { font-style: normal; }
.hero__sparkles { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2.25rem; }

/* pausa dei video: quadrato a filo, come i bottoni del sito */
.vbtn { position: absolute; z-index: 4; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white);
  background: rgba(26, 18, 16, .58); border: 1px solid var(--rule-light); transition: background-color .3s var(--ease-out); }
.vbtn:hover { background: rgba(26, 18, 16, .78); }
.vbtn__ico { width: 12px; height: 12px; }
.vbtn .vbtn__ico--play, .vbtn.is-paused .vbtn__ico--pause { display: none; }
.vbtn.is-paused .vbtn__ico--play { display: block; }
.hero__vbtn { left: 0; top: 0; transform: translate(var(--bx, 0), var(--by, 0)); }

/* l'ovale che si apre scorrendo (solo con JS e movimento consentito) */
.is-opening .hero__stage { position: sticky; top: 0; }
.is-opening .hero__run { height: 120svh; }
.is-opening .hero__slot { position: static; }
.is-opening .hero__window { inset: auto; left: 0; top: 0; width: 100%; height: var(--vh, 100svh); border-radius: 0; z-index: 2;
  clip-path: ellipse(var(--rx, 200px) var(--ry, 320px) at var(--cx, 50%) var(--cy, 50%)); }
.is-opening .hero__img { position: absolute; left: var(--ix, 0); top: var(--iy, 0); width: var(--iw, 100%); height: var(--ih, 100%); }
.is-opening .hero__ring { inset: auto; left: 0; top: 0; z-index: 3; opacity: calc(1 - var(--p, 0) * 5); will-change: transform, width, height; }
.is-opening [data-fade] { opacity: calc(1 - var(--p, 0) * 3.2); transform: translateY(calc(var(--e, 0) * -2.5rem)); }
.is-opening .hero__sparkles { opacity: calc(1 - var(--p, 0) * 4); }
.is-opening .hero__veil { display: block; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 18, 16, .82), rgba(26, 18, 16, .24) 60%);
  opacity: calc((var(--p, 0) - .4) * 1.8); }
.is-opening .hero__caption { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2.5rem, 6vh, 4.5rem); color: var(--white);
  font-family: var(--display); font-weight: 300; font-stretch: 110%; text-transform: uppercase; font-size: var(--fs-h2); line-height: 1.15; max-width: 16em; text-wrap: balance;
  opacity: calc((var(--p, 0) - .74) * 4); transform: translateY(calc((1 - var(--e, 0)) * 1.5rem)); }

/* ---------- sezioni ---------- */
.place, .kitchen, .chef, .menu-pdf { padding-block: var(--section); }
.split { max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 1rem + 7vw, 8rem); }
.split__fig img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; }
.split__fig--video { position: relative; }
.split__video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; background: var(--ink); }
.split__fig .vbtn { right: 1rem; bottom: 1rem; }
/* foto dei tetti sotto «Una nuova dimensione a tavola» */
.place__fig { max-width: calc(1200px + 2 * var(--gutter)); margin: clamp(3rem, 2rem + 3vw, 5rem) auto 0; padding-inline: var(--gutter); }
.place__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ink); }
.go { display: inline-flex; align-items: center; gap: 1.1rem; margin-top: 2.25rem; padding-bottom: .55rem; border-bottom: 1px solid currentColor; text-decoration: none;
  font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; }
.go__arrow { width: 40px; height: 12px; transition: transform .45s var(--ease-out); }
.go:hover .go__arrow { transform: translateX(8px); }
.split .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-stretch: 104%; }

/* campo Prenota: la carta rossa impressa a secco del manuale */
.book { position: relative; isolation: isolate; color: var(--white); text-align: center; padding: var(--section) var(--gutter);
  background: var(--brick-deep) url(../img/carta-rilievo-1600.webp) center / cover no-repeat; scroll-margin-top: 0; }
.book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(90, 19, 14, .34); }
.book__mono { height: 76px; width: auto; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.25rem); color: var(--ground); }
.book__h { margin-bottom: 0; }
.book__info { max-width: 980px; margin: clamp(3rem, 2rem + 3vw, 4.5rem) auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr);
  border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.book__info li { padding: 2rem 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.book__info li + li { border-left: 1px solid var(--rule-light); }
.book__info .label { color: var(--white-soft); }
.book__v { font-size: var(--fs-body); line-height: 1.4; text-decoration: none; overflow-wrap: break-word; max-width: 100%; }
a.book__v { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
/* orari: una riga per ogni «a capo» scritto in config.js */
.book__v[data-cfg="orari"] { white-space: pre-line; line-height: 1.55; }
.tbc { font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white-soft); border: 1px solid var(--rule-light); padding: .3rem .6rem; }

/* ---------- piede ---------- */
.footer .tbc { color: var(--brick); border-color: var(--rule-soft); display: block; width: fit-content; margin: .35rem 0 .2rem; padding: .15rem .45rem; font-size: .6875rem; }
.footer { padding: clamp(4rem, 3rem + 3vw, 6rem) var(--gutter) 2rem; }
.footer__grid { max-width: 1200px; margin: clamp(3rem, 2rem + 2vw, 4rem) auto 0; padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  border-top: 1px solid var(--brick); border-bottom: 1px solid var(--brick);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; font-size: var(--fs-small); line-height: 1.7; }
.footer__brand .logo { width: 150px; }
.footer__h { margin-bottom: 1rem; }
.footer__addr { font-style: normal; margin-bottom: .75rem; }
.footer__list li + li { margin-top: .35rem; }
.footer__cta { margin-top: 1.5rem; }
.footer__legal { max-width: 1200px; margin: 1.25rem auto 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .875rem; }
.footer .sparkles { max-width: 1200px; margin-inline: auto; }

/* ---------- pagina «La cucina» ---------- */
.cover { position: relative; height: min(100svh, 1000px); min-height: 560px; display: grid; place-items: center; color: var(--white); overflow: hidden; background: var(--ink); }
.cover picture { position: absolute; inset: 0; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
@media (max-aspect-ratio: 1/1) { .cover__img { object-position: 46% 50%; } }
.cover__veil { position: absolute; inset: 0; background: rgba(26, 18, 16, .56); }
.cover__text { position: relative; text-align: center; padding-inline: var(--gutter); }
.cover__sub { margin-top: 1.25rem; font-size: var(--fs-lead); }
.cover__down { position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; color: var(--white); padding: .5rem; }
.cover__down .ico { width: 18px; height: 40px; }
.sparkles--band { margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--gutter) 0; }
.menu-pdf .btn { margin-top: 2.25rem; }
.menu-pdf__none { margin-top: 2rem; }
.room { position: relative; min-height: 480px; height: min(88svh, 920px); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.room__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room__img--tramonto { object-position: 50% 42%; }
.room__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 18, 16, .72), rgba(26, 18, 16, .1) 62%); }
.room--still { margin: 0; }
.is-opening .room--still { display: none; }
.room__text { position: relative; padding: 0 var(--gutter) clamp(2.5rem, 2rem + 4vw, 5rem); max-width: 24em;
  font-size: var(--fs-statement); line-height: 1.35; text-wrap: balance; }
.room__text--caps { font-family: var(--display); font-weight: 300; font-stretch: 110%; text-transform: uppercase; font-size: var(--fs-h2); line-height: 1.15; max-width: 16em; }

/* ---------- galleria dei piatti (pagina chef) ---------- */
.chef:has(+ .dishes) { padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }
.dishes { padding-bottom: var(--section); }
.dishes__open { display: block; width: 100%; cursor: zoom-in; background: var(--ink); }
.dishes__open img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: opacity .45s var(--ease-out); }
.dishes__open:hover img { opacity: .86; }

/* bottone quadrato a filo, con la freccia del sito */
.sqbtn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--brick); color: var(--brick); transition: background-color .3s var(--ease-out), color .3s var(--ease-out); }
.sqbtn:hover { background: var(--brick); color: var(--ground); }
.sqbtn:disabled { opacity: .3; pointer-events: none; }
.sqbtn__ico { width: 24px; height: 8px; }
.sqbtn--prev .sqbtn__ico { transform: scaleX(-1); }
.sqbtn--light { color: var(--white); border-color: var(--rule-light); }
.sqbtn--light:hover { background: var(--white); color: var(--ink); }

/* la fila che scorre: la prima foto parte allineata al testo */
.dishes__list { list-style: none; display: flex; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100% - 1200px) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - 1200px) / 2)); scrollbar-width: none; }
.dishes__list::-webkit-scrollbar { display: none; }
.dishes__list.is-static { overflow-x: hidden; }
.dishes__item { flex: 0 0 clamp(250px, 24vw, 340px); scroll-snap-align: start; }
.dishes__bar { max-width: calc(1200px + 2 * var(--gutter)); margin: clamp(1.5rem, 1rem + 1vw, 2rem) auto 0; padding-inline: var(--gutter); display: flex; justify-content: flex-end; gap: .75rem; }

/* vista a schermo intero */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: var(--ink); color: var(--white); }
.viewer[open] { display: block; animation: oval-in .7s var(--ease-out); }
.viewer::backdrop { background: var(--ink); }
.viewer__track { list-style: none; display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__slide { flex: 0 0 100%; height: 100%; padding: clamp(4.5rem, 9vh, 6rem) var(--gutter) clamp(5.5rem, 11vh, 7rem); scroll-snap-align: center; }
.viewer__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer__close { position: absolute; top: 1.25rem; left: var(--gutter); display: inline-flex; align-items: center; gap: .9rem; min-height: 44px;
  font-family: var(--label); font-weight: 600; font-stretch: 87.5%; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; }
.viewer__close .ico { width: 20px; height: 20px; }
.viewer__prev, .viewer__next { position: absolute; bottom: clamp(1.25rem, 3vh, 2rem); }
.viewer__prev { right: calc(var(--gutter) + 60px); }
.viewer__next { right: var(--gutter); }
.viewer__count { position: absolute; left: var(--gutter); bottom: clamp(1.25rem, 3vh, 2rem); line-height: 48px; color: var(--white-soft); }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .hero__stage { grid-template-columns: auto 1fr; grid-template-areas: "slot act" "slot def"; align-content: center; row-gap: 2.5rem; }
  .hero__slot { height: min(62svh, 560px); }
  .hero__def { justify-self: start; text-align: left; align-self: start; }
  .hero__act { align-self: end; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* tre celle con l'email intera non stanno in fila sotto i 1024px: si impilano */
  .book__info { grid-auto-flow: row; grid-auto-columns: auto; max-width: 34rem; }
  .book__info li + li { border-left: 0; border-top: 1px solid var(--rule-light); }
}

/* ---------- telefono ---------- */
@media (max-width: 699px) {
  :root { --mast-h: 72px; --ring-gap: 10px; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .masthead__end { gap: .5rem; }
  .masthead .lang { display: none; }
  .hero__stage { grid-template-columns: 1fr; grid-template-areas: "slot" "act" "def"; justify-items: center; text-align: center; row-gap: 2rem; padding-bottom: 4.5rem; }
  .hero__slot { height: min(42svh, 380px); margin-top: .5rem; }
  .hero__act { max-width: 26rem; align-self: auto; }
  .hero__claim { margin: 0 0 1.75rem; }
  .hero__act .btn { width: 100%; }
  .hero__def { justify-self: center; text-align: center; max-width: 24rem; }
  .hero__ring { border-width: 5px 1px; }
  /* sul telefono la definizione compare sopra la sala aperta, al posto della didascalia */
  .is-opening .hero__def { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); top: auto; bottom: 2.5rem; max-width: none; color: var(--white); text-align: left;
    opacity: calc((var(--p, 0) - .72) * 4); transform: translateY(calc((1 - var(--e, 0)) * 1.5rem)); }
  .is-opening .hero__caption { display: none; }
  .is-opening .hero__def { padding-right: 52px; }
  .is-opening .hero__veil { background: linear-gradient(to top, rgba(26, 18, 16, .88), rgba(26, 18, 16, .74) 40%, rgba(26, 18, 16, .2) 70%); }
  .split { grid-template-columns: 1fr; }
  .split__text { max-width: 36rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .stickybar { height: 56px; }
  .dishes__item { flex-basis: 72vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu[open] { animation: none; }
  .viewer[open] { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
