/* La Scala — Home page. Figma: Home — Desktop 227:1696 (no tablet/mobile frames: those follow the template's layouts).
   Mobile first (390), then tablet ≥768 (768), desktop ≥1200 (1440). Only page-specific rules live here. */

:root { --glow-soft: radial-gradient(50% 50% at 50% 50%, #3A1238 0%, #270D26 42.5%, #130813 85%); }

.home-link { color: var(--text-primary); }
.home-link:hover { color: var(--text-secondary); }

/* shared panel (The evening, Book a table) */
.home-panel { display: flex; flex-direction: column; align-items: center; padding: 36px 28px; }
.home-panel > * { width: 100%; }
.home-panel > .t-h3 { text-shadow: var(--shadow-text); }
.home-panel__btn { width: 100%; }
@media (min-width: 768px) {
  .home-panel { padding: 48px; }
  .home-panel__btn, .home-panel .btn { width: auto; }
  .home-panel > .btn { align-self: center; }
}
@media (min-width: 1200px) { .home-panel { padding: 48px 40px; } }

/* =============== 01 Hero =============== */
.hero {
  position: relative; height: 700px; overflow: hidden; isolation: isolate;
  background: radial-gradient(150% 90% at 50% 30%, var(--bg-glow) 0%, var(--bg-glow-mid) 50%, var(--bg-base) 100%);
}
.hero__ambience { position: absolute; inset: -6px; opacity: .34; z-index: -2; filter: blur(3px); }
.hero__ambience img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { /* vignette */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 75% at 50% 45%, rgba(19,8,19,0) 0%, rgba(19,8,19,.55) 60%, rgba(19,8,19,1) 100%);
}
.hero::after { /* bottom fade */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(19,8,19,0) 0%, var(--bg-base) 100%);
}
.hero__content { position: absolute; left: 0; right: 0; top: 108px; padding-inline: var(--margin); display: flex; flex-direction: column; align-items: center; }
.hero__brand { margin: 0; font: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__welcome { display: block; }
.hero__wordmark { width: min(330px, 100%); height: auto; aspect-ratio: 560 / 428; object-fit: contain; margin-top: 10px; }
.hero__kind { display: block; margin-top: 10px; color: rgba(243, 228, 198, .85); }
.hero__cta { margin-top: 36px; width: 100%; }
.hero__place { position: absolute; left: 0; right: 0; bottom: 56px; padding-inline: var(--margin); text-align: center; white-space: nowrap; letter-spacing: .24em; }
.hero__every { display: none; }

@media (min-width: 768px) {
  .hero { height: 960px; }
  .hero__content { top: 150px; }
  .hero__wordmark { width: 520px; margin-top: 12px; }
  .hero__cta { width: auto; margin-top: 38px; }
  .hero__place { bottom: 74px; letter-spacing: .36em; }
  .hero__every { display: inline; }
  .hero__dot { padding-inline: 6px; }
}
@media (min-width: 1200px) {
  .hero { height: 900px; background: radial-gradient(75% 90% at 50% 30%, var(--bg-glow) 0%, var(--bg-glow-mid) 50%, var(--bg-base) 100%); }
  .hero__content { top: 118px; }
  .hero__wordmark { width: 560px; }
}

/* =============== 02 The show =============== */
.home-sig { overflow-x: clip; }
.sig__stage { position: relative; height: 300px; }
.sig__main { position: absolute; left: 50%; top: 0; z-index: 2; width: 300px; height: 300px; transform: translateX(-50%); }
.sig__side { position: absolute; top: 25px; width: 230px; height: 250px; overflow: hidden; border-radius: var(--radius); }
.sig__side img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.5px); transform: scale(1.02); }
.sig__side::after { content: ""; position: absolute; inset: 0; background: var(--bg-base); opacity: .58; }
.sig__side--l { left: calc(50% - 345px); }
.sig__side--r { left: calc(50% + 115px); }
.sig__text { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.sig__text h2 { margin-top: -40px; }
.sig__desc { margin-top: 20px; max-width: 500px; }
.sig__btn { margin-top: 32px; width: 100%; }
.sig__pager { margin-top: 32px; }
@media (min-width: 768px) {
  .home-sig { background: var(--glow-soft); }
  .sig__stage { height: 320px; }
  .sig__main { width: 320px; height: 320px; }
  .sig__side { top: 28px; width: 220px; height: 272px; }
  .sig__side--l { left: calc(50% - 280px); }
  .sig__side--r { left: calc(50% + 60px); }
  .sig__text h2 { margin-top: -42px; white-space: nowrap; }
  .sig__desc { margin-top: 12px; max-width: 460px; }
  .sig__btn { width: auto; }
  .sig__pager { margin-top: 48px; }
}
@media (min-width: 1200px) {
  .sig__stage { height: 360px; }
  .sig__main { width: 360px; height: 360px; }
  .sig__side { top: 30px; width: 236px; height: 300px; }
  .sig__side--l { left: calc(50% - 328px); }
  .sig__side--r { left: calc(50% + 92px); }
  .sig__text h2 { margin-top: -40px; }
  .sig__desc { margin-top: 16px; max-width: 500px; }
  .sig__btn { margin-top: 28px; }
}

/* =============== 03 Menu preview =============== */
.home-menu { background: var(--glow-soft); }
.home-menu__tabs { margin-top: 20px; }
.home-menu__cards {
  display: flex; gap: 16px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); scroll-padding-inline: var(--margin);
  padding-bottom: 60px; margin-bottom: -60px; /* room for card shadows inside the scroller */
}
.home-menu__cards::-webkit-scrollbar { display: none; }
.home-menu__cards .photo-card { flex: 0 0 280px; scroll-snap-align: start; }
.home-menu__cards .photo-card:first-child { margin-left: auto; }
.home-menu__cards .photo-card:last-child { margin-right: auto; }

