/* Hong Kong Bistro Cafe — 新香港餐廳 · static site stylesheet */

/* ==========================================================================
   Tokens — from the HK Bistro brand guidelines
   ========================================================================== */
:root {
	--red: #840e14;        /* Bistro Red — primary text, panels */
	--red-deep: #4d0509;   /* Oxblood — body copy, depth */
	--green: #2e7312;      /* Jade Green — wordmark + ticker only */
	--paper: #eaebe3;      /* Rice Paper — page */
	--steam: #dddbd1;      /* Steam Grey — hover, tiles */
	--white: #ffffff;
	--line: rgba(132, 14, 20, 0.18);

	--f-word: "Prosto One", "Raleway", sans-serif;
	--f-sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--f-zh: "Noto Serif TC", "Songti TC", "PMingLiU", serif;

	--header-h: 84px;
	--wrap: 1280px;
	--gutter: 40px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

/* Raleway defaults to old-style figures; prices and dish numbers read better lining.
   The font shorthand resets numeric variants, so this is enforced globally. */
*,
*::before,
*::after { font-feature-settings: "lnum" 1 !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--red);
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

[lang="zh-Hant"] { font-family: var(--f-zh); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 10px 16px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Shared type ------------------------------------------------------------- */
.kicker {
	font: 700 12px/1.4 var(--f-sans);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.kicker--light { color: var(--paper); }

.section { padding: 120px 0; }
.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 52px;
}
.section__title {
	font: 300 clamp(40px, 4.2vw, 64px)/1.05 var(--f-sans);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.link-arrow {
	font: 700 13px/1 var(--f-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	padding-bottom: 6px;
	border-bottom: 2px solid currentColor;
	white-space: nowrap;
}
.link-arrow:hover { color: var(--red-deep); }

/* Buttons ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 24px;
	border: 2px solid var(--red);
	font: 700 13px/1 var(--f-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn [lang="zh-Hant"] { letter-spacing: 0.1em; font-weight: 600; }
.btn--line { color: var(--red); background: transparent; }
.btn--line:hover { background: var(--red); color: var(--paper); }
.btn--solid { background: var(--red); color: var(--paper); }
.btn--solid:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--paper { background: var(--paper); color: var(--red); border-color: var(--paper); }
.btn--paper:hover { background: var(--white); border-color: var(--white); }
.btn--line-light { color: var(--paper); border-color: var(--paper); }
.btn--line-light:hover { background: var(--paper); color: var(--red); }

/* Seal mark: 新香港餐廳 in circles ---------------------------------------- */
.seal { display: inline-flex; gap: 6px; }
.seal span {
	width: 46px; height: 46px;
	border: 2px solid currentColor;
	border-radius: 50%;
	display: grid; place-items: center;
	font: 600 21px/1 var(--f-zh);
}
.seal--light { color: var(--paper); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--paper);
	border-bottom: 2px solid var(--red);
	transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(77, 5, 9, 0.08); }
.site-header__inner {
	height: var(--header-h);
	display: flex; align-items: center; gap: 40px;
}

.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-decoration: none; flex-shrink: 0; }
.brand__en { white-space: nowrap; }
.brand__zh {
	font: 900 14px/1 var(--f-zh);
	color: var(--red);
	letter-spacing: 0.42em;
}
.brand__en {
	font: 400 20px/0.92 var(--f-word);
	text-transform: uppercase;
	color: var(--green);
}

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.nav__list a {
	font: 600 13px/1 var(--f-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--red);
	padding: 8px 0;
	border-bottom: 2px solid transparent;
}
.nav__list a:hover,
.nav__list .current-menu-item > a { border-color: var(--red); }
.nav__list [lang="zh-Hant"] { font-weight: 600; letter-spacing: 0.06em; margin-left: 4px; opacity: 0.7; }

.site-header__cta { display: flex; gap: 10px; }
.site-header__cta .btn { padding: 13px 18px; }
.btn__label { opacity: 0.7; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	/* Left edge of the content column (matches .wrap) — used to bleed the photo to the screen edge */
	--cl: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
	position: relative;
	overflow: hidden;
	background: var(--red);
	color: var(--paper);
	padding: 56px 0 56px;
}

/* Two columns: copy on the left, the dish on the right. Both rest on the same baseline:
   the thin line above the address. Nothing is absolutely positioned, so nothing can collide. */
.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	column-gap: 40px;
	align-items: end;
}
.hero__vertical {
	position: absolute;
	left: calc(var(--cl) - 62px); top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font: 600 15px/1 var(--f-zh);
	letter-spacing: 0.6em;
	opacity: 0.5;
}
.hero__copy {
	position: relative; z-index: 2;
	align-self: center;
	padding: 24px 0 72px;
}
.hero__title { margin: 0; }
.hero__zh {
	display: block;
	font: 900 clamp(56px, 6vw, 96px)/1 var(--f-zh);
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.hero__en {
	display: block;
	margin-top: 18px;
	font: 400 clamp(32px, 3.4vw, 54px)/0.95 var(--f-word);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}
.hero__line {
	font: 400 20px/1.55 var(--f-sans);
	max-width: 30ch;
	margin: 28px 0 36px;
	opacity: 0.94;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* The dish: fills its column, runs off the right edge of the screen, tucks a little under
   the copy column (the left of every photo is empty red), and its bottom sits on the line.
   Capped by height so it never towers over the copy on short screens. 1.79 = width / height. */
.hero__photo {
	position: relative;
	z-index: 1;
	justify-self: end;
	width: min(calc(100% + var(--cl) + 9vw), calc((100vh - var(--header-h) - 150px) * 1.79), 1500px);
	margin: 0 calc(-1 * var(--cl)) 0 0;
	pointer-events: none;
}
.hero__slides { position: relative; width: 100%; }
/* The first photo sits in normal flow and sets the height; the others stack on top of it.
   (No aspect-ratio / inset, so it also works in older Safari.) */
.hero__slide {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	opacity: 0;
	transform: scale(1.025);
	transform-origin: 60% 100%; /* the slow zoom grows upward, so the bottom stays on the line */
	transition: opacity 1.1s ease, transform 6s ease-out;
}
.hero__slide:first-child { position: relative; height: auto; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide picture { display: block; width: 100%; }
/* Soften only the photo's left edge (empty red in every shot) where it tucks under the copy */
.hero__photo img {
	width: 100%; height: auto; display: block;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
	mask-image: linear-gradient(to right, transparent 0, #000 14%);
}

/* Caption card: one fixed spot, pinned across the line at the right, holding the dish
   name, number, price and the slide bars. It sits on the plate's shadow, never the food. */
.hero__caption {
	position: absolute;
	z-index: 3;
	right: var(--cl);
	bottom: 89px; /* hero padding 56 + address 20 + 12 + 1px line */
	transform: translateY(72%); /* mostly below the line, so it barely touches the food */
	width: 400px;
	background: var(--paper);
	color: var(--red);
	border: 2px solid var(--red-deep);
	box-shadow: 8px 8px 0 var(--red-deep);
	padding: 14px 20px 12px;
}
.hero__tags { display: grid; }
.dish-tag {
	grid-area: 1 / 1;
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.dish-tag.is-active { opacity: 1; }
.dish-tag__num { font: 700 11px/1 var(--f-sans); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.dish-tag__name { font: 600 15px/1.3 var(--f-sans); }
.dish-tag__name [lang="zh-Hant"] { display: block; font: 600 15px/1.3 var(--f-zh); color: var(--red-deep); }
.dish-tag__price { font: 700 18px/1 var(--f-sans); padding-left: 16px; border-left: 1px solid var(--line); }

/* Slide bars, inside the caption card */
.hero__dots {
	display: flex; gap: 8px;
	margin-top: 10px; padding-top: 8px;
	border-top: 1px solid var(--line);
}
.hero__dot {
	flex: 1; height: 16px;
	padding: 0; border: 0; background: none; cursor: pointer;
	display: flex; align-items: center;
}
.hero__dot span {
	position: relative; display: block; width: 100%; height: 3px;
	background: rgba(132, 14, 20, 0.18);
	overflow: hidden;
}
.hero__dot span::after {
	content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
	background: var(--red);
	transform: scaleX(0); transform-origin: left;
}
.hero__dot.is-active span::after { transform: scaleX(1); }
.hero.is-playing .hero__dot.is-active span::after { animation: hkb-dot var(--hkb-interval, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes hkb-dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__dot:hover span { background: rgba(132, 14, 20, 0.35); }

.hero__address {
	position: relative;
	margin-top: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(234, 235, 227, 0.3);
	font: 600 12px/1 var(--f-sans);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.85;
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
	background: var(--green);
	color: var(--paper);
	overflow: hidden;
	white-space: nowrap;
	padding: 20px 0;
}
.ticker__track { display: inline-flex; animation: hkb-ticker 60s linear infinite; }
.ticker__group { display: inline-flex; align-items: center; }
.ticker__item { font: 600 16px/1 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; }
.ticker__dot { font-size: 8px; margin: 0 30px; opacity: 0.6; }
@keyframes hkb-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ticker__track { animation: none; }
	.hero__slide, .dish-tag { transition: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Signature dish cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
	background: var(--white);
	border: 2px solid var(--red);
	display: flex; flex-direction: column;
	transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 10px 10px 0 var(--red); }
.card__media { aspect-ratio: 4 / 3; border-bottom: 2px solid var(--red); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card__media img { transform: scale(1.04); }

/* Photo placeholder: cha chaan teng floor tiles + a plate */
.ph {
	width: 100%; height: 100%;
	display: grid; place-items: center;
	background: repeating-conic-gradient(var(--steam) 0 25%, var(--paper) 0 50%) 0 0 / 30px 30px;
}
.ph__plate {
	width: 58%; aspect-ratio: 1; border-radius: 50%;
	background: var(--white);
	display: grid; place-items: center;
	box-shadow:
		inset 0 0 0 10px var(--white),
		inset 0 0 0 12px var(--red),
		inset 0 0 0 16px var(--white),
		inset 0 0 0 17px var(--red),
		0 14px 30px rgba(77, 5, 9, 0.12);
	padding: 9%;
}
.ph__zh { font: 900 24px/1.25 var(--f-zh); color: var(--red); text-align: center; letter-spacing: 0.04em; }

.card__body {
	padding: 22px 24px 26px;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "num price" "en en" "zh zh";
	row-gap: 6px;
}
.card__num { grid-area: num; font: 700 12px/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; }
.card__price { grid-area: price; font: 600 19px/1.2 var(--f-sans); font-variant-numeric: tabular-nums; }
.card__en { grid-area: en; font: 600 22px/1.25 var(--f-sans); margin-top: 4px; }
.card__zh { grid-area: zh; font: 400 18px/1.3 var(--f-zh); color: var(--red-deep); }

/* ==========================================================================
   Menu teaser tiles
   ========================================================================== */
.menu-teaser { background: var(--white); border-top: 2px solid var(--red); border-bottom: 2px solid var(--red); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); border: 2px solid var(--red); }
.tile {
	min-height: 380px;
	padding: 30px 26px;
	display: flex; flex-direction: column;
	text-decoration: none;
	color: var(--red);
	background: var(--paper);
	border-right: 2px solid var(--red);
	transition: background-color 0.25s, color 0.25s;
}
.tile:last-child { border-right: 0; }
.tile__zh { writing-mode: vertical-rl; align-self: flex-start; font: 900 64px/1 var(--f-zh); letter-spacing: 0.12em; flex: 1; }
.tile__en { font: 300 26px/1.1 var(--f-sans); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 24px; }
.tile__count { font: 700 12px/1 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 12px; opacity: 0.75; }
.tile:hover { background: var(--red); color: var(--paper); }

/* ==========================================================================
   Story + visit
   ========================================================================== */
.story__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 88px; align-items: start; }
.story__text { margin: 32px 0 40px; max-width: 54ch; color: var(--red-deep); font-size: 19px; line-height: 1.75; }
.story__text p + p { margin-top: 1em; }

.visit { background: var(--white); border: 2px solid var(--red); padding: 40px 40px 44px; box-shadow: 12px 12px 0 var(--red); }
.visit__list { margin: 8px 0 32px; }
.visit__list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.visit__list dt { font: 700 12px/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.visit__list dd { margin: 6px 0 0; font: 400 20px/1.5 var(--f-sans); color: var(--red-deep); }
.visit__list a { text-decoration: none; border-bottom: 1px solid currentColor; }
.visit__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--red); color: var(--paper); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-top: 88px; padding-bottom: 64px; }
.site-footer__wordmark { font: 400 46px/0.92 var(--f-word); text-transform: uppercase; margin-top: 28px; }
.site-footer .label { font: 700 12px/1.4 var(--f-sans); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; margin: 0 0 16px; }
.site-footer .label [lang="zh-Hant"] { letter-spacing: 0.1em; margin-left: 6px; }
.site-footer__col p { margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .nav__list { flex-direction: column; gap: 4px; }
.site-footer .nav__list a { color: var(--paper); border: 0; }
.site-footer__base {
	display: flex; justify-content: space-between;
	padding-top: 22px; padding-bottom: 30px;
	border-top: 1px solid rgba(234, 235, 227, 0.25);
	font-size: 13px; letter-spacing: 0.06em; opacity: 0.85;
}

/* ==========================================================================
   Page hero (menu + generic pages)
   ========================================================================== */
.page-hero { background: var(--red); color: var(--paper); padding: 80px 0 64px; }
.page-hero__grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.page-hero__title { font: 300 clamp(48px, 6vw, 96px)/1 var(--f-sans); letter-spacing: 0.05em; text-transform: uppercase; }
.page-hero__line { margin-top: 18px; font-size: 19px; opacity: 0.9; }

.menu-search input {
	width: 400px;
	padding: 17px 22px;
	border: 2px solid var(--paper);
	background: transparent;
	color: var(--paper);
	font: 400 16px/1 var(--f-sans);
	border-radius: 0;
	-webkit-appearance: none;
}
.menu-search input::placeholder { color: rgba(234, 235, 227, 0.7); }
.menu-search input:focus { background: rgba(255, 255, 255, 0.08); outline: none; }

/* Sticky category tabs */
.menu-tabs {
	position: sticky; top: var(--header-h); z-index: 40;
	background: var(--paper);
	border-bottom: 2px solid var(--red);
}
.menu-tabs__inner { display: flex; }
.menu-tabs__link {
	flex: 1;
	text-align: center;
	padding: 20px 10px;
	font: 600 13px/1 var(--f-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	border-left: 1px solid var(--line);
	transition: background-color 0.2s, color 0.2s;
}
.menu-tabs__link:last-child { border-right: 1px solid var(--line); }
.menu-tabs__link [lang="zh-Hant"] { letter-spacing: 0.08em; margin-left: 6px; }
.menu-tabs__link:hover { background: var(--steam); }
.menu-tabs__link.is-active { background: var(--red); color: var(--paper); }

.menu-body { padding-bottom: 96px; }
.menu-tab { padding-top: 80px; }
.menu-tab__head { display: flex; align-items: baseline; gap: 24px; padding-bottom: 18px; margin-bottom: 44px; border-bottom: 2px solid var(--red); }
.menu-tab__head h2 { font: 300 60px/1 var(--f-sans); letter-spacing: 0.05em; text-transform: uppercase; }
.menu-tab__zh { font: 900 44px/1 var(--f-zh); }

.menu-section { margin-bottom: 60px; }
.menu-section__head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.menu-section__head h3 { font: 700 15px/1.4 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; }
.menu-section__head h3 [lang="zh-Hant"] { font-weight: 600; font-size: 19px; letter-spacing: 0.08em; margin-left: 8px; }
.menu-section__head.is-quiet { margin-bottom: 0; }
.menu-section__note { font-size: 14px; font-style: italic; opacity: 0.75; }
.menu-section__cols {
	margin-left: auto;
	display: grid; grid-template-columns: 90px 90px;
	text-align: right;
	font: 700 12px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase;
}

.dishes {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px;
	border-top: 1px solid var(--line);
}
.dishes--two-price { grid-template-columns: 1fr; }
.dish {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 16px;
	align-items: baseline;
	padding: 16px 8px 16px 0;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.15s;
}
.dishes--two-price .dish { grid-template-columns: 52px 1fr 90px 90px; }
.dish:hover { background: rgba(255, 255, 255, 0.6); }
.dish[hidden], .menu-section[hidden], .menu-tab[hidden] { display: none; }
.dish__num { font: 600 14px/1 var(--f-sans); font-variant-numeric: tabular-nums; opacity: 0.7; padding-left: 8px; }
.dish__en { display: block; font: 500 18px/1.35 var(--f-sans); }
.dish__zh { display: block; margin-top: 3px; font: 400 16px/1.35 var(--f-zh); color: var(--red-deep); opacity: 0.85; }
.dish__price { font: 600 17px/1 var(--f-sans); font-variant-numeric: tabular-nums; text-align: right; }

.menu-empty { padding: 60px 0 0; font-size: 20px; }
.menu-foot { margin-top: 24px; font-size: 14px; opacity: 0.7; }

/* Generic content */
.prose { padding-top: 64px; padding-bottom: 96px; max-width: 820px; color: var(--red-deep); font-size: 18px; line-height: 1.75; }
.prose h2, .prose h3 { color: var(--red); margin: 1.6em 0 0.5em; font-weight: 600; }
.prose p { margin-bottom: 1em; }
.entry { padding: 28px 0; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
body { overflow-x: clip; }
.nav-toggle, .nav__mobile-only { display: none; }

@media (max-width: 1400px) {
	.hero__vertical { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
	.site-header__inner { gap: 20px; }
	.nav__list { gap: 16px; }
	.site-header__cta .btn { padding: 12px 12px; letter-spacing: 0.1em; }
	.btn__label { display: none; }
	.hero__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
	.hero__caption { width: 340px; padding: 12px 16px 10px; }
	.dish-tag { gap: 12px; }
	.dish-tag__name { font-size: 13px; }
	.dish-tag__price { font-size: 16px; padding-left: 12px; }
}
@media (max-width: 1100px) {
	.nav__list { gap: 22px; }
	.nav__list [lang="zh-Hant"] { display: none; }
	.tiles { grid-template-columns: repeat(3, 1fr); }
	.tile { border-bottom: 2px solid var(--red); }
}

/* ---- Tablet & phone ---------------------------------------------------- */
@media (max-width: 900px) {
	:root { --gutter: 20px; --header-h: 64px; }
	html { scroll-padding-top: calc(var(--header-h) + 64px); }

	/* Header: logo · Order · menu button. Nav + Call open in a drop-down panel. */
	.site-header__inner { gap: 12px; }
	.brand { gap: 3px; }
	.brand__zh { font-size: 11px; letter-spacing: 0.38em; }
	.brand__en { font-size: 16px; }
	.site-header__cta { margin-left: auto; }
	.site-header__cta .btn--line { display: none; }
	.site-header__cta .btn { padding: 11px 14px; font-size: 12px; letter-spacing: 0.12em; }
	.hide-sm { display: none; }
	.nav-toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 44px; height: 44px; padding: 0 10px;
		border: 2px solid var(--red); background: transparent; cursor: pointer;
	}
	.nav-toggle span { display: block; height: 2px; background: var(--red); transition: transform 0.2s, opacity 0.2s; }
	.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		margin: 0;
		background: var(--paper);
		border-bottom: 2px solid var(--red);
		box-shadow: 0 16px 30px rgba(77, 5, 9, 0.12);
		padding: 4px var(--gutter) 16px;
	}
	.site-header.is-open .nav { display: block; }
	.site-header .nav .nav__list { flex-direction: column; gap: 0; }
	.site-header .nav .nav__list a {
		display: flex; justify-content: space-between;
		padding: 18px 0; font-size: 14px;
		border-bottom: 1px solid var(--line);
	}
	.site-header .nav .nav__list [lang="zh-Hant"] { display: inline; }
	.nav__mobile-only { display: block; }

	/* Hero: photo first, big and bleeding off both sides; caption card; then the name and buttons */
	.hero { display: flex; flex-direction: column; padding: 0 0 28px; }
	.hero__grid { display: contents; }
	.hero__vertical { display: none; }
	.hero__photo {
		order: 1;
		justify-self: auto;
		width: 128%; margin: 6px 0 0 -14%;
	}
	.hero__slide picture { -webkit-mask-image: none; mask-image: none; }
	.hero__photo img { -webkit-mask-image: none; mask-image: none; }
	.hero__caption {
		order: 2;
		position: relative; right: auto; bottom: auto; transform: none;
		width: auto; margin: -34px var(--gutter) 0;
		padding: 10px 14px 8px;
		box-shadow: 5px 5px 0 var(--red-deep);
	}
	.dish-tag { gap: 10px; }
	.dish-tag__num { font-size: 10px; letter-spacing: 0.14em; }
	.dish-tag__name { font-size: 13px; }
	.dish-tag__name [lang="zh-Hant"] { font-size: 13px; }
	.dish-tag__price { font-size: 15px; padding-left: 10px; }
	.hero__copy { order: 3; padding: 0 var(--gutter); margin-top: 36px; }
	.hero__address { order: 4; margin: 32px 0 0; font-size: 11px; letter-spacing: 0.16em; line-height: 1.6; }
	.hero__zh { font-size: clamp(52px, 15vw, 96px); }
	.hero__en { font-size: clamp(30px, 8.6vw, 52px); margin-top: 14px; }
	.hero__line { font-size: 18px; margin: 22px 0 28px; }
	.hero__actions .btn { flex: 1 1 auto; justify-content: center; }

	/* Sections */
	.section { padding: 72px 0; }
	.section__head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
	.section__title { font-size: clamp(30px, 8vw, 44px); }
	.story__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.btn { white-space: normal; text-align: center; }
	.story__text { font-size: 17px; margin: 24px 0 32px; }
	.visit { padding: 28px 22px 32px; box-shadow: 8px 8px 0 var(--red); }
	.visit__actions .btn { flex: 1 1 auto; justify-content: center; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; padding-top: 64px; }

	/* Menu page */
	.page-hero { padding: 48px 0 40px; }
	.page-hero__grid { flex-direction: column; align-items: stretch; gap: 28px; }
	.page-hero__side { align-items: stretch; width: 100%; }
	.page-hero__side .btn { width: 100%; }
	.menu-search input { width: 100%; }
	.menu-tabs__inner { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.menu-tabs__inner::-webkit-scrollbar { display: none; }
	.menu-tabs__link { flex: 0 0 auto; padding: 16px 14px; font-size: 12px; }
	.menu-tab { padding-top: 56px; }
	.menu-tab__head { flex-wrap: wrap; gap: 6px 14px; margin-bottom: 28px; }
	.menu-tab__head h2 { font-size: 38px; }
	.menu-tab__zh { font-size: 30px; }
	.menu-section { margin-bottom: 44px; }
	.menu-section__head h3 { font-size: 13px; }
	.menu-section__cols { grid-template-columns: 60px 60px; font-size: 11px; }
	.dishes { grid-template-columns: minmax(0, 1fr); }
	.dish { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; padding: 14px 4px 14px 0; }
	.dishes--two-price .dish { grid-template-columns: 38px minmax(0, 1fr) 60px 60px; }
	.dish__num { padding-left: 0; font-size: 13px; }
	.dish__en { font-size: 16px; }
	.dish__zh { font-size: 15px; }
	.dish__price { font-size: 15px; }
}

/* ---- Phone ------------------------------------------------------------- */
@media (max-width: 600px) {
	.tiles { grid-template-columns: 1fr; }
	.tile {
		min-height: 0; flex-direction: row; align-items: center; gap: 16px;
		padding: 18px 20px; border-right: 0; border-bottom: 2px solid var(--red);
	}
	.tile:last-child { border-bottom: 0; }
	.tile__zh { writing-mode: horizontal-tb; font-size: 30px; flex: none; letter-spacing: 0.06em; }
	.tile__en { margin: 0; font-size: 20px; flex: 1; }
	.tile__en { min-width: 0; }
	.tile__count { margin: 0; white-space: nowrap; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__wordmark { font-size: 36px; }
	.site-footer__base { flex-direction: column; gap: 10px; }
	.btn__label { display: none; }
}
@media (max-width: 380px) {
	.site-header__cta .btn [lang="zh-Hant"] { display: none; }
	.tile__zh { font-size: 26px; }
	.tile__en { font-size: 17px; }
	.tile__count { font-size: 11px; letter-spacing: 0.12em; }
	.seal span { width: 40px; height: 40px; font-size: 18px; }
}

/* Menu hero: delivery button beside the search box */
.page-hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.page-hero__side .btn { width: 400px; justify-content: center; }
@media (max-width: 900px) {
	.page-hero__side { align-items: stretch; width: 100%; }
	.page-hero__side .btn { width: 100%; }
	.menu-search { display: block; width: 100%; }
}

/* ---- Hero, narrower desktops (901–1199px) -----------------------------------------
   Keep copy and dish side by side, but tighten the copy and let the dish grow into the
   empty red at the left of every photo, so there's no big gap above a small dish. */
@media (min-width: 901px) and (max-width: 1199px) {
	.hero { padding: 40px 0 56px; }
	.hero__grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: 32px; }
	.hero__copy { padding: 16px 0 40px; }
	.hero__zh { font-size: clamp(50px, 5.6vw, 64px); }
	.hero__en { font-size: clamp(28px, 3.1vw, 36px); margin-top: 14px; }
	.hero__line { font-size: 17px; margin: 20px 0 26px; }
	.hero__actions { gap: 10px; flex-wrap: nowrap; }
	.hero__actions .btn { padding: 13px 16px; font-size: 12px; letter-spacing: 0.12em; }
	.hero__photo { width: min(calc((100% + var(--cl)) / 0.8), calc((100vh - var(--header-h) - 120px) * 1.79), 720px); }
	.hero__caption { width: 360px; padding: 12px 16px 10px; }
}
