/* Hong Kong House — static brochure site */
:root {
  --bg: #fffaf4;
  --bg-soft: #fff3e6;
  --ink: #2a1a12;
  --ink-muted: #5c4336;
  --brand: #9b1c1c;
  --brand-deep: #6e1010;
  --gold: #c7922b;
  --gold-soft: #f0d59a;
  --card: #ffffff;
  --line: #ead7c4;
  --success: #1f6b45;
  --shadow: 0 10px 30px rgba(61, 28, 14, 0.08);
  --radius: 18px;
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
html, body {
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, #ffe7c8 0, transparent 35%),
    linear-gradient(180deg, #fffaf4 0%, #fff7ee 40%, #fffaf4 100%);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,250,244,.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0;
}
.brand {
  display: flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit;
}
.brand img { width: 56px; height: 56px; }
.brand-text strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--brand-deep); }
.brand-text span { display: block; font-size: .78rem; color: var(--ink-muted); letter-spacing: .02em; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .55rem .9rem; font: inherit; color: var(--ink);
}
.nav-toggle[aria-expanded="true"] { background: var(--bg-soft); }
.site-nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem;
  padding: .45rem .7rem; border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-soft); color: var(--brand-deep); }
.site-nav .cta {
  background: var(--brand); color: #fff !important; padding: .55rem 1rem;
  box-shadow: 0 8px 18px rgba(155,28,28,.22);
}
.site-nav .cta:hover { background: var(--brand-deep); }
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(42,26,18,.78), rgba(110,16,16,.55)),
    url("../images/gallery-1372.jpg") center/cover no-repeat;
  color: #fff;
  min-height: 70vh;
  display: grid; align-items: end;
}
.hero-inner { padding: 5.5rem 0 3.5rem; }
.eyebrow {
  display: inline-flex; gap: .5rem; align-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .35rem .75rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; margin: 0 0 .75rem; max-width: 14ch;
}
.hero p.lead { font-size: 1.125rem; max-width: 42ch; margin: 0 0 1.5rem; color: #ffe9d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .8rem 1.2rem; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font: inherit;
}
.btn-primary { background: #fff; color: var(--brand-deep); }
.btn-primary:hover { background: var(--gold-soft); color: var(--brand-deep); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-deep); border-color: var(--line); }
.quick-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem;
}
.quick-facts article {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: .9rem 1rem; backdrop-filter: blur(4px);
}
.quick-facts strong { display: block; font-size: .95rem; }
.quick-facts span { font-size: .85rem; color: #ffe9d4; }
.section { padding: 4rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 48rem; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 .5rem; color: var(--brand-deep);
}
.section-head p { margin: 0; color: var(--ink-muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.15rem; color: var(--brand-deep); }
.card p { margin: 0; color: var(--ink-muted); }
.card ul { margin: .75rem 0 0; padding-left: 1.1rem; color: var(--ink-muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pill {
  background: var(--bg-soft); color: var(--brand-deep); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .7rem; font-size: .85rem; font-weight: 600;
}
.notice {
  border: 1px solid #e4cf9d; background: #fff8e8; color: #5a4014;
  border-radius: 14px; padding: .9rem 1rem; font-size: .92rem;
}
.notice strong { color: #6a4308; }
.split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem; align-items: stretch;
}
.photo-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #1a0f0a; min-height: 280px;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .85rem;
}
.gallery-grid figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow);
}
.gallery-grid img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.gallery-grid figcaption {
  padding: .7rem .85rem .9rem; font-size: .85rem; color: var(--ink-muted);
}
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.review blockquote {
  margin: 0; font-size: 1.02rem; color: var(--ink);
}
.review cite {
  display: block; margin-top: .85rem; font-style: normal; font-weight: 700; color: var(--brand-deep);
}
.hours-table, .contact-list { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td, .contact-list th, .contact-list td {
  text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top;
}
.hours-table th, .contact-list th { color: var(--ink-muted); font-weight: 600; width: 42%; }
.map-embed {
  border: 0; width: 100%; min-height: 320px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.checklist {
  background: #f7fbff; border: 1px solid #cfe0f2; border-radius: var(--radius); padding: 1.25rem;
}
.checklist h2 { margin-top: 0; color: #18466f; font-family: var(--display); font-size: 1.35rem; }
.checklist ol { margin: 0; padding-left: 1.2rem; color: #31506c; }
.checklist li { margin: .45rem 0; }
.site-footer {
  background: #24140e; color: #f7e7d8; padding: 2.5rem 0 2rem; margin-top: 2rem;
}
.site-footer a { color: #ffd7a8; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;
}
.site-footer h3 { margin: 0 0 .6rem; font-size: 1rem; color: var(--gold-soft); }
.site-footer p, .site-footer li { color: #e8d2bf; font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; font-size: .85rem; color: #cbb5a3; }
.menu-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  position: sticky; top: 74px; z-index: 20; background: rgba(255,250,244,.95);
  backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px;
  padding: .75rem; margin-bottom: 1.25rem; box-shadow: var(--shadow);
}
.menu-toolbar input[type="search"] {
  flex: 1 1 220px; border: 1px solid var(--line); border-radius: 999px;
  padding: .7rem 1rem; font: inherit; background: #fff;
}
.menu-cats { display: flex; flex-wrap: wrap; gap: .4rem; }
.menu-cats a, .filter-chip {
  text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .35rem .7rem; font-size: .82rem; font-weight: 600;
}
.menu-cats a:hover, .filter-chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.menu-section { margin: 2rem 0; scroll-margin-top: 140px; }
.menu-section h2 {
  font-family: var(--display); color: var(--brand-deep); margin: 0 0 1rem;
  padding-bottom: .4rem; border-bottom: 2px solid var(--gold-soft);
}
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem;
}
.menu-item.is-hidden { display: none; }
.menu-item .name { font-weight: 700; color: var(--ink); }
.menu-item .desc { color: var(--ink-muted); font-size: .9rem; margin-top: .15rem; }
.menu-item .price { font-weight: 700; color: var(--brand-deep); white-space: nowrap; }
.menu-empty { display: none; padding: 1rem; color: var(--ink-muted); }
.menu-empty.is-visible { display: block; }
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(120deg, rgba(42,26,18,.78), rgba(110,16,16,.5)),
    url("../images/hero-menu.jpg") center/cover no-repeat;
  color: #fff; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: var(--display); margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { margin: 0; color: #ffe9d4; max-width: 50ch; }
.chip-scroll {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.menu-section.is-empty { display: none; }
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.btn:focus-visible,
.filter-chip:focus-visible,
.menu-cats a:focus-visible,
.menu-toolbar input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .quick-facts, .grid-3, .gallery-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .reviews { grid-template-columns: 1fr; }
  .brand img { width: 48px; height: 48px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 1.25rem, var(--max)); }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    margin-left: auto;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: .35rem 0 .85rem;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: .85rem 1rem;
    min-height: 44px;
    border: 1px solid transparent;
  }
  .site-nav .cta { text-align: center; justify-content: center; }
  .header-inner { flex-wrap: wrap; gap: .65rem; padding: .7rem 0; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-text { min-width: 0; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 58vw;
  }
  .quick-facts, .grid-3, .grid-2, .gallery-grid, .footer-grid, .reviews { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding: 3.25rem 0 2rem; }
  .hero h1 { max-width: none; }
  .hero-actions .btn, .btn { min-height: 44px; width: 100%; }
  .hero-actions { margin-bottom: 1.1rem; }
  .quick-facts { gap: .55rem; }
  .section { padding: 2.75rem 0; }
  .photo-frame { min-height: 220px; }
  .gallery-grid { gap: .7rem; }
  .gallery-grid img { aspect-ratio: 16/10; }
  .map-embed { min-height: 260px; }
  .menu-toolbar {
    top: 62px;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    padding: .65rem;
    border-radius: 14px;
  }
  .menu-toolbar input[type="search"] {
    width: 100%;
    flex: none;
    min-height: 44px;
    font-size: 16px; /* avoid iOS zoom */
  }
  .menu-cats,
  .chip-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: .4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: .2rem;
    max-width: 100%;
  }
  .menu-cats a,
  .filter-chip {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .menu-section { scroll-margin-top: 180px; }
  .menu-item {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
  .menu-item .price { justify-self: start; }
  .page-hero { padding: 2.5rem 0 1.5rem; }
  .checklist { padding: 1rem; }
  .site-footer { padding: 2rem 0 1.5rem; }
}

@media (max-width: 420px) {
  .brand-text span { display: none; }
  .eyebrow { font-size: .78rem; }
}
