/* Xyncema Table — food-led editorial composition. Tokens: themes/tokens.css [data-theme="restaurant"] */

.t-wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.t-serif { font-family: var(--font-heading); font-weight: 400; letter-spacing: -0.01em; }
.t-h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -0.015em; }
.t-h2 em, .t-h1 em { font-style: italic; color: var(--primary-ink); }
.t-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-ink); }
.t-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 36rem; }
.t-section { padding-block: clamp(4.5rem, 9vw, 8rem); }

/* Buttons */
.t-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem;
  border-radius: var(--radius-btn); border: 1.5px solid var(--primary); background: var(--primary); color: var(--on-primary);
  font-weight: 700; font-size: .98rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.t-btn:hover { background: #962E23; border-color: #962E23; }
.t-btn svg { width: 18px; height: 18px; }
.t-btn--ghost { background: transparent; color: var(--text); border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.t-btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.t-btn--light { background: var(--bg); color: var(--text); border-color: var(--bg); }
.t-btn--light:hover { background: #fff; border-color: #fff; }
.t-link { font-weight: 700; color: var(--primary-ink); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.t-link svg { width: 18px; height: 18px; transition: transform .2s; }
.t-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.t-link:hover svg { transform: translateX(3px); }

/* Header */
.t-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--border); }
.t-header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 1rem; }
.t-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.t-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .5rem; border-bottom: 1.5px solid transparent; }
.t-nav a:hover, .t-nav a[aria-current="page"] { border-color: var(--primary); }
.t-nav--right { justify-content: flex-end; align-items: center; }
.t-mark { text-decoration: none; text-align: center; line-height: 1; display: grid; gap: .2rem; justify-items: center; }
.t-mark small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding-left: .32em; }
.t-mark span { font-family: var(--font-heading); font-size: 2rem; letter-spacing: -0.01em; }
.t-mark span i { color: var(--primary-ink); }
.t-toggle { display: none; }
.t-header .t-btn { min-height: 42px; padding: .5rem 1.1rem; font-size: .92rem; }
@media (max-width: 899px) {
  .t-header__row { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .t-mark { justify-items: start; text-align: left; }
  .t-mark span { font-size: 1.6rem; }
  .t-nav--left { display: none; }
  .t-nav--right .t-nav__link { display: none; }
  .t-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 999px; background: transparent; }
  .t-toggle svg { width: 22px; height: 22px; }
  .t-mark { grid-column: 1; }
  .t-nav--right { grid-column: 3; gap: .5rem; }
  .t-mobile { display: none; border-top: 1px solid var(--border); padding-block: .5rem 1.25rem; }
  .is-nav-open .t-mobile { display: block; }
  .t-mobile a { display: block; padding: .85rem 0; font-family: var(--font-heading); font-size: 1.6rem; text-decoration: none; border-bottom: 1px solid var(--border); }
}
@media (min-width: 900px) { .t-mobile { display: none !important; } }
@media (max-width: 420px) { .t-header .t-btn { padding-inline: .8rem; } }

/* Hero — food editorial spread */
.t-hero { position: relative; overflow: hidden; }
.t-hero__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); align-items: stretch; min-height: min(760px, calc(100vh - 116px)); }
.t-hero__text { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 3rem) clamp(3rem, 6vw, 5rem) 0; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.t-h1 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.7rem, 4.7vw, 4.6rem); line-height: .94; letter-spacing: -0.025em; }
.t-h1 em { display: block; }
.t-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.t-hero__hours { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: center; font-size: .92rem; color: var(--muted); margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.t-hero__hours b { color: var(--text); font-weight: 600; }
.t-hero__media { position: relative; margin-right: calc(-1 * max(clamp(1.25rem, 4vw, 3rem), (100vw - 1320px) / 2 + clamp(1.25rem, 4vw, 3rem))); }
.t-hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.t-hero__inset { position: absolute; left: clamp(-4rem, -5vw, -2rem); bottom: clamp(2rem, 5vw, 4rem); width: clamp(150px, 16vw, 230px); border: 8px solid var(--bg); box-shadow: 0 18px 40px rgba(42, 31, 26, .22); }
.t-hero__inset img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.t-hero__tag { position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); background: var(--bg); color: var(--text); text-decoration: none; padding: .8rem 1rem; display: grid; gap: .1rem; max-width: 260px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.t-hero__tag small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--primary-ink); }
.t-hero__tag span { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.15; }
.t-hero__tag:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .t-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .t-hero__text { padding: 2.5rem 0 2rem; }
  .t-hero__media { margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem)); aspect-ratio: 4 / 3; }
  .t-hero__inset { display: none; }
}

