/* =========================================================
   Elephant Ear Thai Eatery — topthairestaurantnyc.com
   Design system: night-jungle green, temple gold, rice-paper cream
   ========================================================= */
:root {
    --ink: #0b120e;
    --jungle: #102019;
    --emerald: #17301f;
    --moss: #24412f;
    --gold: #c9a55c;
    --gold-light: #e6cd93;
    --gold-deep: #9c7a36;
    --cream: #f5eee0;
    --paper: #fbf7ef;
    --text: #2b2a25;
    --muted: #6f6a5c;
    --line: rgba(201, 165, 92, .28);
    --chili: #a7372b;
    --white: #ffffff;
    --dark-color: #0b120e;
    --accent-color: #e6cd93;
    --primary-color: #c9a55c;
    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
    --thai: "Noto Serif Thai", "Cormorant Garamond", serif;
    --radius: 4px;
    --shadow: 0 18px 50px rgba(8, 14, 10, .18);
    --transition: all .35s cubic-bezier(.2, .7, .2, 1);
    --wrap: 1240px;
}

*, *::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.75;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--chili); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 600; }
.thai { font-family: var(--thai); font-weight: 500; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- ornaments ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .8em;
    font-family: var(--sans); font-size: .78rem; font-weight: 500;
    letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep);
    margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--gold-light); }
