/* Chop Suey Hut — CONCEPT B: "Since '71 · Fortune Slip"
   Warm and a little retro, from the old site's own palette (brown #654321, gold #dfaf37,
   cream #efd8c1) and 1971. Headings are a soft, chunky 70s serif (Fraunces, SOFT axis up);
   body is DM Sans. The memorable idea: **fortune slips** — reviews, the award line and the
   Birthday Club offer are printed on little white slips (Courier Prime, with "lucky numbers")
   like the fortune cookies on their menu. A three-stripe 70s band (gold / amber / brown)
   underlines sections. The Birthday Club form is a mailed postcard, with a $10 stamp,
   because that is how the gift arrives. The logo is a CSS mask tinted brown (light) or
   gold (dark). */

:root {
  --brown: #654321;
  --gold: #dfaf37;
  --amber: #c2702a;
  --bg: #f4e6cf;
  --card: #fbf3e4;
  --slip: #fffdf6;
  --slip-ink: #5a2d12;
  --ink: #3a2414;
  --muted: #74583f;
  --line: #e2cba8;
  --accent: #a44f14;        /* links, small headings on cream (AA) */
  --logo: #654321;
  --btn: #654321;
  --btn-ink: #fbf3e4;
  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --font: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c130c;
    --card: #2a1d13;
    --ink: #f4e6cf;
    --muted: #c9b08e;
    --line: #47331f;
    --accent: #f0b65a;
    --logo: #dfaf37;
    --btn: #dfaf37;
    --btn-ink: #1c130c;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c130c;
  --card: #2a1d13;
  --ink: #f4e6cf;
  --muted: #c9b08e;
  --line: #47331f;
  --accent: #f0b65a;
  --logo: #dfaf37;
  --btn: #dfaf37;
  --btn-ink: #1c130c;
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.2em; }
h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 62ch; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: absolute; inset-inline-start: 1rem; inset-block-start: -4rem; z-index: 50; padding: 0.6rem 1rem; background: var(--btn); color: var(--btn-ink); }
.skip-link:focus { inset-block-start: 1rem; }
.visually-hidden { position: absolute !important; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.kicker { margin: 0 0 0.75rem; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* 70s stripes */
.stripes { block-size: 18px; background: linear-gradient(var(--gold) 0 6px, var(--amber) 6px 12px, var(--brown) 12px 18px); }
.stripes.thin { block-size: 9px; background: linear-gradient(var(--gold) 0 3px, var(--amber) 3px 6px, var(--brown) 6px 9px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 3rem; padding: 0.6rem 1.4rem; border: 2px solid var(--btn); border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform 0.12s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.site-header::after { content: ""; display: block; block-size: 9px; background: linear-gradient(var(--gold) 0 3px, var(--amber) 3px 6px, var(--brown) 6px 9px); }
.header-inner { display: flex; align-items: center; gap: 0.75rem; width: min(100% - 1.5rem, 72rem); margin-inline: auto; padding: 0.6rem 4px; overflow: hidden; }
.header-inner > * { flex-shrink: 0; white-space: nowrap; }
.site-logo { margin-inline-end: auto; display: block; inline-size: 210px; aspect-ratio: 362 / 62; background: var(--logo); -webkit-mask: url("/images/logo.svg") center / contain no-repeat; mask: url("/images/logo.svg") center / contain no-repeat; }
@media (min-width: 48rem) { .site-logo { inline-size: 250px; } }
.menu-button { display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 3rem; padding: 0.5rem 1rem; border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: 700 1rem var(--font); cursor: pointer; }
.menu-button svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 30rem) {
  .header-inner { gap: 0.5rem; }
  .site-logo { inline-size: 140px; }
  .menu-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-inner .btn { padding-inline: 0.9rem; }
}
.site-menu { list-style: none; margin: 0; padding: 0.5rem; }
.site-menu a { display: block; padding: 0.7rem 1rem; color: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; }
.site-menu a:hover { background: var(--card); }
.site-menu a[aria-current="page"] { color: var(--accent); }
.site-header .menu-button { anchor-name: --menu-button; }
.site-header .site-menu { position: fixed; inset: auto; inset-block-start: 5rem; inset-block-start: anchor(--menu-button bottom); inset-inline-end: 1rem; inline-size: min(80dvw, 20rem); margin: 0.5rem 0 0; background: var(--card); color: var(--ink); border: 2px solid var(--brown); border-radius: 18px; box-shadow: 6px 6px 0 var(--gold); }
.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu { position: static; display: flex; align-items: center; gap: 0.1rem; inline-size: auto; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.is-measuring * { transition: none !important; }
.theme-toggle { display: flex; align-items: center; gap: 0.75rem; inline-size: 100%; min-block-size: 3rem; padding: 0.7rem 1rem; border: 0; border-radius: 999px; background: transparent; color: inherit; font: 700 1rem var(--font); cursor: pointer; }
.theme-toggle svg { flex: none; width: 1.25rem; height: 1.25rem; }
.theme-toggle .icon-sun, .theme-toggle[aria-pressed="true"] .icon-moon { display: none; }
.theme-toggle[aria-pressed="true"] .icon-sun { display: block; }
.site-header.is-wide .theme-toggle { inline-size: 3rem; justify-content: center; padding: 0; border: 2px solid var(--line); }
.site-header.is-wide .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@supports not selector(:popover-open) { [popover]:not(.\:popover-open) { display: none; } }

/* Fortune slip */
.slip { position: relative; display: block; padding: 1rem 1.4rem 0.8rem; background: var(--slip); color: var(--slip-ink); font-family: var(--mono); font-size: 1.02rem; line-height: 1.45; box-shadow: 0 1px 0 rgb(0 0 0 / 0.06), 0 8px 18px -10px rgb(60 30 10 / 0.45); }
.slip::before, .slip::after { content: ""; position: absolute; inset-block: 0.6rem; inline-size: 2px; background: repeating-linear-gradient(var(--line) 0 4px, transparent 4px 8px); }
.slip::before { inset-inline-start: 0.5rem; }
.slip::after { inset-inline-end: 0.5rem; }
.slip .lucky { display: block; margin-block-start: 0.5rem; padding-block-start: 0.4rem; border-block-start: 1px dashed #d9bfa0; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a5a35; }

/* Hero */
.hero { overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5rem); }
@media (min-width: 54rem) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 6.6rem); color: var(--ink); }
.hero h1 span { color: var(--amber); }
.year { display: inline-flex; align-items: baseline; gap: 0.5rem; margin: 0 0 1rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--accent); }
.hero .lede { font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.75rem 1.25rem; }
.plate { position: relative; justify-self: center; inline-size: min(100%, 30rem); }
.plate img { aspect-ratio: 1; object-fit: cover; object-position: 30% 50%; border-radius: 50%; border: 10px solid var(--card); box-shadow: 0 0 0 3px var(--gold), 0 0 0 9px var(--amber), 0 0 0 15px var(--brown); }
.plate .slip { position: absolute; inset-inline-start: -0.5rem; inset-block-end: 6%; max-inline-size: 17rem; rotate: -4deg; }

/* Award strip */
.award-strip { background: var(--brown); color: #fbf3e4; }
.award-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; padding-block: 1.5rem; text-align: center; }
.award-strip strong { font-family: var(--display); font-size: 1.5rem; font-variation-settings: "SOFT" 100; color: var(--gold); }
.years { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.years li { padding: 0.25rem 0.7rem; border: 2px solid var(--gold); border-radius: 999px; font-weight: 700; font-size: 0.95rem; }

/* Dishes: round plates on cards */
.dishes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); list-style: none; margin: 2.5rem 0 0; padding: 0; }
.dish { padding: 1.5rem; background: var(--card); border-radius: 28px; text-align: center; }
.dish img { inline-size: 78%; margin: 0 auto 1rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--bg), 0 0 0 9px var(--gold); }
.dish p { margin: 0 auto; color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }

