/* =============================================================================
   CHINA WOK — STYLES
   Red/cream, flat fills only (no gradients).
   Type: Libre Baskerville (display/headings) + Plus Jakarta Sans (everything UI).
   ============================================================================= */

:root {
  --red: #C1392B;
  --red-dark: #A52F23;
  --cream: #FDF8F2;
  --offwhite: #F5F0E8;
  --gold: #FAC775;
  --ink: #2C2C2A;
  --muted: #5F5E5A;
  --border: #E8DDD0;
  --hero-fill: #241a14;
  --dark-body: #B4B2A9;
  --footer-muted: #888780;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --z-nav: 100;

  --maxw: 1100px;
  --pad: 80px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* old Edge / IE */
}
/* Hide the page scrollbar for a cleaner scroll (scrolling still works) */
html::-webkit-scrollbar { display: none; }  /* Chrome / Safari / Edge */

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); text-wrap: balance; margin: 0; }
h1 { font-weight: 700; }
h2 { font-weight: 700; letter-spacing: -0.01em; }
h3 { font-weight: 400; letter-spacing: 0; }
p { text-wrap: pretty; }
img, iframe { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--pad) 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  margin: 0 0 14px;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-red { color: var(--red); }
.body-text {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 65ch;
}
.lead {
  font-weight: 300;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  color: var(--ink);
}
.subhead-italic { font-family: var(--body); font-style: italic; color: var(--muted); font-size: 16px; margin: 12px 0 0; }
.section-head { margin-bottom: 36px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-small { padding: 11px 18px; }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline-cream { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--ink); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--cream); }

/* ---------- sticky nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { background: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,0.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.05; color: var(--cream); text-decoration: none; }
.nav-logo-name { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.nav-logo-locale { font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }

/* ---------- 1. hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--hero-fill);
}
.hero-layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-layer.is-active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,0.5); }
.hero-card {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 560px;
  text-align: center;
  padding: 44px 40px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 14px;
  -webkit-text-stroke: 0.7px var(--cream);
}
.hero-subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.6vw, 22px); color: var(--gold); margin: 0 0 16px; }
.hero-address {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(13px, 1.6vw, 15px);
  color: #EADFCE;
  margin: 6px 0 20px;
}
.hero-phone {
  font-weight: 600;
  font-size: clamp(14px, 1.8vw, 16px);
  letter-spacing: 0.02em;
  color: var(--gold);
  text-decoration: none;
}
.hero-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-body { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2.4vw, 20px); color: #FAEEDA; margin: 0 0 26px; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn { min-width: 190px; }

/* ---------- 2. section divider (PF Chang's-style border division) ---------- */
.divider { background: var(--cream); padding: 28px 0; }
.divider-line { display: block; height: 2px; background: var(--red); }
.heading-wrap { display: inline-block; margin-bottom: 20px; }
.heading-wrap h2 { margin: 0; }
.heading-rule { margin: 10px 0 0; }

/* ---------- 3. about ---------- */
.about { background: var(--cream); }
.about-grid { max-width: 760px; }
.h-about, .h-showcase, .h-menu, .h-reviews, .h-find {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}
.h-about { color: var(--ink); margin: 0 0 20px; }

