/* หลงหู่ หม่าล่าทั่ง v3: the studio world of the owner's pour clip.
   Paper white ground, near-black stage, chili red as the one accent; tiger yellow only for focus and brand marks. */
:root {
  /* primitives */
  --paper-50: #fafaf8;
  --paper-100: #f2f1ee;
  --paper-200: #e5e2dd;
  --ink-900: #121110;
  --ink-800: #1c1917;
  --ink-600: #58524c;
  --yellow-400: #f7d43a;  /* the tiger's yellow: focus rings and small brand touches only */
  --chili-600: #c8151b;   /* the red of the clip's own lettering; white text on it passes 5.5:1 */
  --chili-700: #a91016;
  --green-700: #007f39;  /* LINE green, darkened so white text passes 4.5:1 */
  --green-800: #006a30;
  --white: #fff;

  /* semantic */
  --bg: var(--paper-50);
  --bg-soft: var(--paper-100);
  --rule: var(--paper-200);
  --fg: var(--ink-800);
  --fg-muted: var(--ink-600);
  --stage: var(--ink-900);
  --on-stage: #f5f3f0;
  --on-stage-muted: #c9c4bd;
  --accent: var(--chili-600);
  --hot: var(--chili-600);

  --font-display: "Krub", "Kanit", "Noto Sans Thai Looped", sans-serif;
  --font-body: "Noto Sans Thai Looped", "Kanit", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 28px -14px rgba(18, 17, 16, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 20px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; scrollbar-color: var(--fg-muted) var(--bg-soft); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.7 var(--font-body); padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
::selection { background: var(--accent); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow-400); border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: var(--ink-900); color: var(--white); font-weight: 600; text-decoration: none; }
.skip-link:focus, .skip-link:focus-visible { top: 12px; clip: auto; clip-path: none; width: auto; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: .4em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.lede { color: var(--fg-muted); font-size: 1.05rem; max-width: 34em; }
.nw { white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.band { padding: 56px 0; }
.band--soft { background: var(--bg-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: rgba(250, 250, 248, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 700 1.25rem/1 var(--font-display); }
.brand small { display: block; font: 500 .78rem/1.3 var(--font-body); color: var(--fg-muted); }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--fg); font: 600 .95rem var(--font-body); cursor: pointer; }
.menu-btn:hover { background: var(--bg-soft); }
#nav { display: none; }
#nav.open { display: flex; flex-direction: column; position: absolute; inset: 100% 0 auto; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px; box-shadow: var(--shadow); }
#nav a { padding: 12px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--rule); }
#nav a:last-child { border: 0; }
#nav a[aria-current] { color: var(--hot); }
.top__call { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: .95rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55); }
.btn--primary:hover { background: var(--chili-700); }
.btn--ghost { color: var(--on-stage); border-color: rgba(245, 243, 240, .45); }
.btn--ghost:hover { background: rgba(245, 243, 240, .12); }
.btn--outline { color: var(--fg); border-color: var(--rule); background: var(--white); }
.btn--outline:hover { border-color: var(--fg-muted); }
.btn--line { background: var(--green-700); color: var(--white); }
.btn--line:hover { background: var(--green-800); }

/* status pill (filled by site.js) */
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(245, 243, 240, .14); font-size: .92rem; font-weight: 600; backdrop-filter: blur(6px); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9b958f; }
.status[data-state="open"]::before { background: #3ccf6e; box-shadow: 0 0 0 4px rgba(60, 207, 110, .25); }
.status--light { background: var(--white); border: 1px solid var(--rule); margin-bottom: 14px; }

/* hero: the food is the first thing you see */
.hero { position: relative; display: grid; min-height: min(88svh, 760px); background: var(--stage); color: var(--on-stage); overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 1.6s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 17, 16, .05) 25%, rgba(18, 17, 16, .72) 55%, rgba(18, 17, 16, .96) 100%); }
.hero__body { align-self: end; padding: 32px var(--gutter) 28px; max-width: 680px; }
.hero h1 { font-size: clamp(1.6rem, 7vw, 3.4rem); margin: 12px 0 14px; }
.hero__lede { color: var(--on-stage-muted); font-size: 1.08rem; max-width: 30em; }
.hero__lede b { color: var(--accent); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@keyframes settle { from { transform: scale(1.08); filter: saturate(.6) brightness(.8); } }


/* cinematic hero: a tall pinned section; scroll position drives the owner's pour clip.
   The clip sits on its own studio white, so the bowl lands on the page, not in a box. */
.cine { --studio: #fff; --top-h: 64px; --bar: var(--bar-h); position: relative; height: 300vh; background: var(--studio); }
.cine::after { content: ""; position: absolute; inset: auto 0 0; height: 48px; background: linear-gradient(var(--studio), var(--bg)); pointer-events: none; }
.cine__stage { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); height: calc(100svh - var(--top-h)); overflow: clip; }
.cine__inner { position: relative; height: 100%; max-width: 1120px; margin: 0 auto; padding-bottom: var(--bar); }
.cine__media { position: relative; height: 100%; max-width: 100%; aspect-ratio: 720 / 1136; margin: 0 auto; }
.cine__still, .cine__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--studio); }
.cine__video { opacity: 0; transform: translateZ(0); transition: opacity .4s var(--ease); }
.cine.is-ready .cine__video { opacity: 1; }
.cine__still--rest { opacity: 0; transition: opacity .4s var(--ease); }
.cine.is-late:not(.is-ready) .cine__still--rest, .cine.is-static .cine__still--rest { opacity: 1; }

