/* ============================================================
   YOSHI — Japanese Dining, Ponte Tresa
   Design system + global styles
   ============================================================ */

:root {
  --bg: #090A0A;
  --surface: #111211;
  --surface-2: #161715;
  --text: #F0EDE6;
  --muted: #B7B2A9;
  --bronze: #9A7654;
  --gold: #C9A96A;
  --accent: #5E1620;
  --line: rgba(240, 237, 230, 0.09);
  --line-soft: rgba(240, 237, 230, 0.05);

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-jp: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1680px;

  --fs-hero: clamp(64px, 11vw, 180px);
  --fs-display: clamp(44px, 7.2vw, 120px);
  --fs-title: clamp(30px, 4.2vw, 64px);
  --fs-lead: clamp(18px, 1.6vw, 24px);
  --fs-body: clamp(15px, 1.1vw, 17px);
  --fs-micro: 11px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--bronze); color: var(--bg); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 4000;
  background: var(--text); color: var(--bg);
  padding: 12px 20px; font-size: 12px; letter-spacing: 0.12em;
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 12px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-2%,1%); }
  40% { transform: translate(1%,-2%); }
  60% { transform: translate(-1%,2%); }
  80% { transform: translate(2%,-1%); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--s-5);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__word {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  color: var(--text);
  opacity: 0;
  animation: loader-word 1s var(--ease) 0.15s forwards;
}
@keyframes loader-word { to { opacity: 1; } }
.loader__blade {
  width: min(260px, 56vw); height: 1px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.loader__blade::after {
  content: ""; position: absolute; top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: blade 1.1s var(--ease) infinite;
}
@keyframes blade { to { left: 110%; } }
/* Safety net: loader hides itself even if JS never runs */
@keyframes loader-selfhide { to { opacity: 0; visibility: hidden; } }
.loader { animation: loader-selfhide 0.7s var(--ease) 4.4s forwards; }

/* ---------- Page transition veil ---------- */
.veil {
  position: fixed; inset: 0; z-index: 2500;
  background: var(--bg);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}
.veil.is-in { animation: veil-in 0.6s var(--ease) forwards; }
@keyframes veil-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; z-index: 2600;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s var(--ease);
  }
  .cursor__label {
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.22em; text-indent: 0.22em;
    color: var(--bg);
    opacity: 0;
    transition: opacity 0.25s;
    white-space: nowrap;
  }
  .cursor.is-label {
    width: 76px; height: 76px;
    background: var(--text);
    mix-blend-mode: normal;
  }
  .cursor.is-label .cursor__label { opacity: 1; }
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; z-index: 1500;
  width: 100%; height: 2px;
  pointer-events: none;
}
.progress__bar {
  height: 100%; width: 100%;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 2.6vw, 32px) var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), backdrop-filter 0.5s;
}
.header.is-scrolled {
  background: rgba(9, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.header__logo { display: flex; align-items: center; gap: 14px; }
.logo-type {
  display: flex; flex-direction: column;
  color: var(--gold);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: 0.5em;
  text-indent: 0.08em;
  line-height: 1;
  transition: font-size 0.5s var(--ease);
}
.logo-type small {
  font-size: clamp(6px, 0.62vw, 7.5px);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: lowercase;
  margin-top: 6px;
  opacity: 0.85;
}
.header.is-scrolled .logo-type { font-size: 16px; }
.header__nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.header__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
@media (max-width: 900px) { .header__links { display: none; } }
.header__link {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.35s;
}
.header__link:hover, .header__link[aria-current="page"] { color: var(--text); }
.header__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.header__link:hover::after, .header__link[aria-current="page"]::after { transform: scaleX(1); }

.btn-book {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(240,237,230,0.25);
  padding: 12px 22px;
  transition: border-color 0.4s, background 0.4s, color 0.4s;
  position: relative;
}
.btn-book:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.burger {
  display: flex; flex-direction: column; gap: 6px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 26px; height: 1px;
  background: var(--text);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.fsmenu {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.fsmenu.is-open { opacity: 1; visibility: visible; }
.fsmenu__nav {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  gap: clamp(6px, 1.4vh, 16px);
}
.fsmenu__item {
  display: flex; align-items: baseline; gap: 18px;
  transform: translateY(40px); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.fsmenu.is-open .fsmenu__item { transform: translateY(0); opacity: 1; }
.fsmenu.is-open .fsmenu__item:nth-child(1) { transition-delay: 0.10s; }
.fsmenu.is-open .fsmenu__item:nth-child(2) { transition-delay: 0.16s; }
.fsmenu.is-open .fsmenu__item:nth-child(3) { transition-delay: 0.22s; }
.fsmenu.is-open .fsmenu__item:nth-child(4) { transition-delay: 0.28s; }
.fsmenu.is-open .fsmenu__item:nth-child(5) { transition-delay: 0.34s; }
.fsmenu.is-open .fsmenu__item:nth-child(6) { transition-delay: 0.40s; }
.fsmenu__num {
  font-size: var(--fs-micro); color: var(--bronze);
  letter-spacing: 0.2em;
}
.fsmenu__link {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 6.4vh, 72px);
  line-height: 1.08;
  color: var(--muted);
  transition: color 0.4s, letter-spacing 0.6s var(--ease);
}
.fsmenu__link:hover, .fsmenu__link[aria-current="page"] { color: var(--text); letter-spacing: 0.02em; }
.fsmenu__meta {
  position: absolute; bottom: clamp(20px, 4vh, 44px); left: var(--gutter);
  font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.fsmenu__meta a:hover { color: var(--text); }
.fsmenu__visual {
  position: relative; overflow: hidden;
  border-left: 1px solid var(--line-soft);
}
.fsmenu__visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  filter: saturate(0.9) brightness(0.85);
}
.fsmenu__visual img.is-active { opacity: 1; }
@media (max-width: 900px) {
  .fsmenu { grid-template-columns: 1fr; }
  .fsmenu__visual { display: none; }
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding: clamp(80px, 12vw, 190px) 0; }
.section--tight { padding: clamp(56px, 8vw, 120px) 0; }

.sec-label {
  display: flex; align-items: center; gap: 16px;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.sec-label::after {
  content: ""; width: 56px; height: 1px;
  background: linear-gradient(90deg, var(--bronze), transparent);
}
.sec-num {
  position: absolute;
  top: clamp(30px, 6vw, 90px);
  right: var(--gutter);
  font-family: var(--font-serif);
  font-size: clamp(90px, 16vw, 260px);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240,237,230,0.06);
  pointer-events: none;
  user-select: none;
}

.vline {
  position: absolute; top: 0; bottom: 0;
  width: 1px; background: var(--line-soft);
  pointer-events: none;
}
.vline--1 { left: 25%; } .vline--2 { left: 50%; } .vline--3 { left: 75%; }
@media (max-width: 800px) { .vline--1, .vline--3 { display: none; } }

.hline { border: 0; height: 1px; background: var(--line-soft); }

.jp-deco {
  font-family: var(--font-jp);
  color: rgba(240,237,230,0.14);
  letter-spacing: 0.5em;
  writing-mode: vertical-rl;
  font-size: 13px;
  user-select: none;
}

/* Yoshi line — proprietary mark derived from the fish-logo crescent */
.yline { display: inline-block; width: 64px; height: 12px; color: var(--bronze); }
.yline svg { display: block; width: 100%; height: 100%; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display em { font-style: italic; color: var(--gold); }
.title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-title);
  line-height: 1.1;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  font-weight: 400;
  color: var(--muted);
  max-width: 34em;
}
.micro {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal[data-split] .line {
  display: block; overflow: hidden;
}
.reveal[data-split] .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.reveal[data-split].is-in .line > span { transform: none; }
.reveal[data-split].is-in .line:nth-child(2) > span { transition-delay: 0.1s; }
.reveal[data-split].is-in .line:nth-child(3) > span { transition-delay: 0.2s; }
.reveal[data-split].is-in .line:nth-child(4) > span { transition-delay: 0.3s; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bg);
  transform: scaleY(1); transform-origin: bottom;
  transition: transform 1.1s var(--ease);
}
.img-reveal.is-in::after { transform: scaleY(0); }
.img-reveal img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.img-reveal.is-in img { transform: scale(1); }

/* shoji-style double-door reveal */
.img-reveal--shoji::after { transform-origin: left; transform: scaleX(1); }
.img-reveal--shoji.is-in::after { transform: scaleX(0); }

/* ---------- Photo treatment ---------- */
.ph { position: relative; overflow: hidden; background: var(--surface); }
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92);
  transition: filter 0.9s var(--ease), transform 6s var(--ease);
}
.ph:hover img { filter: saturate(1); transform: scale(1.025); }
.ph__cap {
  position: absolute; left: 0; bottom: 0;
  padding: 14px 16px;
  font-size: var(--fs-micro);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(transparent, rgba(9,10,10,0.75));
  width: 100%;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ph:hover .ph__cap { opacity: 1; transform: none; }
@media (hover: none) { .ph__cap { opacity: 1; transform: none; } }

/* ---------- CTA links ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text);
  padding: 16px 30px;
  border: 1px solid rgba(240,237,230,0.28);
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.cta:hover::before { transform: scaleX(1); }
.cta:hover { color: var(--bg); }
.cta > * { position: relative; z-index: 1; }
.cta .arr { transition: transform 0.4s var(--ease); }
.cta:hover .arr { transform: translateX(5px); }
.cta--ghost { border-color: transparent; padding-left: 0; padding-right: 0; }
.cta--ghost::before { display: none; }
.cta--ghost:hover { color: var(--gold); }

.link-line {
  position: relative; display: inline-block;
  padding-bottom: 3px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: -4%;
  clip-path: inset(100% 0 0 0);
  animation: hero-clip 1.5s var(--ease) 0.5s forwards;
  will-change: transform;
}
@keyframes hero-clip { to { clip-path: inset(0 0 0 0); } }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-zoom 8s var(--ease) 0.5s forwards;
  filter: saturate(0.95) brightness(0.9);
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,10,10,0.45) 0%, rgba(9,10,10,0.05) 35%, rgba(9,10,10,0.72) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(44px, 8vh, 100px);
}
.hero__kicker {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: clamp(14px, 2vh, 24px);
  opacity: 0; animation: fade-up 1s var(--ease) 1.3s forwards;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 0.92;
  letter-spacing: 0.015em;
  overflow: hidden;
}
.hero__title span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.3s var(--ease) 1.0s forwards;
}
@keyframes rise { to { transform: none; } }
.hero__sub {
  margin-top: clamp(16px, 2.4vh, 28px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(16px, 3vw, 40px);
  opacity: 0; animation: fade-up 1s var(--ease) 1.55s forwards;
}
.hero__tag {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 300;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--muted);
}
.hero__ayce {
  color: var(--gold);
  border: 1px solid rgba(201,169,106,0.35);
  padding: 9px 16px;
  letter-spacing: 0.22em;
}
.hero__ctas {
  margin-top: clamp(22px, 3.4vh, 40px);
  display: flex; gap: 18px; flex-wrap: wrap;
  opacity: 0; animation: fade-up 1s var(--ease) 1.75s forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__coords {
  position: absolute; right: var(--gutter); bottom: clamp(44px, 8vh, 100px);
  z-index: 2;
  text-align: right;
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(240,237,230,0.5);
  text-transform: uppercase;
  line-height: 2;
  opacity: 0; animation: fade-up 1s var(--ease) 2s forwards;
}
@media (max-width: 1100px) { .hero__coords { display: none; } }

/* Hero: dittico su desktop — due foto verticali affiancate, mai upscalate */
.hero__media { display: flex; }
.hero__pane { position: relative; flex: 1; overflow: hidden; }
.hero__pane img { width: 100%; height: 100%; object-fit: cover; }
.hero__pane--fire { display: none; }
@media (min-width: 1000px) {
  .hero__pane--fire { display: block; }
  .hero__pane + .hero__pane { border-left: 1px solid rgba(9,10,10,0.6); }
}
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Manifesto ---------- */
.manifesto { text-align: left; }
.manifesto .display { font-size: clamp(48px, 6.2vw, 104px); }
.manifesto__body {
  margin-top: clamp(28px, 4vw, 56px);
  max-width: 30em;
}

/* ---------- Split section (sticky photo + text) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: start;
}
.split__media {
  position: sticky; top: 90px;
  aspect-ratio: 3 / 4;
}
.split__media--sq { aspect-ratio: 1 / 1; }
.split__media .ph { height: 100%; }
.split__media img { height: 100%; }
.split__body { padding-top: clamp(10px, 3vw, 60px); }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split__media { position: relative; top: 0; }
}

.specs {
  display: flex; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(28px, 4vw, 52px);
  flex-wrap: wrap;
}
.spec { border-top: 1px solid var(--line); padding-top: 14px; min-width: 110px; }
.spec dt { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.spec dd { font-size: 14px; color: var(--muted); }

/* ---------- Editorial gallery ---------- */
.ed-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}
.ed-item { position: relative; }
.ed-item .ph { width: 100%; }
.ed-cap {
  margin-top: 12px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.ed-1 { grid-column: 1 / span 7; }
.ed-1 .ph { aspect-ratio: 4 / 5; }
.ed-2 { grid-column: 9 / span 4; margin-top: clamp(60px, 10vw, 160px); }
.ed-2 .ph { aspect-ratio: 3 / 4; }
.ed-3 { grid-column: 2 / span 4; margin-top: clamp(-30px, -2vw, -10px); }
.ed-3 .ph { aspect-ratio: 3 / 4; }
.ed-4 { grid-column: 7 / span 6; margin-top: clamp(40px, 7vw, 120px); }
.ed-4 .ph { aspect-ratio: 4 / 5; }
@media (max-width: 800px) {
  .ed-1 { grid-column: 1 / span 10; }
  .ed-2 { grid-column: 4 / span 9; margin-top: 24px; }
  .ed-3 { grid-column: 1 / span 8; margin-top: 24px; }
  .ed-4 { grid-column: 2 / span 11; margin-top: 24px; }
}

/* ---------- Panorama ---------- */
.pano {
  position: relative;
  height: clamp(420px, 80vh, 760px);
  overflow: hidden;
}
.pano img {
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
  filter: saturate(0.92) brightness(0.85);
}
.pano__text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  background: rgba(9,10,10,0.25);
}
.pano__text p {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--text);
  line-height: 2.4;
  text-indent: 0.34em;
}

