/* ==========================================================================
   Chop Chop — main stylesheet
   One red on a lot of white. The tile grid is the structure.
   ========================================================================== */

:root {
	--red: #C42434;
	--red-08: rgba(196, 36, 52, 0.08);
	--navy: #1B2A36;
	--white: #FFFFFF;
	--marble: #F2F1EF;
	--grout: #1A1A1A;
	--tile: calc(100vw / 12);
	--rule: 1.5px;
	--gutter: 64px;
	--sans: "Inter Tight", "Neue Haas Grotesk Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mono: "Space Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--zh: "Noto Serif TC", "PMingLiU", "Songti TC", serif;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--white);
	color: var(--red);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: var(--white); padding: 8px 12px; font-family: var(--mono); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wordmark { width: 100%; height: auto; color: var(--red); }

/* Tile wall: white tiles, black grout --------------------------------------- */
.tiles {
	background-color: var(--white);
	background-image:
		linear-gradient(to right, rgba(26, 26, 26, .42) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(26, 26, 26, .42) 1px, transparent 1px);
	background-size: var(--tile) var(--tile);
	background-position: -1px -1px;
}

/* Buttons ------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 20px;
	font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
	border: var(--rule) solid var(--red);
	transition: background .15s, color .15s, border-color .15s;
	white-space: nowrap;
}
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--white); color: var(--red); }
.btn--outline { background: var(--white); color: var(--red); }
.btn--outline:hover { background: var(--red); color: var(--white); }
.btn--white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); }
.link-arrow { border-bottom: var(--rule) solid currentColor; padding-bottom: 2px; }

/* Utility bar --------------------------------------------------------------- */
.utility { background: var(--red); color: var(--white); }
.utility__inner {
	display: flex; justify-content: space-between; gap: 24px;
	padding: 9px var(--gutter); font-size: 12px;
}
.utility a:hover { text-decoration: underline; }

/* Header -------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--grout);
}
.site-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: 76px; padding: 0 var(--gutter);
}
.site-header__logo { width: 128px; }
.site-nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: var(--rule);
	background: var(--red); transition: right .25s var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.site-header__ig:hover { text-decoration: underline; }

/* Hero ---------------------------------------------------------------------- */
.hero {
	display: grid; grid-template-columns: 5fr 7fr;
	height: calc(100vh - 112px); min-height: 640px; max-height: 880px;
	border-bottom: 1px solid var(--grout);
	overflow: hidden;
}
.hero__text {
	display: flex; flex-direction: column; justify-content: center; gap: 32px;
	padding: 48px 56px 48px var(--gutter);
}
.hero__mark { position: relative; margin: 0 0 8px; width: 100%; }
.hero__tagline { font-size: clamp(40px, 3.6vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.hero__cta { display: flex; gap: 12px; }
.hero__meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.4; padding-top: 20px; border-top: var(--rule) solid var(--red); }
.hero__status { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hero__status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; flex: none; }
.hero__meta.is-open .hero__status i { opacity: 1; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 36, 52, .55); } 100% { box-shadow: 0 0 0 9px rgba(196, 36, 52, 0); } }

.hero__photo { position: relative; overflow: hidden; border-left: 1px solid var(--grout); }
.hero__photo video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: var(--marble); }

