:root{--bg: #f7f9fa;--surface: #ffffff;--fg: #16202a;--muted: #56636f;--line: #d8dfe4;--accent: #0f5b78;--accent-strong: #0b4760;--accent-soft: #e1eef3;--on-accent: #ffffff;--danger: #b4332b;--shadow: rgba(15, 40, 55, .35);--hud: #7fe0ff;--display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;--sans: "Anuphan", "Segoe UI", "Leelawadee UI", system-ui, sans-serif;--mono: "JetBrains Mono", Consolas, monospace;color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #0e151b;--surface: #141e26;--fg: #e4eaee;--muted: #94a3af;--line: #26333d;--accent: #5fb3d3;--accent-strong: #7fc4de;--accent-soft: #16323f;--on-accent: #08141a;--danger: #e0645b;--shadow: rgba(0, 0, 0, .7);color-scheme:dark}}:root[data-theme=dark]{--bg: #0e151b;--surface: #141e26;--fg: #e4eaee;--muted: #94a3af;--line: #26333d;--accent: #5fb3d3;--accent-strong: #7fc4de;--accent-soft: #16323f;--on-accent: #08141a;--danger: #e0645b;--shadow: rgba(0, 0, 0, .7);color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}html[lang=th] :is(h2,.eyebrow,.cat,.contact-list dt){letter-spacing:.02em}.draw-pending{opacity:0!important}.draw-in{animation:draw-in .55s cubic-bezier(.2,.7,.2,1) both}@keyframes draw-in{0%{opacity:0;translate:0 8px}}.draw-layer{position:absolute;inset:0;z-index:30;pointer-events:none}.crew-box{position:absolute;top:0;left:0;width:0;height:0;border:1.5px solid #e1062c;background:#e1062c12}.crew-box.fade{opacity:0;transition:opacity .6s ease}.crew-box i{position:absolute;width:8px;height:8px;border:1.5px solid #e1062c;background:#fff}.crew-box i:nth-child(1){top:-5px;left:-5px}.crew-box i:nth-child(2){top:-5px;right:-5px}.crew-box i:nth-child(3){bottom:-5px;left:-5px}.crew-box i:nth-child(4){bottom:-5px;right:-5px}.crew-box span{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);padding:2px 7px;border-radius:3px;background:#e1062c;color:#fff;font:600 11px/1.4 JetBrains Mono,Consolas,monospace;white-space:nowrap}.crew-cursor{position:absolute;top:0;left:0;z-index:1;display:flex;align-items:flex-start;gap:2px;opacity:0;transition:opacity .35s ease;will-change:transform}.crew-cursor.on{opacity:1}.crew-cursor svg{width:22px;height:22px;margin:-3px 0 0 -4px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6));transition:transform .15s}.crew-cursor.press svg{transform:scale(.86)}.crew-cursor path{fill:#e1062c;stroke:#fff;stroke-width:1.4;stroke-linejoin:round}.crew-cursor.light path{fill:#f4f4f5;stroke:#0a0a0c}.crew-cursor span{margin-top:14px;padding:3px 8px;border-radius:6px 6px 6px 2px;background:#e1062c;color:#fff;font:600 11px/1.2 Anuphan,system-ui,sans-serif;white-space:nowrap}.crew-cursor.light span{background:#f4f4f5;color:#0a0a0c}html:has(dialog[open]){overflow:hidden}.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease-out,transform .7s cubic-bezier(.2,.7,.2,1)}.reveal.in{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}}
