/* Thai Chi — menu page */

.tc-menu-page { background: var(--cream); }

.tcm-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: var(--cream); padding: calc(var(--tc-h) + clamp(48px, 9vw, 96px)) 0 clamp(54px, 8vw, 90px);
	background: radial-gradient(60% 80% at 50% 120%, rgba(242, 106, 27, .5), transparent 65%), radial-gradient(50% 60% at 0 0, rgba(216, 31, 38, .4), transparent 60%), linear-gradient(180deg, #1b100c, var(--ink)); }
.tcm-hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.tcm-hero__glow { position: absolute; left: 50%; bottom: -60%; width: 120%; aspect-ratio: 2/1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 30, .5), transparent); filter: blur(30px); z-index: -1; animation: tc-flicker 4.5s ease-in-out infinite; }
.tcm-hero__in { position: relative; z-index: 2; }
.tcm-hero h1 { font-size: clamp(3.6rem, 14vw, 8rem); line-height: .95; margin-bottom: .2em; }
.tcm-hero__lead { font-family: var(--f-s); font-size: clamp(1.3rem, 3.4vw, 2rem); color: var(--flame); margin: 0; }

/* sticky category bar */
.tcm-bar { position: sticky; top: var(--tc-h); z-index: 60; background: rgba(18, 12, 10, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217, 164, 65, .45); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.tcm-bar__in { padding: 10px 0; }
.tcm-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 calc(-1 * var(--gut)); padding-inline: var(--gut); -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent); }
@media (min-width: 1100px) { .tcm-tabs { margin: 0; padding-inline: 2px; mask-image: none; -webkit-mask-image: none; justify-content: center; } }
.tcm-tabs::-webkit-scrollbar { display: none; }
.tcm-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.05em; border-radius: 999px; color: var(--cream); text-decoration: none; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid rgba(255, 246, 229, .22); transition: background .25s, color .25s, border-color .25s; }
.tcm-tabs a[hidden] { display: none; }
.tcm-tabs a:hover { border-color: var(--flame); }
.tcm-tabs a.is-active { background: var(--flame); color: var(--ink); border-color: var(--flame); }
.tcm-filters { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tcm-filters__lbl { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tcm-filters button { display: inline-flex; align-items: center; gap: .5em; min-height: 42px; padding: 0 1.1em; border-radius: 999px; border: 1.5px solid rgba(18, 12, 10, .22); background: var(--paper); color: var(--ink); font: 700 .8rem/1 var(--f-b); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.tcm-filters button .tc-i { width: 1.05rem; height: 1.05rem; }
.tcm-filters button[data-f="veg"] .tc-i, .tcm-filters button[data-f="vegan"] .tc-i { color: var(--basil); }
.tcm-filters button[data-f="spicy"] .tc-i { color: var(--chilli); }
.tcm-filters button:hover { border-color: var(--ink); transform: translateY(-1px); }
.tcm-filters button.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tcm-filters button.is-on .tc-i { color: var(--flame); }

/* body */
.tcm-body { position: relative; background: var(--cream); background-image: radial-gradient(circle at 10% 8%, rgba(217, 164, 65, .16) 0 2px, transparent 3px); background-size: 30px 30px; }
.tcm-body::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .07; mix-blend-mode: multiply; pointer-events: none; }
.tcm-wrap { position: relative; padding: clamp(28px, 5vw, 56px) 0 clamp(70px, 9vw, 120px); }
.tcm-body .tc-allergy { margin: 0 0 8px; }
.tcm-body .tc-allergy--end { margin-top: 72px; }

.tcm-cat { margin-top: clamp(48px, 7vw, 84px); scroll-margin-top: calc(var(--tc-h) + 78px); }
.tcm-cat.is-hidden { display: none; }
.tcm-cat__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.tcm-cat__head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; }
.tcm-cat__head h2 { order: 0; font-size: clamp(1.7rem, 4.2vw, 2.5rem); line-height: 1; }
.tcm-cat__head h2 span { position: relative; z-index: 0; display: inline-block; padding: .24em 1em .2em; color: #fff; }
.tcm-cat__head h2 span::before { content: ""; position: absolute; inset: 0 -2%; background: var(--chilli); z-index: -1; transform: rotate(-1deg); filter: url(#tc-brush); box-shadow: 0 6px 0 rgba(143, 16, 21, .4); }
.tcm-cat__orn { order: 1; width: 90px; height: 12px; color: var(--gold); display: none; }
@media (min-width: 720px) { .tcm-cat__orn { display: block; } .tcm-cat__head::after { order: 2; } }
.tcm-cat__note { margin: 0 0 16px; color: var(--muted); font-weight: 600; font-size: .95rem; }

.tcm-list { display: grid; gap: 12px; }
@media (min-width: 980px) { .tcm-list { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; } }
.tcm-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 14px; background: var(--paper); border: 1.5px solid rgba(18, 12, 10, .08); border-radius: 20px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.tcm-item:hover { transform: translateY(-3px); border-color: rgba(217, 164, 65, .7); box-shadow: 0 16px 32px rgba(80, 40, 10, .13); }
@media (min-width: 560px) { .tcm-item { grid-template-columns: 92px 1fr auto; gap: 18px; padding: 16px; } }
.tcm-item.is-hidden { display: none; }
.tcm-item__pic { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #fff0cf, #ffe2a3); color: rgba(217, 164, 65, .85); }
.tcm-item__pic .tc-i { width: 52%; height: auto; aspect-ratio: 48/32; }
.tcm-item__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tcm-item:hover .tcm-item__pic img { transform: scale(1.1); }
.tcm-item__main { min-width: 0; }
.tcm-item__name { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .55em; font-size: clamp(1.05rem, 2.3vw, 1.25rem); line-height: 1.15; letter-spacing: -.005em; }
.tcm-item__sub { font-family: var(--f-s); font-size: 1.15rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--chilli); }
.tcm-tag { font-family: var(--f-s); font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; padding: 0 .75em .1em; border-radius: 999px; background: var(--chilli); color: #fff; transform: rotate(-3deg); }
.tcm-item__desc { margin: .45em 0 0; font-size: .93rem; line-height: 1.45; color: var(--muted); }
.tcm-item__note { display: inline-block; margin: .5em 0 0; padding: .25em .7em; font-size: .8rem; font-weight: 600; line-height: 1.35; color: #6b3f00; background: rgba(255, 184, 28, .22); border-radius: 10px; }
.tcm-item__allergens { margin: .55em 0 0; font-size: .78rem; font-weight: 600; line-height: 1.4; color: var(--chilli); }
.tcm-item__price { font-family: var(--f-d); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.6rem); letter-spacing: -.005em; color: var(--chilli); line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* option panels (protein / extras / rice) */
.tcm-panels { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 720px) { .tcm-panels { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.tcm-panel { padding: 18px 20px; border-radius: 20px; background: linear-gradient(160deg, #FFF3D2, #FFE6AE); border: 2px solid var(--gold); position: relative; }
.tcm-panel h3 { font-size: 1.3rem; color: var(--chilli); margin-bottom: .6rem; }
.tcm-panel ul { display: grid; gap: 2px; }
.tcm-panel li { display: flex; align-items: baseline; gap: 8px; font-size: .92rem; }
.tcm-panel li span { font-weight: 600; }
.tcm-panel li::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(18, 12, 10, .3); transform: translateY(-3px); }
.tcm-panel li b { order: 2; font-variant-numeric: tabular-nums; }

.tcm-empty { text-align: center; padding: 48px 0; font-weight: 600; color: var(--muted); }
.tcm-cta { margin-top: 44px; }
