/* YŪGEN TEATRO — sito vetrina. Impianto ispirato a raspoutine.com:
   crema e bordeaux profondo, serif elegante maiuscolo a tracking largo,
   divisori ornamentali, split su bordeaux, card fotografiche con overlay. */
:root {
  --crema: #e8e3dd;
  --crema-2: #efeae4;
  --bordeaux: #350710;
  --bordeaux-2: #43101c;
  --titolo: #5e1220;
  --testo: #6d5a55;
  --chiaro: #f0e6df;
  --rosa: #c9a39a;
  --fs: 'Cormorant Garamond', Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--crema); color: var(--testo); font-family: var(--fs); font-size: 17px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(94,18,32,.2); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* titoli serif maiuscoli */
.yt-title {
  font-family: var(--fs); font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; line-height: 1.25; color: var(--titolo);
}
.yt-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--rosa);
}

/* bottoni outline sottili */
.btn-y {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px; border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--fs); font-size: 14px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  transition: all .3s; cursor: pointer; background: transparent;
}
.btn-y.scuro { color: var(--titolo); }
.btn-y.scuro:hover { background: var(--titolo); color: var(--crema); }
.btn-y.chiaro { color: var(--chiaro); }
.btn-y.chiaro:hover { background: var(--chiaro); color: var(--bordeaux); }

/* ------------------------------------------------ barra alta */
.yt-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 66px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 26px; transition: background .35s ease, box-shadow .35s ease;
  color: var(--chiaro);
}
.yt-bar.solid { background: rgba(232,227,221,.94); color: var(--titolo); box-shadow: 0 1px 0 rgba(94,18,32,.12); }
.yt-logo { grid-column: 2; display: grid; place-items: center; }
/* logo ufficiale (estratto dalle foto): maschera → eredita il colore della barra */
.yt-logo-mark {
  display: block; height: 42px; aspect-ratio: 692 / 297;
  background: currentColor;
  -webkit-mask: url('/img/yugen/logo-bianco.png') no-repeat center / contain;
  mask: url('/img/yugen/logo-bianco.png') no-repeat center / contain;
}
.yt-cta { grid-column: 3; justify-self: end; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ------------------------------------------------ hero */
.yt-hero { position: relative; min-height: 100svh; overflow: hidden; }
.yt-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.yt-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,4,10,.45), rgba(30,4,10,.1) 45%, rgba(30,4,10,.55) 100%); }
.yt-hero-inner {
  position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2; text-align: center; color: var(--chiaro); padding: 0 22px;
}
.yt-hero-inner .yt-eyebrow { color: rgba(240,230,223,.85); }
.yt-hero-inner h1 { font-family: var(--fs); font-weight: 500; font-size: clamp(34px, 6vw, 68px); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 30px rgba(0,0,0,.5); margin-top: 6px; }
.yt-hero-inner p { font-style: italic; font-size: clamp(17px, 2.2vw, 22px); opacity: .92; margin-top: 6px; }
.yt-hero-inner .btn-y { margin-top: 26px; }

/* ------------------------------------------------ divisore ornamentale */
.yt-orn { height: 46px; display: grid; place-items: center; color: var(--rosa); overflow: hidden; }
.yt-orn svg { width: min(520px, 80vw); height: 22px; }

/* ------------------------------------------------ blocco editoriale su crema */
.yt-edit { padding: 104px 0 110px; text-align: center; }
.yt-edit h2 { font-size: clamp(27px, 4.2vw, 46px); max-width: 1020px; margin: 0 auto 30px; line-height: 1.3; }
.yt-edit p { max-width: 880px; margin: 0 auto; font-size: clamp(18px, 1.55vw, 20.5px); line-height: 1.85; }
.yt-edit p + p { margin-top: 18px; }
@media (max-width: 640px) { .yt-edit { padding: 70px 0 76px; } }

