/* Design system: "darkroom at golden hour". Warm near-black surfaces, ivory type, one prism gradient used sparingly.
   Display face Fraunces (editorial serif), UI face Inter. All motion honours prefers-reduced-motion. */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
:root {
  --ink-0: #08080a; --ink-1: #0e0e12; --ink-2: #15151b; --ink-3: #1d1d25; --ink-4: #282832;
  --line: rgba(255, 244, 230, .09); --line-2: rgba(255, 244, 230, .16); --line-3: rgba(255, 244, 230, .28);
  --text: #f6f2ea; --soft: #cfc9be; --muted: #a09a90; --faint: #6f6a62;
  --amber: #ffc46b; --coral: #ff7a4f; --rose: #f0489b; --violet: #8a6cff;
  --grad: linear-gradient(100deg, #ffc46b 0%, #ff7a4f 34%, #f0489b 68%, #8a6cff 100%);
  --grad-soft: linear-gradient(100deg, rgba(255, 196, 107, .16), rgba(255, 122, 79, .14) 34%, rgba(240, 72, 155, .14) 68%, rgba(138, 108, 255, .16));
  --ok: #58d6a4; --warn: #ffb35c; --bad: #ff6b6b;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -24px rgba(0, 0, 0, .8);
  --nav-h: 68px; --wrap: 1240px;
}
/* Scripts our two web fonts do not cover fall back to the system's own typefaces. */
:lang(ja) { --sans: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; --serif: "Fraunces", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --sans: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --serif: "Fraunces", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
:lang(th) { --sans: "Inter", "Leelawadee UI", "Thonburi", "Noto Sans Thai", "Tahoma", sans-serif; --serif: "Fraunces", "Leelawadee UI", "Thonburi", "Noto Sans Thai", "Tahoma", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--ink-0); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--ink-0); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(255, 122, 79, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--ink-0); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- type */
.display { font-family: var(--serif); font-weight: 480; font-variation-settings: "opsz" 144; letter-spacing: -.035em; line-height: .98; }
.display em, .grad-text { font-style: italic; font-weight: 420; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.grad-text { font-style: normal; }
.h2 { font-family: var(--serif); font-weight: 460; font-variation-settings: "opsz" 96; font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.03em; line-height: 1.04; }
.h3 { font-family: var(--serif); font-weight: 480; font-variation-settings: "opsz" 48; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.35vw, 19.500px); line-height: 1.6; color: var(--soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.500px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow .ic { width: 14px; height: 14px; color: var(--amber); }
.muted { color: var(--muted); }

/* ---------- buttons */
.btn { --bh: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.500px; letter-spacing: -.005em; white-space: nowrap; transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, border-color .2s, color .2s, opacity .2s; isolation: isolate; user-select: none; }
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 60px; padding: 0 32px; font-size: 17px; }
.btn-light { background: var(--text); color: #0b0b0d; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 10px 30px -10px rgba(255, 190, 120, .45); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 16px 44px -10px rgba(255, 150, 100, .6); }
.btn-ghost { color: var(--text); background: rgba(255, 244, 230, .05); box-shadow: 0 0 0 1px var(--line-2) inset; backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 244, 230, .1); box-shadow: 0 0 0 1px var(--line-3) inset; transform: translateY(-2px); }
/* the prism button: gradient fill with a light beam travelling round the border */
.btn-prism { color: #140a06; background: var(--grad); background-size: 180% 100%; box-shadow: 0 14px 40px -12px rgba(255, 110, 90, .7), 0 0 0 1px rgba(255, 255, 255, .25) inset; animation: prism-shift 7s ease-in-out infinite alternate; }
.btn-prism::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--beam), transparent 0 72%, #fff 86%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: beam 3.200s linear infinite; z-index: -1; opacity: .9; }
.btn-prism:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 20px 56px -12px rgba(255, 110, 90, .9), 0 0 0 1px rgba(255, 255, 255, .35) inset; }
@keyframes beam { to { --beam: 360deg; } }
@keyframes prism-shift { to { background-position: 100% 0; } }
.linklike { color: inherit; text-align: left; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.500px; font-weight: 500; color: var(--soft); background: rgba(255, 244, 230, .05); box-shadow: 0 0 0 1px var(--line) inset; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease-out); }
button.chip:hover, a.chip:hover { background: rgba(255, 244, 230, .1); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.chip[aria-pressed="true"], .chip.on { background: var(--text); color: #0b0b0d; box-shadow: none; font-weight: 600; }
.chip .ic { width: 15px; height: 15px; }

/* ---------- nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8, 8, 10, .72); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-color: var(--line); }
.nav-in { height: 100%; width: min(1400px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 30px; height: 30px; display: block; transition: transform .8s var(--ease-out); }
.logo-mark svg { width: 100%; height: 100%; }
.brand:hover .logo-mark { transform: rotate(180deg); }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 520; letter-spacing: -.03em; font-variation-settings: "opsz" 36; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links > a, .nav-more-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.500px; font-weight: 500; color: var(--soft); transition: color .2s, background .2s; }
.nav-links > a:hover, .nav-more-btn:hover, .nav-more-btn[aria-expanded="true"] { color: var(--text); background: rgba(255, 244, 230, .07); }
.nav-links > a[aria-current="page"] { color: var(--text); background: rgba(255, 244, 230, .09); }
.chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-more { position: relative; }
.menu { position: absolute; top: calc(100% + 12px); left: -12px; width: 560px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--r-lg); background: rgba(20, 20, 26, .94); backdrop-filter: blur(24px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -20px rgba(0, 0, 0, .9); animation: pop .22s var(--ease-out); transform-origin: 20% 0; }
.menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background .15s; }
.menu a:hover { background: rgba(255, 244, 230, .07); }
.menu a .ic { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--grad-soft); color: var(--amber); box-shadow: 0 0 0 1px var(--line) inset; }
.menu b { display: block; font-size: 14.500px; font-weight: 600; }
.menu small { display: block; font-size: 12.500px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; font-size: 13.500px; color: var(--muted); transition: color .2s, background .2s; }
.lang:hover { color: var(--text); background: rgba(255, 244, 230, .07); }
.lang .ic { width: 16px; height: 16px; }
button.lang { cursor: pointer; }
.lang .chev { width: 13px; height: 13px; opacity: .7; transition: transform .2s; }
.lang[aria-expanded="true"] { color: var(--text); background: rgba(255, 244, 230, .07); }
.lang[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { left: auto; right: 0; width: 214px; grid-template-columns: 1fr; padding: 8px; }
.lang-menu a { justify-content: space-between; padding: 9px 12px; font-size: 14.5px; color: var(--soft); }
.lang-menu a:hover { color: var(--text); }
.lang-menu a[aria-current] { color: var(--text); font-weight: 600; }
.lang-menu a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; }

/* ---------- sections */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); display: grid; gap: 16px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.page-top { padding-top: calc(var(--nav-h) + 56px); }

/* reveal on scroll (elements are visible by default; JS adds .js-reveal so no-JS still shows everything) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js-reveal [data-reveal="scale"] { transform: scale(.94); }
.js-reveal [data-reveal="left"] { transform: translateX(-32px); }
.js-reveal [data-reveal="right"] { transform: translateX(32px); }

/* ---------- media cards */
.thumb { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink-2); isolation: isolate; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; font-family: var(--serif); font-size: 17px; line-height: 1.15; letter-spacing: -.01em; color: rgba(255, 255, 255, .92);
  background: radial-gradient(120% 90% at 20% 10%, hsl(var(--h, 20) 80% 62% / .9), transparent 60%), radial-gradient(120% 100% at 90% 90%, hsl(calc(var(--h, 20) + 70) 75% 52% / .9), transparent 62%), linear-gradient(160deg, hsl(calc(var(--h, 20) + 30) 45% 22%), hsl(calc(var(--h, 20) - 30) 50% 12%)); }