/* copy rides scroll: --k (0..1) per band is written by site.js only when it changes */
.cine__copy { position: absolute; inset: 0 0 var(--bar); z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 3% var(--gutter) 4%; text-align: center; pointer-events: none; }
.cine__copy a, .cine__copy button { pointer-events: auto; }
.cine__top { margin: 0; }
.cine__big { display: block; font: 800 clamp(3rem, 15vw, 5.6rem)/1 var(--font-display); color: var(--hot); letter-spacing: -.02em; }
.cine__small { display: block; margin-top: 6px; font: 600 clamp(1.05rem, 4.6vw, 1.5rem)/1.3 var(--font-display); color: var(--fg); }
.cine .w { --kc: clamp(0, (var(--k, 0) - var(--th, 0)) * 2.4, 1); display: inline-block; opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * -0.55em)); }
.cine__small { opacity: clamp(0, (var(--k, 0) - .45) * 2.5, 1); }
.cine__bottom { --kb: clamp(0, var(--k, 0) * 1.4, 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 18px)); }
.cine .off { visibility: hidden; }
.cine__lede { max-width: 26em; margin: 0 auto 10px; color: var(--fg); font-weight: 600; font-size: .98rem; }
.cine .status { margin-bottom: 10px; }
.cine__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cine__cta .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.cine__cue { position: absolute; left: 50%; bottom: calc(var(--bar) + 18px); z-index: 3; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(18, 17, 16, .78); color: var(--on-stage); font-size: .9rem; font-weight: 600; transform: translateX(-50%); opacity: var(--cue, 1); transition: opacity .3s var(--ease); backdrop-filter: blur(6px); }
.cine__cue .ic { width: 18px; height: 18px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (max-width: 759px) { .cine__bottom .status, .cine__cta .btn--outline { display: none; } }

/* static mode: reduced motion, data saver, or the clip failed to load */
.cine.is-static { height: auto; }
.cine.is-static .cine__stage { position: relative; top: 0; height: auto; }
.cine.is-static .cine__inner { padding-bottom: 0; }
.cine.is-static .cine__media { height: auto; width: min(100%, 560px); }
.cine.is-static .cine__copy { inset: 0; }
.cine.is-static .cine__cue { display: none; }
.cine.is-static .cine__top, .cine.is-static .cine__bottom { --k: 1 !important; visibility: visible; }

/* inner page head: a shorter food stage */
.pagehead { background: var(--white); border-bottom: 1px solid var(--rule); overflow: hidden; }
.pagehead__grid { display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 8px; padding-top: 20px; padding-bottom: 20px; }
.pagehead h1 { font-size: clamp(2.2rem, 10vw, 4.4rem); font-weight: 800; line-height: 1.05; color: var(--hot); margin-bottom: 10px; }
.pagehead p { color: var(--fg-muted); font-size: 1rem; max-width: 30em; }
.pagehead img { width: 100%; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%); mask-image: radial-gradient(circle, #000 52%, transparent 71%); }

/* quick facts for parents */
.facts ul { list-style: none; margin: 0 auto; padding: 8px var(--gutter); display: grid; max-width: 1120px; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts li:last-child { border: 0; }
.facts .ic, .facts img { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--bg-soft); color: var(--hot); }
.facts img { padding: 0; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.facts span { color: var(--fg-muted); font-size: .95rem; }

/* soups */
.chilis { display: inline-flex; gap: 2px; color: var(--hot); }
.chilis .off { color: var(--rule); }
.kid { padding: 3px 10px; border-radius: 999px; background: #e6f4ea; color: #1d6b37; font-size: .82rem; font-weight: 600; }
.soup__heat { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; min-height: 28px; }
.soup-row { list-style: none; margin: 20px 0 0; padding: 4px var(--gutter) 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.soup-row::-webkit-scrollbar { display: none; }
.soup { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 16px 16px 18px; box-shadow: var(--shadow); }
.soup img { width: 78%; margin: 0 auto 10px; border-radius: 50%; }
.soup.is-studio { padding-top: 0; overflow: hidden; }
.soup.is-studio img { width: calc(100% + 32px); max-width: none; margin: 0 -16px 12px; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.soup h3 { font-size: 1.15rem; }
.soup p { color: var(--fg-muted); font-size: .93rem; }
.menu-soups { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.menu-soup { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.menu-soup:last-child { border: 0; }
.menu-soup img { border-radius: 50%; }
.menu-soup.is-studio img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; }
.menu-soup h3 { font-size: 1.2rem; }
.menu-soup p { color: var(--fg-muted); }
.menu-soup .soup__heat { justify-content: flex-start; gap: 12px; margin-top: 6px; }

/* photo + text */
.split { display: grid; gap: 28px; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.poster { width: 100%; max-width: 420px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.steps { list-style: none; counter-reset: s; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font: 700 1.1rem var(--font-display); color: var(--white); }
.steps b { font-family: var(--font-display); font-size: 1.12rem; }
.steps span { color: var(--fg-muted); }
.note { margin-top: 22px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--bg-soft); font-weight: 600; }
.sauce p { max-width: 40em; }
.sauce p { color: var(--fg-muted); font-size: 1.05rem; }

/* dark photo split */
.stage-split { display: grid; background: var(--stage); color: var(--on-stage); }
.stage-split__media video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--stage); }
.stage-split__body { padding: 28px var(--gutter) 40px; }
.stage-split__body p { color: var(--on-stage-muted); }

/* landmark: the tiger dancing out front is how people know they have arrived */
.landmark { display: grid; grid-template-columns: 40% 1fr; gap: 16px; align-items: center; margin: 20px 0 8px; padding: 12px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.landmark video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-sm); background: var(--stage); }
.landmark b { display: block; margin-bottom: 6px; font: 700 1.25rem/1.3 var(--font-display); color: var(--hot); }
.landmark p { color: var(--fg-muted); }
.toon--point { display: block; width: 92px; margin-top: 10px; }

/* LINE membership */
.member { display: grid; gap: 18px; justify-items: start; }
.member > img { width: 112px; }
.member p { color: var(--fg-muted); margin-bottom: 18px; max-width: 34em; }

/* visit */
.visit { display: grid; gap: 22px; margin-top: 20px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--rule); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font: 700 1.15rem var(--font-display); margin-bottom: 6px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today, .hours tr.today th { font-weight: 600; color: var(--hot); }
.park { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--fg-muted); }
.park .ic { color: var(--hot); margin-top: .2em; }

/* articles */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.post-row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s var(--ease); }
.post-row:hover { transform: translateY(-2px); }
.post-row img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--radius-sm); }
.post-row h2 { font-size: 1.15rem; margin: 0; }
.post-row p { color: var(--fg-muted); font-size: .93rem; }
.post-row__date { font-size: .82rem; color: var(--fg-muted); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); margin: 8px 0 20px; }
.prose h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); margin: 1.6em 0 .5em; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose figure { margin: 0 0 24px; }
.prose figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.prose a { color: var(--hot); }
.byline { color: var(--fg-muted); font-size: .92rem; }