/* ------------------------------------------------ split su bordeaux */
.yt-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--bordeaux); color: var(--chiaro); min-height: 560px; }
.yt-split.inverti .yt-split-img { order: 2; }
.yt-split-img { position: relative; min-height: 340px; }
.yt-split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-split-txt { display: flex; flex-direction: column; justify-content: center; padding: 76px 7.5vw; }
.yt-split-txt h2 { font-family: var(--fs); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(24px, 3vw, 34px); color: var(--chiaro); margin: 12px 0 18px; }
.yt-split-txt p { color: rgba(240,230,223,.85); max-width: 480px; margin-bottom: 12px; }
.yt-split-txt .btn-y { align-self: flex-start; margin-top: 16px; }
@media (max-width: 860px) {
  .yt-split { grid-template-columns: 1fr; }
  .yt-split.inverti .yt-split-img { order: 0; }
  .yt-split-txt { padding: 50px 26px; }
}

/* ------------------------------------------------ tre pilastri */
.yt-pillars { padding: 84px 0; }
.yt-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pillar { text-align: center; }
.pillar .ph { border-radius: 3px; overflow: hidden; }
.pillar img { width: 100%; height: 430px; object-fit: cover; transition: transform .6s ease; }
.pillar:hover img { transform: scale(1.04); }
.pillar h3 { font-family: var(--fs); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: 21px; color: var(--titolo); margin: 20px 0 8px; }
.pillar p { font-size: 15.5px; max-width: 300px; margin: 0 auto; }
@media (max-width: 860px) { .yt-pillars-grid { grid-template-columns: 1fr; } .pillar img { height: 340px; } }

/* ------------------------------------------------ gallery */
.yt-gallery { padding: 10px 0 84px; }
.yt-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.yt-gallery-grid a { border-radius: 3px; overflow: hidden; display: block; }
.yt-gallery-grid img { width: 100%; height: 340px; object-fit: cover; transition: transform .5s ease; }
.yt-gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .yt-gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .yt-gallery-grid a { flex: 0 0 74%; scroll-snap-align: center; }
}

/* ------------------------------------------------ card doppie con overlay */
.yt-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 0 0 90px; }
.duo-card { position: relative; border-radius: 3px; overflow: hidden; min-height: 530px; display: grid; place-items: center; text-align: center; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo-card::after { content: ''; position: absolute; inset: 0; background: rgba(38,6,13,.55); transition: background .3s; }
.duo-card:hover::after { background: rgba(38,6,13,.42); }
.duo-inner { position: relative; z-index: 2; color: var(--chiaro); padding: 30px; }
.duo-inner h3 { font-family: var(--fs); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(24px, 2.9vw, 34px); margin-bottom: 22px; }
@media (max-width: 860px) { .yt-duo { grid-template-columns: 1fr; } .duo-card { min-height: 440px; } }

/* ------------------------------------------------ info + footer bordeaux */
.yt-footer { background: var(--bordeaux); color: rgba(240,230,223,.85); padding: 64px 0 40px; text-align: center; }
.yt-footer .yt-logo-big { font-family: var(--fs); font-size: 30px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--chiaro); }
.yt-footer .sotto { font-size: 10px; letter-spacing: .5em; text-transform: uppercase; opacity: .7; margin-top: -2px; }
.yt-footer .riga { margin-top: 22px; font-size: 16px; }
.yt-footer .riga a { border-bottom: 1px solid rgba(240,230,223,.4); padding-bottom: 1px; }
.yt-footer .social { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.yt-footer .social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(240,230,223,.4);
  display: grid; place-items: center; color: var(--chiaro); transition: all .25s;
}
.yt-footer .social a:hover { background: var(--chiaro); color: var(--bordeaux); }
.yt-footer .social svg { width: 18px; height: 18px; fill: currentColor; }
.yt-footer .fine { margin-top: 34px; font-size: 12.5px; letter-spacing: .08em; opacity: .55; }
.yt-footer .fine a { border-bottom: 1px solid rgba(240,230,223,.3); }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.rv.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------ burger + drawer (menu a sinistra, alla Raspoutine) */
.yt-burger {
  grid-column: 1; justify-self: start;
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer; color: inherit; padding: 8px 0;
}
.yt-burger .ybars { display: flex; flex-direction: column; gap: 6px; }
.yt-burger .ybars span {
  display: block; width: 26px; height: 1.5px; background: currentColor;
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.25,.8,.3,1);
}
.yt-burger .ybars span:nth-child(2) { transition-delay: .05s; }
.yt-burger .ybars span:nth-child(3) { transition-delay: .1s; }
.yt-burger:hover .ybars span:nth-child(2) { transform: scaleX(.66); }
.yt-burger:hover .ybars span:nth-child(3) { transform: scaleX(.38); }
.yt-burger em {
  font-style: normal; font-family: var(--fs); font-size: 12.5px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
}
@media (max-width: 640px) { .yt-burger em { display: none; } }

