/* chopstickswaco.app. Colors come from the Chopsticks logo: red banner, golden chopsticks. */
:root {
  --bg: #fffbf4;
  --surface: #ffffff;
  --ink: #231c18;
  --muted: #675c55;
  --line: #ecdfd2;
  --red: #c0122a;
  --red-press: #9e0e22;
  --red-text: #b0101f;
  --gold: #ffc61a;
  --gold-ink: #2b2106;
  --open: #157a3b;
  --closed: #b0101f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(80 40 20 / 6%), 0 8px 24px rgb(80 40 20 / 7%);
  --font: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 68px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161210;
    --surface: #211a17;
    --ink: #f6eee6;
    --muted: #bcaea4;
    --line: #3a2f2a;
    --red: #d42536;
    --red-press: #b81d2d;
    --red-text: #ff8a8f;
    --gold: #f5bd0e;
    --gold-ink: #241b03;
    --open: #5fd38a;
    --closed: #ff8a8f;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 28%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Buttons: one shape (soft 10px), red for the main action. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-press); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 48px; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 17px; }
.brand-text span { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 700; font-size: 15px; text-decoration: none; padding: 8px 6px; }
.header-phone:hover { color: var(--red-text); }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status[data-state="open"]::before { background: var(--open); }
.status[data-state="closed"]::before { background: var(--closed); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; margin: 20px 0 18px; max-width: 13ch; }
.hero h1 em { font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%); padding: 0 2px; }
@media (prefers-color-scheme: dark) { .hero h1 em { background: none; color: var(--gold); } }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; max-width: 470px; justify-self: end; width: 100%; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.mosaic .big { grid-row: span 2; height: 100%; aspect-ratio: auto; }
.mosaic .stack { display: grid; gap: 14px; align-content: start; }

/* Promise band */
.promise { background: var(--gold); color: var(--gold-ink); }
.promise ul { list-style: none; margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 24px; }
.promise li { font-weight: 800; font-size: 18px; }

