/* White House Teochew Porridge
   Visual match for the Squarespace 7.1 site at www.teochewmuay.com.
   Palette and type sizes are the computed Squarespace theme:
   accent hsl(42.86 3.87% 64.51%), body 16px / 28.8px, headings Aktiv Grotesk.
   Aktiv Grotesk is a commercial Adobe font licensed through Squarespace.
   It is not bundled here. The stack below is the family's own fallback. */

:root {
  --ink: #000;
  --brown: #613a16;
  --red: rgb(213, 38, 38);
  --accent: hsl(42.86, 3.87%, 64.51%);
  --line: #ccc;
  --max: 1188px;
  --story: 688px;
  --pad: 4vw;
  --font: "aktiv-grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 8px; top: 8px; background: #fff; z-index: 10; padding: 8px; }

/* Header — branding centered, nav left, cart right.
   Desktop vertical padding is 4vw around a 60px logo (header ~176px at 1440). */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  min-height: 176px;
  background: #fff;
}
.nav-desktop {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-desktop a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
}
.nav-desktop a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.logo img {
  height: 60px;
  width: auto;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
  text-decoration: none;
  margin-left: auto;
}
.cart-link svg { width: 28px; height: 22px; fill: currentColor; }
.cart-link span { font-size: 16px; line-height: 1; }
.burger {
  display: none;
  width: 28px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger i,
.burger i::before {
  display: block;
  height: 1px;
  background: #000;
  position: relative;
}
.burger i::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 20;
  padding: 28px 24px;
}
.nav-overlay.open { display: block; }
.nav-overlay .close-nav {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 0 0 24px;
}
.nav-overlay a {
  display: block;
  text-decoration: none;
  font-size: 22px;
  line-height: 1.4;
  padding: 10px 0;
  font-weight: 700;
}