.yt-veil {
  position: fixed; inset: 0; z-index: 140; background: rgba(20,3,7,.55);
  opacity: 0; transition: opacity .35s;
}
.yt-veil.on { opacity: 1; }
.yt-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 150;
  width: min(430px, 88vw);
  background: var(--bordeaux); color: var(--chiaro);
  display: flex; flex-direction: column;
  padding: 30px 38px 30px;
  transform: translateX(-102%); transition: transform .45s cubic-bezier(.25,.8,.3,1);
  box-shadow: 30px 0 80px rgba(0,0,0,.35);
}
.yt-drawer.open { transform: none; }
.yt-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: none; border: 1px solid rgba(240,230,223,.35); color: var(--chiaro);
  font-size: 15px; cursor: pointer; transition: all .25s;
}
.yt-close:hover { background: var(--chiaro); color: var(--bordeaux); }
.yt-drawer-head .l1 { font-family: var(--fs); font-size: 24px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; }
.yt-drawer-head .l2 { font-size: 9.5px; letter-spacing: .52em; text-transform: uppercase; opacity: .7; margin-top: -2px; }
.yt-menu { flex: 1; display: flex; flex-direction: column; gap: 4px; margin: 26px 0; overflow-y: auto; overflow-x: hidden; }
/* centrato quando c'è spazio, ma interamente scorribile quando le voci non ci stanno */
.yt-menu a:first-child { margin-top: auto; }
.yt-menu a:last-child { margin-bottom: auto; }
.yt-menu a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 11px 14px 11px 6px; border-bottom: 1px solid rgba(240,230,223,.14);
  transition: background .25s;
}
.yt-menu a:hover { background: rgba(240,230,223,.06); }
/* lo scorrimento all'hover muove il contenuto, non il riquadro: se cambiasse la
   larghezza della riga i titoli lunghi andrebbero a capo */
.yt-menu a .n, .yt-menu a .w { transition: transform .28s cubic-bezier(.25,.8,.3,1); }
.yt-menu a:hover .n, .yt-menu a:hover .w { transform: translateX(9px); }
.yt-menu .n { font-family: var(--fs); font-size: 12px; letter-spacing: .18em; color: var(--rosa); }
.yt-menu .w { display: flex; flex-direction: column; }
.yt-menu .t {
  font-family: var(--fs); font-size: clamp(18px, 2.4vh, 23px); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
}
.yt-menu .s { font-size: 12.5px; font-style: italic; opacity: .6; letter-spacing: .04em; line-height: 1.45; }
.yt-drawer-info { font-size: 13.5px; line-height: 1.9; opacity: .8; }
.yt-drawer-info a { border-bottom: 1px solid rgba(240,230,223,.4); padding-bottom: 1px; }