/* Signature dishes */
.t-sig__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.t-sig__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.t-sig__grid > :nth-child(2) { margin-top: clamp(0rem, 6vw, 5rem); }
.t-dish { text-decoration: none; display: grid; gap: 1rem; align-content: start; }
.t-dish__img { overflow: hidden; border-radius: var(--radius); background: #EBDCC6; line-height: 0; }
.t-dish__img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .6s ease; }
.t-dish:hover .t-dish__img img { transform: scale(1.03); }
.t-dish__meta { display: grid; grid-template-columns: auto 1fr auto; gap: .25rem 1rem; align-items: baseline; }
.t-dish__no { font-size: .8rem; font-weight: 700; color: var(--primary-ink); letter-spacing: .08em; }
.t-dish__name { font-family: var(--font-heading); font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.1; }
.t-dish:hover .t-dish__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.t-dish__price { font-weight: 700; }
.t-dish__desc { grid-column: 2 / -1; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .t-sig__grid { grid-template-columns: 1fr; }
  .t-sig__grid > :nth-child(2) { margin-top: 0; }
  .t-dish { grid-template-columns: 38% 1fr; align-items: center; }
  .t-dish__meta { grid-template-columns: 1fr auto; }
  .t-dish__no { grid-column: 1 / -1; }
  .t-dish__desc { grid-column: 1 / -1; }
}

/* Menu sampler with dotted leaders */
.t-sampler { background: var(--surface); border-block: 1px solid var(--border); }
.t-sampler__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); }
.t-sampler__intro { position: sticky; top: 110px; align-self: start; display: grid; gap: 1.25rem; }
.t-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 4rem); }
.t-course h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.7rem; color: var(--primary-ink); border-bottom: 1px solid var(--text); padding-bottom: .5rem; margin-bottom: .25rem; }
.t-course > p { font-size: .88rem; color: var(--muted); font-style: italic; margin-bottom: .75rem; }
.t-line { display: block; text-decoration: none; padding-block: .8rem; border-bottom: 1px dashed var(--border); }
.t-line__top { display: flex; align-items: baseline; gap: .5rem; font-weight: 600; font-size: 1.05rem; }
.t-line__top::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted color-mix(in srgb, var(--text) 30%, transparent); transform: translateY(-4px); min-width: 1rem; }
.t-line__name { order: 1; }
.t-line__price { order: 3; font-variant-numeric: tabular-nums; }
.t-line__desc { font-size: .9rem; color: var(--muted); margin-top: .15rem; }
.t-line:hover .t-line__name { text-decoration: underline; text-underline-offset: 3px; color: var(--primary-ink); }
.t-veg { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; font-size: .68rem; font-weight: 700; color: var(--secondary); border: 1.5px solid var(--secondary); margin-left: .35rem; vertical-align: .15em; }
@media (max-width: 899px) {
  .t-sampler__grid { grid-template-columns: 1fr; }
  .t-sampler__intro { position: static; }
}
@media (max-width: 640px) { .t-courses { grid-template-columns: 1fr; } }

/* Kitchen — dark herb green */
.t-kitchen { background: var(--surface-2); color: var(--on-surface-2); }
.t-kitchen .t-kicker { color: var(--primary-on-dark); }
.t-kitchen .t-h2 em { color: var(--primary-on-dark); }
.t-kitchen__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.t-kitchen__media { position: relative; padding-bottom: 12%; }
.t-kitchen__media img:first-child { width: 88%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.t-kitchen__media img:last-child { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 4 / 5; object-fit: cover; border: 6px solid var(--surface-2); border-radius: var(--radius); }
.t-kitchen__text { display: grid; gap: 1.5rem; }
.t-kitchen__text > p { color: color-mix(in srgb, var(--on-surface-2) 82%, transparent); font-size: 1.08rem; }
.t-points { display: grid; counter-reset: pt; }
.t-points li { counter-increment: pt; display: grid; grid-template-columns: 2.5rem 1fr; gap: .25rem 1rem; padding-block: 1rem; border-top: 1px solid rgba(255, 244, 227, .18); }
.t-points li::before { content: "0" counter(pt); grid-row: span 2; font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary-on-dark); }
.t-points b { font-weight: 700; }
.t-points span { color: color-mix(in srgb, var(--on-surface-2) 78%, transparent); font-size: .96rem; }
@media (max-width: 899px) { .t-kitchen__grid { grid-template-columns: 1fr; } }