/* ---------- Formula ---------- */
.formula { border-top: 1px solid var(--line-soft); }
.formula__rows { border-bottom: 1px solid var(--line-soft); }
.formula__row {
  display: grid;
  grid-template-columns: minmax(80px, 0.6fr) 1.6fr minmax(120px, 0.8fr);
  align-items: baseline;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(24px, 3.6vw, 44px) 0;
  border-top: 1px solid var(--line-soft);
}
.formula__when { font-size: var(--fs-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); }
.formula__name {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.05;
}
.formula__price {
  text-align: right;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(28px, 4vw, 58px);
  color: var(--gold);
  white-space: nowrap;
}
.formula__price small { font-size: 0.4em; color: var(--muted); letter-spacing: 0.1em; }
.formula__note {
  margin-top: clamp(18px, 3vw, 30px);
  font-size: 13px; color: var(--muted);
  display: flex; gap: 30px; flex-wrap: wrap;
}
@media (max-width: 640px) {
  .formula__row { grid-template-columns: 1fr auto; }
  .formula__when { grid-column: 1 / -1; }
}

/* ---------- Box ---------- */
.box-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.box-cell {
  background: var(--bg);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 3vw, 44px);
  transition: background 0.5s var(--ease);
  position: relative;
}
.box-cell:hover { background: var(--surface); }
.box-cell__size { font-size: var(--fs-micro); letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze); }
.box-cell__n {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(64px, 8vw, 130px);
  line-height: 1;
  margin: clamp(14px, 2vw, 26px) 0 6px;
}
.box-cell__n small { font-size: 0.32em; color: var(--muted); }
.box-cell__what { font-size: 13px; color: var(--muted); line-height: 1.8; }
.box-cell__price {
  margin-top: clamp(16px, 2.4vw, 30px);
  font-size: 15px; letter-spacing: 0.12em;
  color: var(--gold);
}
@media (max-width: 760px) { .box-grid { grid-template-columns: 1fr; } }