/* ------------------------------------------------ riga indirizzo / orari / contatti */
.yt-keyinfo { padding: 0 0 84px; }
.yt-keyinfo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(94,18,32,.18); border-bottom: 1px solid rgba(94,18,32,.18);
}
.yt-keyinfo .ki { text-align: center; padding: 40px 26px; }
.yt-keyinfo .ki + .ki { border-left: 1px solid rgba(94,18,32,.18); }
.yt-keyinfo h3 {
  font-family: var(--fs); font-weight: 600; font-size: 13px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--rosa); margin-bottom: 12px;
}
.yt-keyinfo p { font-size: 17.5px; color: var(--titolo); line-height: 1.75; }
.yt-keyinfo a { border-bottom: 1px solid rgba(94,18,32,.3); padding-bottom: 1px; transition: border-color .2s; }
.yt-keyinfo a:hover { border-color: var(--titolo); }
@media (max-width: 860px) {
  .yt-keyinfo-grid { grid-template-columns: 1fr; }
  .yt-keyinfo .ki { padding: 28px 20px; }
  .yt-keyinfo .ki + .ki { border-left: none; border-top: 1px solid rgba(94,18,32,.18); }
}

/* ------------------------------------------------ cartina + info a destra */
.yt-map { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--bordeaux-2); color: var(--chiaro); min-height: 560px; }
.yt-map-frame { position: relative; min-height: 380px; }
.yt-map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) sepia(.22) saturate(.9) contrast(1.02);
}
.yt-map-info { display: flex; flex-direction: column; justify-content: center; padding: 76px 6.5vw; }
.yt-map-info h2 {
  font-family: var(--fs); font-weight: 500; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(26px, 3vw, 36px); color: var(--chiaro); margin: 12px 0 14px; line-height: 1.2;
}
.yt-map-info .lead { color: rgba(240,230,223,.85); max-width: 460px; margin-bottom: 26px; }
.yt-map-rows { display: flex; flex-direction: column; }
.yt-map-rows .row {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: baseline;
  padding: 13px 0; border-top: 1px solid rgba(240,230,223,.16);
}
.yt-map-rows .row:last-child { border-bottom: 1px solid rgba(240,230,223,.16); }
.yt-map-rows .k {
  font-family: var(--fs); font-weight: 600; font-size: 11.5px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--rosa);
}
.yt-map-rows .v { font-size: 16px; color: rgba(240,230,223,.92); }
.yt-map-rows a { border-bottom: 1px solid rgba(240,230,223,.4); padding-bottom: 1px; }
.yt-map-info .btn-y { align-self: flex-start; }
@media (max-width: 860px) {
  .yt-map { grid-template-columns: 1fr; }
  .yt-map-frame { min-height: 320px; }
  .yt-map-info { padding: 46px 26px 56px; }
  .yt-map-rows .row { grid-template-columns: 104px 1fr; gap: 12px; }
}

/* ------------------------------------------------ splash d'apertura */
.yt-splash {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--bordeaux);
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.yt-splash-inner { text-align: center; color: var(--chiaro); padding: 0 24px; }
.yt-splash-inner img {
  height: min(110px, 24vw); width: auto; margin: 0 auto;
  opacity: 0; transform: scale(.94);
  animation: ysplash-logo .45s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes ysplash-logo { to { opacity: 1; transform: none; } }
.yt-splash.via { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .yt-splash-inner img { animation-duration: .01s; animation-delay: 0s; }
}


/* le ancore del menu non devono finire sotto la barra fissa alta 66px */
#cena, #serata, #teatro, #galleria, #prenota, #contatti { scroll-margin-top: 92px; }

/* ------------------------------------------------ pagina della carta
   impianto scuro alla raspoutine/dubai: fondo bordeaux, due livelli di
   navigazione, colonne divise da un filo punteggiato, riquadri per i gruppi
   che vanno messi in evidenza. */
body.yt-scuro { background: var(--bordeaux); }
.yt-bar.scura.solid { background: rgba(21,4,9,.95); color: var(--chiaro); box-shadow: 0 1px 0 rgba(240,230,223,.12); }

.yt-carta-hero { position: relative; min-height: 72svh; overflow: hidden; display: flex; align-items: flex-end; }
.yt-carta-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.yt-carta-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,3,7,.5), rgba(20,3,7,.12) 38%, rgba(20,3,7,.78)); }
.yt-carta-hero-inner {
  position: relative; z-index: 2; color: var(--chiaro); text-align: right;
  margin-left: auto; padding: 0 clamp(24px, 6vw, 92px) clamp(44px, 8vh, 84px);
}
.yt-carta-hero-inner .yt-eyebrow { color: rgba(240,230,223,.8); }
.yt-carta-hero-inner h1 {
  font-family: var(--fs); font-weight: 500; font-size: clamp(34px, 5.6vw, 62px);
  letter-spacing: .12em; text-transform: uppercase; margin-top: 10px;
  text-shadow: 0 2px 30px rgba(0,0,0,.5);
}