/* Marquee ------------------------------------------------------------------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; white-space: nowrap; font-size: 15px; }
.marquee__track { display: inline-flex; gap: 28px; padding: 20px 0; animation: marquee 60s linear infinite; }
.marquee__track i { font-style: normal; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections ------------------------------------------------------------------ */
.section { padding: 128px var(--gutter); }
.section__head {
	display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 20px;
	margin-bottom: 64px; align-items: end;
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head .display { grid-column: 1 / 8; }
.section__lede { grid-column: 9 / 13; font-size: 19px; line-height: 1.45; }
.eyebrow { padding-bottom: 14px; border-bottom: var(--rule) solid var(--red); }
.display { font-family: var(--sans); font-weight: 400; font-size: clamp(56px, 6.4vw, 104px); line-height: .94; letter-spacing: -0.035em; }

/* Menu ---------------------------------------------------------------------- */
.menu { background: var(--white); }
.menu__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.menu__head { display: grid; gap: 20px; margin-bottom: 40px; }
.menu__note { opacity: .8; }

.menu-table { width: 100%; border-collapse: collapse; border: var(--rule) solid var(--red); font-size: 14px; }
.menu-table td, .menu-table th { border: var(--rule) solid var(--red); padding: 9px 14px; text-align: left; vertical-align: middle; }
.menu-table__section th { font-weight: 700; padding-top: 12px; padding-bottom: 12px; }
.menu-table .qty { width: 64px; text-align: center; }
.menu-table .price { width: 76px; text-align: right; }
.menu-table .num { display: inline-block; width: 30px; font-size: 11px; opacity: .45; }
.menu-table .cam { font-style: normal; font-size: 7px; vertical-align: middle; margin-left: 6px; opacity: .55; }
.menu-table__row { cursor: default; transition: background .12s; }
.menu-table__row:hover, .menu-table__row:focus-visible, .menu-table__row.is-active { background: var(--red-08); outline: none; }
.menu-table__row.is-picked { background: var(--red); color: var(--white); }
.menu-table__row.is-picked .qty__btn { background: var(--white); color: var(--red); border-color: var(--white); }

.qty__btn {
	width: 28px; height: 28px; padding: 0; border: var(--rule) solid var(--red); background: var(--white);
	color: var(--red); font-family: var(--mono); font-size: 12px; cursor: pointer;
	display: inline-grid; place-items: center; transition: transform .1s;
}
.qty__btn span { opacity: .35; }
.qty__btn[aria-pressed="true"] span { opacity: 1; font-weight: 700; }
.qty__btn:active { transform: scale(.9); }
.menu__fortune { margin-top: 36px; text-align: center; font-size: 14px; }

/* Add-to-cart buttons (Ambassador) */
.add__btn {
	width: 30px; height: 30px; display: inline-grid; place-items: center;
	border: var(--rule) solid var(--red); background: var(--white); color: var(--red);
	font-family: var(--mono); font-size: 16px; line-height: 1; cursor: pointer;
	transition: background .12s, color .12s, transform .1s;
}
.add__btn:hover { background: var(--red); color: var(--white); }
.add__btn:active { transform: scale(.88); }
.add__count { font-size: 12px; font-weight: 700; }
.add__none { opacity: .35; }
.menu-table__row.is-picked .add__btn { background: var(--white); color: var(--red); border-color: var(--white); }
.menu-table__row.is-bump { animation: rowflash .6s var(--ease); }
.menu-table__row.is-bump .add__btn { animation: bump .35s var(--ease); }
@keyframes rowflash { 0% { background: var(--red); color: var(--white); } 100% { background: var(--red-08); } }
@keyframes bump { 40% { transform: scale(1.25) rotate(-8deg); } }
.menu-table__section .sub { font-weight: 400; opacity: .55; margin-left: 10px; }
.menu-table .oos { font-style: normal; font-size: 11px; margin-left: 8px; padding: 2px 6px; border: 1px solid currentColor; }
.menu-table__row.is-oos { opacity: .45; }
.menu-table + .menu-more, .menu-more + .menu__fortune { margin-top: 24px; }
.menu-more { border: var(--rule) solid var(--red); }
.menu-more > summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
	padding: 14px; font-weight: 700; font-size: 14px;
}
.menu-more > summary::-webkit-details-marker { display: none; }
.menu-more > summary i { font-style: normal; font-size: 18px; transition: transform .2s var(--ease); }
.menu-more[open] > summary i { transform: rotate(45deg); }
.menu-more[open] > summary { border-bottom: var(--rule) solid var(--red); }
.menu-more .menu-table { border: 0; }
.menu-more .menu-table tr > :first-child { border-left: 0; }
.menu-more .menu-table tr > :last-child { border-right: 0; }
.menu-more .menu-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.menu-more .menu-table tbody:first-child tr:first-child > * { border-top: 0; }
.plate__desc { padding: 14px 0 0; font-size: 13px; line-height: 1.6; min-height: 3.4em; opacity: .85; }
.plate__zh.is-latin { writing-mode: horizontal-tb; font-family: var(--sans); font-weight: 400; font-size: clamp(36px, 3.4vw, 56px); letter-spacing: -0.03em; line-height: 1; text-align: center; padding: 0 12%; }
.tally__note { font-size: 12px; opacity: .65; }
/* Leave room for Ambassador's floating cart button */
.cc-cart-ready .site-footer { padding-bottom: 96px; }