/* Fresh made band */
.fresh { background: var(--card); }
.fresh .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 54rem) { .fresh .wrap { grid-template-columns: 1fr 1fr; } }
.fresh img { border-radius: 28px; aspect-ratio: 4 / 3; object-fit: cover; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; }
.pills li { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: 0.95rem; }

/* Reviews as slips */
.slips { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-block-start: 2rem; }
.slips .slip:nth-child(1) { rotate: -1.5deg; }
.slips .slip:nth-child(2) { rotate: 1deg; translate: 0 0.75rem; }
.slips .slip:nth-child(3) { rotate: -0.5deg; }

/* Birthday teaser: a giant slip */
.bday-teaser .slip { max-inline-size: 44rem; margin-inline: auto; padding: 2rem 2.5rem 1.5rem; text-align: center; font-size: clamp(1.25rem, 3vw, 1.7rem); rotate: -1deg; }
.bday-teaser .slip .lucky { font-size: 0.85rem; }
.bday-teaser .actions { display: flex; justify-content: center; margin-block-start: 2rem; }

/* Visit */
.visit-grid { display: grid; gap: 2.5rem; }
@media (min-width: 54rem) { .visit-grid { grid-template-columns: 1fr 1.2fr; } }
.hours-card { padding: 1.5rem 1.75rem; background: var(--card); border-radius: 28px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: end; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 22rem; border: 0; border-radius: 28px; }
.es { font-style: italic; color: var(--muted); font-size: 0.95rem; margin-block-start: 1.25rem; }