/* schede Restaurant ◇ Bottles ◇ Cocktails */
.yt-tabs { position: sticky; top: 66px; z-index: 90; scroll-margin-top: 66px; background: #150409; }
.yt-tabs-inner { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); padding: 0 16px; overflow-x: auto; }
/* solo testo, come nel riferimento: la scheda attiva è chiara e sottolineata */
.yt-tab {
  background: none; border: none; cursor: pointer; white-space: nowrap;
  font-family: var(--fs); font-size: clamp(15px, 1.5vw, 19px); font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(240,230,223,.6);
  padding: 25px 4px 22px; border-bottom: 1px solid transparent;
  transition: color .28s, border-color .28s;
}
.yt-tab:hover { color: var(--chiaro); border-bottom-color: rgba(240,230,223,.45); }
.yt-tab.attivo { color: var(--chiaro); border-bottom-color: rgba(240,230,223,.85); }
.yt-tabs-rombo { display: grid; place-items: center; width: 13px; height: 13px; color: var(--rosa); opacity: .5; flex: none; }
.yt-tabs-rombo svg { width: 100%; height: 100%; }

.yt-carta-pannello { background: var(--bordeaux); color: rgba(240,230,223,.85); padding: 52px 0 30px; }

/* rimando rapido alle categorie della sezione */
.carta-ancore { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 3.4vw, 44px); }
.carta-ancore a {
  font-family: var(--fs); font-size: 12.5px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(240,230,223,.6);
  padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.carta-ancore a:hover { color: var(--chiaro); border-bottom-color: rgba(240,230,223,.45); }

.carta-testa { text-align: center; max-width: 780px; margin: 46px auto 0; }
.carta-testa .intro { font-size: 17.5px; line-height: 1.85; color: rgba(240,230,223,.82); }
.carta-testa .servizio { margin-top: 22px; font-size: 16px; color: rgba(240,230,223,.72); letter-spacing: .03em; }
.carta-testa .servizio b { font-weight: 600; color: var(--chiaro); }
.link-prenota {
  display: inline-block; margin-top: 20px;
  font-family: var(--fs); font-size: 12.5px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--chiaro);
  border-bottom: 1px solid rgba(240,230,223,.5); padding-bottom: 4px; transition: border-color .25s;
}
.link-prenota:hover { border-bottom-color: var(--chiaro); }

.carta-gruppo { margin-top: clamp(58px, 8vw, 98px); scroll-margin-top: 132px; }
.carta-gruppo h3 {
  font-family: var(--fs); font-weight: 500; text-transform: uppercase;
  letter-spacing: .28em; font-size: clamp(21px, 3vw, 30px);
  color: var(--chiaro); text-align: center;
}
.carta-gruppo .filo { height: 1px; background: rgba(240,230,223,.18); margin-top: 28px; }
.carta-gruppo .nota { text-align: center; font-style: italic; font-size: 14.5px; color: rgba(240,230,223,.6); margin-top: 18px; }

.carta-voci { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px clamp(40px, 7vw, 112px); margin-top: 32px; }
.carta-voci::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 50%; border-left: 1px dotted rgba(240,230,223,.22); }
.voce { padding: 15px 0; }
.voce .riga { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.voce .nome { font-family: var(--fs); font-size: 17px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--chiaro); }
.voce .prezzo { font-family: var(--fs); font-size: 17px; font-weight: 500; color: rgba(240,230,223,.9); white-space: nowrap; }
.voce .desc { margin-top: 4px; font-size: 15px; font-style: italic; color: rgba(240,230,223,.55); max-width: 46ch; }