.menu__panel { position: sticky; top: 112px; }
.plate {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden;
	border: var(--rule) solid var(--red); background: var(--marble);
}
.plate__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: var(--marble); }
.menu-table .cam--video { font-size: 8px; opacity: .8; }
.plate__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform .5s var(--ease); }
.plate.is-swapping .plate__img { opacity: 0; transform: scale(1.03); }
.plate__zh {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--zh); font-size: clamp(64px, 7vw, 120px); font-weight: 600; letter-spacing: .08em;
	writing-mode: vertical-rl; background-color: var(--white);
	background-image:
		linear-gradient(to right, rgba(26, 26, 26, .25) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(26, 26, 26, .25) 1px, transparent 1px);
	background-size: 25% 25%;
}
.plate__num { z-index: 2;

	position: absolute; left: 0; top: 0; background: var(--white); padding: 8px 12px;
	border-right: var(--rule) solid var(--red); border-bottom: var(--rule) solid var(--red);
}
.plate__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: var(--rule) solid var(--red); }
.plate__name { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.plate__price { font-size: 16px; white-space: nowrap; }
.tally { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tally__row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; }
.tally__actions { display: flex; justify-content: space-between; align-items: center; }
.tally__clear { background: none; border: 0; padding: 0; border-bottom: var(--rule) solid var(--red); cursor: pointer; font-family: var(--mono); font-size: 13px; }
.tally__note { font-size: 12px; opacity: .65; }

/* Room ---------------------------------------------------------------------- */
.room { border-top: 1px solid var(--grout); }
.room__grid {
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
	grid-template-rows: 34vw 26vw;
}
.room__grid figure { overflow: hidden; }
.room__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.room__grid figure:hover img { transform: scale(1.03); }
.room__a { grid-column: 1 / 9; grid-row: 1; }
.room__b { grid-column: 9 / 13; grid-row: 1 / 3; }
.room__c { grid-column: 1 / 5; grid-row: 2; }
.room__d { grid-column: 5 / 9; grid-row: 2; }

/* Visit --------------------------------------------------------------------- */
.visit { background: var(--navy); color: var(--white); }
.visit__photo img { width: 100%; height: 46vw; max-height: 720px; object-fit: cover; }
.visit__info { padding: 72px var(--gutter) 96px; }
.visit .eyebrow { border-color: var(--white); margin-bottom: 40px; }
.visit__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; font-size: 17px; line-height: 1.7; }
.visit__cols h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; opacity: .6; margin-bottom: 12px; letter-spacing: .08em; text-transform: uppercase; }
.visit__cols p, .visit__cols address { margin-bottom: 16px; font-style: normal; }
.visit__cols .pre { white-space: pre; }
.visit .btn--white:hover { border-color: var(--white); }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--red); color: var(--white); padding: 48px var(--gutter) 28px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; border-bottom: var(--rule) solid var(--white); }
.site-footer__fortune { font-size: 18px; }
.site-footer__mark { display: block; padding: 48px 0 40px; }
.wordmark--footer { color: var(--white); width: 100%; }
.site-footer__bottom { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 20px; border-top: var(--rule) solid var(--white); font-size: 12px; }
.site-footer__bottom a:hover { text-decoration: underline; }
.site-footer__bottom > span:first-child { margin-right: auto; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__credit a:hover { text-decoration-thickness: 2px; }

/* Pages --------------------------------------------------------------------- */
.page { max-width: 880px; margin: 0 auto; }
.entry + .entry { margin-top: 96px; }
.entry__head { display: grid; gap: 20px; margin-bottom: 40px; }
.entry__content { font-size: 19px; line-height: 1.6; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content a { border-bottom: var(--rule) solid currentColor; }
.entry__content h2, .entry__content h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-top: 1.6em; }
.entry__content h2 { font-size: 40px; }
.entry__content table { border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.entry__content td, .entry__content th { border: var(--rule) solid var(--red); padding: 8px 12px; }
.page--404 { min-height: 50vh; }

/* Scroll reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html { scroll-behavior: auto; }
}

/* Below two-column width: drop the photo/video panel, menu goes full width */
@media (max-width: 1099px) {
	.menu__grid { grid-template-columns: 1fr; }
	.menu__panel { display: none; }
	.menu-table .cam { display: none; }
	.site-header__ig { display: none; }
}

/* Narrow screens: keep things usable (stacked) ----------------------------- */
@media (max-width: 900px) {
	:root { --gutter: 20px; --tile: calc(100vw / 6); }
	.site-header__inner { grid-template-columns: auto 1fr; }
	.site-nav, .site-header__ig, .utility span { display: none; }
	.hero { grid-template-columns: 1fr; height: auto; max-height: none; }
	.hero__photo { height: 70vw; border-left: 0; }
	.section { padding: 72px var(--gutter); }
	.section__head .display, .section__lede { grid-column: 1 / -1; }
	.menu__grid, .visit__cols { grid-template-columns: 1fr; }
	.room__grid { grid-template-rows: auto; }
	.room__grid figure { grid-column: 1 / -1 !important; grid-row: auto !important; }
	.site-footer__top { flex-direction: column; gap: 20px; align-items: flex-start; }
}