/* ---------- 4. weekly showcase ---------- */
.showcase { background: var(--ink); }
.h-showcase { color: var(--cream); margin: 0; }
.showcase .subhead-italic { color: var(--dark-body); }
.showcase .btn-outline-red { color: var(--cream); border-color: var(--cream); }
.showcase .btn-outline-red:hover { background: var(--cream); color: var(--ink); }
.rule-accent { display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 16px; }
/* arrow slider (PF Chang's-style) */
.carousel { position: relative; }
.dish-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.dish-grid::-webkit-scrollbar { display: none; }
.dish-grid { cursor: grab; }
.dish-grid.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.dish-grid.is-dragging .dish-card { user-select: none; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--cream);
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, opacity 0.18s ease;
}
.carousel-arrow:hover { color: var(--gold); }
.carousel-arrow[disabled] { opacity: 0.25; cursor: default; pointer-events: none; }
.carousel-prev { left: -46px; }
.carousel-next { right: -46px; }
@media (max-width: 1200px) {
  .carousel-prev { left: -10px; }
  .carousel-next { right: -10px; }
}
.dish-card {
  display: flex; flex-direction: column;
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
@media (max-width: 900px) { .dish-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 640px) { .dish-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 460px) { .dish-card { flex-basis: 80%; } }
.dish-thumb {
  height: 150px;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  color: #A8987F;
  font-size: 32px;
}
.dish-thumb-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.dish-body { flex: 1; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.dish-name { font-family: var(--body); font-weight: 600; font-style: normal; font-size: 13px; line-height: 1.3; letter-spacing: 0; color: var(--ink); margin: 0; }
.dish-detail-btn {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: center;
  margin-top: auto;
  font-family: var(--body); font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.dish-detail-btn:hover { background: #fff; border-color: #D8CBB8; }
.dish-detail-btn .ti { color: var(--red); font-size: 14px; }
.menu-foot { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- 5. full menu ---------- */
.menu { background: var(--cream); }
.h-menu { color: var(--ink); margin: 0; }
.filter-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 28px;
}
.pill, .pill-dropdown { flex: 0 0 auto; }
.pill {
  font-family: var(--body);
  font-size: 12px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--red);
  background: var(--cream);
  color: var(--red);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.pill.active { background: var(--red); color: #fff; }
.pill-dropdown { position: relative; display: inline-flex; }
.pill-trigger { display: inline-flex; align-items: center; gap: 6px; }
.pill-caret { line-height: 1; }
.pill-menu {
  position: fixed;
  z-index: 80;
  display: none;
  flex-direction: column;
  min-width: 170px;
  background: var(--cream);
  border: 1.5px solid var(--red);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 18px rgba(40, 25, 15, 0.14);
}
.pill-dropdown.open .pill-menu { display: flex; }
.pill-option {
  font-family: var(--body);
  font-size: 13px;
  text-align: left;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
}
.pill-option:hover { background: var(--offwhite); }
.pill-option.active { background: var(--red); color: #fff; }
.menu-rows { display: flex; flex-direction: column; }
.menu-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.menu-row.is-hidden { display: none; }
.menu-row-name { font-family: var(--body); font-weight: 600; font-size: 16px; color: var(--ink); margin: 0; }
.menu-row-desc { font-family: var(--body); font-weight: 400; font-size: 13px; line-height: 1.6; color: #45443F; margin: 4px 0 0; max-width: 60ch; }
.menu-row-price { font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--red); white-space: nowrap; }

/* ---------- reviews ---------- */
.reviews { background: var(--ink); }
.h-reviews { color: var(--cream); margin: 0 0 12px; }
.reviews .body-text { color: var(--dark-body); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.review-card { position: relative; display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin: 0; }
.review-card::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 72px;
  line-height: 0.6;
  height: 38px;
  color: var(--gold);
  margin-bottom: 6px;
}
.stars { color: var(--gold); font-size: 16px; margin: 0 0 12px; letter-spacing: 2px; }
.review-quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(16px, 1.8vw, 18px); color: var(--ink); line-height: 1.6; margin: 0 0 14px; }
.review-author { margin-top: auto; align-self: flex-start; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--muted); }
.review-author::before { content: "\2014 "; }

/* ---------- 8. find ---------- */
.find { background: var(--cream); }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.h-find { color: var(--ink); margin: 0 0 20px; }
.map-frame { height: 300px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.find-address { font-family: var(--body); font-size: 14px; color: var(--ink); margin: 0 0 6px; }
.find-phone a { font-family: var(--body); font-size: 14px; color: var(--red); text-decoration: none; }
.find-phone a:hover { text-decoration: underline; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; margin-bottom: 16px; }
.hours th, .hours td { font-family: var(--body); font-weight: 400; font-size: 14px; text-align: left; padding: 8px 0; color: var(--ink); border-bottom: 1px solid var(--border); }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); }
.find-note { font-family: var(--body); font-weight: 300; font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }

/* ---------- 9. footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--gold); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.footer-logo { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--gold); margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { font-family: var(--body); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--footer-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--cream); }
.footer-tag { font-family: var(--body); font-weight: 300; font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- dish detail page ---------- */
.dish-page { display: flex; flex-direction: column; min-height: 100vh; background: var(--cream); }
/* Same site header, but solid + sticky (no hero behind it on this page). */
.dish-page .nav { position: sticky; background: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,0.12); }
.dish-detail { flex: 1; padding: 40px 0 72px; }
.breadcrumb {
  font-family: var(--body); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--red); margin: 0 0 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--red); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-hidden] { color: #C9A98F; }
.breadcrumb-current { color: var(--muted); }
.dish-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dish-photo {
  width: 100%; aspect-ratio: 3 / 2;
  border-radius: 6px;
  background-size: cover; background-position: center;
  background-color: var(--border);
}
.dish-photo-empty { display: flex; align-items: center; justify-content: center; color: #A8987F; font-size: 60px; }
.dish-detail-name {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.1; letter-spacing: 0.01em;
  color: var(--ink); margin: 6px 0 16px;
}
.dish-detail-desc {
  font-family: var(--body); font-weight: 400; font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7; color: var(--muted); margin: 0 0 28px; max-width: 46ch;
}
.btn-dark { background: var(--ink); color: var(--cream); min-width: 240px; }
.btn-dark:hover { background: #000; }
.dish-missing { text-align: center; padding: 80px 0; }
.dish-missing p { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.dish-index { padding: 16px 0 24px; }
.dish-index-list {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.dish-index-list a {
  display: block;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  color: var(--ink); text-decoration: none;
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.dish-index-list a:hover { border-color: var(--red); color: var(--red); }
.dish-back-bar {
  display: block; text-align: center;
  background: var(--red); color: var(--cream);
  font-family: var(--body); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; padding: 18px;
  transition: background-color 0.18s ease;
}
.dish-back-bar:hover { background: var(--red-dark); }
.dish-finenote {
  font-family: var(--body); font-weight: 300; font-size: 12px; line-height: 1.6;
  text-align: center; color: var(--muted);
  margin: 18px auto; padding: 0 24px;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 760px) {
  .dish-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-dark { width: 100%; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  :root { --pad: 48px; }
  .about-grid, .find-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .nav-logo { font-size: 19px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-card { padding: 32px 22px; }
  .hero-buttons .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