/* footer */
.foot { background: var(--stage); color: var(--on-stage-muted); padding: 44px 0 24px; }
.foot__grid { display: grid; gap: 26px; }
.foot h3 { color: var(--on-stage); font-size: 1.05rem; margin-bottom: 6px; }
.foot a { color: var(--on-stage); }
.foot p { margin-bottom: 6px; }
.foot__brand img { border-radius: var(--radius-sm); background: var(--white); padding: 6px; margin-bottom: 10px; }
.foot__pao { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--on-stage); font-weight: 600; }
.foot__brand .foot__pao img { width: 120px; flex: none; margin: 0; padding: 0; background: none; border-radius: 0; }
.foot__social { display: flex; gap: 10px; margin-top: 10px; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(245, 243, 240, .1); }
.foot__base { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(245, 243, 240, .12); font-size: .85rem; }
.foot__base small { font-size: 1em; }

/* เสือหลง buddy: peeks from the right edge; a tap makes it hop out, dance, and say one useful thing */
.buddy { position: fixed; right: 0; bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); z-index: 29; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.buddy__btn { width: 76px; height: 78px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transform: translateX(34%) rotate(-8deg); transition: transform .5s var(--ease); }
.buddy__btn img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(18, 17, 16, .3)); animation: peek 4.8s ease-in-out -1.2s infinite; transform-origin: 50% 100%; }
.buddy.is-out .buddy__btn { transform: translateX(-8px) rotate(0); }
.buddy.is-out .buddy__btn img { animation: dance .55s ease-in-out 0s 4 alternate; }
@keyframes peek { 50% { transform: rotate(5deg) translateY(-3px); } }
@keyframes dance { 0% { transform: rotate(-12deg) translateY(0) scale(1); } 50% { transform: rotate(0) translateY(-14px) scale(1.06); } 100% { transform: rotate(12deg) translateY(0) scale(1); } }
.buddy__bubble { max-width: 220px; margin: 0 0 54px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--white); color: var(--fg); font: 600 .92rem/1.45 var(--font-body); box-shadow: var(--shadow); border: 1px solid var(--rule); opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.buddy.is-out .buddy__bubble { opacity: 1; transform: none; pointer-events: auto; }
.buddy__bubble a { color: var(--hot); }
@media (prefers-reduced-motion: reduce) { .buddy__btn img { animation: none !important; } }