/* Sections */
.section { padding: 80px 0; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.lede { color: var(--muted); margin-top: 10px; max-width: 60ch; }

/* Menu */
.cats {
  position: sticky; top: var(--header-h); z-index: 10;
  background: var(--bg); border-bottom: 1px solid var(--line);
  margin-top: 28px;
}
.cats ol { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats ol::-webkit-scrollbar { display: none; }
.cats a {
  display: block; white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.cats a:hover { border-color: var(--ink); }
.cats a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cat { padding-top: 48px; scroll-margin-top: 56px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 6px; }
.cat-head h3 { font-size: 28px; font-weight: 800; }
.sizes { font-size: 14px; font-weight: 700; color: var(--muted); }
.cat-note { color: var(--muted); max-width: 70ch; }
.extras { margin-top: 14px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.extras strong { color: var(--ink); }
.extras span { white-space: nowrap; }

.items { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.item {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 10px 10px;
}
.item img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
.item-name { font-weight: 700; line-height: 1.3; }
.item-num { color: var(--red-text); font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }
.item-desc { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.price { font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 3px; }
.price .sep { color: var(--line); margin: 0 6px; }
.items.wide .item { align-items: start; }

.combo-tiles { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.combo-tiles li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.combo-tiles img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.combo-tiles div { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.combo-tiles h4 { margin: 0; font-size: 19px; }
.combo-tiles .price { font-size: 22px; margin: 0; }
.choices { margin-top: 18px; }
.choices h4 { margin: 0 0 10px; font-size: 16px; }
.choices ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 26%, var(--surface)); }
.choices li b { color: var(--red-text); margin-right: 4px; }

.family { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.family > li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.family > li > img { width: 170px; height: 204px; object-fit: cover; border-radius: var(--radius-sm); }
.family h4 { margin: 2px 0 2px; font-size: 21px; }
.family .serves { color: var(--muted); font-size: 15px; font-weight: 600; }
.family ul { margin: 10px 0 0; padding-left: 18px; font-size: 15px; columns: 2; column-gap: 22px; }
.family .price { font-size: 22px; }

.small-lists { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 40px; }
.compact { list-style: none; margin: 18px 0 0; padding: 4px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.compact li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.compact li + li { border-top: 1px solid var(--line); }
.compact .price { margin: 0; white-space: nowrap; }

.menu-foot { margin-top: 44px; color: var(--muted); font-size: 15px; }

/* Location */
.visit { background: var(--surface); border-block: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.address { font-style: normal; font-size: 20px; font-weight: 700; margin-top: 18px; line-height: 1.4; }
.phones { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-weight: 700; }
.phones a { color: var(--red-text); text-decoration: none; }
.phones a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; margin-top: 26px; font-variant-numeric: tabular-nums; max-width: 420px; }
.hours th, .hours td { text-align: left; padding: 9px 12px; font-weight: 600; }
.hours td { text-align: right; }
.hours tr.today { background: color-mix(in srgb, var(--gold) 30%, transparent); }
.hours tr.today th, .hours tr.today td { font-weight: 800; }
.hours tr.today th { border-radius: 8px 0 0 8px; }
.hours tr.today td { border-radius: 0 8px 8px 0; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.about-copy p + p { margin-top: 16px; }
.about-copy p { max-width: 62ch; }
.about-copy h2 { margin-bottom: 18px; }
.award { border-left: 6px solid var(--red); padding: 6px 0 6px 24px; }
.award .big { font-size: 64px; font-weight: 800; line-height: 1; color: var(--red-text); }
.award p { margin-top: 10px; max-width: 30ch; }
.award .big + p { font-weight: 700; font-size: 19px; }
.award p:last-child { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 40px; align-items: start; }
.foot-grid img { width: 70px; height: 73px; }
.foot-grid address { font-style: normal; line-height: 1.6; }
.foot-links { display: grid; gap: 6px; text-align: right; }
.foot-links a { font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--red-text); }
.copyright { margin-top: 28px; color: var(--muted); font-size: 14px; }

/* Phone bar (small screens only) */
.phone-bar { display: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 60px 0; }
.notfound img { margin: 0 auto; width: 120px; }

@media (max-width: 1020px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  .hero-grid, .visit-grid, .about-grid { grid-template-columns: 1fr; }
  .mosaic { justify-self: start; max-width: 420px; }
  .promise ul { grid-template-columns: repeat(2, auto); justify-content: start; }
  .small-lists { grid-template-columns: 1fr; }
  .combo-tiles { grid-template-columns: 1fr; max-width: 520px; }
  .combo-tiles li { display: grid; grid-template-columns: 140px 1fr; }
  .combo-tiles img { height: 100%; aspect-ratio: auto; }
  .combo-tiles div { flex-direction: column; justify-content: center; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .header-row { gap: 14px; }
  .brand img { width: 38px; height: 40px; }
  .brand-text span { display: none; }
  .nav { gap: 16px; margin-left: auto; margin-right: 0; }
  .nav a { font-size: 14px; }
  .header-actions { display: none; }
  .hero { padding: 32px 0 44px; }
  .hero h1 { margin-top: 16px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .mosaic { gap: 10px; }
  .mosaic .stack { gap: 10px; }
  .section { padding: 56px 0; }
  .items { grid-template-columns: 1fr; gap: 10px; }
  .item { grid-template-columns: 72px 1fr; }
  .item img { width: 72px; height: 72px; }
  .family > li { grid-template-columns: 1fr; }
  .family > li > img { width: 100%; height: auto; max-width: 250px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { text-align: left; }
  .map, .map iframe { min-height: 320px; }
  .phone-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
  }
  .phone-bar .btn { min-height: 46px; padding: 0 10px; font-size: 15px; }
}

@media (max-width: 380px) {
  .nav { gap: 12px; }
  .brand-text strong { font-size: 15px; }
  .family ul { columns: 1; }
}

@media print {
  .site-header, .cats, .phone-bar, .map, .hero-ctas, .visit-ctas { display: none !important; }
  body { background: #fff; color: #000; }
}