.ph::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: overlay; opacity: .5; pointer-events: none; }
.ph span { position: relative; z-index: 1; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.pack > .ph span { font-size: 72px; }
.ph small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10.500px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease-out); will-change: transform; }
.tilt .glare { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 45%); mix-blend-mode: soft-light; }
.tilt:hover .glare { opacity: 1; }

/* before / after slider component: <div class="ba" data-ba> <img after> <div class="ba-before"><img before></div> <div class="ba-handle"> */
.ba { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); touch-action: pan-y; user-select: none; --p: 50%; cursor: ew-resize; isolation: isolate; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 24px 2px rgba(255, 190, 130, .75); z-index: 2; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .25s var(--spring); }
.ba:hover .ba-handle::after, .ba.dragging .ba-handle::after { transform: scale(1.12); }
.ba-tag { position: absolute; top: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 11.500px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(8, 8, 10, .55); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset; pointer-events: none; transition: opacity .3s; }
.ba-tag.b { left: 14px; } .ba-tag.a { right: 14px; }
.ba.auto { cursor: default; }

/* ---------- ads: always labelled, fixed reserved size, clear space around, never adjacent to action buttons */
.ad { display: grid; justify-items: center; gap: 8px; margin: clamp(40px, 5vw, 72px) auto; padding: 0 16px; width: 100%; }
.ad-label { font-size: 10.500px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.ad-box { width: 100%; max-width: 970px; min-height: 90px; display: grid; place-items: center; border-radius: 12px; overflow: hidden; }
.ad-rect .ad-box { max-width: 336px; min-height: 280px; }
.ad-tall .ad-box { max-width: 300px; min-height: 600px; }
.ad-ph { width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; font-size: 12.500px; letter-spacing: .08em; color: var(--faint); border: 1px dashed var(--line-2); border-radius: 12px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 244, 230, .018) 14px 28px); }
.ad ins { display: block; width: 100%; }