/* gruppi in riquadro (percorsi, tavolo club, analcolici) */
.carta-gruppo.riquadro {
  max-width: 740px; margin-left: auto; margin-right: auto;
  background: rgba(0,0,0,.26); border: 1px solid rgba(240,230,223,.1);
  padding: clamp(28px, 4vw, 46px);
}
.carta-gruppo.riquadro h3 { text-align: left; font-size: clamp(19px, 2.4vw, 24px); letter-spacing: .24em; }
.carta-gruppo.riquadro .nota { text-align: left; margin-top: 10px; }
.carta-gruppo.riquadro .carta-voci { grid-template-columns: 1fr; margin-top: 16px; }
.carta-gruppo.riquadro .carta-voci::before { display: none; }
.carta-gruppo.riquadro .voce + .voce { border-top: 1px solid rgba(240,230,223,.08); }

.yt-carta-chiusura { background: var(--bordeaux); color: rgba(240,230,223,.85); text-align: center; padding: 74px 0 10px; }
.yt-carta-chiusura .nota { font-style: italic; font-size: 15px; max-width: 620px; margin: 0 auto 28px; color: rgba(240,230,223,.6); }

@media (max-width: 860px) {
  .yt-carta-hero { min-height: 56svh; }
  .yt-carta-hero-inner { text-align: center; margin: 0 auto; }
  .yt-tab { font-size: 13px; letter-spacing: .16em; padding: 18px 3px 16px; }
  .yt-tabs-inner { gap: 16px; }
  .yt-tabs-rombo { display: none; }
  .yt-carta-pannello { padding: 40px 0 20px; }
  .carta-ancore { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 22px; padding-bottom: 6px; }
  .carta-ancore a { white-space: nowrap; }
  .carta-voci { grid-template-columns: 1fr; }
  .carta-voci::before { display: none; }
  .carta-gruppo { scroll-margin-top: 122px; }
}

/* con nove voci le righe si stringono sui telefoni bassi */
@media (max-height: 780px) {
  .yt-menu a { padding: 8px 6px; }
  .yt-menu .s { font-size: 11.5px; }
}

/* ------------------------------------------------ galleria a comparsa */
.yt-gallery-grid a { cursor: zoom-in; }
.yt-lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(14,2,5,.95); padding: clamp(16px, 5vw, 62px);
  opacity: 0; transition: opacity .32s ease;
}
.yt-lightbox[hidden] { display: none; }
.yt-lightbox.on { opacity: 1; }
.yt-lightbox img {
  max-width: min(1200px, 92vw); max-height: 84svh; width: auto; height: auto;
  object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.yt-lightbox .chiudi, .yt-lightbox .freccia {
  position: absolute; background: rgba(0,0,0,.35); border: 1px solid rgba(240,230,223,.32);
  color: var(--chiaro); cursor: pointer; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fs); transition: background .25s, color .25s, border-color .25s;
}
.yt-lightbox .chiudi:hover, .yt-lightbox .freccia:hover { background: var(--chiaro); color: var(--bordeaux); border-color: var(--chiaro); }
.yt-lightbox .chiudi { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 16px; }
.yt-lightbox .freccia { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 32px; line-height: 0; padding-bottom: 5px; }
.yt-lightbox .prec { left: clamp(10px, 3vw, 36px); }
.yt-lightbox .succ { right: clamp(10px, 3vw, 36px); }
.yt-lightbox .conta {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  font-family: var(--fs); font-size: 12.5px; font-weight: 600;
  letter-spacing: .3em; color: rgba(240,230,223,.6);
}
@media (max-width: 640px) {
  .yt-lightbox .freccia { width: 42px; height: 42px; font-size: 25px; }
  .yt-lightbox .chiudi { width: 40px; height: 40px; top: 14px; right: 14px; }
}