.photo-card {
  position: relative; display: flex; flex-direction: column; padding: 14px 14px 16px;
  background: linear-gradient(180deg, var(--bg-raised-top), var(--bg-raised-bottom));
  border-radius: var(--radius); box-shadow: 0 30px 30px rgba(0, 0, 0, .65);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home-menu__cards.is-picked .photo-card.is-active { box-shadow: 0 30px 30px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(217, 181, 110, .35); }
.photo-card:hover { transform: translateY(-4px); }
.photo-card__img { width: 100%; aspect-ratio: 298 / 172; height: auto; object-fit: cover; border-radius: var(--radius); }
.photo-card__index { color: var(--text-secondary); margin: 12px 10px 0; }
.photo-card h3 { margin: 6px 10px 0; }
.photo-card__meta { color: var(--text-secondary); margin: 6px 10px 0; }
.photo-card__foot { display: block; margin: 20px 10px 0; padding-top: 13px; border-top: 1px solid var(--line-default); text-align: right; transition: color .2s; }
.photo-card__foot:hover { color: var(--gold); }

.home-menu__foot { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 40px; }
.home-menu__all { margin-top: 24px; padding-block: 16px; }
@media (min-width: 768px) {
  .home-menu__cards { gap: 24px; margin-top: 56px; }
  .home-menu__cards .photo-card { flex-basis: 300px; }
  .home-menu__foot { margin-top: 48px; }
}
@media (min-width: 1200px) {
  .home-menu__tabs { margin-top: 8px; }
  .home-menu__cards {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 45px;
    overflow: visible; margin: 146px 0 0; padding: 0;
  }
  .home-menu__cards .photo-card { margin-left: 0; margin-right: 0; aspect-ratio: 1 / 1; padding: 16px 16px 18px; }
  .photo-card__foot { margin-top: auto; }
  .home-menu__foot { margin-top: 56px; }
}

/* =============== 04 About =============== */
.home-about__text, .home-about__panel { grid-column: 1 / -1; }
.home-about__body { margin-top: 24px; }
.home-about__stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; align-items: start; }
.home-about__panel { margin-top: 56px; }
.home-evening { margin-top: 20px; }
.home-evening li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-default); }
.home-evening li .t-caption { text-align: right; }
.home-about__panel .btn { margin-top: 32px; }
@media (min-width: 768px) {
  .home-about__body { margin-top: 24px; max-width: 500px; }
  .home-about__stats { margin-top: 48px; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gutter); }
  .home-about__stats .stat:nth-child(1), .home-about__stats .stat:nth-child(2) { grid-column: span 3; }
  .home-about__stats .stat:nth-child(3) { grid-column: span 2; }
  .home-about__panel { margin-top: 64px; }
  .home-evening { margin-top: 24px; }
  .home-evening li { padding: 9.5px 0; }
  .home-about__panel .btn { margin-top: 40px; }
}
@media (min-width: 1200px) {
  .home-about__grid { align-items: center; }
  .home-about__text { grid-column: 1 / span 5; grid-row: 1; align-self: start; margin-top: 91px; }
  .home-about__panel { grid-column: 8 / span 5; grid-row: 1; margin-top: 0; }
  .home-about__body { max-width: none; }
  .home-about__stats { display: flex; gap: 36px; margin-top: 48px; }
  .home-about__stats .stat { flex: none; }
  .home-about__stats .t-label { white-space: nowrap; }
  .home-evening { margin-top: 32px; }
  .home-evening li { padding: 20px 0; }
  .home-about__panel .btn { margin-top: 32px; }
}