main { display: block; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

/* Homepage story */
.story {
  width: min(620px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 8px;
  text-align: center;
  color: var(--brown);
  font-size: 16px;
  line-height: 28.8px;
}
.story p { margin: 28px 0; }
.story .tagline {
  color: var(--red);
  font-weight: 700;
  margin-top: 0;
}
.story .visit {
  text-align: left;
  font-style: italic;
}
.story .hours {
  text-align: center;
  color: #000;
  font-style: normal;
}
.story .hours a { color: #000; }

.section-title {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  margin: 88px 0 48px;
}

.menu-grid {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 29px;
  row-gap: 58px;
}
.menu-card { text-decoration: none; color: #000; }
.menu-card .thumb {
  width: 100%;
  aspect-ratio: 275 / 367;
  object-fit: cover;
  background: #eee;
}
.menu-card h3 {
  margin: 22px 0 0;
  font-size: 19.2px;
  line-height: 26.88px;
  font-weight: 700;
  text-align: left;
}
.menu-card .price {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 400;
}

.oddle-note {
  width: min(var(--story), calc(100% - 48px));
  margin: 0 auto 8px;
  text-align: center;
  font-size: 16px;
  line-height: 28.8px;
}
.oddle-note a { color: #000; }

/* About */
.about-grid {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 47px auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.about-photos { display: grid; gap: 34px; }
.about-photos img { width: 100%; object-fit: cover; }
.about-photos img:nth-child(1),
.about-photos img:nth-child(3) { aspect-ratio: 577 / 386; }
.about-photos img:nth-child(2) { aspect-ratio: 577 / 433; }
.about-copy p { margin: 0 0 16px; }
.about-copy strong { font-weight: 700; }
.about-visit p { margin: 16px 0; }
.about-visit u, .about-visit .u { text-decoration: underline; }

/* Reviews */
.marquee {
  overflow: hidden;
  margin-top: 0;
  font-size: 128px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  padding-right: 0.35em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.coverage {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 389px;
  gap: 40px;
  align-items: start;
}
.coverage h2 {
  font-size: 16px;
  line-height: 28.8px;
  margin: 0 0 12px;
}
.coverage .dek {
  font-size: 14.5px;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}
.coverage img { width: 389px; height: 245px; object-fit: cover; }
.reviews-block {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 64px auto 40px;
}
.reviews-block > h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 36px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.review-grid img {
  width: 100%;
  aspect-ratio: 373 / 249;
  object-fit: cover;
}
.review-grid h3 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin: 18px 0 12px;
}
.review-grid p { margin: 0 0 12px; }
.review-grid a { color: #000; }

/* FAQs */
.page-intro {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 64px auto 28px;
}
.page-intro h1 {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  margin: 0;
}
.faq-grid {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 34px;
}
.faq-grid h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 12px;
}
.faq-grid p { margin: 0; font-size: 16px; line-height: 1.6; }

/* Contact */
.contact-grid {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 72px auto 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-grid h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 16px;
}
.contact-copy p { margin: 0 0 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  margin: 14px 0 6px;
}
label .req { color: #767676; font-weight: 400; }
input, textarea, select {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}
textarea { min-height: 120px; resize: vertical; }
.submit {
  margin-top: 16px;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-size: 16px;
  cursor: pointer;
}
.form-note { font-size: 13px; color: #555; margin-top: 10px; }

.store-extra {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 10px auto 64px;
  padding-top: 28px;
}
.store-extra h2 { font-size: 2.2rem; margin: 0 0 8px; }
.store-extra p { margin: 0 0 8px; }
.order-link {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
}

/* Product */
.crumb {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 28px auto 18px;
  font-size: 15px;
}
.crumb a { color: #000; }
.product {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.gallery.single { grid-template-columns: 1fr; }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumbs button {
  padding: 0;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
}
.thumbs button[aria-current="true"] { border-color: #000; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; }
.gallery .main-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.product h1 {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 12px;
}
.product .money {
  font-weight: 700;
  margin: 0 0 16px;
}
.product .excerpt { margin: 0 0 16px; }
.product .excerpt p { margin: 0 0 8px; }
.qty-row { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.qty {
  display: flex;
  border: 1px solid #000;
  height: 48px;
}
.qty button {
  width: 40px;
  border: 0;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.qty input {
  width: 48px;
  border: 0;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  text-align: center;
  padding: 0;
  height: 100%;
}
.add-btn {
  flex: 1;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.variant { margin-top: 8px; }
.placeholder-photo {
  background: #eee;
  width: 100%;
  aspect-ratio: 275 / 367;
}

/* Legacy template page still published at /home */
.legacy-hero img { width: 100%; height: min(78vh, 820px); object-fit: cover; }
.legacy-copy {
  width: min(720px, calc(100% - 48px));
  margin: 48px auto 72px;
  text-align: center;
}
.legacy-copy h2 { font-size: 2.8rem; margin: 0 0 12px; }
.legacy-copy a { color: #000; }

.old-cats {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 36px auto 8px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.old-cats a { color: #000; text-decoration: none; }
.old-cats a[aria-current="page"] { text-decoration: underline; }
.empty-note {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 24px auto 80px;
}

.site-footer {
  padding: 72px 0 48px;
  text-align: center;
}
.site-footer a {
  display: inline-flex;
  margin: 0 8px;
  color: #000;
}
.site-footer svg { width: 18px; height: 18px; fill: currentColor; }

.cart-empty {
  width: min(640px, calc(100% - 48px));
  margin: 80px auto 100px;
  text-align: center;
}
.cart-empty h1 { font-size: 2.8rem; margin: 0 0 12px; }

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .review-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .product, .coverage { grid-template-columns: 1fr; }
  .coverage img { width: 100%; height: auto; aspect-ratio: 389 / 245; }
  .product h1, .page-intro h1 { font-size: 2.6rem; }
  .marquee { font-size: 64px; }
  .gallery { grid-template-columns: 56px 1fr; }
}

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .logo img { height: 36px; }
  .site-header { min-height: 84px; padding: 6vw 23px; }
  .story { width: min(100% - 46px, 620px); padding-top: 28px; }
  .menu-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
    width: min(100% - 46px, var(--max));
  }
  .menu-card .thumb, .placeholder-photo { aspect-ratio: 1 / 1; }
  .section-title { font-size: 2.14rem; margin-top: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .reviews-block, .page-intro, .faq-grid, .store-extra, .old-cats {
    width: min(100% - 46px, var(--max));
  }
}