/* thumb bar */
.actbar { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(18, 17, 16, .96); backdrop-filter: blur(10px); }
.act { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; color: var(--on-stage); text-decoration: none; font-weight: 600; background: rgba(245, 243, 240, .1); }
.act--go { background: var(--accent); color: var(--white); }
.act--line { background: var(--green-700); color: var(--white); }

/* larger screens */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .band { padding: 80px 0; }
  .facts ul { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 18px; }
  .facts li { border: 0; }
  .soup-row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); max-width: 1120px; margin-inline: auto; overflow: visible; }
  .menu-soups { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .menu-soup { grid-template-columns: 140px 1fr; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .split__img { aspect-ratio: 4 / 5; }
  .split--poster { grid-template-columns: auto 1fr; }
  .steps--wide { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stage-split { grid-template-columns: 1fr 1fr; align-items: center; }
  .stage-split__media video { aspect-ratio: 3 / 4; max-height: 86vh; }
  .landmark { grid-template-columns: 220px 1fr; gap: 28px; max-width: 640px; padding: 16px; }
  .landmark b { font-size: 1.6rem; }
  .stage-split__body { padding: 48px; }
  .member { grid-template-columns: auto 1fr; align-items: center; gap: 32px; }
  .visit { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 40px; }
  .post-list { grid-template-columns: 1fr 1fr; gap: 20px; }
  .post-row { grid-template-columns: 150px 1fr; }
  .post-row img { width: 150px; height: 150px; }
  .foot__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .hero__body { margin-left: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); padding-bottom: 56px; }
  .hero h1 .nw { display: block; }
  .pagehead__grid { grid-template-columns: 1fr 38%; padding-top: 32px; padding-bottom: 32px; }
  .pagehead p { font-size: 1.15rem; }
  .cine { --bar: 0px; height: 320vh; }
  /* desktop: the clip is shown at 1.5x the screen height and the frame pans with scroll,
     from the pour (lower part of the clip) up to the finished bowl */
  .cine__inner { max-width: none; display: grid; grid-template-columns: minmax(400px, 38%) 1fr; grid-template-rows: 100%; align-items: center; gap: 0; padding: 0 0 0 max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .cine__media { order: 2; align-self: start; justify-self: center; height: 150%; will-change: transform; transform: translateY(calc(var(--pan, .3) * -100%)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

  .cine__copy { position: relative; z-index: 3; order: 1; padding: 0; text-align: left; display: block; }
  .cine__big { font-size: clamp(4.5rem, 8vw, 7rem); }
  .cine__small { font-size: 1.7rem; }
  .cine__bottom { margin-top: 28px; }
  .cine__lede { margin: 0 0 16px; font-size: 1.15rem; font-weight: 400; color: var(--fg-muted); max-width: 24em; }
  .cine__cta { justify-content: flex-start; }
  .cine__cta .btn { min-height: 52px; padding: 0 22px; font-size: 1rem; }
  .cine.is-static .cine__inner { max-width: 1120px; padding: 0 var(--gutter); grid-template-rows: auto; }
  .cine.is-static .cine__media { height: min(80vh, 760px); width: auto; transform: none; align-self: center; }
  .cine__cue { left: var(--gutter); bottom: auto; top: 50%; transform: translateY(-50%); padding: 12px 20px; font-size: 1.05rem; }

  #nav, #nav.open { display: flex; position: static; flex-direction: row; gap: 22px; padding: 0; border: 0; box-shadow: none; background: none; }
  #nav a { border: 0; padding: 6px 0; min-height: 44px; display: inline-flex; align-items: center; }
  .menu-btn, .actbar { display: none; }
  .buddy { bottom: 24px; }
  .buddy__btn { width: 96px; height: 99px; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cine .w, .cine__small, .cine__bottom { opacity: 1 !important; transform: none !important; visibility: visible !important; }
}

.soups-head { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: end; }
.soups-head .toon { width: 96px; }
@media (min-width: 900px) { .soups-head { grid-template-columns: 1fr 140px; } .soups-head .toon { width: 140px; } }

/* cartoon mascots: small sticker-style idle motion, like a looping gif */
.toon, .foot__pao img { transform-origin: 50% 100%; animation: toon-bob 2.4s ease-in-out infinite; }
.toon--point { animation-name: toon-point; animation-duration: 1.2s; }
.foot__pao img { animation-name: toon-bow; animation-duration: 3s; }
@keyframes toon-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
@keyframes toon-point { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes toon-bow { 0%, 60%, 100% { transform: rotate(0); } 75% { transform: rotate(6deg) translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .toon, .foot__pao img { animation: none; } }
#content:focus { outline: none; box-shadow: none; }

/* articles: card grid, article head, table of contents, tables */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--fg); transition: transform .2s var(--ease); }
.post-card { position: relative; }
.ai-tag { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgb(255 255 255 / .85); color: #5f5a57; font-size: .75rem; line-height: 1.5; }
.art-hero figcaption { margin-top: 6px; text-align: right; color: #6b6663; font-size: .8rem; font-style: normal; }
.post-card:hover { transform: translateY(-2px); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card div { padding: 14px 16px 18px; }
.post-card h2, .post-card h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 6px; }
.post-card p { color: var(--fg-muted); font-size: .93rem; margin: 0; }
.crumbs { font-size: .9rem; color: var(--fg-muted); }
.crumbs a { display: inline-block; padding: 11px 2px; color: var(--fg-muted); }
.art-hero { margin: 0 0 20px; }
.art-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.prose .lead { font-size: 1.12rem; line-height: 1.7; color: var(--fg); }
.prose h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; }
.prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--hot); }
.toc { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--rule); }
.toc summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.toc ol { margin: 8px 0 0; }
.toc a { color: var(--fg); }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 700; }

/* Liquid glass buttons (owner request 2026-11-16): clear frosted glass with a bright top edge.
   Coloured buttons keep enough tint that white text stays at 4.5:1 or better on light pages. */
:root {
  --glass-blur: blur(16px) saturate(180%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -1px 1px rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .38);
  --glass-drop: 0 10px 26px -12px rgba(18, 17, 16, .4);
}
.btn, .menu-btn, .act { position: relative; isolation: isolate; overflow: hidden; border: 0; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-drop); transition: transform .25s var(--ease), background-color .2s, box-shadow .2s; }
.btn::before, .menu-btn::before, .act::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130% 90% at 50% 0%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 62%), linear-gradient(0deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 38%); }
.btn:hover, .menu-btn:hover, .act:hover { box-shadow: var(--glass-edge), 0 14px 30px -12px rgba(18, 17, 16, .5); }
.btn:active, .menu-btn:active, .act:active { transform: scale(.96); }