/* =============== 05 The stage  =============== */
.home-stage__grid > * { grid-column: 1 / -1; }
.home-stage__photo { aspect-ratio: 342 / 268; }
.home-stage__title { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.home-stage__details { margin-top: 20px; }
.home-stage__rows { margin-top: 28px; border-bottom: 0; }
.home-stage__rows .info-row { height: 40px; padding: 0; }
.home-stage__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.home-stage__actions .home-link { align-self: flex-end; margin-top: 24px; }
@media (min-width: 768px) {
  .home-stage__photo { aspect-ratio: 672 / 526; max-height: 640px; grid-row: 1; }
  .home-stage__title { grid-column: 1 / span 3; grid-row: 2; margin-top: 56px; }
  .home-stage__details { grid-column: 4 / span 5; grid-row: 2; margin-top: 58px; }
  .home-stage__rows { margin-top: 24px; }
  .home-stage__actions { grid-column: 4 / span 5; grid-row: 3; margin-top: 32px; }
  .home-stage__actions .home-link { margin-top: 28px; }
}
@media (min-width: 1200px) {
  .home-stage__grid { grid-template-rows: auto auto auto; }
  .home-stage__photo { grid-column: 1 / span 6; grid-row: 1 / span 3; align-self: start; margin-top: 41px; aspect-ratio: 528 / 430; max-height: none; }
  .home-stage__title, .home-stage__details, .home-stage__actions { grid-column: 8 / span 5; }
  .home-stage__title { grid-row: 1; margin-top: 0; }
  .home-stage__details { grid-row: 2; margin-top: 32px; }
  .home-stage__rows { margin-top: 32px; }
  .home-stage__actions { grid-row: 3; margin-top: 32px; }
  .home-stage__actions .home-link { margin-top: 24px; }
  .home-stage { padding-bottom: 76px; }
}

/* =============== 06 The room =============== */
.home-room { overflow-x: clip; background: var(--glow-soft); }
.home-room__cf {
  margin-top: var(--head-gap);
  --cf-w: 220px; --cf-h: 240px; --cf-step: 97px; --cf-step2: 170px;
  --cf-iw: 192px; --cf-ih: 256px; /* side items: sized so the 0.78 / 0.62 scales land on the Figma sizes */
}
.home-room__cf .coverflow__item { transition: transform .5s ease, filter .5s ease, opacity .5s ease, width .5s ease, height .5s ease; }
.home-room__cf .coverflow__item[aria-hidden="true"] { width: var(--cf-iw); height: var(--cf-ih); }
.home-room__foot { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-room__caption { margin-top: 28px; }
.home-room__pager { margin-top: 20px; display: flex; align-items: center; gap: 20px; }
.home-arrow {
  background: none; border: 0; cursor: pointer; color: var(--text-secondary);
  font-size: 13px; line-height: 18px; padding: 13px; margin: -13px; transition: color .2s;
}
.home-arrow--next { color: var(--text-primary); }
.home-arrow:hover { color: var(--text-primary); }
.home-room__foot .home-link { margin-top: 24px; }
@media (min-width: 768px) {
  .home-room__cf { --cf-w: 380px; --cf-h: 340px; --cf-step: 180px; --cf-step2: 330px; --cf-iw: 282px; --cf-ih: 385px; }
  .home-room__caption { margin-top: 32px; }
  .home-room__pager { margin-top: 28px; gap: 24px; }
  .home-room__foot .home-link { margin-top: 32px; }
}
@media (min-width: 1200px) {
  .home-room__cf { margin-top: 32px; --cf-w: 440px; --cf-h: 420px; --cf-step: 280px; --cf-step2: 500px; --cf-iw: 359px; --cf-ih: 436px; }
  .home-room__caption { margin-top: 40px; }
  .home-room__pager { margin-top: 24px; gap: 32px; }
  .home-room__foot .home-link { margin-top: 32px; }
}

/* =============== 07 Visit & book =============== */
.home-visit__text, .home-book { grid-column: 1 / -1; }
.home-visit__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-visit__intro { margin-top: 16px; }
.home-visit__facts { margin: 28px 0 0; display: flex; flex-direction: column; gap: 18px; }
.home-visit__facts div { display: flex; flex-direction: column; gap: 4px; }
.home-visit__facts dd { margin: 0; }
.home-visit__facts a:hover { color: var(--text-primary); }
.home-visit__services { margin-top: 28px; color: var(--text-tertiary); }
.home-visit__services a { transition: color .2s; }
.home-visit__services a:hover { color: var(--text-secondary); }
.home-visit__services .sep-m, .home-visit__services .br-d { display: none; }
.home-book { margin-top: 56px; padding-bottom: 32px; }
.home-book__fields { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.home-book .field { min-height: 60px; }
.home-book .field input { height: 29px; border-bottom-color: var(--line-strong); }
.home-book .field-row { gap: 16px; }
.home-book .field input { width: 100%; min-width: 0; }
.home-book__submit { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.home-book__submit .btn { width: 100%; }
.home-book__note { text-align: center; }
.home-book.is-sent .home-book__note { color: var(--text-primary); }
@media (min-width: 768px) {
  .home-visit__intro { margin-top: 20px; max-width: 420px; }
  .home-visit__facts { margin-top: 40px; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .home-visit__services { margin-top: 40px; }
  .home-visit__services .dot { padding-inline: 13px; }
  .home-stage .home-link, .home-room .home-link { color: var(--text-secondary); }
  .home-stage .home-link:hover, .home-room .home-link:hover { color: var(--text-primary); }
  .home-arrow, .home-arrow--next { font-size: 15px; line-height: 26px; color: var(--text-secondary); padding: 9px 13px; margin: -9px -13px; }
  .home-arrow:hover { color: var(--text-primary); }
  .home-visit__services .sep-m { display: inline; }
  .home-visit__services .br-m { display: none; }
  .home-book { grid-column: 2 / span 6; margin-top: 66px; padding: 48px 40px 44px; }
  .home-book__fields { margin-top: 28px; }
  .home-book .field-row { gap: 24px; }
  .home-book__submit { margin-top: 36px; }
  .home-book__submit .btn { width: auto; }
}
@media (min-width: 1200px) {
  .home-visit { background: var(--glow-soft); }
  .home-visit__grid { align-items: center; }
  .home-visit__text { grid-column: 1 / span 5; grid-row: 1; }
  .home-visit__intro { margin-top: 16px; max-width: none; }
  .home-visit__facts { display: flex; flex-direction: column; gap: 24px; width: auto; }
  .home-visit__services .dot { padding-inline: 0; }
  .home-stage .home-link, .home-room .home-link { color: var(--text-primary); }
  .home-stage .home-link:hover, .home-room .home-link:hover { color: var(--text-secondary); }
  .home-arrow { font-size: 13px; line-height: 18px; padding: 13px; margin: -13px; }
  .home-arrow--next { color: var(--text-primary); }
  .home-book { grid-column: 8 / span 5; grid-row: 1; margin-top: 0; padding: 48px 40px; }
  .home-book__fields { margin-top: 32px; gap: 24px; }
  .home-book__submit { margin-top: 32px; }
}

/* =============== touch targets (mobile ≥ 44 px; layout unchanged) =============== */
@media (max-width: 767px) {
  .home-menu__tabs { margin-top: 3px; }
  .home-menu__tabs .tab { padding-top: 21px; }
  .home-link { padding-block: 15px; margin-block: 9px -15px !important; }
  .photo-card__foot { padding-bottom: 15px; margin-bottom: -15px; }
  .home-arrow { padding: 13px 16px; margin: -13px -16px; }
  .home-visit__facts a { display: inline-block; padding-block: 14px; margin-block: -14px; }
}

/* narrow phones: keep the hero address line on one row */
@media (max-width: 359px) { .hero__place { letter-spacing: .12em; } .hero { height: 660px; } }