/* Atmosphere */
.t-atmos__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1rem, 2vw, 1.5rem); }
.t-atmos__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.t-atmos__main { aspect-ratio: 3 / 2; }
.t-atmos__side { display: grid; grid-template-rows: auto 1fr; gap: 1.5rem; }
.t-atmos__side img { aspect-ratio: 4 / 5; height: auto; }
.t-atmos__caption { display: grid; gap: .75rem; align-content: end; }
.t-atmos__caption h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; }
.t-atmos__caption p { color: var(--muted); }
@media (max-width: 899px) { .t-atmos__grid { grid-template-columns: 1fr; } .t-atmos__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; align-items: end; } }
@media (max-width: 560px) { .t-atmos__side { grid-template-columns: 1fr; } .t-atmos__side img { display: none; } }

/* Gatherings */
.t-gather { background: #F6E3C7; }
.t-gather__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.t-gather__media { margin-left: calc(-1 * max(clamp(1.25rem, 4vw, 3rem), (100vw - 1320px) / 2 + clamp(1.25rem, 4vw, 3rem))); }
.t-gather__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.t-gather__text { display: grid; gap: 1.5rem; padding-block: clamp(3rem, 6vw, 5rem); align-content: center; }
.t-setmenu { display: grid; gap: .5rem; padding: 1.25rem 1.4rem; background: var(--surface); border-radius: var(--radius); }
.t-setmenu h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-ink); }
.t-setmenu ol { padding-left: 1.2rem; display: grid; gap: .35rem; }
.t-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.t-facts div { border-top: 1px solid var(--text); padding-top: .6rem; }
.t-facts dt { font-size: .8rem; color: var(--muted); }
.t-facts dd { font-weight: 600; }
@media (max-width: 899px) { .t-gather__grid { grid-template-columns: 1fr; gap: 0; } .t-gather__media { margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem)); } .t-gather__media img { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .t-facts { grid-template-columns: 1fr; } }

/* Visit */
.t-visit__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.t-visit h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; margin-bottom: 1rem; }
.t-hours { width: 100%; }
.t-hours th, .t-hours td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.t-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.t-hours tr.is-closed td { color: var(--primary-ink); font-weight: 700; }
.t-visit p + p { margin-top: .75rem; }
.t-visit .t-small { font-size: .88rem; color: var(--muted); margin-top: .75rem; }
.t-faq details { border-bottom: 1px solid var(--border); }
.t-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; font-size: 1.02rem; }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after { content: "+"; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1; color: var(--primary-ink); transition: transform .2s; }
.t-faq details[open] summary::after { transform: rotate(45deg); }
.t-faq details p { padding: 0 0 1.1rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) { .t-visit__grid { grid-template-columns: 1fr 1fr; } .t-visit__grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .t-visit__grid { grid-template-columns: 1fr; } }