/* ---------- Quiet + booking CTA ---------- */
.quiet {
  min-height: 70vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: clamp(26px, 5vh, 48px);
}
.quiet .display { font-size: clamp(48px, 8vw, 130px); }

/* ---------- Reviews ---------- */
.rev-score {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.rev-score__n {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(72px, 10vw, 150px);
  line-height: 1;
  color: var(--gold);
}
.rev-score__meta {
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); line-height: 2;
}
.rev-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.rev {
  background: var(--bg);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.rev p {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.5;
  color: var(--text);
}
.rev cite {
  font-style: normal;
  font-size: var(--fs-micro); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- Photo wall (galleria: tutto il menu) ---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(8px, 1vw, 14px);
}
.wall__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
}
.wall__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.94);
}
.wall__item:hover img { transform: scale(1.03); filter: saturate(1); }
@media (max-width: 700px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Guest photos in reviews ---------- */
.rev-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(10px, 1.5vw, 24px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.rev-photos .ph { aspect-ratio: 16/10; }

/* ---------- Booking: slot orari, telefono, extra ---------- */
.bk__slots { display: flex; flex-wrap: wrap; gap: 10px; }
.bk__service {
  width: 100%;
  font-size: var(--fs-micro); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze);
  margin: 14px 0 4px;
}
.bk__service:first-child { margin-top: 0; }
.bk__slot {
  min-width: 76px; padding: 13px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px; letter-spacing: 0.08em;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.bk__slot:hover { border-color: var(--gold); color: var(--text); }
.bk__slot.is-sel { background: var(--text); color: var(--bg); border-color: var(--text); }
.bk__loading, .bk__empty { color: var(--muted); font-size: 15px; }
.bk__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .bk__cols { grid-template-columns: 1fr; } }
.bk__phone { display: grid; grid-template-columns: 128px 1fr; gap: 12px; }
.bk__phone select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 10px;
  font: inherit; font-size: 15px;
}
.bk__privacy {
  margin-top: 18px;
  font-size: 12px; color: var(--muted); opacity: 0.8;
}

