/* Tanvi's — multi-branch layer: location gateway, branch switcher, multi-level nav, branch homepage
   slideshow, two-column menus with UK 14 allergens, private dining and shared-page components.
   Loaded after rich.css. Uses the same tokens; no new colours. */

/* ---------- Header: wider bar, branch chip, multi-level dropdowns ---------- */
.site-header .wrap { width: min(100% - 2 * var(--gutter), 1360px); gap: 1rem; }
.brand { margin-right: 0; }
.nav { margin-left: auto; }
.header-ctas { margin-left: .5rem; }

.branch-switch { position: relative; margin-right: auto; }
.branch-chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .35rem .7rem;
  background: rgba(242,154,58,.08); border: 1px solid rgba(242,154,58,.45); color: var(--gold); cursor: pointer;
  font: 500 .6875rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; transition: background .3s;
}
.branch-chip:hover, .branch-chip[aria-expanded="true"] { background: rgba(242,154,58,.18); }
.branch-chip .chev { transition: transform .2s; }
.branch-chip[aria-expanded="true"] .chev { transform: rotate(180deg); }
.branch-dd { left: 0; translate: none; min-width: 300px; }
.branch-dd a[aria-current="true"] b::after { content: " ✓"; color: var(--gold); }
.dropdown-label { color: #9A9A9A; }

/* Dropdown items: bold label with muted helper text beneath */
.dropdown a b, .sub-toggle b { display: block; font-weight: 500; letter-spacing: .02em; }
.dropdown small { font-size: .75rem; margin-top: .2rem; line-height: 1.35; }
.dropdown a[aria-current="page"] { background: rgba(232,134,42,.12); color: var(--gold); }
.has-sub { position: relative; }
.sub-toggle {
  all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .85rem; color: #F2F2F2; font: 500 var(--fs-sm)/1.3 var(--font-body); cursor: pointer;
}
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: rgba(232,134,42,.12); color: var(--gold); }
.sub-toggle:focus-visible { outline: 3px solid var(--saffron); outline-offset: -3px; }
.sub-toggle .chev { transform: rotate(-90deg); transition: transform .2s; flex: none; }
.dropdown.sub { top: -.6rem; left: calc(100% + .6rem); translate: none; min-width: 270px; }
.dropdown.sub::before { content: ""; position: absolute; left: auto; right: 100%; top: 0; bottom: 0; height: auto; width: .7rem; } /* hover bridge */
.dropdown { min-width: 260px; }
.nav-link, .header-ctas .btn { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1360px) {
  .nav > ul { gap: 0; }
  .nav-link { padding-inline: .55rem; letter-spacing: .1em; }
  .nav-link::after { left: .55rem; right: .55rem; }
  .header-ctas .btn { padding-inline: .8rem; letter-spacing: .1em; }
  .branch-chip { letter-spacing: .1em; padding-inline: .55rem; }
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; } /* hover bridge */