/* ---------- consent banner */
.consent { position: fixed; z-index: 150; left: 20px; bottom: 20px; width: min(520px, calc(100% - 40px)); border-radius: var(--r-lg); background: rgba(22, 22, 28, .96); backdrop-filter: blur(24px); box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -20px rgba(0, 0, 0, .95); animation: consent-in .6s var(--ease-out) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(24px); } }
.consent-in { padding: 22px; display: grid; gap: 16px; }
.consent h2 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 6px; }
.consent p { font-size: 13.500px; line-height: 1.55; color: var(--soft); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent-opt { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.consent-opt b { color: var(--text); font-weight: 600; }
.consent-opt input { margin-top: 2px; accent-color: var(--coral); width: 16px; height: 16px; flex: none; }
.consent-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-1), var(--ink-0)); margin-top: 40px; }
.foot-in { width: min(var(--wrap), 100% - 48px); margin-inline: auto; padding: 64px 0 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 340px; font-size: 14.500px; color: var(--muted); }
.foot-safe { display: flex; gap: 8px; align-items: flex-start; font-size: 13px !important; }
.foot-safe .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 14.500px; }
.foot-col h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 6px; }
.foot-col a, .foot-col button { color: var(--soft); transition: color .2s; width: fit-content; }
.foot-col a:hover, .foot-col button:hover { color: var(--text); }
.foot-base { width: min(var(--wrap), 100% - 48px); margin-inline: auto; padding: 22px 0 36px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--faint); }

/* ---------- prose (legal + tool pages) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 480; font-size: 28px; letter-spacing: -.02em; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--soft); font-size: 16.500px; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- toast */
.toasts { position: fixed; z-index: 180; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; max-width: min(560px, calc(100vw - 32px)); padding: 13px 18px; border-radius: 14px; font-size: 14.500px; background: rgba(28, 28, 36, .97); box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px -12px rgba(0, 0, 0, .9); animation: toast-in .45s var(--spring) both; display: flex; gap: 10px; align-items: center; }
.toast.bad { box-shadow: 0 0 0 1px rgba(255, 107, 107, .5), 0 24px 60px -12px rgba(0, 0, 0, .9); }
.toast.bad::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

.shot [data-rise], .shot .hero-stage { animation: none !important; }

/* cross-page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.open .nav-links { display: grid; position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0; padding: 16px 20px 24px; gap: 4px; background: rgba(10, 10, 13, .98); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .nav.open .nav-links > a, .nav.open .nav-more-btn { height: 48px; font-size: 16px; }
  .nav.open .nav-links .menu { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; background: none; padding: 0; animation: none; }
  .lang span { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-end .btn { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .consent { left: 10px; bottom: 10px; width: calc(100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; filter: none; }
  @view-transition { navigation: none; }
}

/* ---------- CJK and Thai: no tight tracking, no synthetic italics, room for tall glyphs */
:lang(ja) :is(.display, .h2, .h3, h1, h2, h3, .brand-name, em, i), :lang(ko) :is(.display, .h2, .h3, h1, h2, h3, em, i), :lang(th) :is(.display, .h2, .h3, h1, h2, h3, em, i) { letter-spacing: 0; font-style: normal; }
:lang(ja) :is(.display, .h2), :lang(ko) :is(.display, .h2) { line-height: 1.2; font-weight: 600; }
:lang(th) :is(.display, .h2, .h3) { line-height: 1.32; font-weight: 600; }
body:lang(th) { line-height: 1.75; }
body:lang(ja) { line-break: strict; }
body:lang(ko) { word-break: keep-all; }
:lang(ja) .display em, :lang(ko) .display em, :lang(th) .display em { font-weight: inherit; padding-right: 0; }
/* full-width glyphs are about twice as wide as Latin letters: smaller display sizes, and a headline line never breaks */
:lang(ja) .hero-h1, :lang(ko) .hero-h1 { font-size: clamp(40px, 5vw, 78px); }
:lang(ja) .hero-h1 .line, :lang(ko) .hero-h1 .line, :lang(th) .hero-h1 .line { white-space: nowrap; padding-top: .16em; padding-bottom: .2em; margin-top: -.1em; margin-bottom: -.14em; }
:lang(th) .hero-h1 { font-size: clamp(44px, 5.6vw, 88px); }
:lang(ja) .display:not(.hero-h1), :lang(ko) .display:not(.hero-h1) { font-size: clamp(34px, 4.4vw, 64px); }
