/* Santa Baby: Dinner & Show. Intentionally scoped; no global design changes. */
/* Temporary, non-visual lock used only while a mobile accordion changes height.
   It prevents a second browser-driven scroll correction; normal page scrolling
   and scroll anchoring are restored as soon as the transition has settled. */
html.sb-layout-changing { overflow-anchor: none; }
.sb-info {
  --sb-accent: var(--show-accent, #efb76b);
  --sb-ease: cubic-bezier(.22, 1, .36, 1);
  padding-block: clamp(30px, 4vw, 58px) clamp(54px, 7vw, 105px);
  isolation: isolate;
}
.sb-info::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(91, 34, 44, .16), transparent 68%);
}
.sb-info__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .75fr);
  align-items: end;
  gap: 30px 64px;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.sb-info__heading h2 {
  margin-top: 19px;
  font-size: clamp(3.1rem, 5.5vw, 5.6rem);
  line-height: 1.02;
  text-wrap: initial;
}
.sb-info__heading h2 .italic { display: inline-block; color: var(--sb-accent); }
.sb-info__heading .copy { max-width: 37ch; padding-bottom: 5px; font-size: .94rem; line-height: 1.85; }
.sb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.sb-card {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  order: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(243, 233, 220, .16);
  border-radius: 3px;
  color: var(--cream);
  background: linear-gradient(155deg, #211319, #100c10);
  text-align: left;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color .35s ease, box-shadow .5s ease, transform .6s var(--sb-ease);
}
.sb-card::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sb-accent), transparent);
  transform: scaleX(0);
  transition: transform .65s var(--sb-ease);
  pointer-events: none;
}
.sb-card__media { display: block; overflow: hidden; border-radius: 2px 2px 0 0; aspect-ratio: 1; background: #281115; }
.sb-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .9s var(--sb-ease), filter .6s ease;
  filter: saturate(.88) brightness(.91);
}
.sb-card__content { display: flex; flex: 1; flex-direction: column; position: relative; padding: clamp(20px, 2vw, 28px); }
.sb-card__title { display: block; font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.1; }
.sb-card__meta { display: block; margin-top: 9px; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.sb-card__action { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--sb-accent); }
.sb-card__action-label { display: grid; font-size: .62rem; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.sb-card__action-label > span { grid-area: 1 / 1; transition: opacity .22s ease, transform .35s var(--sb-ease); }
.sb-card__action-open { opacity: 0; transform: translateY(5px); }
.sb-card__plus { position: relative; display: block; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid rgba(239, 183, 107, .4); border-radius: 50%; transition: background .35s ease, border-color .35s ease; }
.sb-card__plus::before, .sb-card__plus::after { content: ""; position: absolute; width: 12px; height: 1px; top: calc(50% - .5px); left: calc(50% - 6px); background: currentColor; transition: transform .5s var(--sb-ease), opacity .3s ease; }
.sb-card__plus::after { transform: rotate(90deg); }
.sb-card[aria-expanded="true"] { border-color: rgba(239, 183, 107, .65); box-shadow: 0 16px 45px rgba(0, 0, 0, .2); }
.sb-card[aria-expanded="true"]::after { transform: scaleX(1); }
.sb-card[aria-expanded="true"] .sb-card__media img { filter: saturate(1) brightness(1); }
.sb-card[aria-expanded="true"] .sb-card__plus { background: rgba(239, 183, 107, .1); border-color: var(--sb-accent); }
.sb-card[aria-expanded="true"] .sb-card__plus::after { transform: rotate(0); opacity: 0; }
.sb-card[aria-expanded="true"] .sb-card__action-closed { opacity: 0; transform: translateY(-5px); }
.sb-card[aria-expanded="true"] .sb-card__action-open { opacity: 1; transform: translateY(0); }
.sb-card:focus-visible { outline: 2px solid var(--sb-accent); outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .sb-card:hover { transform: translateY(-5px); border-color: rgba(239, 183, 107, .6); box-shadow: 0 18px 46px rgba(0, 0, 0, .32); }
  .sb-card:hover .sb-card__media img { transform: scale(1.025); filter: saturate(1) brightness(1); }
  .sb-card:hover .sb-card__plus { border-color: var(--sb-accent); background: rgba(239, 183, 107, .09); }
}
/* The wrapper reserves all spacing inside its measured, animated height. */
.sb-panel { order: 2; grid-column: 1 / -1; min-width: 0; overflow: hidden; }
.sb-panel[hidden] { display: none !important; }
.sb-panel__inner { padding-top: 22px; }
.sb-panel__surface {
  position: relative;
  padding: clamp(22px, 3.4vw, 46px);
  border: 1px solid rgba(239, 183, 107, .26);
  border-radius: 3px;
  background: radial-gradient(ellipse at 0 0, rgba(107, 48, 43, .16), transparent 66%), linear-gradient(130deg, #1a1117, #100d11 75%);
}
.sb-panel__surface::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(239, 183, 107, .55), transparent); }
.sb-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.sb-panel__top .kicker { font-size: .61rem; letter-spacing: .18em; }
.sb-panel__top .kicker::before { width: 25px; }
.sb-close {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; min-height: 44px;
  padding: 8px 0 8px 12px; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: .7rem; cursor: pointer;
  transition: color .25s ease;
}
.sb-close svg { width: 18px; height: 18px; }
.sb-close:hover { color: var(--cream); }
.sb-panel__layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.35fr); align-items: start; gap: clamp(28px, 4vw, 62px); }
.sb-panel__intro h3 { max-width: 12ch; font-size: clamp(2.3rem, 3.8vw, 3.9rem); line-height: 1.06; text-wrap: initial; }
.sb-panel__intro h3 em { color: var(--sb-accent); font-weight: 400; }
.sb-panel__note { display: flex; align-items: center; gap: 12px; margin: 25px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.sb-panel__note::before { content: ""; flex: 0 0 26px; height: 1px; background: var(--sb-accent); opacity: .65; }
.sb-timeline { list-style: none; display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; }
.sb-timeline li { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 77px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sb-timeline time { color: var(--cream); font-family: var(--display); font-size: 1.85rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-timeline li > span { color: var(--paper); font-size: .86rem; line-height: 1.55; }
.sb-timeline .is-show time, .sb-timeline .is-show > span { color: var(--sb-accent); }
.sb-timeline .is-show { border-bottom-color: rgba(239, 183, 107, .25); }
.sb-timeline .is-show::before { content: ""; position: absolute; width: 3px; height: 3px; left: -10px; border-radius: 50%; background: var(--sb-accent); }
.sb-menu { display: grid; gap: 21px; }
.sb-menu__course { padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.sb-menu__course:last-child { padding-bottom: 0; border-bottom: 0; }
.sb-menu__label { margin: 0 0 8px; color: var(--sb-accent); font-size: .61rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; }
.sb-menu__dish { margin: 0; color: var(--cream); font-family: var(--display); font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.22; }
.sb-menu__side { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.sb-menu__course--vegetarian { padding-left: 17px; border-left: 1px solid rgba(239, 183, 107, .4); }
.sb-panel__layout--seating { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 54px); }
.sb-categories { display: grid; gap: 21px; margin: 31px 0 0; }
.sb-categories__item { display: grid; grid-template-columns: 45px minmax(0, 1fr); align-items: start; gap: 14px; }
.sb-categories dt { padding: 7px 0; border: 1px solid rgba(239, 183, 107, .3); color: var(--sb-accent); font-size: .58rem; font-weight: 800; letter-spacing: .07em; text-align: center; line-height: 1.5; }
.sb-categories dd { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.8; }
.sb-categories strong { color: var(--paper); font-weight: 600; }
.sb-seatplan { min-width: 0; margin: 0; }
.sb-seatplan__link { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: #12100b; text-decoration: none; transition: border-color .3s ease, box-shadow .4s ease; }
.sb-seatplan__link:hover { border-color: rgba(239, 183, 107, .6); box-shadow: 0 15px 40px rgba(0, 0, 0, .2); }
.sb-seatplan__link img { display: block; width: 100%; height: auto; }
.sb-seatplan__cta { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 16px; border-top: 1px solid rgba(239, 183, 107, .16); color: var(--sb-accent); background: #1a1314; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.sb-seatplan__cta svg { width: 18px; height: 18px; }
.sb-seatplan figcaption { margin-top: 13px; color: var(--muted); font-size: .66rem; line-height: 1.85; }
/* Enhanced motion is enabled only after successful initialization. */
.sb-info.sb-ready [data-sb-reveal] { opacity: 0; translate: 0 24px; }
.sb-info.sb-ready [data-sb-reveal].sb-visible { animation: sb-arrive .85s var(--sb-ease) calc(var(--sb-index, 0) * 85ms) both; }
@keyframes sb-arrive { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
.sb-info.sb-ready [data-sb-reveal].sb-visible { opacity: 1; translate: 0 0; }
.sb-ready .sb-panel__surface { opacity: 0; transition: opacity .16s ease; }
.sb-ready .sb-panel.is-open .sb-panel__surface { opacity: 1; transition: opacity .45s ease .05s; }
.sb-ready [data-sb-enter] { opacity: 0; transform: translateY(10px); transition: opacity .15s ease, transform .18s ease; }
.sb-ready .is-open [data-sb-enter] { opacity: 1; transform: translateY(0); transition: opacity .45s ease calc(90ms + var(--sb-step, 0) * 32ms), transform .55s var(--sb-ease) calc(90ms + var(--sb-step, 0) * 32ms); }
.sb-info:not(.sb-ready) .sb-close { display: none; }
.sb-info:not(.sb-ready) .sb-card__action { display: none; }
/* Native modal: focus containment and Escape behavior remain browser-based. */
.sb-lightbox {
  --sb-accent: var(--show-accent, #efb76b);
  position: fixed;
  width: min(1200px, calc(100vw - 48px));
  max-width: none;
  max-height: none;
  height: min(920px, 90vh);
  height: min(920px, 90dvh);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(239, 183, 107, .3);
  border-radius: 4px;
  color: var(--cream);
  background: #100e0b;
  box-shadow: 0 30px 120px #000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .24s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.sb-lightbox:not([open]) { display: none; }
.sb-lightbox[open] { display: flex; flex-direction: column; }
.sb-lightbox.is-visible { opacity: 1; transform: none; }
.sb-lightbox::backdrop { background: rgba(5, 3, 6, .9); backdrop-filter: blur(9px); opacity: 0; transition: opacity .25s ease; }
.sb-lightbox.is-visible::backdrop { opacity: 1; }
.sb-lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 0 0 auto; padding: 12px 20px; border-bottom: 1px solid rgba(239, 183, 107, .2); background: #191115; }
.sb-lightbox__top h3 { font-size: 1.55rem; line-height: 1.15; }
.sb-lightbox__tools { display: flex; align-items: center; gap: 12px; }
.sb-lightbox__tool { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(239, 183, 107, .3); border-radius: 2px; color: var(--sb-accent); background: transparent; font: inherit; font-size: .72rem; text-decoration: none; cursor: pointer; }
.sb-lightbox__tool:hover { background: rgba(239, 183, 107, .08); }
.sb-lightbox__tool svg { width: 18px; height: 18px; }
.sb-lightbox__viewport { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; scrollbar-color: #806340 #17100e; }
.sb-lightbox__canvas { display: grid; place-items: center; min-height: 100%; }
.sb-lightbox__canvas img { display: block; max-width: 100%; width: auto; height: auto; max-height: calc(min(920px, 90vh) - 76px); max-height: calc(min(920px, 90dvh) - 76px); cursor: zoom-in; }
.sb-lightbox.is-zoomed .sb-lightbox__canvas { display: block; width: 2000px; }
.sb-lightbox.is-zoomed .sb-lightbox__canvas img { width: 2000px; max-width: none; max-height: none; cursor: zoom-out; }
@media (min-width: 760px) and (max-width: 1100px) {
  .sb-info__heading { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 26px; }
  .sb-panel__layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); }
  .sb-timeline { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .sb-timeline li { min-height: 56px; }
  .sb-panel__layout--seating { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px; }
}
@media (max-width: 759px) {
  .sb-info { padding-top: 10px; padding-bottom: 44px; }
  .sb-info__heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px; }
  .sb-info__heading h2 { font-size: clamp(2.8rem, 8.8vw, 4.2rem); }
  .sb-info__heading .copy { max-width: 47ch; padding: 0; font-size: .87rem; }
  .sb-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sb-card { flex-direction: row; order: initial; margin-top: 14px; }
  .sb-card:first-child { margin-top: 0; }
  .sb-card__media { flex: 0 0 128px; width: 128px; height: 128px; aspect-ratio: 1; align-self: center; border-radius: 2px 0 0 2px; }
  .sb-card__content { padding: 17px 18px; }
  .sb-card__title { font-size: 1.58rem; line-height: 1.08; }
  .sb-card__meta { margin-top: 6px; font-size: .72rem; }
  .sb-card__action { padding-top: 10px; gap: 6px; }
  .sb-card__action-label { font-size: .54rem; letter-spacing: .08em; }
  .sb-card__plus { flex-basis: 27px; width: 27px; height: 27px; }
  .sb-panel { order: initial; }
  .sb-panel__inner { padding-top: 10px; }
  .sb-panel__surface { padding: 20px; }
  .sb-panel__top { gap: 8px; margin-bottom: 19px; }
  .sb-panel__top .kicker { font-size: .55rem; letter-spacing: .13em; }
  .sb-panel__top .kicker::before { display: none; }
  .sb-close { font-size: .65rem; gap: 6px; }
  .sb-panel__layout, .sb-panel__layout--seating { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .sb-panel__intro h3 { font-size: clamp(2.15rem, 6vw, 3rem); max-width: 17ch; }
  .sb-panel__note { margin-top: 16px; font-size: .73rem; }
  .sb-timeline { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .sb-timeline li { grid-template-columns: 64px minmax(0, 1fr); min-height: 57px; padding: 11px 0; }
  .sb-timeline li > span { font-size: .81rem; }
  .sb-timeline time { font-size: 1.8rem; }
  .sb-timeline .is-show::before { left: -9px; }
  .sb-menu { gap: 19px; }
  .sb-menu__course { padding-bottom: 19px; }
  .sb-menu__dish { font-size: 1.55rem; }
  .sb-menu__side { font-size: .77rem; }
  .sb-categories { margin-top: 25px; gap: 19px; }
  .sb-categories dd { font-size: .79rem; }
  .sb-lightbox { width: calc(100vw - 20px); height: 88vh; height: 88dvh; }
  .sb-lightbox__top { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .sb-lightbox__top h3 { font-size: 1.3rem; }
  .sb-lightbox__tools { gap: 6px; }
  .sb-lightbox__tool { padding: 8px; }
  .sb-lightbox__original { display: none; }
  .sb-lightbox__canvas img { max-height: calc(88vh - 90px); max-height: calc(88dvh - 90px); }
}
@media (max-width: 420px) {
  .sb-card__media { flex-basis: 96px; width: 96px; height: 96px; }
  .sb-card__content { padding: 16px 13px; }
  .sb-card__title { font-size: 1.35rem; }
  .sb-card__meta { font-size: .66rem; }
  .sb-card__action-label { font-size: .51rem; letter-spacing: .05em; }
  .sb-card__action { padding-top: 8px; }
  .sb-panel__surface { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-info *, .sb-info *::before, .sb-info *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sb-info.sb-ready [data-sb-reveal] { opacity: 1; transform: none; translate: none; }
  .sb-ready [data-sb-enter] { transform: none; }
  .sb-lightbox, .sb-lightbox::backdrop { transition: none !important; transform: none; }
}
@media print {
  .sb-info { padding-block: 20px; }
  .sb-info [data-sb-reveal], .sb-info [data-sb-enter], .sb-info .sb-panel__surface { opacity: 1 !important; transform: none !important; translate: none !important; animation: none !important; }
  .sb-info .sb-panel, .sb-info .sb-panel[hidden] { display: block !important; height: auto !important; overflow: visible; }
  .sb-grid { display: block; }
  .sb-card, .sb-close, .sb-lightbox { display: none !important; }
}