/* Reservation band */
.t-reserve { background: var(--primary); color: var(--on-primary); }
.t-reserve__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.t-reserve .t-kicker { color: #FFE3D6; }
.t-reserve__intro { display: grid; gap: 1.25rem; position: sticky; top: 110px; }
.t-reserve__intro p { color: #FFE9DF; max-width: 30rem; }
.t-reserve__intro a { color: #fff; }
.t-card { background: var(--surface); color: var(--text); border-radius: calc(var(--radius) * 2); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 30px 60px rgba(60, 12, 6, .25); }
@media (max-width: 899px) { .t-reserve__grid { grid-template-columns: 1fr; } .t-reserve__intro { position: static; } }

/* Reservation form */
.t-form { display: grid; gap: 1.35rem; }
.t-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .t-form__row { grid-template-columns: 1fr; } }
.t-form .xy-input { border-radius: 8px; background: #fff; }
.t-slots { display: grid; gap: .8rem; }
.t-slots__group { display: grid; gap: .45rem; }
.t-slots__label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.t-slots__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.t-slot { position: relative; }
.t-slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.t-slot span { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 76px; min-height: 44px; padding: .35rem .75rem; border: 1.5px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95rem; line-height: 1.1; background: #fff; }
.t-slot span small { font-size: .66rem; font-weight: 600; color: var(--muted); }
.t-slot input:checked + span { background: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); }
.t-slot input:checked + span small { color: inherit; }
.t-slot input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.t-slot input:disabled + span { opacity: .45; background: transparent; }
.t-slot input.is-full:disabled + span { opacity: .6; text-decoration: line-through; }
.t-slot input:disabled { cursor: not-allowed; }
.t-slot input:not(:disabled):hover + span { border-color: var(--text); }
.t-stepper { display: inline-flex; align-items: center; border: 1.5px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: 999px; background: #fff; width: max-content; }
.t-stepper button { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; border-radius: 999px; }
.t-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.t-stepper button svg { width: 18px; height: 18px; }
.t-stepper output { min-width: 5.5rem; text-align: center; font-weight: 700; }
.t-form__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.t-summary { display: grid; gap: 1.25rem; }
.t-summary__badge { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; color: var(--secondary); }
.t-summary__badge svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--secondary); color: var(--on-secondary); }
.t-summary h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.t-summary dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; padding: 1rem 0; border-block: 1px solid var(--border); }
.t-summary dt { color: var(--muted); }
.t-summary dd { font-weight: 600; }

/* Page head (collection/detail) */
.t-pagehead { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.t-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.t-crumbs a { color: var(--muted); }
.t-crumbs a:hover { color: var(--text); }
.t-pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; }
.t-pagehead__grid .t-h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
.t-pagehead__note { font-size: .92rem; color: var(--muted); display: grid; gap: .5rem; }
@media (max-width: 899px) { .t-pagehead__grid { grid-template-columns: 1fr; } }

/* Menu filter bar */
.t-filterbar { position: sticky; top: 76px; z-index: 30; background: var(--bg); border-block: 1px solid var(--border); }
@media (max-width: 899px) { .t-filterbar { top: 64px; } }
.t-filterbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; padding-block: .6rem; }
.t-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 5px; margin: -5px; }
.t-chips::-webkit-scrollbar { display: none; }
.t-chip { flex: none; min-height: 42px; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--text) 22%, transparent); background: transparent; font-weight: 600; display: inline-flex; gap: .45rem; align-items: center; }
.t-chip small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.t-chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.t-chip[aria-pressed="true"] small { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.t-chip:hover { border-color: var(--text); }
.t-count { font-size: .9rem; color: var(--muted); }

/* Full menu */
.t-menu { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); display: grid; gap: clamp(3rem, 6vw, 5rem); }
.t-menusec__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; align-items: baseline; border-bottom: 1px solid var(--text); padding-bottom: .8rem; margin-bottom: .5rem; }
.t-menusec__head h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.t-menusec__head p { color: var(--muted); font-style: italic; }
.t-menulist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.t-mitem { display: grid; grid-template-columns: 112px 1fr; gap: 1.25rem; align-items: center; padding-block: 1.25rem; border-bottom: 1px dashed var(--border); text-decoration: none; }
.t-mitem img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.t-mitem__body { display: grid; gap: .3rem; }
.t-mitem .t-line__top { font-size: 1.15rem; }
.t-mitem__tags { display: flex; flex-wrap: wrap; gap: .35rem .75rem; font-size: .8rem; color: var(--muted); }
.t-mitem:hover .t-line__name { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.t-empty { padding: 3rem; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius); display: grid; gap: 1rem; justify-items: center; }
@media (max-width: 899px) { .t-menulist { grid-template-columns: 1fr; } .t-menusec__head { grid-template-columns: 1fr; gap: .3rem; } }
@media (max-width: 420px) { .t-mitem { grid-template-columns: 84px 1fr; gap: 1rem; } .t-mitem img { width: 84px; } }