@media (max-width: 1180px) {
  .site-header .wrap { gap: .75rem; }
  .branch-switch { margin-right: auto; }
  .header-ctas { display: flex; margin-left: 0; }
  .header-ctas .btn-outline { display: none; }
  .header-ctas .btn { min-height: 40px; padding: .5rem .8rem; letter-spacing: .12em; }
  .dropdown.sub { position: static; min-width: 0; margin: 0 0 .25rem .75rem; border-left: 1px solid rgba(232,134,42,.35) !important; padding: 0; }
  .dropdown.sub::before, .dropdown::before { display: none; }
  .sub-toggle { padding: .6rem .5rem; font-size: 1rem; }
  .sub-toggle .chev { transform: none; }
  .sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .branch-dd { position: absolute; left: 0; top: calc(100% + 10px); background: var(--night-2); border: 1px solid rgba(232,134,42,.35); padding: .5rem; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .nav-link .chev { margin-left: auto; }
}
@media (max-width: 480px) {
  .header-ctas { display: none; }
  .brand-logo { height: 34px; }
}

/* ---------- Location gateway ---------- */
body.gateway { background: var(--night); color: #E8E8E8; min-height: 100svh; }
.gw { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.gw-bg { position: absolute; inset: 0; z-index: -2; }
.gw-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(.9); transform: scale(1.08); animation: slowZoom 22s ease-out both; }
.gw::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 30%, rgba(13,13,13,.62), rgba(13,13,13,.9) 75%); }
.gw::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--jali) 0 0 / 64px; opacity: .14; pointer-events: none; }
.gw-inner { width: min(100%, 1120px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.gw-title { color: #fff; font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.8rem); line-height: 1; margin: 0 0 .6rem; animation: gwUp 1s .3s var(--ease) both; }
.gw-title em { color: var(--gold); }
.gw-text { color: #CFCFCF; max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3rem); animation: gwUp 1s .45s var(--ease) both; }
.gw-cards { display: grid; grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); width: 100%; }
.loc-choice {
  position: relative; display: flex; flex-direction: column; text-align: left; text-decoration: none; color: inherit;
  background: rgba(23,23,23,.88); border: 1px solid rgba(232,134,42,.45); overflow: hidden;
  transition: transform .6s var(--ease), border-color .5s, box-shadow .6s; animation: gwUp 1s var(--ease) both;
}
.loc-choice:nth-child(1) { animation-delay: .6s; } .loc-choice:nth-child(2) { animation-delay: .75s; } .loc-choice:nth-child(3) { animation-delay: .9s; }
.loc-choice:hover, .loc-choice:focus-visible { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px var(--gold), 0 0 40px rgba(242,154,58,.18); }
.lc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; }
.lc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.9) brightness(.9); }
.loc-choice:hover .lc-media img { transform: scale(1.07); filter: none; }
.lc-badge { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(13,13,13,.75); border: 1px solid var(--gold); color: var(--gold); font: 600 .625rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .4rem; }
.lc-badge .lc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.lc-badge.open { background: var(--gold); color: #141414; border-color: var(--gold); font-size: .6875rem; font-weight: 700; padding: .5rem .8rem; box-shadow: 0 4px 16px rgba(0,0,0,.55); }
.lc-badge.open .lc-dot { background: #141414; animation: pulse 2s infinite; }
.lc-badge.opening { background: rgba(242,154,58,.08); color: #F0C894; border-color: var(--saffron); }
.lc-badge.opening .lc-dot { background: var(--saffron); }
.lc-badge.closed { background: rgba(255,255,255,.08); color: var(--ink-2); border-color: var(--ink-3); }
.lc-badge.closed .lc-dot { background: var(--ink-3); }
.lc-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem 1.75rem 1.75rem; }
.lc-title { font: 600 clamp(1.8rem, 1.4rem + 1vw, 2.3rem)/1 var(--font-display); color: #fff; }
.lc-title em { color: var(--gold); font-weight: 500; }
.lc-address { color: var(--gold); font-size: var(--fs-sm); }
.lc-text { color: #BDBDBD; font-size: var(--fs-sm); line-height: 1.55; }
.lc-cta { margin-top: .75rem; font: 500 .6875rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: .6rem; }
.lc-cta::after { content: "→"; transition: transform .3s; }
.loc-choice:hover .lc-cta::after { transform: translateX(5px); }
.gw-last { margin-top: 2rem; font-size: var(--fs-sm); color: #BDBDBD; }
.gw-last a { color: var(--gold); }
@keyframes gwUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 760px) { .gw-cards { grid-template-columns: 1fr; } .lc-media { aspect-ratio: 16/9; } }

/* ---------- Branch homepage ---------- */
.hero-single { min-height: max(600px, 92svh); }
.hero-single .slide-body { padding-bottom: 6rem; }
/* Branch status badge on the homepage hero. Text and colour come from the branch data (status, statusClass: open | opening | closed). */
.hero-badge { display: inline-flex; align-items: center; gap: var(--hero-badge-gap); font: 600 var(--fs-xs)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; border-radius: 999px; padding: .4rem .75rem; border: 1px solid; margin-bottom: 1rem; }
.hero-badge::before { content: ""; width: var(--hero-badge-dot); height: var(--hero-badge-dot); border-radius: 50%; background: currentColor; flex: none; }
.hero-badge.open { background: rgba(242,154,58,.14); color: var(--gold); border-color: var(--gold); }
.hero-badge.open::before { background: var(--gold); animation: pulse 2s infinite; }
.hero-badge.opening { background: rgba(242,154,58,.08); color: #F0C894; border-color: var(--saffron); }
.hero-badge.opening::before { background: var(--saffron); }
.hero-badge.closed { background: rgba(255,255,255,.08); color: var(--ink-2); border-color: var(--ink-3); }
.hero-badge.closed::before { background: var(--ink-3); }

.showcase { background: radial-gradient(ellipse at 20% 0%, #1E1E1E 0%, var(--peacock) 60%); color: #E2E2E2; padding-block: var(--section) calc(var(--section) * .7); position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; background: var(--jali) 0 0 / 64px; opacity: .14; pointer-events: none; }
.showcase > * { position: relative; }
.showcase-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.showcase-head h2 { color: #fff; margin: 0; }
.showcase-head h2 em { color: var(--gold); }
.showcase .eyebrow { color: var(--gold); }
.sc-stage { position: relative; width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; aspect-ratio: 21/9; overflow: hidden; border: 1px solid rgba(242,154,58,.45); touch-action: pan-y; }
.sc-stage:focus-visible { outline-offset: 4px; }
.sc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.sc-slide.is-active { opacity: 1; visibility: visible; }
.sc-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.sc-slide.is-active img { animation: kenburns 9s ease-out forwards; }
.sc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, transparent 70%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 40%); }
.sc-slide::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.35); z-index: 2; pointer-events: none; }
.sc-cap { position: absolute; z-index: 1; left: clamp(1.5rem, 5vw, 4.5rem); bottom: clamp(1.5rem, 5vw, 4rem); max-width: 440px; }
.sc-cap > * { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.sc-slide.is-active .sc-cap > * { opacity: 1; transform: none; }
.sc-slide.is-active .sc-cap > :nth-child(2) { transition-delay: .15s; }
.sc-slide.is-active .sc-cap > :nth-child(3) { transition-delay: .3s; }
.sc-num { display: block; font: italic 500 1.2rem var(--font-display); color: var(--gold); margin-bottom: .4rem; }
.sc-cap h3 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 3.2rem); margin: 0 0 .5rem; }
.sc-cap h3 em { color: var(--gold); }
.sc-cap p { color: #E2E2E2; margin: 0; }
.sc-dots { display: flex; gap: .75rem; margin-top: 1.25rem; }
.sc-dots button { flex: 1; background: none; border: 0; padding: .5rem 0; cursor: pointer; text-align: left; color: #9A9A9A; font: 500 .625rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.sc-dots i { display: block; height: 2px; background: rgba(255,255,255,.2); margin-bottom: .6rem; position: relative; overflow: hidden; }
.sc-dots i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.sc-dots button[aria-current="true"] { color: #fff; }
.sc-dots button[aria-current="true"] i::after { animation: heroBar 6s linear forwards; }
.showcase.paused .sc-dots button[aria-current="true"] i::after, .showcase.static .sc-dots button[aria-current="true"] i::after { animation: none; transform: scaleX(1); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (max-width: 760px) {
  .sc-stage { aspect-ratio: 4/5; }
  .sc-slide::after { background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 65%); }
  .sc-dots span { display: none; }
}

.why { margin-top: clamp(3.5rem, 7vw, 6rem); }
.why-title { font-size: var(--fs-xl); margin-bottom: 2rem; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(232,134,42,.35); }
.why-grid li { padding: 2rem 1.5rem 0; display: flex; flex-direction: column; gap: .5rem; text-align: center; align-items: center; }
.why-grid li + li { border-left: 1px solid rgba(232,134,42,.25); }
.why-grid b { font: 600 1.45rem/1.15 var(--font-display); }
.why-grid span:last-child { color: var(--ink-2); font-size: var(--fs-sm); max-width: 26ch; }
.why-ico { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--saffron-ink); transform: rotate(45deg); margin-bottom: .75rem; }
.why-ico svg { transform: rotate(-45deg); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-grid li:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } .why-grid li + li { border-left: 0; } }

.g-rating { display: inline-flex; align-items: center; gap: 1rem; text-align: left; margin: 1.25rem auto .5rem; padding: .9rem 1.4rem; background: var(--paper); border: 1px solid rgba(232,134,42,.35); box-shadow: var(--shadow); }
.g-logo { width: 44px; height: 44px; display: grid; place-items: center; font: 700 1.4rem/1 Arial, sans-serif; color: #fff; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); border-radius: 50%; }
.g-rating b { font: 600 2rem/1 var(--font-display); vertical-align: middle; }
.g-rating .stars { color: var(--saffron); letter-spacing: .12em; vertical-align: middle; }
.g-rating small { color: var(--ink-3); font-size: var(--fs-xs); }

/* ---------- Buttons ---------- */
.btn-outline-gold { --bg: transparent; --fg: var(--gold); --bd: rgba(242,154,58,.7); --sweep: var(--gold); --sweep-fg: var(--night); }

/* ---------- Allergen notice + dietary badges ---------- */
.allergen-notice { background: var(--night-2); color: #CFCFCF; border-bottom: 1px solid rgba(232,134,42,.3); position: relative; }
.allergen-notice::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.allergen-notice .an-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.1rem; }
.allergen-notice .an-text { flex: 1 1 0; min-width: 18ch; }
.allergen-notice .an-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: flex-end; }
.an-text b { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); font: 600 .75rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .35rem; }
.an-text p { margin: 0; font-size: var(--fs-sm); color: #E8E8E8; }
.an-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.diet-filter { min-height: 42px; padding: .5rem 2rem .5rem .8rem; background: var(--night); color: #F2F2F2; border: 1px solid rgba(242,154,58,.55); font: 500 var(--fs-sm)/1.2 var(--font-body); }
.an-link { color: var(--gold); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; }
.an-link:hover { color: #fff; }

.diet { display: inline-flex; align-items: center; height: 24px; padding: 0 .6rem; border-radius: 999px; font: 700 .625rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.diet-v { color: var(--gold); background: transparent; border-color: var(--gold); }
.diet-vg { color: #1C1C1C; background: var(--gold); border-color: var(--gold); }
.diet-gf { color: var(--ink); background: #3A3A3A; border-color: var(--ink-3); }
.diet-full { font-weight: 600; }
@media (max-width: 600px) { .mdish .diet-full { display: none; } }

/* ---------- Menu pages: two-column layout (as on the live site) ---------- */
.menu-hero h1 em { display: inline; }
.menu-hero.compact .wrap { padding-block: clamp(3rem, 6.5vw, 5rem); }
.menu-page .menu-tabs { top: var(--header-h); }
.menu-body { background: var(--paper); }
.menu-sec { padding-block: clamp(1.25rem, 2.5vw, 2rem) .5rem; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-sec + .menu-sec { border-top: 1px solid var(--line); }
.menu-sec[hidden] { display: none; }
.menu-sec-head { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.menu-sec-head h2 { font-size: clamp(2.2rem, 1.7rem + 2vw, 3.4rem); margin: 0; }
.menu-sec-head p { color: var(--ink-3); margin: .9rem auto 0; max-width: 60ch; font-size: var(--fs-sm); letter-spacing: .02em; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5.5rem); max-width: 1080px; margin-inline: auto; }
.mdish { padding: 1.3rem 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: .45rem; break-inside: avoid; }
.mdish[hidden] { display: none; }
/* One featured dish per section: square photo beside the same name / description / price / symbols layout */
.mdish.has-photo { display: grid; grid-template-columns: 112px 1fr; column-gap: 1.25rem; row-gap: .45rem; align-content: start; }
.mdish.has-photo > :not(.mdish-photo) { grid-column: 2; }
.mdish-photo { grid-column: 1; grid-row: 1 / span 3; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); align-self: start; }
.mdish-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 480px) { .mdish.has-photo { grid-template-columns: 80px 1fr; column-gap: 1rem; } }
.mdish-head { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: baseline; }
.mdish h3 { font: 600 1.4rem/1.2 var(--font-display); margin: 0; }
.mdish-price { font: 600 1.25rem/1.25 var(--font-display); color: var(--ink); white-space: nowrap; text-align: right; }
/* On phones a long price, such as wine sizes, moves under the name instead of squeezing it */
@media (max-width: 760px) {
  .mdish-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1rem; row-gap: .35rem; }
  .mdish-head h3 { flex: 1 1 11rem; }
  .mdish-price { flex: 0 1 auto; margin-left: auto; white-space: normal; }
}
.mdish-desc { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.6; max-width: 52ch; }
.mdish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin-top: .2rem; }
.mdish-contains { font-size: .75rem; color: var(--ink-3); }
.mdish-contains b { color: var(--ink-2); font-weight: 600; }
.diet-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-2); }
@media (max-width: 760px) { .menu-cols { grid-template-columns: 1fr; } .mdish h3 { font-size: 1.25rem; } }

.menu-more { text-align: center; }
.menu-more ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.menu-more a { display: flex; align-items: center; gap: .9rem; text-align: left; padding: .6rem; background: var(--paper); border: 1px solid rgba(232,134,42,.35); text-decoration: none; color: var(--ink); transition: border-color .3s, transform .3s; }
.menu-more a:hover { border-color: var(--saffron-ink); transform: translateY(-3px); }
.menu-more img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.menu-more b { display: block; font: 600 1.2rem/1.1 var(--font-display); }
.menu-more small { color: var(--ink-3); font-size: var(--fs-xs); }

/* Allergen key modal */
.key-card { grid-template-columns: 1fr; width: min(100%, 640px); max-height: calc(100svh - 2rem); overflow-y: auto; }
.key-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.25rem; font-size: var(--fs-sm); }
.key-list li { display: flex; align-items: center; gap: .6rem; }
.akey { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 .3rem; background: var(--cream-2); border: 1px solid var(--line); font: 700 .6875rem/1 var(--font-body); text-decoration: none; }
.key-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.key-diet { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 520px) { .key-list { grid-template-columns: 1fr; } }

/* Allergen matrix */
.am-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-bottom: 1rem; }
.am-exclude { grid-column: 1 / -1; border: 1px solid var(--line); padding: 1rem 1.1rem; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; background: var(--paper); }
.am-exclude legend { font-weight: 600; font-size: var(--fs-sm); padding: 0 .35rem; }
.am-exclude label { display: inline-flex; gap: .4rem; align-items: center; font-size: var(--fs-sm); cursor: pointer; }
.am-exclude input { width: 18px; height: 18px; accent-color: var(--saffron-ink); }
.am-count { font-size: var(--fs-sm); color: var(--ink-3); }
.am-scroll { position: relative; /* contains the .sr-only cells so they can't widen the page */ overflow-x: auto; border: 1px solid var(--line); background: var(--paper); max-height: 75vh; }
.am-table { border-collapse: collapse; width: 100%; font-size: var(--fs-xs); }
.am-table th, .am-table td { border-bottom: 1px solid var(--line); padding: .55rem .5rem; text-align: center; }
.am-table thead th { position: sticky; top: 0; background: var(--night); color: #F2F2F2; z-index: 1; font-weight: 500; vertical-align: bottom; }
.am-table thead th span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; letter-spacing: .06em; }
.am-table thead th:first-child, .am-table thead th:nth-child(2) { writing-mode: initial; }
.am-table tbody th { text-align: left; font: 600 .95rem/1.25 var(--font-display); min-width: 210px; position: sticky; left: 0; background: var(--paper); }
.am-table tbody th small { display: block; font: 400 .6875rem/1.2 var(--font-body); color: var(--ink-3); }
.am-table td.has { color: var(--gold); font-size: .9rem; background: var(--spice-soft); }
.am-table .am-diet { white-space: nowrap; }
.am-table .am-diet .diet { height: 20px; padding: 0 .4rem; margin: 1px; }
.am-table tr[hidden] { display: none; }
@media (max-width: 620px) { .am-tools { grid-template-columns: 1fr; } }

/* ---------- Shared pages: locations, hours ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.loc-card { background: var(--paper); border: 1px solid rgba(232,134,42,.35); display: flex; flex-direction: column; }
.loc-card.is-current { border-color: var(--saffron-ink); box-shadow: var(--shadow-lg); }
.loc-card iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.5) sepia(.2); }
.loc-body { padding: 1.5rem 1.75rem 1.75rem; }
.loc-body h3 { font-size: 1.9rem; margin: .4rem 0 0; }
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.5rem; }
.hours-card { background: var(--paper); border: 1px solid rgba(232,134,42,.35); padding: 1.5rem 1.75rem; }
.hours-card.is-current { border-color: var(--saffron-ink); }
.hours-card h3 { font-size: 1.6rem; }

.branch-tag { display: inline-block; align-self: flex-start; font: 600 .625rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); padding: .3rem .5rem; }
.set-price { font: 600 1.5rem var(--font-display); color: var(--saffron-ink); margin-top: .5rem !important; }
.card-featured { border: 2px solid var(--saffron-ink); }
.event-card .event-card-media { aspect-ratio: 16/9; overflow: hidden; }
.event-card .event-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xmas-menu { max-width: 760px; margin: 2.5rem auto 0; text-align: center; }
.xm-course { padding: 1.5rem 0; border-top: 1px solid rgba(232,134,42,.35); }
.xm-course h3 { font-size: 1.8rem; margin-bottom: .4rem; }
.xm-course h3 small { display: block; font: 500 .6875rem/1.6 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.xm-course p { margin: 0; color: var(--ink-2); }

/* ---------- Private dining ---------- */
.pd-hero { position: relative; min-height: max(560px, 88svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; margin-top: calc(-1 * var(--header-h)); }
.pd-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: slowZoom 18s ease-out both; }
.pd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 35%, rgba(0,0,0,.88)); }
.pd-hero-body { padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 8vw, 6rem); max-width: 760px; margin-left: max(var(--gutter), calc((100% - 1200px) / 2)); }
.pd-hero h1 { color: #fff; font-size: clamp(3rem, 2rem + 5vw, 6.5rem); line-height: .95; margin-bottom: .4em; }
.pd-hero h1 em { color: var(--gold); display: block; }
.pd-hero p { font-size: 1.15rem; color: #E8E8E8; max-width: 44ch; }
.pd-hero .eyebrow { color: var(--gold); }
body.pd-page .site-header { border-bottom-color: transparent; }
body.pd-page .site-header::before { background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); backdrop-filter: none; }
body.pd-page.scrolled .site-header { border-bottom-color: rgba(232,134,42,.35); }
body.pd-page.scrolled .site-header::before { background: rgba(13,13,13,.94); backdrop-filter: saturate(1.4) blur(10px); }
.pd-lede { font: italic 500 clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem)/1.35 var(--font-display); color: var(--ink-2); text-wrap: balance; }
.pd-gallery {
  display: grid; grid-template-columns: 1.3fr 1fr .9fr 1fr; grid-template-rows: repeat(2, clamp(180px, 20vw, 300px));
  grid-template-areas: "a b c e" "a d c e"; gap: clamp(.5rem, 1.2vw, 1rem); padding: 0 var(--gutter) var(--section); max-width: 1440px; margin-inline: auto;
}
.pd-gallery .frame { margin: 0; }
.pg-a { grid-area: a; } .pg-b { grid-area: b; } .pg-c { grid-area: c; } .pg-d { grid-area: d; } .pg-e { grid-area: e; }
@media (max-width: 760px) { .pd-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px 200px; grid-template-areas: "a a" "b c" "d c" "e e"; } }
.pd-spaces { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.pd-space { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.pd-space .frame { aspect-ratio: 3/4; border: 1px solid rgba(242,154,58,.5); padding: 8px; }
.pd-space h3 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: .5rem 0; }
.pd-space h3 em { color: var(--gold); }
.pd-space .card-tag { color: var(--gold); }
.pd-space .muted { color: #BDBDBD; }
.pd-space .btn-outline { --fg: #F2F2F2; --bd: rgba(239,229,214,.5); --sweep: var(--gold); --sweep-fg: var(--night); }
.pd-space:nth-child(even) { grid-template-columns: 1fr minmax(200px, 340px); }
.pd-space:nth-child(even) .frame { order: 2; }
@media (max-width: 700px) { .pd-space, .pd-space:nth-child(even) { grid-template-columns: 1fr; } .pd-space:nth-child(even) .frame { order: 0; } .pd-space .frame { max-width: 280px; } }
.tiles .tile { cursor: default; }
.pd-enquire { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pd-steps { grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (max-width: 900px) { .pd-enquire { grid-template-columns: 1fr; } }

/* ---------- Private dining option cards ---------- */
.pd-option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.pd-option { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.pd-option:hover { border-color: var(--saffron-ink); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.pd-option-media { aspect-ratio: 16/10; overflow: hidden; }
.pd-option-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.pd-option:hover .pd-option-media img { transform: scale(1.04); }
.pd-option-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pd-option .card-tag { color: var(--saffron-ink); }
.pd-option h3 { font-size: 1.4rem; margin: 0; color: var(--ink); }
.pd-option .muted { font-size: var(--fs-sm); color: var(--ink-2); flex: 1; }
.pd-option .btn { align-self: flex-start; }
.pd-option-other { grid-column: 1 / -1; display: flex; padding: 1rem; background: transparent; border: 1px dashed var(--line); justify-content: center; align-items: center; text-align: center; }
.pd-option-other p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 880px) { .pd-option-grid { grid-template-columns: 1fr; } }
@media (min-width: 881px) {
  /* Staff can add options: one sits centred, two share a row, four make two rows of two. */
  .pd-option-grid:not(:has(> article:nth-of-type(2))) { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .pd-option-grid:has(> article:nth-of-type(2)):not(:has(> article:nth-of-type(3))) { grid-template-columns: repeat(2, 1fr); }
  .pd-option-grid:has(> article:nth-of-type(4)):not(:has(> article:nth-of-type(5))) { grid-template-columns: repeat(2, 1fr); }
}

/* What's On: when a section has nothing to show. */
.grid > .list-empty { grid-column: 1 / -1; }

/* Gift voucher questions. With none left, the section leaves the page. */
.faq-wrap { margin-top: var(--s-6, 3rem); scroll-margin-top: 130px; }
.faq-wrap:not(:has(details)) { display: none; }
.faq-wrap > h2 { margin-bottom: var(--s-4, 1.5rem); }
.faq { border-top: 1px solid rgba(232,134,42,.35); }
.faq:last-of-type { border-bottom: 1px solid rgba(232,134,42,.35); }
.faq summary { padding: 1rem 0; color: var(--ink); font-weight: 500; cursor: pointer; }
.faq summary:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.faq p { margin: 0 0 1rem; color: var(--ink-2); }

/* ---------- Newsletter pop-up: subtle, bottom sheet on mobile ---------- */
.nl-modal { background: rgba(0,0,0,.55); }
.nl-modal.open .modal-card { animation: nlIn .6s var(--ease) both; }
.nl-modal .modal-card { border: 1px solid rgba(232,134,42,.45); }
.nl-modal h2 em { color: var(--saffron-ink); }
.nl-later { background: none; border: 0; padding: .5rem 0 0; color: var(--ink-3); font: 500 var(--fs-xs)/1 var(--font-body); text-decoration: underline; cursor: pointer; }
.modal-close { width: 44px; height: 44px; }
@keyframes nlIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .nl-modal { place-items: end center; padding: 0; }
  .nl-modal .modal-card { width: 100%; max-height: 88svh; overflow-y: auto; border-width: 1px 0 0; }
  /* Show the whole thali, not a thin strip that cuts the bowls in half */
  .nl-modal .modal-card > img { height: auto; aspect-ratio: 16 / 9; max-height: 180px; object-fit: cover; object-position: center 50%; }
  .nl-modal .modal-body { padding: 1.25rem 1.25rem 1.5rem; }
  .nl-modal .modal-body p.muted { margin-bottom: .75rem; }
  .nl-modal.open .modal-card { animation-name: nlUp; }
  .modal-close { width: 48px; height: 48px; font-size: 1.6rem; }
}
@keyframes nlUp { from { transform: translateY(100%); } to { transform: none; } }

/* Mobile: the open menu owns the screen, so the sticky action bar steps aside */
body:has(.nav.open) .action-bar { display: none; }

/* ---------- Footer ---------- */
.site-footer .is-current { color: var(--gold); }
.consent-dark { color: #A8A8A8; }
.consent-dark a { color: #E8E8E8; text-decoration: underline; }
.footer-bottom a { letter-spacing: .1em; text-transform: uppercase; font-size: .6875rem; }

/* ---------- Lunch feature cards ---------- */
.lunch-feature { padding-block: var(--section); }
.lunch-feature .grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 640px) { .lunch-feature .grid { grid-template-columns: 1fr; } }
@media (min-width: 641px) {
  /* Staff can add cards: one sits centred, three share a row, four make two rows of two. */
  .lunch-feature .grid:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .lunch-feature .grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
  .lunch-feature .grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: 1fr 1fr; }
}

.feature-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover, .feature-card:focus-visible { box-shadow: var(--shadow-lg); border-color: var(--saffron-ink); transform: translateY(-2px); }
.feature-card .fc-media { display: block; aspect-ratio: 16/9; overflow: hidden; margin: 0; }
.feature-card .fc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.feature-card:hover .fc-media img { transform: scale(1.02); }
.feature-card .fc-body { padding: var(--s-4); }
.feature-card h3 { font-size: 1.25rem; margin: 0 0 .5rem; color: var(--ink); }
.feature-card p { margin: 0 0 1rem; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.feature-card .btn-sm { font-size: .8125rem; padding: .5rem 1rem; }


@media (prefers-reduced-motion: reduce) {
  .gw-bg img, .pd-hero > img, .sc-slide.is-active img { animation: none !important; transform: none !important; }
  .gw-title, .gw-text, .loc-choice { animation: none !important; }
  .hero-badge::before, .lc-badge .lc-dot { animation: none !important; }
}

/* =====================================================================
   Type & spacing system — single source of truth for heading sizes and
   vertical rhythm on every page and screen size. Tokens live in tokens.css.
   Loaded last on purpose: it overrides the per-component sizes inherited
   from site.css / rich.css so no page can drift.
   ===================================================================== */

/* Headings: one size per role */
.hero-rich h1, .pd-hero h1, .gw-title { font-size: var(--t-display); line-height: .98; }
.page-hero h1 { font-size: var(--t-h1); line-height: 1.02; }
main h2, .q-title, .cta-band h2, .menu-sec-head h2, .prose h2, .faq h2, .why-title,
.showcase-head h2, .rail-head h2, .story-head h2, .section-head h2 { font-size: var(--t-h2); line-height: 1.08; }
main h3, .lc-title, .why-grid b, .sc-cap h3, .pd-space h3, .tile h3, .xm-course h3,
.loc-body h3, .hours-card h3, .card-body h3, .news-item h3, .news-card h3, .arch-card h3 { font-size: var(--t-h3); line-height: 1.15; }
.mdish h3, .menu-more b, .am-table tbody th { font-size: var(--t-item); }
.modal-body h2 { font-size: var(--t-h2); }
.key-card h3 { font-size: var(--t-item); }

/* Intro text: one size for every hero, one for every lede */
.hero-rich .slide p, .pd-hero p, .page-hero p:not(.crumbs), .gw-text { font-size: var(--t-hero-p); }
.lede, .pd-lede { font-size: var(--t-lede); line-height: 1.45; }

/* Heading margins: same gaps everywhere */
main h1, main h2 { margin: 0 0 var(--s-3); }
main h3 { margin: 0 0 var(--s-1); }
.eyebrow { margin-bottom: var(--s-3); }
.section-head, .story-head, .rail-head, .showcase-head, .menu-sec-head, .why-title { margin-bottom: var(--head-gap); }
.section-head > :last-child, .story-head > :last-child, .menu-sec-head > :last-child, .rail-head h2, .showcase-head h2 { margin-bottom: 0; }
.section-head .orn, .story-head .orn { margin-top: var(--s-4); }
.menu-sec-head p { margin-top: var(--s-3); }
/* Content directly after a bare heading starts at the heading's own margin */
main h2 + *, main h3 + * { margin-top: 0; }
main h2 + .lede, main h2 + p { margin-top: 0; }
.feature-list, .contact-list { margin: 0 0 var(--s-4); }
.facts { margin: 0; }
/* Buttons after copy: one gap */
main .btn-row:not(:first-child) { margin-top: var(--s-5); }
/* Hero copy sits in flex columns (margins don't collapse), so the text above carries no bottom margin */
.page-hero .wrap > p:not(.crumbs), .hero-rich .slide p, .pd-hero p { margin-bottom: 0; }
.cta-band > .btn-row, .cta-band > .btn { margin-top: 0; } /* side-by-side layout */
.cta-band h2 { margin-bottom: var(--s-1); }
.g-rating { margin: 0 0 .25rem; }
.pd-steps, .menu-more ul { margin-top: 0; }
.page-hero .wrap > :last-child, .story-copy > :last-child, .split > div > :last-child, .panel > :last-child { margin-bottom: 0; }

/* Sections: identical padding; dark slideshow band uses the standard value too */
.showcase { padding-block: var(--section); }
.why { margin-top: var(--section); }
.pd-intro .orn { margin: 0 auto var(--s-4); }

/* Small helpers replacing inline styles */
.fact b.fact-long { font-size: var(--fs-md); }
.small-print { font-size: var(--fs-sm); }
.lede.center { max-width: 60ch; margin-inline: auto; }
.service-ico.inline { margin: 0; }
.btn-row.center { justify-content: center; }

/* Tick lists: text, links and TO CONFIRM tags flow inline (a grid li split each inline child into its own row) */
.feature-list, .prose .feature-list { padding-left: 0; list-style: none; }
.feature-list li { display: block; position: relative; padding-left: 2.25rem; }
.feature-list li::before { position: absolute; left: 0; top: .15rem; }

/* ---------- Reviews: one main action, review link secondary ---------- */
.q-leave { margin: .75rem 0 0; font-size: var(--fs-sm); }
.q-leave a { color: var(--saffron-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .q blockquote { font-size: 1.35rem; }
  .loc-card iframe { height: 200px; }
  .loc-body { padding: 1.25rem; }
}

/* ---------- Touch targets and focus on dark surfaces ---------- */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .dropdown a, .sub-toggle { min-height: 44px; }
}
.site-header :focus-visible, .site-footer :focus-visible, .gateway :focus-visible, .dropdown :focus-visible { outline-color: var(--saffron); }
.feature-card:focus-visible, .loc-choice:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* ---------- Homepage rhythm: Lunch, About and Testimonials sit closer together ---------- */
body.home .lunch-feature, body.home .story.section, body.home .quotes-rich.section { padding-block: var(--section); }
body.home .lunch-feature .section-head, body.home .story-head { margin-bottom: var(--s-5); }
body.home .lunch-feature .btn-row { margin-top: var(--s-5); }

/* Allergen notice on phones: text, then full-width filter and key button, then the matrix link */
@media (max-width: 760px) {
  .allergen-notice .an-inner { gap: 1rem; padding-block: 1.25rem; }
  .allergen-notice .an-text { flex-basis: 100%; }
  .allergen-notice .an-actions { width: 100%; display: grid; grid-template-columns: 1fr; gap: .6rem; justify-content: stretch; }
  .allergen-notice .diet-filter, .allergen-notice .an-actions .btn { width: 100%; min-height: 46px; }
  .allergen-notice .an-link { justify-self: center; padding-block: .35rem; }
}

/* ---------- The flower background on every plain section ---------- */
.section, .section-tight, .band, .band-sand, .band-paper, .story, .quotes-rich, .menu-body, .lunch-feature, .allergen-notice {
  background-image: var(--jali-tint);
  background-size: 64px;
}

/* ---------- Testimonials: rating and buttons on the left, the review slider on the right ---------- */
.q-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.q-side > .btn-row { margin-top: var(--s-4); }
.q-main { position: relative; padding-top: 1rem; }
.q-main::before { content: "“"; position: absolute; right: 0; top: -2.5rem; font: 600 14rem/1 var(--font-display); color: var(--saffron-soft); pointer-events: none; }
.q-main .q-stage { margin-top: 0; }
.q-main .q blockquote { margin: .75rem 0 1rem; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); }
.q-main .q-dots { justify-content: flex-start; margin-top: 1.25rem; }
@media (max-width: 900px) { .q-layout { grid-template-columns: 1fr; } .q-main::before { font-size: 9rem; top: -1.5rem; } }

/* ---------- Two images: the wide one leads, the upright one overlaps its corner ---------- */
.split-media.duo { padding-bottom: 22%; max-width: none; margin-right: 0; }
.split-media.duo img:first-child { aspect-ratio: 3/2; }
.split-media.duo img:last-child { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/5; object-position: top; border: 4px solid var(--gold); border-radius: 0; }

/* ---------- Neighbouring sections share one gap, rather than adding their padding together ---------- */
.section:not(.band, .band-sand, .band-paper) + :is(.section, .section-tight):not(.band, .band-sand, .band-paper) { padding-top: 0; }
.section-tight:not(.band, .band-sand, .band-paper) + :is(.section, .section-tight):not(.band, .band-sand, .band-paper) { padding-top: calc(var(--section) * .4); }
/* A band changes shade only slightly, so the sections beside it need less space too */
.section:not(.band, .band-sand, .band-paper):has(+ :is(.band, .band-sand, .band-paper)) { padding-bottom: calc(var(--section) * .5); }
:is(.band, .band-sand, .band-paper) + .section:not(.band, .band-sand, .band-paper) { padding-top: calc(var(--section) * .5); }
.pd-intro .muted { margin-bottom: 0; }

/* A restaurant without an Order Online link: Book a Table fills the space beside the call button */
@media (max-width: 1180px) {
  .action-bar:not(:has([data-track="order_online"])) { grid-template-columns: 1fr auto; }
}

/* Homepage story on phones: the two photos overlap as one collage under the heading, and the story follows straight on */
@media (max-width: 640px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); gap: 0; align-items: start; }
  .story-a { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
  .story-b { grid-column: 7 / 13; grid-row: 1; align-self: end; z-index: 2; margin: 0 0 -2.5rem; aspect-ratio: 3 / 4.2;
    box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px rgba(232,134,42,.7), 0 18px 40px rgba(0,0,0,.45); overflow: visible; }
  .story-b img { border-radius: 999px 999px 0 0; }
  .story-b figcaption { bottom: 0; padding: 2.5rem .75rem .9rem; font-size: 1rem; line-height: 1.25; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
  .story-copy { grid-column: 1 / -1; grid-row: 2; order: 0; margin-top: calc(2.5rem + var(--s-5, 1.5rem)); }
}

/* Photos on phones: card photos are 4:3 so a whole dish fits, and tall photos beside text are shortened */
@media (max-width: 640px) {
  .feature-card .fc-media, .card-media { aspect-ratio: 4 / 3; }
  .split-media:not(.duo) > img { aspect-ratio: 4 / 3; }
  /* Where the food sits in the portrait photos */
  img[src*="wrap-and-chips"] { object-position: center 40%; }
  img[src*="dosa-breakfast"] { object-position: center 15%; }
  /* Homepage slideshow: square, so wide dining-room photos aren't cut down to a sliver */
  .sc-stage { aspect-ratio: 1 / 1; }
}

/* York shopfront cover: on tall screens keep the TANVIS sign in view rather than the middle of the window */
.hero img[src*="york-storefront"] { object-position: 36% center; }

/* York bar photo in the slideshow: portrait, so keep the flower canopy and the bar in the wide frame */
.sc-slide img[src*="york-bar-interior"] { object-position: center 36%; }
