/* Lead+D Lab landing, round 2.
   Base: d5 apple-standard (white-led, Lab teal-green, deep ink navy anchor, green silk stage, one damped curve).
   Navigation: d3 generative-glass (floating island, transparent frosted glass).
   taijai keeps its own CI inside its product card only. */
:root {
  --white: #ffffff;
  --mist: #f5f8f8;
  --mint: #e8f5f2;
  --green: #00877a;
  --green-ink: #006b61;
  --ink: #0b1f2a;
  --ink-2: #33444f;
  --ink-3: #5d6d77;
  --line: rgba(11, 31, 42, .09);
  --line-2: rgba(11, 31, 42, .14);
  --r-sm: 12px; --r: 20px; --r-lg: 28px; --r-xl: 36px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.45, 0, .2, 1);
  --font: "Inter", "Anuphan", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* taijai CI (baojai web-app/src/ring/tokens.css) */
  --tj-ink: #1a1a1a; --tj-primary: #f2a15c; --tj-insight: #fde3c8; --tj-canvas: #fffdf7;
  --tj-body: #57534b; --tj-muted: #8b857a; --tj-accent: #8a5a2a;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
html[data-lang="en"] body { line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
html[data-lang="th"] .en, html[data-lang="en"] .th { display: none !important; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap.wide { max-width: 1300px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- type */
.display { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.12; letter-spacing: -.028em; font-weight: 700; }
html[data-lang="th"] .display { line-height: 1.24; letter-spacing: -.012em; }
.h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.024em; font-weight: 700; }
html[data-lang="th"] .h1 { line-height: 1.3; letter-spacing: -.008em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
html[data-lang="th"] .h2 { line-height: 1.32; letter-spacing: -.006em; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); letter-spacing: -.004em; }
html[data-lang="th"] .lede { line-height: 1.75; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--green); margin-bottom: 14px; }
.eyebrow.on-dark { color: #7fd6c6; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.sec-head .lede { margin-top: 14px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 920px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); transition-duration: 90ms; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px -8px rgba(0, 107, 97, .55); }
.btn-primary:hover { background: #005c53; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #142f3e; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--green-ink); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; }
.link-btn svg { width: 15px; height: 15px; transition: transform 200ms var(--ease); }
.link-btn:hover svg { transform: translateX(3px); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(11,31,42,.06); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- nav: floating glass island (from d3) */
.glass { background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px -28px rgba(11,31,42,.35), 0 2px 6px -2px rgba(11,31,42,.06); }
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(var(--wrap), calc(100% - 2 * var(--gut))); display: flex; align-items: center; gap: 18px; padding: 7px 7px 7px 16px; border-radius: 999px; transition: transform 500ms var(--ease), opacity 400ms var(--ease), background-color 300ms, box-shadow 300ms; }
.nav.is-scrolled { background: rgba(255,255,255,.72); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.015em; white-space: nowrap; }
.brand img { width: 22px; height: auto; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background-color 200ms, color 200ms; }
.nav-links a:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(11,31,42,.06); }
.lang button { border: 0; background: transparent; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; padding: 0 9px; min-height: 30px; min-width: 36px; border-radius: 999px; color: var(--ink-3); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(11,31,42,.14); }
.menu-btn { display: none; background: rgba(255,255,255,.7); width: 40px; height: 40px; }
.menu-sheet { position: fixed; inset: 0; z-index: 60; }
.menu-scrim { position: absolute; inset: 0; background: rgba(11,31,42,.22); animation: fade 260ms var(--ease); }
.menu-panel { position: absolute; top: 10px; left: 10px; right: 10px; border-radius: var(--r-lg); padding: 14px 16px 18px; background: rgba(255,255,255,.86); animation: menuIn 320ms var(--ease); }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.menu-panel nav a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 4px; text-decoration: none; font-size: 21px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.menu-panel nav a:last-child { border-bottom: 0; }
.menu-panel nav svg { width: 16px; height: 16px; color: var(--ink-3); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }

/* ---------------------------------------------------------------- phone first screen (pass) */
.pass-wrap { display: none; }

/* ---------------------------------------------------------------- hero: one full-bleed layered scene (v3)
   Layers, back to front: watercolour art edge to edge, then the copy straight on the art (left, the calm
   white third), then the mascot pair standing in front of the brush (right). --p is scroll progress 0..1. */
.hero { --p: 0; position: relative; overflow: hidden; min-height: max(640px, 100vh); min-height: max(640px, 100svh); max-height: 1000px; display: flex; align-items: stretch; background: #fff; }
.hero-art { position: absolute; inset: 13% 0 -10% 0; background: url(img/hero-art-wide.webp) 50% 0 / cover no-repeat; transform: translateY(calc(var(--p) * 6%)); will-change: transform; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.hero-in { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(16px, 3vw, 48px); padding-top: clamp(120px, 19vh, 190px); padding-bottom: 40px; }
.hero-copy { max-width: 600px; transform: translateY(calc(var(--p) * -40px)); opacity: calc(1 - var(--p) * .7); }
.hero .display { font-size: clamp(44px, 5.4vw, 78px); }
.hero .lede { max-width: 34em; margin-top: 22px; color: var(--ink-2); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; font-weight: 500; color: var(--green-ink); }
.hero-note::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .6; flex: none; }
/* the pair: bunny's body against the flame's, one unit; heights set as a ratio of the flame */
.hero-pair, .pass-pair { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.m-bunny, .m-flame { width: auto; position: relative; }
.m-flame { z-index: 1; filter: drop-shadow(0 26px 30px rgba(11,31,42,.16)); }
.m-bunny { z-index: 2; filter: drop-shadow(0 18px 22px rgba(11,31,42,.14)); }
.hero-pair { --fh: clamp(300px, 34vw, 500px); align-self: end; margin-bottom: clamp(8px, 4vh, 48px); transform: translateY(calc(var(--p) * -10%)); }
.hero-pair .m-flame { height: var(--fh); }
.hero-pair .m-bunny { height: calc(var(--fh) * .56); margin-right: calc(var(--fh) * -.31); margin-bottom: calc(var(--fh) * .012); }

/* ---------------------------------------------------------------- client marquee */
.clients { padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.clients-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: .01em; margin-bottom: 20px; }
.marquee { display: grid; gap: 12px; }
.mq-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.mq-track { --g: 12px; display: flex; gap: var(--g); padding-right: var(--g); width: max-content; animation: mq var(--dur, 90s) linear infinite; will-change: transform; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.marquee.is-paused .mq-track { animation-play-state: paused; }
@media (hover: hover) { .marquee:hover .mq-track { animation-play-state: paused; } }
.marquee:focus-within .mq-track { animation-play-state: paused; }
@keyframes mq { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.mq-tile { flex: none; width: 128px; height: 64px; display: grid; place-items: center; background: #f3f6f8; border-radius: 10px; }
.mq-tile img { width: 104px; height: 44px; object-fit: contain; }

/* ---------------------------------------------------------------- speaker */
.speaker { padding: var(--sec) 0; }
.aj { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
/* desktop: the photo frame spans exactly the height of the text column (top and bottom edges line up) */
.aj-visual { align-self: stretch; min-height: 460px; }
.aj-visual { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--mint); }
.aj-art { position: absolute; inset: 0; background: url(img/art-light.webp) 90% 80% / 220% no-repeat; }
.aj-visual img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: min(96%, 600px); width: auto; max-width: none; filter: drop-shadow(0 24px 30px rgba(11,31,42,.2)); }
.aj-name { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -.018em; font-weight: 700; }
html[data-lang="th"] .aj-name { line-height: 1.38; }
.aj-title { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.aj-role { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--green-ink); background: var(--mint); padding: 5px 12px; border-radius: 999px; }
.aj-bio { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; max-width: 600px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.num { padding: 16px 16px 14px; border-radius: var(--r); background: var(--mist); }
.num b { display: block; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.research { margin-top: 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); }
.research summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; font-weight: 600; font-size: 15.5px; color: var(--green-ink); list-style: none; }
.research summary::-webkit-details-marker { display: none; }
.research summary i { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; transition: transform 300ms var(--ease); flex: none; }
.research summary i svg { width: 12px; height: 12px; }
.research[open] summary i { transform: rotate(45deg); }
.research-body { padding: 4px 18px 18px; display: grid; gap: 18px; }
.research[open] .research-body { animation: rise 420ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(-6px); } }
.rs h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 8px; text-transform: uppercase; }
.rs li { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 46px 1fr; gap: 10px; }
.rs li.plain { grid-template-columns: 1fr; }
.rs li .yr { font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.rs a { color: var(--green-ink); text-decoration: none; font-weight: 600; white-space: nowrap; }
.rs a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- expertise: deep ink scene */
.deep { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: var(--sec) 0; }
.deep-art { position: absolute; inset: 0; background: url(img/art-deep.webp) center / cover no-repeat; opacity: .9; }
.deep-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,42,.88) 0%, rgba(11,31,42,.7) 50%, rgba(11,31,42,.9) 100%); }
.deep .wrap { position: relative; }
.deep .lede { color: rgba(255,255,255,.74); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto auto auto 1fr auto; column-gap: 14px; row-gap: 0; }
/* each card spans 5 shared rows (image, number, title, text, note) so every row lines up across the grid */
.exp-grid > .exp { grid-row: span 5; display: grid; grid-template-rows: subgrid; gap: 10px; margin-bottom: 14px; }
.exp-img { aspect-ratio: 16 / 9; margin: -12px -10px 6px; border-radius: 14px; background: #1d3b49 center / cover no-repeat; }
.exp { position: relative; padding: 26px 24px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 10px; transition: background-color 300ms var(--ease), transform 400ms var(--ease); }
.exp:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.exp-n { font-size: 13.5px; font-weight: 700; color: #7fd6c6; font-variant-numeric: tabular-nums; }
.exp h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.014em; line-height: 1.3; }
.exp h3 { line-height: 1.3; }
.exp p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; align-self: start; }
.exp small { display: block; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.58); padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }

/* ---------------------------------------------------------------- courses */
.courses { padding: var(--sec) 0 clamp(56px, 7vw, 96px); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 300ms var(--ease), transform 400ms var(--ease); }
.course:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 48px -32px rgba(11,31,42,.35); transform: translateY(-2px); }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.theme { color: var(--green-ink); }
.fmt { color: var(--ink-3); font-weight: 500; }
.course h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.012em; }
html[data-lang="th"] .course h3 { line-height: 1.45; }
.course .who { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.course .out { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); flex: 1; padding-top: 10px; border-top: 1px solid var(--line); }
.see-all { display: flex; justify-content: center; margin-top: 28px; }
.see-all .btn { background: var(--mist); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.see-all .btn:hover { background: var(--mint); }

/* ---------------------------------------------------------------- process */
.process { background: var(--mist); padding: var(--sec) 0; position: relative; overflow: hidden; }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; position: relative; }
.steps4 li { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 22px 24px; box-shadow: 0 1px 0 var(--line), 0 24px 48px -40px rgba(11,31,42,.4); }
.steps4 .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--green-ink); font-weight: 700; font-size: 15px; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.steps4 li:first-child .n { background: var(--green-ink); color: #fff; }
.steps4 li:not(:last-child)::after { content: ""; position: absolute; top: 43px; right: -14px; width: 14px; height: 2px; background: var(--green-soft, #98d0ce); }
.steps4 h3 { font-size: 19px; line-height: 1.4; margin-bottom: 6px; letter-spacing: -.01em; }
.steps4 p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.data-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px auto 0; max-width: 720px; text-align: center; font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.data-line svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.process-cta { display: flex; justify-content: center; margin-top: 26px; }

/* ---------------------------------------------------------------- what we do */
/* P4 editorial index (Pete 2026-11-11): text only, plain heading, no images or pills */
.wwd { padding: clamp(56px, 7vw, 104px) 0; }
.wwd-h { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.024em; font-weight: 700; }
html[data-lang="th"] .wwd-h { line-height: 1.3; letter-spacing: -.008em; }
.wwd-idx { margin-top: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line-2); }
.wwd-item { position: relative; display: grid; grid-template-columns: clamp(80px, 9vw, 140px) minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: clamp(16px, 2.4vw, 40px); align-items: center; padding: clamp(22px, 2.6vw, 36px) 0; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line-2); }
.wwd-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--ease); }
.wwd-item:hover::after, .wwd-item:focus-visible::after { transform: scaleX(1); }
.wwd-n { font-size: clamp(44px, 6vw, 92px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); font-variant-numeric: tabular-nums; }
.wwd-item.main .wwd-n { color: var(--green); -webkit-text-stroke: 0; }
.wwd-t h3 { font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -.035em; line-height: 1.02; transition: transform 600ms var(--ease); }
.wwd-item.main .wwd-t h3 { font-size: clamp(44px, 6vw, 92px); }
.wwd-item:hover .wwd-t h3 { transform: translateX(14px); }
.wwd-note { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--green-ink); }
.wwd-d p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.wwd-sub { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.wwd-sub li { display: inline; }
.wwd-sub li:not(:last-child)::after { content: "\00A0\00B7\0020"; }
.wwd-go { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--green-ink); }
.wwd-ra { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: background-color 300ms var(--ease), border-color 300ms, color 300ms, transform 500ms var(--ease); }
.wwd-ra svg { width: 20px; height: 20px; }
.wwd-item:hover .wwd-ra, .wwd-item:focus-visible .wwd-ra { background: var(--green-ink); border-color: var(--green-ink); color: #fff; transform: rotate(-45deg); }
/* entrance: the row stays put, number and title rise */
.js .wwd-item.reveal { opacity: 1; transform: none; }
.js .wwd-item.reveal .wwd-t h3, .js .wwd-item.reveal .wwd-n { opacity: 0; transform: translateY(40%); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js .wwd-item.reveal.is-in .wwd-t h3, .js .wwd-item.reveal.is-in .wwd-n { opacity: 1; transform: none; }
.js .wwd-item.reveal.is-in:hover .wwd-t h3 { transform: translateX(14px); transition-delay: 0ms; }
@media (max-width: 860px) {
  .wwd-item { grid-template-columns: 1fr 44px; grid-template-areas: "n ra" "t t" "d d"; gap: 4px 14px; padding: 24px 0; align-items: start; }
  .wwd-n, .wwd-item.main .wwd-n { grid-area: n; font-size: 34px; -webkit-text-stroke-width: 1px; }
  .wwd-t { grid-area: t; }
  .wwd-t h3 { font-size: 40px; }
  .wwd-item.main .wwd-t h3 { font-size: 46px; }
  .wwd-d { grid-area: d; margin-top: 8px; }
  .wwd-d p { font-size: 15.5px; }
  .wwd-ra { grid-area: ra; width: 44px; height: 44px; }
  .wwd-ra svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .wwd-item *, .wwd-item::after { transition: none !important; }
  .js .wwd-item.reveal .wwd-t h3, .js .wwd-item.reveal .wwd-n { opacity: 1; transform: none; }
  .wwd-item:hover .wwd-t h3 { transform: none; }
}
.go { width: 18px; height: 18px; color: var(--green-ink); }

/* ---------------------------------------------------------------- event */
.event { padding: clamp(40px, 5vw, 72px) 0; }
.ev-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(14px, 1.6vw, 20px); border-radius: var(--r-xl); background: linear-gradient(140deg, #fff7ef 0%, #ffffff 45%, var(--mint) 100%); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -56px rgba(11,31,42,.45); }
.ev-poster { border-radius: calc(var(--r-xl) - 12px); overflow: hidden; box-shadow: 0 24px 48px -28px rgba(11,31,42,.5); aspect-ratio: 1080 / 1350; background: #f3e4d4; }
.ev-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.ev-card:hover .ev-poster img { transform: scale(1.02); }
.ev-copy { padding: 8px clamp(4px, 2vw, 32px) 8px 0; }
.ev-k { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #c2541d; }
.ev-title { font-size: clamp(32px, 4vw, 54px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin-top: 8px; }
.ev-sub { margin-top: 10px; font-size: 18px; color: var(--ink-2); }
.ev-facts { margin: 24px 0 26px; }
.ev-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.ev-facts div:last-child { border-bottom: 1px solid var(--line); }
.ev-facts dt { color: var(--ink-3); font-size: 14px; font-weight: 600; padding-top: 1px; }
.ev-facts dd { margin: 0; }

/* ---------------------------------------------------------------- products */
.products { padding: var(--sec) 0; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.prod-row { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 14px; align-items: stretch; }
.prod { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.prod-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; }
.status.soon { background: rgba(11,31,42,.06); color: var(--ink-3); }
.status.dev { background: var(--mint); color: var(--green-ink); }
.tag { font-size: 12px; font-weight: 600; color: var(--green-ink); }
.prod .for { font-size: 12.5px; color: var(--ink-3); }
.prod h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.01em; }
.prod .catch { font-size: 15.5px; line-height: 1.6; font-weight: 600; color: var(--ink); }
.prod .line { font-size: 14px; line-height: 1.65; color: var(--ink-3); flex: 1; }
.prod .link-btn { font-size: 15px; padding: 6px 0; min-height: 40px; align-self: flex-start; }
/* taijai card: taijai's own CI (Mitr, ink 2px border, hard offset shadow, canvas, peach insight, orange button) */
.prod.tj { font-family: "Mitr", system-ui, sans-serif; font-weight: 400; background: var(--tj-canvas); color: var(--tj-ink); border: 2px solid var(--tj-ink); box-shadow: 4px 4px 0 var(--tj-ink); border-radius: 23px; padding: 18px 18px 16px; gap: 10px; }
.tj .status { background: var(--tj-insight); color: var(--tj-ink); border: 2px solid var(--tj-ink); font-weight: 500; letter-spacing: 0; padding: 2px 10px; }
.tj .status i { width: 7px; height: 7px; border-radius: 50%; background: #7fa86a; }
.tj-head { display: flex; align-items: center; gap: 12px; }
.tj-head img { width: 78px; height: auto; flex: none; animation: breathe 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.tj h3 { font-weight: 500; font-size: 26px; line-height: 1.3; letter-spacing: 0; }
.tj h3 span { display: block; font-size: 14px; color: var(--tj-muted); font-weight: 400; }
.tj .catch { background: var(--tj-insight); border: 2px solid var(--tj-ink); border-radius: 20px; padding: 10px 14px; font-weight: 500; font-size: 15.5px; line-height: 1.6; }
.tj .line { color: var(--tj-body); font-size: 14.5px; line-height: 1.7; }
.tj .for { color: var(--tj-muted); }
.tj-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font: 500 16px/1.6 "Mitr", system-ui, sans-serif; color: var(--tj-ink); background: var(--tj-primary); border: 2px solid var(--tj-ink); border-radius: 36px; box-shadow: 3px 3px 0 var(--tj-ink); text-decoration: none; transition: transform 120ms, box-shadow 120ms; }
.tj-btn:hover { background: #f5ad6d; }
.tj-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.tj-btn svg { width: 15px; height: 15px; }
.tj .disc { font-size: 11.5px; line-height: 1.6; color: var(--tj-muted); padding-top: 8px; border-top: 2px dashed #d8d2c4; }

/* ---------------------------------------------------------------- contact form */
.contact { background: var(--mist); padding: var(--sec) 0; }
.book-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.book-intro { position: sticky; top: 120px; }
.book-intro .lede { margin-top: 16px; }
.fallback { margin-top: 24px; font-size: 15px; color: var(--ink-3); }
.fallback a { color: var(--green-ink); font-weight: 600; }
.book-mascot { width: 120px; margin-top: 36px; filter: drop-shadow(0 18px 20px rgba(11,31,42,.14)); }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -56px rgba(11,31,42,.45), inset 0 0 0 1px var(--line); }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field > span, fieldset legend { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field em, legend em { color: var(--green-ink); font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
fieldset legend { padding: 0; margin-bottom: 8px; }
input, textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 14px; border: 0; background: var(--mist); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 200ms, background-color 200ms; appearance: none; -webkit-appearance: none; }
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--green); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #c2412d !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; }
.chip > span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; background: var(--mist); font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color 200ms, color 200ms, box-shadow 200ms; box-shadow: inset 0 0 0 1px var(--line); }
.chip input:checked + span { background: var(--green-ink); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2.5px solid var(--green); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; min-height: 0; padding: 0; border-radius: 7px; margin-top: 1px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--green-ink); box-shadow: none; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--green-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.prefill { display: flex; align-items: center; gap: 10px; background: var(--mint); border-radius: 14px; padding: 6px 6px 6px 14px; font-size: 14.5px; }
.prefill strong { flex: 1; }
.prefill .icon-btn { width: 36px; height: 36px; background: rgba(255,255,255,.7); }
.prefill .icon-btn svg { width: 14px; height: 14px; }
.form-err { color: #b3361f; font-size: 14px; }
.thanks { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 28px 8px; }
.thanks:focus { outline: none; }
.thanks p { color: var(--ink-2); max-width: 420px; }
.thanks .small { font-size: 14px; color: var(--ink-3); }
.thanks .small a { color: var(--green-ink); font-weight: 600; }
.tick { width: 56px; height: 56px; color: var(--green); animation: pop 520ms var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 14.5px; }
.ft-top { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft-brand { display: grid; gap: 14px; justify-items: start; max-width: 460px; }
.ft-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.ft-logo img { width: 24px; height: auto; }
.ft-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; min-height: 44px; }
.ft-mail svg { width: 18px; height: 18px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background-color 200ms; }
.socials a:hover { background: rgba(255,255,255,.16); }
.socials svg { width: 20px; height: 20px; }
.footer h3 { font-size: 13px; color: #fff; letter-spacing: .04em; margin-bottom: 12px; }
.footer ul li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer a:hover { color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 13px; }

/* ---------------------------------------------------------------- courses page + legal */
.page-head { padding: 140px 0 40px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--green-ink); text-decoration: none; margin-bottom: 18px; min-height: 40px; }
.back svg { width: 14px; height: 14px; transform: scaleX(-1); }
.seg { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 0 28px; background: var(--mist); border-radius: 999px; width: max-content; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { border: 0; background: transparent; padding: 8px 16px; min-height: 40px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color 200ms var(--ease), color 200ms; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(11,31,42,.12); font-weight: 600; }
.all-grid { padding-bottom: var(--sec); }
.course details { margin-top: 4px; }
.course summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 15px; font-weight: 600; color: var(--green-ink); }
.course summary::-webkit-details-marker { display: none; }
.course summary svg { width: 13px; height: 13px; transition: transform 300ms var(--ease); }
.course details[open] summary svg { transform: rotate(90deg); }
.cd { display: grid; gap: 14px; padding-top: 6px; animation: rise 400ms var(--ease); }
.cd h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--ink-3); margin-bottom: 6px; }
.cd p, .cd li { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.cd ul.dots li { position: relative; padding-left: 14px; margin: 3px 0; }
.cd ul.dots li::before { content: ""; position: absolute; left: 1px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { background: var(--mist); padding: 5px 11px; border-radius: 999px; font-size: 13.5px !important; }
.pills a { text-decoration: none; color: var(--green-ink); font-weight: 600; }
.course:target { box-shadow: inset 0 0 0 2px var(--green); }
.legal { padding: 140px 0 96px; }
.legal section { padding: 20px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 19px; }
.legal section p { color: var(--ink-2); margin-top: 8px; }
.draft-note { display: inline-block; font-size: 13px; color: var(--ink-3); background: var(--mist); padding: 5px 12px; border-radius: 999px; margin: 14px 0 24px; }

/* ---------------------------------------------------------------- reveal (opacity + small rise, one curve) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .nav-links a { padding: 9px 9px; font-size: 14px; }
  .prod-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-end { margin-left: auto; }
  .exp-grid, .course-grid { grid-template-columns: 1fr 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .steps4 li::after { display: none; }
}

/* ---------------------------------------------------------------- phone: its own composition */
@media (max-width: 760px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }
  .nav { top: 10px; width: calc(100% - 20px); gap: 8px; padding: 5px 5px 5px 12px; }
  .brand span { font-size: 15.5px; }
  .js .nav.on-pass { transform: translate(-50%, -150%); opacity: 0; pointer-events: none; }
  .nav .btn-sm { padding: 0 13px; font-size: 14px; min-height: 38px; }

  /* the vertical pass: about the company only. Full-bleed, same layering as the desktop hero:
     tall art behind, copy straight on its calm top, the pair standing in the brush. */
  .pass-wrap { display: block; background: #fff; }
  .pass { --p: 0; position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; max-height: 980px; display: flex; flex-direction: column; padding: max(14px, env(safe-area-inset-top)) 0 max(12px, env(safe-area-inset-bottom)); }
  .pass-art { position: absolute; inset: 0 0 -6% 0; background: url(img/hero-art-tall.webp) 50% 100% / cover no-repeat; transform: translateY(calc(var(--p) * 5%)); will-change: transform; }
  .pass-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; }
  .pass-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -.015em; }
  .pass-brand img { width: 18px; height: auto; }
  .pass .lang { background: rgba(11,31,42,.05); }
  .pass-body { position: relative; padding: clamp(32px, 9vh, 88px) 24px 0; display: grid; gap: 12px; text-align: left; transform: translateY(calc(var(--p) * -24px)); opacity: calc(1 - var(--p) * .6); }
  .pass-kicker { font-size: 13px; font-weight: 600; color: var(--green-ink); letter-spacing: .01em; }
  .pass-line { font-size: 38px; line-height: 1.18; font-weight: 700; letter-spacing: -.024em; }
  html[data-lang="th"] .pass-line { font-size: 40px; line-height: 1.32; letter-spacing: -.01em; }
  .pass-sub { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 30ch; }
  .pass-pair { --fh: min(40vh, 340px); flex: 1; min-height: 0; padding-bottom: 6px; transform: translateY(calc(var(--p) * -16px)); }
  .pass-pair .m-flame { height: var(--fh); }
  .pass-pair .m-bunny { height: calc(var(--fh) * .56); margin-right: calc(var(--fh) * -.31); margin-bottom: calc(var(--fh) * .012); }
  .pass-hint { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
  .pass-hint svg { width: 14px; height: 14px; animation: nudge 2.4s var(--ease-io) infinite; }

  .hero { display: none; }

  .clients { padding: 36px 0 12px; }
  .clients-label { margin-bottom: 14px; }
  .speaker { padding: 56px 0; }
  .aj { grid-template-columns: 1fr; gap: 22px; }
  .aj-visual { align-self: auto; min-height: 0; aspect-ratio: 1 / 1.08; max-height: 540px; }
  .aj-visual { aspect-ratio: 4 / 3.3; max-height: none; border-radius: 28px; }
  .aj-visual img { height: 100%; }
  .aj-bio { font-size: 16px; }
  .nums { gap: 8px; margin-top: 20px; }
  .num { padding: 14px 12px 12px; border-radius: 16px; }
  .num b { font-size: 32px; }
  .num span { font-size: 12.5px; }
  .rs li { grid-template-columns: 40px 1fr; font-size: 14px; }

  .exp-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .exp-grid::-webkit-scrollbar { display: none; }
  .exp { scroll-snap-align: start; }
  .exp-grid { grid-auto-rows: auto; }
  .exp-grid > .exp { grid-row: auto; display: flex; flex-direction: column; margin-bottom: 0; }
  .exp { padding: 20px 20px 18px; border-radius: 22px; }
  .exp h3 { font-size: 21px; }
  .exp p { font-size: 15.5px; }

  .course-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .course-grid::-webkit-scrollbar { display: none; }
  .course-grid .course { scroll-snap-align: start; padding: 22px 20px 20px; }
  .course-grid .course:hover { transform: none; }
  .all-grid .course-grid { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .see-all { margin-top: 18px; }

  .steps4 { grid-template-columns: 1fr; gap: 10px; }
  .steps4 li { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; padding: 18px 18px 18px 16px; border-radius: 22px; }
  .steps4 .n { grid-row: span 2; margin: 0; }
  .steps4 h3 { font-size: 17.5px; margin-bottom: 2px; }
  .steps4 p { font-size: 14.5px; }
  .data-line { font-size: 14px; text-align: left; align-items: flex-start; }
  .process-cta .btn { width: 100%; }

  .event { padding: 16px 0 48px; }
  .ev-card { grid-template-columns: 1fr; gap: 18px; border-radius: 28px; padding: 12px; }
  .ev-poster { border-radius: 20px; }
  .ev-copy { padding: 4px 8px 10px; }
  .ev-sub { font-size: 16px; }
  .ev-facts { margin: 16px 0 18px; }
  .ev-facts div { grid-template-columns: 80px 1fr; font-size: 15px; padding: 10px 0; }
  .ev-copy .btn { width: 100%; }

  .prod-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .prod-row::-webkit-scrollbar { display: none; }
  .prod { scroll-snap-align: start; }
  .prod.tj { margin-right: 4px; }

  .book-grid { grid-template-columns: 1fr; gap: 24px; }
  .book-intro { position: static; }
  .book-mascot { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .form-card { border-radius: 28px; padding: 22px 18px; }
  .ft-top { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 104px 0 28px; }
  .seg { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); border-radius: 0; width: auto; padding: 4px var(--gut); background: transparent; }
  .seg button { background: var(--mist); }
  .legal { padding-top: 104px; }
}
@media (max-width: 440px) {
  .nav .brand span { display: none; }
}
@media (max-height: 720px) and (max-width: 760px) {
  .pass-pair { --fh: 30vh; }
  .pass-line, html[data-lang="th"] .pass-line { font-size: 28px; }
  .pass-sub { font-size: 14.5px; }
}
@media (min-width: 1024px) {
  .mq-tile { width: 168px; height: 76px; }
  .mq-tile img { width: 140px; height: 54px; }
  .marquee { gap: 16px; } .mq-track { --g: 16px; }
}

/* ---------------------------------------------------------------- respect the person's settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-art, .hero-copy, .hero-pair, .pass-art, .pass-body, .pass-pair { transform: none !important; opacity: 1 !important; }
  .mq-row { -webkit-mask-image: none; mask-image: none; }
  .mq-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .mq-track [aria-hidden="true"].mq-clone { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .menu-panel, .exp { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .exp { background: #142f3e; }
}

/* event: follow button sits bottom right of the card (Pete 2026-11-11) */
.ev-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(12px, 2vw, 28px); }
.ev-copy #eventBtn { align-self: flex-end; margin-top: auto; margin-right: clamp(4px, 1vw, 12px); }
@media (max-width: 720px) { .ev-copy #eventBtn { margin: 4px 4px 4px 0; } }

/* products: five equal cards; top, head, catchphrase, line, button and note rows line up (Pete 2026-11-11) */
.prod-row { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: auto auto auto 1fr auto auto; row-gap: 0; }
.prod-row > .prod { grid-row: span 6; display: grid; grid-template-rows: subgrid; align-content: start; }
.prod-row > .prod .line { align-self: start; }
.prod-head h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.prod .desc { margin-top: 4px; font: 500 12px/1.4 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .01em; color: var(--ink-3); text-transform: none; }
.prod-head .for { margin-top: 6px; }
.prod.tj .desc { color: var(--tj-ink); opacity: .7; }
.prod .disc:empty { margin: 0; }
@media (max-width: 1100px) { .prod-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .prod-row { grid-template-columns: none; grid-auto-rows: auto; }
  .prod-row > .prod { grid-row: auto; display: flex; flex-direction: column; }
}

/* status words are plain text, no coloured pill (Pete 2026-11-11) */
.prod:not(.tj) .status, .prod:not(.tj) .status.soon, .prod:not(.tj) .status.dev { background: none; padding: 0; border-radius: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.prod:not(.tj) .status.dev { color: var(--green-ink); }
.prod .tag { background: none; padding: 0; }
/* same rule elsewhere: labels are plain text, never words on a coloured pill */
.aj-role { background: none; padding: 0; border-radius: 0; }
.pills li { background: none; padding: 0; border-radius: 0; color: var(--ink-3); }
.pills li + li::before { content: "·"; margin-right: 8px; color: var(--ink-3); }
.draft-note { background: none; padding: 0; border-radius: 0; }
/* taijai card: catchphrase as plain text too; dog smaller so the name and descriptor read on one line */
.prod.tj .catch { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.tj-head img { width: 56px; }
.tj-head .desc { white-space: normal; }

/* topic card art: white-ground watercolour, shown as a framed print on the dark section */
.exp-img { background-color: #fff; }

/* hero: the brush body never sits behind the mascots (same mint family); it fades out before the pair (Pete 2026-11-11) */
.hero-art { -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 64%); mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 64%); }
@media (max-width: 720px) {
  /* phone: lift the swoosh so it runs between the text and the mascot pair, and fade it out behind the pair */
  .pass-art { inset: -22% 0 22% 0; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 84%); mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 84%); }
}