/* Dish detail */
.t-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "gallery info" "about info"; column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: clamp(2rem, 4vw, 3rem); padding-block: 0 clamp(4rem, 8vw, 6rem); align-items: start; }
.t-detail > .t-gallery { grid-area: gallery; }
.t-detail > .t-info { grid-area: info; }
.t-about { grid-area: about; display: grid; gap: 1.25rem; }
.t-gallery { display: grid; gap: .75rem; }
.t-gallery__main { border: 0; padding: 0; background: #EBDCC6; border-radius: var(--radius); overflow: hidden; position: relative; display: block; width: 100%; cursor: zoom-in; }
.t-gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.t-gallery__main span { position: absolute; right: 1rem; bottom: 1rem; background: rgba(42, 31, 26, .78); color: #fff; font-size: .82rem; font-weight: 600; padding: .45rem .75rem; border-radius: 999px; }
.t-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.t-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: none; }
.t-thumbs button[aria-current="true"] { border-color: var(--primary); }
.t-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.t-info { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.t-info .t-h1 { font-size: clamp(2.6rem, 4.8vw, 4.2rem); }
.t-price { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.t-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.t-notes div { padding: .8rem 0; border-bottom: 1px solid var(--border); }
.t-notes div:nth-child(odd) { padding-right: 1rem; }
.t-notes dt { font-size: .8rem; color: var(--muted); }
.t-notes dd { font-weight: 600; }
.t-prose { display: grid; gap: 1rem; font-size: 1.05rem; max-width: 62ch; }
.t-ingredients { display: flex; flex-wrap: wrap; gap: .5rem; }
.t-ingredients li { padding: .35rem .8rem; border-radius: 999px; background: #F6E3C7; font-size: .9rem; }
.t-cta { display: grid; gap: .75rem; padding: 1.25rem; border-radius: calc(var(--radius) * 2); background: var(--surface); border: 1px solid var(--border); }
.t-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.t-pair a { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: center; text-decoration: none; }
.t-pair img { width: 64px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.t-pair b { font-weight: 600; line-height: 1.25; display: block; }
.t-pair span { font-size: .85rem; color: var(--muted); }
.t-pair a:hover b { text-decoration: underline; }
.t-h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.t-pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--text); }
.t-pager a { padding: 1.5rem 0; text-decoration: none; display: grid; gap: .2rem; }
.t-pager a:last-child { text-align: right; }
.t-pager small { color: var(--muted); font-size: .85rem; }
.t-pager span { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.4vw, 2rem); }
.t-pager a:hover span { color: var(--primary-ink); }
@media (max-width: 899px) { .t-detail { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "about"; } .t-info { position: static; } }
@media (max-width: 560px) {
  .t-line__top::after { display: none; }
  .t-line__top { justify-content: space-between; }
  .t-line__name { flex: 1; }
}
@media (max-width: 480px) { .t-pair { grid-template-columns: 1fr; } }

/* Footer */
.t-footer { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.t-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2.5rem; }
.t-footer .t-mark { justify-items: start; text-align: left; }
.t-footer .t-mark small { color: color-mix(in srgb, var(--on-surface-2) 70%, transparent); }
.t-footer .t-mark span i { color: var(--primary-on-dark); }
.t-footer h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-on-dark); margin-bottom: .9rem; }
.t-footer ul { display: grid; gap: .5rem; }
.t-footer a { text-decoration: none; }
.t-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.t-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 244, 227, .18); color: color-mix(in srgb, var(--on-surface-2) 82%, transparent); }
.t-footer .xy-attribution a, .t-footer .xy-attribution button { color: var(--on-surface-2); }
@media (max-width: 760px) { .t-footer__grid { grid-template-columns: 1fr; } }

/* Dialog restyle for this demo */
[data-theme="restaurant"] dialog.xy-dialog:not(.xy-lightbox) { border-radius: 16px; background: var(--bg); }
[data-theme="restaurant"] .xy-dialog__title { font-weight: 400; font-size: 1.8rem; }

@media (max-width: 420px) { .t-dish__meta { grid-template-columns: minmax(0, 1fr); } .t-dish__no { display: none; } }