.ornament { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 1.2rem auto 2rem; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 70px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament span { width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.lead { font-size: 1.2rem; color: var(--muted); font-weight: 300; }
.section-dark .lead { color: rgba(245, 238, 224, .78); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    padding: 1rem 2.1rem; border: 1px solid var(--gold); border-radius: 0;
    font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
    background: var(--gold); color: var(--ink); cursor: pointer; transition: var(--transition);
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover { background: var(--gold); color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.btn-dark:hover { background: var(--emerald); border-color: var(--emerald); color: var(--gold-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.text-link { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: rgba(245, 238, 224, .75); font-size: .8rem; letter-spacing: .06em; }
.topbar .container { display: flex; justify-content: space-between; gap: 18px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--gold-light); }
.topbar span + span { margin-left: 22px; }
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(11, 18, 14, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 165, 92, .22);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo a { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; transition: opacity .3s; }
.logo a:hover { opacity: .85; color: var(--cream); }
.logo img { width: 54px; height: 54px; border-radius: 50%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--cream); letter-spacing: .04em; }
.logo-text em { font-style: normal; font-size: .64rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
    display: block; padding: 10px 12px; color: rgba(245, 238, 224, .86);
    font-size: .76rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav .nav-cta { margin-left: 10px; border: 1px solid var(--gold); color: var(--gold-light); padding: 10px 18px; }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { background: var(--gold); color: var(--ink); }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 7px; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sub {
    position: absolute; top: 100%; left: 0; min-width: 260px; padding: 12px 0 !important;
    background: var(--ink); border: 1px solid var(--line); flex-direction: column; align-items: stretch !important;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); box-shadow: var(--shadow);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: 9px 22px; letter-spacing: .12em; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 1px; background: var(--gold-light); margin: 6px 0; transition: var(--transition); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 118px); min-height: calc(100svh - 118px); display: flex; align-items: center; color: var(--cream); overflow: hidden; background: var(--ink); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 13, 10, .88) 0%, rgba(8, 13, 10, .55) 50%, rgba(8, 13, 10, .25) 100%), linear-gradient(0deg, rgba(8, 13, 10, .7), transparent 40%); }
.hero .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 90px; }
.hero h1 { color: var(--cream); max-width: 820px; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { color: rgba(245, 238, 224, .85); max-width: 620px; font-size: 1.22rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(201, 165, 92, .3); max-width: 760px; font-size: .9rem; color: rgba(245, 238, 224, .75); }
.hero-meta strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.hero-thai { font-family: var(--thai); color: var(--gold); font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 18px; display: block; }

.page-hero { position: relative; color: var(--cream); background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 10, .9), rgba(8, 13, 10, .45)); }
.page-hero .container { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 96px; }
.page-hero h1 { color: var(--cream); max-width: 900px; }
.page-hero p { max-width: 720px; font-size: 1.18rem; color: rgba(245, 238, 224, .85); font-weight: 300; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.breadcrumb li { margin: 0; color: rgba(245, 238, 224, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumb a { color: var(--gold-light); }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--jungle); color: rgba(245, 238, 224, .82); position: relative; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: var(--cream); }
.section-dark a:not(.btn) { color: var(--gold-light); }
.section-ink { background: var(--ink); }
.pattern { background-image: radial-gradient(rgba(201, 165, 92, .09) 1px, transparent 1px); background-size: 22px 22px; }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(245, 238, 224, .72); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); z-index: -1; }
.split.reverse .split-media::before { inset: -18px -18px 18px 18px; }
.split-media .tall { aspect-ratio: 4 / 5; }
.split-media .wide { aspect-ratio: 4 / 3; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.media-pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.media-pair img:last-child { margin-top: 60px; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.prose h3 { margin-top: 1.6em; }
.prose figure { margin: 2.4em 0; }
.prose figure img { width: 100%; }
.prose figcaption, figcaption { font-size: .85rem; color: var(--muted); margin-top: .7em; font-style: italic; }
.prose blockquote, blockquote.pull { margin: 2em 0; padding: 1.4em 2em; border-left: 2px solid var(--gold); background: var(--cream); font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: var(--ink); }
.prose ul li::marker { color: var(--gold); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid rgba(201, 165, 92, .18); transition: var(--transition); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { overflow: hidden; aspect-ratio: 4 / 3; }
.card-img.portrait { aspect-ratio: 4 / 5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.55rem; margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-body .text-link { margin-top: auto; align-self: flex-start; }
.card .thai-name { font-family: var(--thai); color: var(--gold-deep); font-size: .95rem; margin-bottom: .6em; display: block; }
.section-dark .card { background: rgba(255, 255, 255, .03); border-color: var(--line); }
.section-dark .card p { color: rgba(245, 238, 224, .7); }
.price-tag { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-deep); font-weight: 600; }
.section-dark .price-tag { color: var(--gold-light); }

.dish-card .card-img { aspect-ratio: 4 / 5; }
.dish-card .card-body { padding: 24px 24px 28px; }
.dish-card .card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-card h3 { font-size: 1.4rem; }

.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { padding: 40px 30px; text-align: center; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature svg { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 16px; }
.feature h3 { font-size: 1.35rem; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }
.section-dark .feature p { color: rgba(245, 238, 224, .7); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 500; color: var(--gold-light); line-height: 1; margin-bottom: 10px; }
.stat span { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(245, 238, 224, .7); }

/* ---------- flavor wheel / five tastes ---------- */
.tastes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.taste { padding: 34px 20px; text-align: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.taste b { display: block; font-family: var(--thai); font-size: 1.9rem; color: var(--gold-light); font-weight: 500; margin-bottom: 4px; }
.taste h3 { font-size: 1.3rem; margin-bottom: .3em; }
.taste p { font-size: .9rem; margin: 0; color: rgba(245, 238, 224, .7); }

/* ---------- menu ---------- */
.menu-nav { position: sticky; top: 84px; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.menu-nav a { white-space: nowrap; padding: 8px 16px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); border: 1px solid transparent; }
.menu-nav a:hover { border-color: var(--gold); color: var(--gold-deep); }
.menu-section { padding: 80px 0 30px; scroll-margin-top: 150px; }
.menu-section-head { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: start; }
.menu-section-head .sticky-media { position: sticky; top: 170px; }
.menu-section-head .sticky-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item { padding: 22px 0; border-bottom: 1px dashed rgba(156, 122, 54, .35); margin: 0; }
.menu-item-top { display: flex; align-items: baseline; gap: 12px; }
.menu-item h3 { font-size: 1.45rem; margin: 0; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted rgba(156, 122, 54, .55); transform: translateY(-6px); }
.menu-item .price { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.menu-item p { margin: 6px 0 0; color: var(--muted); font-size: .96rem; }
.menu-item .tags { display: inline-flex; gap: 6px; margin-left: 8px; vertical-align: middle; }
.tag { display: inline-block; font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--gold); color: var(--gold-deep); line-height: 1.4; }
.tag.hot { border-color: var(--chili); color: var(--chili); }
.tag.sig { background: var(--gold); color: var(--ink); }
.menu-note { font-size: .9rem; color: var(--muted); border: 1px solid var(--line); padding: 18px 22px; background: var(--cream); }

/* ---------- glossary / ingredient list ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.gloss-item { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.gloss-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.gloss-item h3 { font-size: 1.4rem; margin-bottom: .2em; }
.gloss-item .thai { color: var(--gold-deep); font-size: .95rem; display: block; margin-bottom: .4em; }
.gloss-item p { font-size: .96rem; color: var(--muted); margin: 0; }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 0 0 46px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 106px; top: 10px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.tl-year { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); font-weight: 600; padding-right: 20px; text-align: right; }
.section-dark .tl-year { color: var(--gold-light); }
.tl-item h3 { font-size: 1.4rem; margin-bottom: .3em; }
.tl-item p { margin: 0; }

/* ---------- region cards ---------- */
.region { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); margin-bottom: 40px; border: 1px solid rgba(201, 165, 92, .2); }
.region:nth-child(even) > :first-child { order: 2; }
.region-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.region-body { padding: 56px 54px; }
.region-body .thai { color: var(--gold-deep); font-size: 1.1rem; display: block; margin-bottom: .4em; }
.region-body ul { columns: 2; column-gap: 30px; font-size: .95rem; }

/* ---------- video ---------- */
.video-band { position: relative; min-height: 560px; display: flex; align-items: center; color: var(--cream); overflow: hidden; background: var(--ink); }
.video-band video, .video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 10, .86), rgba(8, 13, 10, .35)); }
.video-band .container { position: relative; z-index: 2; }
.video-band h2 { color: var(--cream); max-width: 640px; }
.video-band p { max-width: 560px; color: rgba(245, 238, 224, .84); }
.video-credit { position: absolute; right: 16px; bottom: 10px; z-index: 3; font-size: .68rem; color: rgba(245, 238, 224, .55); }
.video-credit a { color: rgba(245, 238, 224, .7) !important; }
.video-frame { position: relative; box-shadow: var(--shadow); background: var(--ink); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- gallery ---------- */
.gallery-grid { columns: 4 260px; column-gap: 14px; }
.gallery-grid a { display: block; margin-bottom: 14px; overflow: hidden; break-inside: avoid; position: relative; }
.gallery-grid img { width: 100%; transition: transform 1s ease, filter .4s; }
.gallery-grid a:hover img { transform: scale(1.05); filter: brightness(1.08); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter-bar button { background: none; border: 1px solid var(--line); padding: 9px 20px; font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; color: var(--text); }
.filter-bar button.active, .filter-bar button:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.lightbox { position: fixed; inset: 0; background: rgba(5, 8, 6, .95); z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; box-shadow: 0 0 60px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--gold-light); font-size: 2.4rem; cursor: pointer; padding: 10px 18px; font-family: var(--serif); }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.strip img { aspect-ratio: 1; object-fit: cover; width: 100%; filter: saturate(1.05); transition: var(--transition); }
.strip a:hover img { opacity: .8; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.quote { padding: 40px 34px; border: 1px solid var(--line); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -8px; left: 26px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--cream); font-style: italic; }
.quote cite { font-style: normal; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- info / hours ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.info-cell { padding: 44px 38px; border-right: 1px solid var(--line); }
.info-cell:last-child { border-right: 0; }
.info-cell svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.info-cell h3 { font-size: 1.45rem; }
.info-cell p { margin: 0 0 .4em; }
.walk-list { list-style: none; padding: 0; margin: 0; }
.walk-list li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.walk-list li span:last-child { color: var(--gold-deep); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.section-dark .walk-list li span:last-child { color: var(--gold-light); }
.map-embed { width: 100%; height: 440px; border: 0; filter: grayscale(.35) contrast(1.05); display: block; }

/* ---------- table ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--white); }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); background: var(--cream); font-weight: 500; }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 20px; font-size: 1.8rem; color: var(--gold); font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--muted); }
.section-dark .faq summary { color: var(--cream); }
.section-dark .faq details > div { color: rgba(245, 238, 224, .75); }

/* ---------- forms ---------- */
.form-card { background: var(--white); padding: 50px; border: 1px solid rgba(201, 165, 92, .25); box-shadow: var(--shadow); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid rgba(156, 122, 54, .35); background: var(--paper);
    font-family: var(--sans); font-size: 1rem; color: var(--text); border-radius: 0; transition: border-color .3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-deep); background: var(--white); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { grid-column: 1 / -1; justify-self: start; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 120px 0; text-align: center; color: var(--cream); overflow: hidden; background: var(--ink); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cream); }
.cta-band p { max-width: 640px; margin: 0 auto 2em; color: rgba(245, 238, 224, .82); font-size: 1.15rem; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.post-card .card-img { aspect-ratio: 16 / 10; }
.post-meta { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .8em; display: block; }
.post-card h3 { font-size: 1.4rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--gold-deep); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }
.article-body { font-size: 1.06rem; }
.article-body h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-top: 1.7em; }
.article-body h3 { margin-top: 1.4em; font-size: 1.5rem; }
.article-body h4 { margin-top: 1.2em; }
.article-body figure { margin: 2.2em 0; }
.article-body ul li::marker { color: var(--gold); }
.sidebar { position: sticky; top: 110px; }
.side-box { background: var(--cream); padding: 32px 30px; margin-bottom: 26px; border: 1px solid var(--line); }
.side-box h3 { font-size: 1.35rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; font-size: .95rem; line-height: 1.45; }
.side-box.dark { background: var(--jungle); color: rgba(245, 238, 224, .8); }
.side-box.dark h3 { color: var(--cream); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-nav a { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
.post-nav small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.post-nav .next { text-align: right; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- footer (standard template) ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 5rem 0 1rem; margin-top: 0; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 3rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-brand strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--cream); letter-spacing: .04em; display: block; line-height: 1.1; }
.footer-brand span { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.2rem; font-family: var(--serif); letter-spacing: .04em; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, .8); line-height: 1.8; }
.footer-section p { margin: 0 0 .7em; font-size: .95rem; }
.footer-section a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); font-size: .88rem; }
.footer-bottom p { margin-bottom: .5rem; }
.footer-partner { margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }
.lang-zh { display: none; }
.social { display: flex; gap: 12px; margin-top: 10px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.social svg { width: 17px; height: 17px; }

.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
    .main-nav a { padding: 10px 8px; letter-spacing: .12em; font-size: .72rem; }
    .logo-text strong { font-size: 1.45rem; }
}
@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 84px; left: 0; right: 0; height: calc(100vh - 84px); height: calc(100dvh - 84px); background: var(--ink); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s ease, visibility 0s linear .45s; padding: 20px 24px 120px; }
    .main-nav.open { transform: none; visibility: visible; transition: transform .45s ease; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a { padding: 15px 4px; font-size: .86rem; border-bottom: 1px solid rgba(201, 165, 92, .14); }
    .main-nav .nav-cta { margin: 18px 0 0; text-align: center; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px !important; min-width: 0; background: transparent; }
    .has-sub > a::after { display: none; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .split, .menu-section-head, .article-layout { grid-template-columns: 1fr; gap: 50px; }
    .split.reverse > :first-child { order: 0; }
    .menu-section-head .sticky-media { position: static; max-width: 420px; }
    .grid-4, .feature-list, .stats { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(2) { border-right: 0; }
    .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .grid-3, .post-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
    .tastes { grid-template-columns: repeat(3, 1fr); }
    .region { grid-template-columns: 1fr; }
    .region:nth-child(even) > :first-child { order: 0; }
    .region-media img { min-height: 300px; max-height: 420px; }
    .info-grid { grid-template-columns: 1fr; }
    .info-cell { border-right: 0; border-bottom: 1px solid var(--line); }
    .glossary { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    body { font-size: 16px; padding-bottom: 62px; }
    .container { padding: 0 16px; }
    .topbar .tb-addr { display: none; }
    .topbar span + span { margin-left: 12px; }
    .site-header .container { height: 72px; }
    .main-nav { top: 72px; height: calc(100vh - 72px); height: calc(100dvh - 72px); }
    .menu-nav { top: 72px; }
    .logo img { width: 44px; height: 44px; }
    .logo-text strong { font-size: 1.3rem; }
    .logo-text em { font-size: .56rem; letter-spacing: .26em; }
    .section { padding: 76px 0; }
    .grid-2, .grid-3, .grid-4, .post-grid, .quotes, .feature-list, .stats { grid-template-columns: 1fr; }
    .feature { border-right: 0; border-bottom: 1px solid var(--line); }
    .tastes { grid-template-columns: repeat(2, 1fr); }
    .tastes .taste:last-child { grid-column: 1 / -1; }
    .contact-form { grid-template-columns: 1fr; }
    .form-card { padding: 30px 20px; }
    .region-body { padding: 36px 24px; }
    .region-body ul { columns: 1; }
    .gloss-item { grid-template-columns: 84px 1fr; gap: 16px; }
    .gloss-item img { width: 84px; height: 84px; }
    .timeline::before { left: 8px; }
    .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
    .tl-item::before { left: 4px; }
    .tl-year { text-align: left; }
    .split-media::before { display: none; }
    .media-pair img:last-child { margin-top: 30px; }
    .hero .container { padding-top: 50px; padding-bottom: 60px; }
    .hero-meta { gap: 18px; }
    .page-hero .container { padding-top: 70px; padding-bottom: 64px; }
    .video-band { min-height: 460px; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav .next { text-align: left; }
    .menu-item h3 { font-size: 1.25rem; }
    .gallery-grid { columns: 2 140px; column-gap: 8px; }
    .gallery-grid a { margin-bottom: 8px; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); border-top: 1px solid var(--line); }
    .mobile-bar a { text-align: center; padding: 18px 8px; color: var(--gold-light); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
    .mobile-bar a + a { background: var(--gold); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- figures, credits, video wraps ---------- */
.grid figure, .grid .video-frame-wrap { margin: 0; }
.grid figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grid .video-frame-wrap + h3 { margin-top: 1rem; }
.video-frame-wrap { margin: 0; }
.video-frame-wrap figcaption { font-size: .85rem; }
.section-dark figcaption { color: rgba(245, 238, 224, .65); }
.credit { display: block; font-size: .72rem; font-style: normal; opacity: .85; margin-top: 2px; }
.credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(156, 122, 54, .4); }
.data-table th[scope="row"] { width: 200px; background: var(--cream); }
.section-dark .data-table { background: transparent; color: rgba(245, 238, 224, .85); }
.section-dark .data-table th { background: rgba(201, 165, 92, .12); color: var(--gold-light); }
.section-dark .data-table td strong { color: var(--cream); }
.article-body figure img { width: 100%; }
@media (max-width: 720px) {
    .grid:has(> .dish-card) { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dish-card .card-body { padding: 14px 12px 16px; }
    .dish-card h3 { font-size: 1.12rem; }
    .dish-card p { font-size: .84rem; line-height: 1.55; margin: 0; }
    .dish-card .thai-name { font-size: .78rem; }
    .media-pair { gap: 10px; }
    .hero h1 { font-size: 2.3rem; }
}
