/* ==========================================================
   Dumpling Wang 蒸旺小笼 — licrestaurantdimsum.com (Long Island City, Queens)
   Lacquer red, bamboo gold, steamed-bun cream and ink.
   ========================================================== */
:root {
    --ink: #1e1714;
    --ink-2: #2c221d;
    --red: #8f2318;
    --red-2: #b2341f;
    --gold: #c9973f;
    --gold-pale: #f3e2bf;
    --cream: #fbf6ec;
    --bun: #f4ead8;
    --line: #e6d8bf;
    --text: #3a2f29;
    --muted: #7a6a5f;
    --white: #ffffff;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    --radius: 16px;
    --shadow: 0 20px 50px -28px rgba(30, 23, 20, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
[lang="zh-Hans"] { font-family: var(--zh); }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold-pale); }
.zh { font-family: var(--zh); font-weight: 500; color: var(--red); font-size: .7em; margin-left: .35em; letter-spacing: .05em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.narrow-wide { max-width: 940px; }
.center { text-align: center; }
.center .areas, .center-actions { justify-content: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }

.eyebrow {
    font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--red); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; max-width: 640px; }
.big { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.4; }
.note { font-size: .9rem; color: var(--muted); }
.text-link { color: var(--red); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--red-2); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: .95rem;
    text-decoration: none; border: 2px solid transparent; transition: all .25s ease; cursor: pointer;
    line-height: 1.2;
}
.btn-red, .nav .btn { background: var(--red); color: #fff; }
.btn-red:hover, .nav .btn:hover { background: var(--red-2); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--gold-pale); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }

/* ---------- header ---------- */
.announce {
    background: var(--ink); color: var(--gold-pale); font-size: .82rem; text-align: center;
    padding: 7px 16px;
}
.announce a { color: #fff; font-weight: 700; text-decoration: none; }
.site-header {
    position: sticky; top: 0; z-index: 100; background: var(--cream);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--red); }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.logo-sub { font-size: .76rem; color: var(--muted); letter-spacing: .06em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink); }