/* Footer */
.site-footer { background: var(--brown); color: #f4e6cf; padding-block: 0 2rem; }
.site-footer a { color: #fbf3e4; }
.site-footer .wrap { padding-block-start: 2.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.footer-grid p { margin: 0 0 0.4rem; }
.footer-grid address { font-style: normal; }
.footer-logo { inline-size: 200px; aspect-ratio: 362 / 62; margin-block-end: 0.75rem; background: var(--gold); -webkit-mask: url("/images/logo.svg") center / contain no-repeat; mask: url("/images/logo.svg") center / contain no-repeat; }
.legal { margin-block-start: 2rem; font-size: 0.85rem; color: #d9bf9d; }

/* Birthday page: postcard form */
.page-head { text-align: center; }
.page-head .wrap { padding-block: clamp(2.5rem, 7vw, 4.5rem) 1rem; }
.page-head h1 { font-size: clamp(3rem, 9vw, 5.8rem); }
.page-head h1 span { color: var(--amber); }
.page-head p { margin-inline: auto; font-size: 1.15rem; }
.postcard { position: relative; max-inline-size: 60rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--slip); color: #3a2414; border-radius: 6px; box-shadow: 0 18px 40px -22px rgb(60 30 10 / 0.7); }
.postcard::before { content: ""; position: absolute; inset: 10px; border: 2px dashed #e2cba8; border-radius: 4px; pointer-events: none; }
.postcard-grid { position: relative; display: grid; gap: 2rem; }
@media (min-width: 52rem) { .postcard-grid { grid-template-columns: 1fr 1.25fr; } .postcard-grid > :first-child { padding-inline-end: 2rem; border-inline-end: 2px solid #e2cba8; } }
.postcard h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: #654321; }
.postcard .note { font-family: var(--mono); color: #5a2d12; }
.stamp { float: inline-end; display: grid; place-items: center; inline-size: 6.5rem; aspect-ratio: 5 / 6; margin: 0 0 1rem 1rem; padding: 6px; background: radial-gradient(circle, transparent 4px, #dfaf37 4.5px) -6px -6px / 12px 12px; rotate: 4deg; }
.stamp div { display: grid; place-items: center; inline-size: 100%; block-size: 100%; background: #654321; color: #fbf3e4; font-family: var(--display); font-weight: 800; text-align: center; line-height: 1; }
.stamp strong { font-size: 2rem; color: #dfaf37; }
.stamp span { font-family: var(--font); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.postmark { position: relative; margin-block-start: 1.5rem; inline-size: 5.5rem; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid rgb(164 79 20 / 0.55); border-radius: 50%; color: rgb(164 79 20 / 0.7); font: 700 0.62rem/1.2 var(--mono); text-align: center; text-transform: uppercase; rotate: -12deg; }
.fields { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(6, 1fr); }
.field { grid-column: span 6; display: grid; gap: 0.2rem; }
@media (min-width: 36rem) { .half { grid-column: span 3; } .third { grid-column: span 2; } }
.field label, fieldset legend { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: #74583f; }
fieldset { grid-column: span 6; margin: 0; padding: 0; border: 0; min-width: 0; }
input, select { inline-size: 100%; min-block-size: 2.75rem; padding: 0.4rem 0.2rem; border: 0; border-block-end: 2px solid #c9a97f; border-radius: 0; background: transparent; color: #3a2414; font: 1.05rem var(--font); }
select { color-scheme: light; }
input:focus-visible, select:focus-visible { outline: none; border-block-end-color: #a44f14; box-shadow: 0 2px 0 #a44f14; }
.bday { display: flex; gap: 1rem; }
.bday .field { grid-column: auto; inline-size: 8rem; }
.form-note { font-size: 0.9rem; color: #74583f; margin-block: 1.25rem; }
.postcard .btn-solid { background: #654321; color: #fbf3e4; border-color: #654321; }
.hp { position: absolute; left: -5000px; }
.how { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-block-end: 3rem; }
.how .slip:nth-child(odd) { rotate: -1deg; }
.how .slip:nth-child(even) { rotate: 1deg; }

/* Order via WhatsApp (RushTxt): the most prominent ordering button. Concept only: not wired yet. */
.btn-wa { background: #25d366; color: #05301a; border-color: #25d366; box-shadow: 0 8px 20px -8px rgb(37 211 102 / 0.75); }
.wa-icon { flex: none; inline-size: 1.35em; block-size: 1.35em; background: currentColor; -webkit-mask: url("/images/whatsapp.svg") center / contain no-repeat; mask: url("/images/whatsapp.svg") center / contain no-repeat; }
.btn-wa-big { min-block-size: 3.5rem; padding-inline: 1.7rem; font-size: 1.1rem; }
.btn-order-web { background: transparent; color: var(--ink); border-color: var(--line); }
@media (max-width: 44rem) { .header-inner .btn-order-web { display: none; } }
@media (max-width: 30rem) { .wa-long { display: none; } }
.hero-actions.center { justify-content: center; }

/* Awards */
.awards { background: var(--card); }
.awards-head { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 54rem) { .awards-head { grid-template-columns: 1.4fr 1fr; } }
.awards-head .slip { rotate: 2deg; justify-self: center; max-inline-size: 22rem; }
.badges { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); list-style: none; margin: 2.5rem 0 0; padding: 0; text-align: center; }
.badges img { inline-size: 100%; max-inline-size: 9rem; margin-inline: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px var(--amber), 0 0 0 9px var(--brown); }
.badges span { display: block; margin-block-start: 0.9rem; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.workplaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.workplaces img { block-size: 96px; inline-size: auto; padding: 10px 14px; background: #fff; border-radius: 18px; }

/* Dragon line art (from the old site), tinted, as a watermark */
.has-dragon { position: relative; overflow: hidden; }
.has-dragon .wrap { position: relative; }
.dragon { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%; inline-size: min(34rem, 90vw); aspect-ratio: 1; background: var(--logo); -webkit-mask: url("/images/dragon.png") center / contain no-repeat; mask: url("/images/dragon.png") center / contain no-repeat; opacity: 0.12; pointer-events: none; }
.bday-teaser .dragon { opacity: 0.18; }
@media (max-width: 30rem) {
  .site-logo { inline-size: 118px; }
  .menu-button { padding-inline: 0.75rem; }
  .header-inner .btn-wa { padding-inline: 0.85rem; gap: 0.4rem; }
}