/* ---------- Zoom foto piatto ---------- */
.dishzoom {
  position: fixed; inset: 0; z-index: 2400;
  background: rgba(5,6,5,0.86);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.dishzoom.is-open { opacity: 1; visibility: visible; }
.dishzoom__card {
  position: relative;
  width: min(480px, 92vw);
  background: var(--surface);
  border: 1px solid var(--line);
  transform: translateY(14px);
  transition: transform 0.35s var(--ease);
}
.dishzoom.is-open .dishzoom__card { transform: none; }
.dishzoom__card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  background: var(--surface-2);
}
.dishzoom__info { padding: 16px 18px 20px; }
.dishzoom__name { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.dishzoom__desc { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.dishzoom__close {
  position: absolute; top: 0; right: 0; z-index: 2;
  width: 44px; height: 44px;
  background: rgba(9,10,10,0.6);
  color: var(--text); font-size: 24px; line-height: 1;
}
.dishzoom__close:hover { background: var(--bg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: clamp(18px, 2.5vw, 26px) 0;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 300;
  color: var(--bronze);
  transition: transform 0.4s var(--ease);
  flex: 0 0 auto;
}
.faq__item[open] summary { color: var(--gold); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--gold); }
.faq__item p {
  padding: 0 0 clamp(18px, 2.5vw, 26px);
  color: var(--muted);
  max-width: 46em;
  line-height: 1.7;
}
.faq__item a { color: var(--gold); border-bottom: 1px solid rgba(201,169,106,0.4); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(56px, 8vw, 120px);
  overflow: hidden;
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(50px, 7vw, 100px);
}
.footer__col h3 {
  font-size: var(--fs-micro); font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}
.footer__col p, .footer__col li { font-size: 14px; color: var(--muted); line-height: 2; }
.footer__col a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.footer__col a:hover { color: var(--text); }
.fsmenu__meta a { display: inline-block; padding: 8px 0; }
.footer__word {
  display: block;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(110px, 22vw, 400px);
  line-height: 0.78;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--surface-2);
  margin-bottom: -0.09em;
  user-select: none;
  position: relative;
  transition: color 1.2s var(--ease);
}
.footer__word:hover { color: #1d1e1b; }
.footer__word .slash {
  position: absolute; top: 52%; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.footer__word.is-cut .slash { animation: cut 0.9s var(--ease) forwards; }
@keyframes cut { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 11px; letter-spacing: 0.08em;
  color: rgba(183,178,169,0.6);
}
.footer__legal a:hover { color: var(--text); }

/* ---------- Light section variant ---------- */
.section--light {
  background: var(--text);
  color: var(--bg);
}
.section--light .sec-label { color: var(--bronze); }
.section--light .lead { color: #55524b; }
.section--light .hline { background: rgba(9,10,10,0.12); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding-top: clamp(140px, 22vh, 240px);
  padding-bottom: clamp(40px, 6vw, 90px);
}
.page-hero .display { font-size: clamp(52px, 9vw, 150px); }
.page-hero__meta {
  display: flex; gap: 28px; margin-top: 24px;
  font-size: var(--fs-micro); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Menu page ---------- */
.mtabs {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0;
  position: sticky; top: 58px;
  background: rgba(9,10,10,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 50;
  overflow-x: auto;
  scrollbar-width: none;
}
.mtabs::-webkit-scrollbar { display: none; }
.mtab {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  padding: 18px 2px;
  position: relative;
  white-space: nowrap;
  transition: color 0.35s;
}
.mtab:hover { color: var(--text); }
.mtab[aria-selected="true"] { color: var(--text); }
.mtab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px; background: var(--gold);
}
.menu-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  margin-top: clamp(30px, 5vw, 60px);
}
@media (max-width: 900px) { .menu-layout { grid-template-columns: 1fr; } }
.mcats {
  position: sticky; top: 130px;
  align-self: start;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex; flex-direction: column; gap: 2px;
  padding-right: 8px;
}
@media (max-width: 900px) {
  .mcats {
    position: sticky; top: 112px;
    flex-direction: row; overflow-x: auto; max-height: none;
    background: rgba(9,10,10,0.92);
    z-index: 40;
    padding: 10px 0;
    gap: 18px;
    scrollbar-width: none;
  }
  .mcats::-webkit-scrollbar { display: none; }
}
.mcat {
  text-align: left;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 0 7px 16px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.mcat::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 1px; height: 16px;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}
.mcat:hover { color: var(--text); }
.mcat.is-active { color: var(--text); }
.mcat.is-active::before { transform: translateY(-50%) scaleY(1); }

.mgroup { padding-top: clamp(14px, 2vw, 24px); margin-bottom: clamp(40px, 6vw, 80px); scroll-margin-top: 150px; }
.mgroup__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(28px, 3.6vw, 46px);
  margin-bottom: clamp(20px, 3vw, 36px);
  display: flex; align-items: baseline; gap: 18px;
}
.mgroup__title small { font-size: 11px; font-family: var(--font-sans); letter-spacing: 0.24em; color: var(--bronze); text-transform: uppercase; }
.mitem {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.mitem__body { flex: 1; min-width: 0; }
.mitem__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px clamp(14px, 2vw, 26px);
  align-items: baseline;
}
.mitem__ph {
  flex: 0 0 auto;
  width: clamp(52px, 7vw, 64px); height: clamp(52px, 7vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 0;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.mitem__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mitem__ph:hover { border-color: var(--gold); transform: scale(1.03); }
.mitem__code { font-size: 11px; color: var(--bronze); letter-spacing: 0.14em; }
.mitem__name { font-size: 15px; font-weight: 500; letter-spacing: 0.05em; }
.mitem__desc { font-size: 13px; margin-top: 5px; color: var(--muted); line-height: 1.55; max-width: 46em; }
.mitem__alrg { margin-top: 4px; font-size: 10px; letter-spacing: 0.1em; color: rgba(183,178,169,0.55); text-transform: uppercase; }
.mitem__price {
  font-family: var(--font-serif);
  font-size: 17px; color: var(--gold);
  white-space: nowrap;
}
.mnote {
  font-size: 13px; color: var(--muted);
  border-left: 1px solid var(--bronze);
  padding: 6px 0 6px 18px;
  margin: clamp(20px, 3vw, 32px) 0;
  max-width: 46em;
}

/* ---------- Booking ---------- */
.bk {
  max-width: 760px;
}
.bk__progress {
  display: flex; align-items: center; gap: 0;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.bk__dot {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.bk__dot i {
  font-style: normal;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  transition: all 0.4s var(--ease);
}
.bk__dot.is-active { color: var(--text); }
.bk__dot.is-active i { border-color: var(--gold); color: var(--gold); }
.bk__dot.is-done i { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.bk__sep { flex: 1; height: 1px; background: var(--line-soft); margin: 0 12px; min-width: 16px; }
@media (max-width: 560px) {
  .bk__dot span { display: none; }
  .bk__sep { margin: 0 6px; }
}
.bk__step { display: none; }
.bk__step.is-active { display: block; animation: fade-up 0.6s var(--ease); }
.bk__label {
  display: block;
  font-size: var(--fs-micro); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}
.bk input[type="date"], .bk input[type="time"], .bk input[type="text"],
.bk input[type="email"], .bk input[type="tel"], .bk select, .bk textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 300;
  padding: 10px 0 16px;
  border-radius: 0;
  transition: border-color 0.4s;
  color-scheme: dark;
}
.bk textarea { font-size: clamp(18px, 2vw, 24px); resize: vertical; min-height: 90px; }
.bk input:focus, .bk select:focus, .bk textarea:focus { outline: none; border-color: var(--gold); }
.bk__row { margin-bottom: clamp(26px, 4vw, 44px); }
.bk__guests {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.bk__guest {
  min-width: 52px; height: 52px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px;
  transition: all 0.35s var(--ease);
}
.bk__guest:hover { border-color: var(--muted); }
.bk__guest.is-sel { background: var(--text); color: var(--bg); border-color: var(--text); }
.bk__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(30px, 5vw, 50px); }
.bk__hint { font-size: 12px; color: var(--muted); margin-top: 10px; }
.bk__policy {
  font-size: 12px; color: var(--muted);
  border-left: 1px solid var(--bronze);
  padding: 4px 0 4px 16px;
  margin-top: clamp(30px, 4vw, 44px);
  max-width: 40em;
  line-height: 1.8;
}
.bk__done { text-align: center; padding: clamp(30px, 6vw, 60px) 0; }
.bk__summary {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4;
  color: var(--muted);
  margin: 20px 0 30px;
}
.bk__summary strong { color: var(--text); font-weight: 300; }

/* ---------- Contact / map ---------- */
.map-card {
  position: relative;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 60% 40%, rgba(154,118,84,0.12), transparent 60%),
    var(--surface);
  height: clamp(320px, 50vh, 480px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.map-card__rings { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.map-card__center { text-align: center; z-index: 1; }
.map-card__center .micro { color: var(--bronze); }
.map-card__pin {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 16px;
  box-shadow: 0 0 0 0 rgba(201,169,106,0.5);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201,169,106,0.45); } 70% { box-shadow: 0 0 0 22px rgba(201,169,106,0); } 100% { box-shadow: 0 0 0 0 rgba(201,169,106,0); } }

.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
}
.info-cell { background: var(--bg); padding: clamp(24px, 3.4vw, 44px); }
.info-cell h3 { font-size: var(--fs-micro); letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; font-weight: 500; }
.info-cell p, .info-cell li { color: var(--muted); font-size: 15px; line-height: 2; }
.info-cell a:hover { color: var(--text); }
.info-cell .big {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--text);
}

/* ---------- Gallery page ---------- */
.g-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 30px);
}
.g-item { position: relative; }
.g-item .ph { width: 100%; height: 100%; }
.g-item.gc-7 { grid-column: span 7; }
.g-item.gc-5 { grid-column: span 5; }
.g-item.gc-4 { grid-column: span 4; }
.g-item.gc-8 { grid-column: span 8; }
.g-item.gc-6 { grid-column: span 6; }
.g-item.g-tall .ph { aspect-ratio: 3/4; }
.g-item.g-wide .ph { aspect-ratio: 16/10; }
.g-item.g-sq .ph { aspect-ratio: 1/1; }
.g-item.g-off { margin-top: clamp(30px, 6vw, 110px); }
.g-gap { grid-column: span 3; }
@media (max-width: 800px) {
  .g-item.gc-7, .g-item.gc-5, .g-item.gc-4, .g-item.gc-8, .g-item.gc-6 { grid-column: span 12; }
  .g-item.g-off { margin-top: 0; }
  .g-gap { display: none; }
  .g-item:nth-child(odd):not(.g-full) { grid-column: 2 / span 11; }
  .g-item:nth-child(even):not(.g-full) { grid-column: 1 / span 11; }
}

/* ---------- Sticky CTA mobile ---------- */
.sticky-book {
  display: none;
}
@media (max-width: 700px) {
  .sticky-book {
    display: flex;
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    z-index: 800;
    justify-content: center;
    padding: 16px;
    background: var(--text); color: var(--bg);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.24em; text-transform: uppercase;
    transform: translateY(120%);
    transition: transform 0.5s var(--ease);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
  .sticky-book.is-visible { transform: none; }
  body { padding-bottom: 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__media, .hero__media img { animation-duration: 0.01s; animation-delay: 0s; }
  .grain { animation: none; }
  .pano img { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .grain, .cursor, .loader, .veil, .header, .fsmenu, .sticky-book, .progress { display: none !important; }
  body { background: #fff; color: #000; }
}