.nav a:not(.btn):hover, .nav a.active { color: var(--red); }
.nav a.active { font-weight: 700; }
.nav .btn { padding: .65em 1.2em; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero { min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,23,20,.88) 0%, rgba(30,23,20,.6) 48%, rgba(30,23,20,.2) 100%); }
.hero-content, .page-hero .container { position: relative; padding: 110px 0 70px; }
.hero h1, .page-hero h1 { color: #fff; max-width: 820px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.hero .lead, .page-hero .lead { color: rgba(255,255,255,.88); }
.hero-facts { list-style: none; padding: 0; margin: 1.5em 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-facts li { padding-left: 16px; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-facts a { color: #fff; font-weight: 700; text-decoration: none; }
.page-hero .container { padding: 120px 0 64px; }
.page-hero.short .container { padding: 90px 0 48px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--bun); }
.section.dark { background: var(--ink); color: rgba(255,255,255,.86); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--gold); }
.section-head { max-width: 700px; margin: 0 auto 48px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.card {
    background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none;
    box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 22px; }
.card-body h3 { margin-bottom: .15em; }
.card-zh { color: var(--red); font-size: .88rem; margin-bottom: .6em; }
.card-body p:last-child { margin: 0; font-size: .95rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.tint .feature { background: var(--cream); }
.feature-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 14px; }
.feature p { margin: 0; }

/* ---------- dishes ---------- */
.dishes { display: grid; gap: 6px; margin: 28px 0; }
.dish { padding: 18px 0; border-bottom: 1px dashed var(--line); scroll-margin-top: 110px; }
.dish-head { display: flex; align-items: baseline; gap: 10px; }
.dish-head h3 { margin: 0; font-size: 1.18rem; }
.dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.price { font-family: var(--serif); font-weight: 600; color: var(--red); font-size: 1.15rem; white-space: nowrap; }
.dish-sub { margin: 2px 0 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dish-sub .zh { margin-left: 0; font-size: .9rem; }
.dish p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }
.badge { background: var(--gold-pale); color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.also { background: var(--bun); border-radius: var(--radius); padding: 22px 26px; margin-top: 10px; }
.also ul { margin: 0 0 .8em; padding-left: 1.2em; columns: 2; }
.also .note { margin: 0; }

.menu-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.side-card { background: var(--ink); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 32px; position: sticky; top: 110px; }
.side-card h3 { color: #fff; }
.steps { margin: 0; padding-left: 1.2em; }
.steps li { margin-bottom: .7em; }
.steps li::marker { color: var(--gold); font-weight: 700; }

/* ---------- full menu ---------- */
.menu-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.menu-jump a { text-decoration: none; border: 1px solid var(--line); background: var(--white); padding: .5em 1.1em; border-radius: 999px; font-weight: 500; font-size: .92rem; }
.menu-jump a:hover { border-color: var(--red); color: var(--red); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.menu-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 18px; scroll-margin-top: 110px; }
.menu-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--red); padding-bottom: 10px; margin-bottom: 6px; }
.menu-block-head h2 { font-size: 1.45rem; margin: 0; }
.menu-block-head .text-link { font-size: .85rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 11px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.price { text-align: right; padding-left: 14px; }
.price-table small { display: block; color: var(--muted); font-size: .85rem; }
.price-table tr.ask td { color: var(--muted); }
.price-table tr.ask td.price { font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--muted); }
.menu-foot { text-align: center; max-width: 720px; margin: 44px auto 0; color: var(--muted); }

/* ---------- hours / visit / contact ---------- */
.hours-table { width: 100%; max-width: 420px; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.map.tall iframe { height: 100%; min-height: 560px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card h2 { font-size: 1.2rem; color: var(--red); font-family: var(--sans); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.info-card .big a { text-decoration: none; }
.info-card .hours-table { font-size: .88rem; }

.areas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.areas span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; font-size: .9rem; }

/* ---------- faq ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 8px; }
.faq .answer a { color: var(--red); font-weight: 700; }

.notfound { min-height: 55vh; display: flex; align-items: center; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 0; font-size: .94rem; }
footer a { color: rgba(255,255,255,.85); text-decoration: none; }
footer a:hover { color: var(--gold); }
.footer-content { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-section h3 { color: #fff; font-size: 1.05rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1em; }
.footer-section p { margin: 0 0 .6em; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--red-2) !important; }
.footer-logo svg { width: 42px; height: 42px; }
.footer-logo .logo-name { color: #fff; }
.footer-zh { color: var(--gold); letter-spacing: .2em; margin-top: .6em !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-partner { text-align: right; }
.mobile-bar { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .nav { gap: 16px; }
    .nav a { font-size: .88rem; }
}
@media (max-width: 960px) {
    .menu-toggle {
        display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
        border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
    }
    .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
        display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: all .25s ease;
    }
    .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
    .menu-toggle span::before { top: -6px; }
    .menu-toggle span::after { top: 6px; }
    .menu-open .menu-toggle span { background: transparent; }
    .menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
    .menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
    .nav {
        position: fixed; left: 0; right: 0; top: var(--header-h, 110px); bottom: 0;
        flex-direction: column; align-items: stretch; gap: 0; background: var(--cream);
        padding: 12px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden;
        transition: transform .3s ease, visibility .3s;
    }
    .menu-open .nav { transform: none; visibility: visible; }
    .nav a { font-size: 1.1rem; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .nav .btn { margin-top: 20px; border-bottom: 0; padding: 14px; }
    .split, .visit, .menu-layout, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .side-card { position: static; }
    .menu-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .map.tall iframe { min-height: 380px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: 62px; }
    .announce { font-size: .74rem; }
    .header-inner { min-height: 66px; }
    .logo svg { width: 40px; height: 40px; }
    .logo-name { font-size: 1.25rem; }
    .cards { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .also ul { columns: 1; }
    .hero { min-height: 640px; }
    .hero-content { padding: 90px 0 48px; }
    .page-hero .container { padding: 80px 0 44px; }
    .hero-shade { background: linear-gradient(180deg, rgba(30,23,20,.45) 0%, rgba(30,23,20,.9) 70%); }
    .menu-block { padding: 24px 20px 12px; }
    .dish-head { flex-wrap: wrap; }
    .dots { display: none; }
    .dish-head .price { margin-left: auto; }
    .footer-content { grid-template-columns: 1fr; gap: 28px; }
    .footer-partner { text-align: left; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        box-shadow: 0 -6px 20px rgba(0,0,0,.15);
    }
    .mobile-bar a { padding: 17px 10px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; background: var(--ink); }
    .mobile-bar a:last-child { background: var(--red); }
}