.btn--primary, .act--go { background: rgba(169, 16, 22, .78); color: var(--white); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.btn--primary:hover, .act--go:hover { background: rgba(169, 16, 22, .86); }
.btn--line, .act--line { background: rgba(6, 199, 85, .92); color: var(--white); font-weight: 700; text-shadow: 0 1px 2px rgba(0, 60, 25, .35); }  /* LINE official green #06C755 (owner's call) */
.btn--line:hover, .act--line:hover { background: rgba(5, 179, 76, .95); }
.btn--outline, .menu-btn { background: rgba(255, 255, 255, .22); color: var(--fg); }
.btn--outline:hover, .menu-btn:hover { background: rgba(255, 255, 255, .4); }
.btn--ghost, .act { background: rgba(255, 255, 255, .1); color: var(--on-stage); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
/* over the dark hero video the glass can be far clearer */
.cine .btn--primary { background: rgba(200, 21, 27, .5); }
.cine .btn--line { background: rgba(6, 199, 85, .7); }

.actbar { background: rgba(18, 17, 16, .62); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.act--go, .act--line { background-color: rgba(200, 21, 27, .62); }
.act--line { background-color: rgba(6, 199, 85, .85); }
.btn:focus-visible, .menu-btn:focus-visible, .act:focus-visible { box-shadow: var(--glass-edge), 0 0 0 6px var(--yellow-400); }

/* WordPress / Hello Elementor resets: keep the theme's defaults out of this world */
body { background: var(--bg) !important; color: var(--fg); font-family: var(--font-body); }
h1, h2, h3 { font-family: var(--font-display) !important; font-weight: 700 !important; color: inherit; }
.elementor-widget-html, .elementor-widget-container { width: 100%; }
.e-con.e-con-full, .e-con-full > .e-con-inner { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; }
.menu-btn:hover, .menu-btn:focus { background: rgba(255, 255, 255, .4); color: var(--fg); }
a.btn:hover, a.act:hover { text-decoration: none; }
.btn--primary:hover, .act--go:hover { color: var(--white) !important; }
.btn--line:hover, .act--line:hover { color: var(--white) !important; }
.btn--ghost:hover { color: var(--on-stage) !important; }
.elementor-location-header, .elementor-location-footer { position: static; }
header.elementor-location-header { position: sticky; top: 0; z-index: 30; }
