/* METEORX v2 (PLAN.md V1–V21): dark, one red accent (#C8102E, was Ember #FF7A3D). Type: Archivo Expanded (display, = Archivo at
   font-stretch 125%, so every --display rule pairs with font-stretch: 125%) + Montserrat (text) + Kanit (Thai: 800 headings, 200 text; only these two weights load, so 100–500 fall to ExtraLight and 600+ to ExtraBold).
   Every scroll effect reads --p (0..1) written by js/app.js. The CSS default is --p:1, the final state,
   so the page reads correctly without JS and with reduced motion. html.motion turns the effects on. */

:root {
  --bg: #0B0B0C;
  --bg-2: #151517;
  --ink: #F4F4F4;
  --silver: #D9D9DB;
  --mute: #A6A6AA;
  --mute-2: #8C8C91;
  --mute-3: #5F5F64;
  --line: rgba(244, 244, 244, 0.14);
  --line-strong: rgba(244, 244, 244, 0.28);
  --accent: #C8102E;

  --light-bg: #EDEDED;
  --light-ink: #0B0B0C;
  --light-mute: #5E5E63;
  --light-mute-2: #3E3E42;
  --light-line: rgba(11, 11, 12, 0.14);
  --light-well: #E2E2E4;

  --gutter: clamp(20px, 3.5vw, 44px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Archivo", "Kanit", system-ui, sans-serif;
  --text: "Montserrat", "Kanit", system-ui, sans-serif;
  --header-h: 64px;
}
html[lang="th"] { --text: "Kanit", "Montserrat", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 16px/1.75 var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--light-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 980px; }

/* ---------- type ---------- */
/* small tracked labels: Montserrat */
.eyebrow, .tag, .fact-key, .cd-label, .brand-line, .reflect-bar {
  font-family: var(--text);
}
/* wide display: Archivo Expanded */
.pain-word, .cd-soon-en {
  font-family: var(--display);
  font-stretch: 125%;
}
.eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--mute-2); margin-bottom: 22px;
}
.light .eyebrow { color: var(--light-mute); }
.display, .display-s, .join-display, .sweep, .wordmark, .foot-brand {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  letter-spacing: -.02em; line-height: .98; text-transform: uppercase;
}
.display { font-size: clamp(40px, 7.4vw, 112px); }
.display-s { font-size: clamp(30px, 4.6vw, 64px); }
html[lang="th"] .display, html[lang="th"] .display-s {
  font-family: "Kanit", "Archivo", sans-serif; font-weight: 800; letter-spacing: 0; line-height: 1.22;
}
html[lang="th"] .display { font-size: clamp(36px, 6.4vw, 96px); }
html[lang="th"] .display-s { font-size: clamp(28px, 4vw, 56px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 36em; }
.body { color: var(--mute); max-width: 34em; }
.light .body, .light .lead { color: var(--light-mute); }

/* Thai tracking: slight open spacing (owner 2026-11-21, replaces V7 "no tracking"); headings tighter. Wide-tracked labels stay English in markup. */
html[lang="th"] body, html[lang="th"] [data-i18n] { letter-spacing: .025em; }
html[lang="th"] .display, html[lang="th"] .display-s, html[lang="th"] .story-text { letter-spacing: .01em; }

/* ---------- tags ---------- */
.tag {
  display: inline-block; font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--silver); background: rgba(11, 11, 12, .62); border: 1px solid var(--line);
  padding: 6px 10px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); line-height: 1.3;
}
html[lang="th"] .tag { font-family: "Kanit", sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .025em; }

/* ---------- header ---------- */
.site-header {
  --sy: 1;
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter);
  background: rgba(11, 11, 12, calc(var(--sy) * .78));
  border-bottom: 1px solid rgba(244, 244, 244, calc(var(--sy) * .1));
  backdrop-filter: blur(calc(var(--sy) * 14px)); -webkit-backdrop-filter: blur(calc(var(--sy) * 14px));
}
html.motion .site-header { --sy: 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.wordmark { font-size: 19px; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 13px; font-weight: 400; color: var(--mute); text-decoration: none; transition: color .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.head-end { display: flex; align-items: center; gap: 2px; }
.head-end .lang-toggle { margin-right: 6px; }
.lang-toggle { display: flex; border: 1px solid var(--line); }
.lang-toggle button {
  background: none; border: 0; padding: 6px 10px; cursor: pointer;
  font: 600 11px/1 var(--text); letter-spacing: .14em; color: var(--mute-2);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.lang-toggle button[aria-pressed="true"] { color: var(--bg); background: var(--ink); }
/* Join as a text button; heart = favorites (count badge); bag shown, shop not open yet (spike) */
.join-link {
  position: relative; padding: 8px 2px; margin-left: 4px; white-space: nowrap; text-decoration: none;
  font: 600 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.join-link::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.join-link:hover::after, .join-link:focus-visible::after { transform: scaleX(1); }
html[lang="th"] .join-link { font: 500 14px/1 "Kanit", sans-serif; letter-spacing: .02em; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
  background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: none;
  transition: color .3s var(--ease);
}
.icon-btn .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.icon-btn:hover { color: var(--accent); }
.fav-btn.has-items .ico { fill: var(--accent); stroke: var(--accent); }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--accent); color: #fff; font: 700 10px/16px var(--text); text-align: center; letter-spacing: 0;
}
.badge.bump { animation: badge-bump .45s var(--ease); }
@keyframes badge-bump { 40% { transform: scale(1.35); } }
.bag-btn { color: var(--mute); cursor: default; }
.bag-btn:hover { color: var(--ink); }
.tip {
  position: absolute; top: calc(100% + 8px); right: 0; white-space: nowrap; pointer-events: none;
  padding: 7px 10px; background: var(--ink); color: var(--bg); font: 500 12px/1 var(--text);
  opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
html[lang="th"] .tip { font-family: "Kanit", sans-serif; font-weight: 200; }
.bag-btn:hover .tip, .bag-btn:focus-visible .tip, .bag-btn.show-tip .tip { opacity: 1; transform: none; }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) {
  .head-end .lang-toggle { margin-right: 4px; }
  .lang-toggle button { padding: 6px 7px; }
  .icon-btn { width: 30px; }
}
@media (prefers-reduced-motion: reduce) { .badge.bump { animation: none; } }

/* ---------- countdown (hero + join) ---------- */
.countdown .cd-units, .countdown .cd-label { display: none; }
.countdown.has-date .cd-units { display: flex; }
.countdown.has-date .cd-label { display: block; }
.countdown.has-date .cd-soon { display: none; }
.cd-label { font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 10px; }
html[lang="th"] .cd-label { font-family: "Kanit", sans-serif; font-size: 12px; font-weight: 500; }
.cd-units { gap: clamp(14px, 2vw, 28px); }
.cd-u { display: flex; flex-direction: column; align-items: flex-start; }
.cd-u b {
  font: 700 clamp(26px, 3vw, 40px)/1 var(--display); font-stretch: 125%;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.cd-u small { font-size: 11px; color: var(--mute-2); margin-top: 6px; }
.cd-sec b { color: var(--accent); }
.cd-soon { display: flex; flex-direction: column; gap: 4px; }
.cd-soon-en { font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; letter-spacing: .2em; color: var(--ink); line-height: 1.2; }
.cd-soon-loc { font-size: 13px; color: var(--mute-2); }
html[lang="en"] .cd-soon-loc { display: none; }

/* ---------- 1 hero ---------- */
.hero { --p: 1; position: relative; height: 100svh; min-height: 560px; }
html.motion .hero { height: 150vh; }
.sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero .sticky { min-height: 560px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transform: scale(calc(1.14 - var(--p) * .14)); opacity: calc(.72 - var(--p) * .3);
  will-change: transform, opacity;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, .8) 0%, transparent 26%, transparent 42%, #0B0B0C 84%);
}
/* v2 layout: lead top-right, brand line + launch slot above a full-width wordmark */
.hero-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 56px) 0 clamp(18px, 3vh, 34px);
}
.hero-lead-wrap {
  /* v2 puts the lead top-right; on our photo that is the city lights and the runners' heads,
     so it sits bottom-left on the darkening shade instead */
  flex: 1; display: flex; justify-content: flex-start; align-items: flex-end;
  padding: 0 var(--gutter) clamp(20px, 3.5vh, 36px);
}
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px;
  margin: 0 var(--gutter) clamp(16px, 3vh, 30px);
  transform: translateY(calc(var(--p) * -24px));
}
.hero-foot-l { display: flex; flex-direction: column; gap: 18px; }
.scroll-hint {
  font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--mute);
  opacity: clamp(0, calc(1 - var(--p) * 4), 1);
}
.hero .brand-line {
  font: 700 clamp(15px, 1.6vw, 20px)/1.5 var(--display); font-stretch: 125%;
  letter-spacing: .3em; color: var(--ink);
}
.hero .countdown { text-align: left; }
.sweep {
  display: block; text-align: center; white-space: nowrap;
  font-size: min(13.4vw, 260px); line-height: .86; font-weight: 900; letter-spacing: 0;
  transform: translateY(calc(var(--p) * 12px));
}
.sweep-word { position: relative; display: inline-block; }
.sweep-text {
  background: linear-gradient(100deg, #3C3C40 0%, #3C3C40 38%, #D9D9DB 47%, #fff 50%, #D9D9DB 53%, #3C3C40 62%, #3C3C40 100%);
  background-size: 320% 100%;
  background-position: calc(100% - var(--p) * 100%) 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* No motion (no JS / reduced motion): solid wordmark, no half-lit gradient */
html:not(.motion) .sweep-text { background: none; -webkit-text-fill-color: var(--silver); color: var(--silver); }
html:not(.motion) .scroll-hint { visibility: hidden; }
.glint {
  position: absolute; width: .16em; height: .16em; right: -.08em; top: -.02em;
  fill: var(--accent);
  opacity: clamp(0, calc((var(--p) - .8) * 5), 1);
  transform: scale(clamp(.4, calc((var(--p) - .8) * 5), 1)) rotate(calc(var(--p) * 90deg));
  filter: drop-shadow(0 0 12px rgba(200, 16, 46, .7));
}
.hero-lead {
  --q: clamp(0, calc((var(--p) - .4) * 3), 1);
  max-width: 360px; font-size: 16px; line-height: 1.75; font-weight: 400; color: var(--ink);
  opacity: var(--q); transform: translateY(calc((1 - var(--q)) * 16px));
}
.brand-line { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--mute); }
@media (max-width: 760px) {
  .hero-bg img { object-position: 50% 30%; }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); }
  .hero-foot { gap: 20px 24px; }
}

/* ---------- section base ---------- */
.sec { padding: clamp(64px, 8.5vw, 120px) 0; position: relative; }
/* the story already leaves ~1/3 screen of black under its centred line, so the next section starts without its own top padding */
.story + .sec, .story + .sec[hidden] + .sec { padding-top: 0; }
.sec.light { background: var(--light-bg); color: var(--light-ink); }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-aside { max-width: 24em; }

/* reveal (data-scroll="in"): rises and fades with --p */
[data-scroll="in"] { --p: 1; }
html.motion [data-scroll="in"] {
  opacity: var(--p);
  transform: translateY(calc((1 - var(--p)) * 28px));
}

/* ---------- 2 problem ---------- */
.problem-title { max-width: 13em; }
.temp { color: var(--accent); font-variant-numeric: tabular-nums; }
/* Thai: the temperature is the headline (big red 40°), the sentence sits under it as the second level */
html[lang="th"] .problem-title { font-size: clamp(30px, 4.2vw, 62px); max-width: 16em; text-wrap: balance; }
html[lang="th"] .problem-title .temp {
  display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(112px, 19vw, 280px); line-height: .86; letter-spacing: -.03em; margin-bottom: .14em;
}
html[lang="th"] .temp-note { font-size: 15px; }
html[lang="th"] .problem .lead { font-size: clamp(20px, 1.9vw, 26px); }
html[lang="th"] .pains h3 { font-size: 22px; }
html[lang="th"] .pains p { font-size: 17px; }
.temp-note { margin-top: 18px; font-size: 13px; color: var(--mute-2); }
.temp-note::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mute-3); margin-right: 10px; vertical-align: middle; }
.temp-note.live::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(200, 16, 46, .16); }
.problem .lead { margin-top: clamp(40px, 6vw, 72px); }
.pains {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 40px; border-top: 1px solid var(--line);
}
.pains li { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.pains li + li { padding-left: 28px; }
.pains li:last-child { border-right: 0; }
.pain-word {
  display: block; margin: 18px 0 20px; font-size: clamp(34px, 3.8vw, 58px); font-weight: 900;
  line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(244, 244, 244, .4);
}
.pains h3 { font-size: 19px; font-weight: 500; line-height: 1.4; margin-bottom: 10px; }
.pains p { color: var(--mute); font-size: 15px; }
@media (max-width: 860px) {
  .pains { grid-template-columns: 1fr; }
  .pains li, .pains li + li { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 3 seen in the dark ---------- */
.reflect { --p: 1; position: relative; height: 100svh; }
html.motion .reflect { height: 200vh; }
.reflect .sticky {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto;
  gap: 24px clamp(24px, 4vw, 64px); align-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; max-width: var(--max); margin: 0 auto;
}
.reflect-copy .body { margin-top: 22px; }
.reflect-stage { position: relative; aspect-ratio: 1 / 1; max-height: 72svh; width: 100%; background: var(--bg-2); overflow: hidden; justify-self: end; }
.reflect-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reflect-lit { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.beam {
  position: absolute; top: 0; bottom: 0; width: 2px; left: calc(var(--p) * 100%); background: #fff;
  box-shadow: 0 0 24px 8px rgba(255, 255, 255, .35), 0 0 120px 40px rgba(217, 217, 219, .18);
  opacity: clamp(0, calc(min(var(--p), 1 - var(--p)) * 8), 1);
}
.reflect-bar {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px;
  font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--mute-2);
}
.reflect-bar i { flex: 1; height: 1px; background: var(--line); position: relative; }
.reflect-bar b { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--silver); }
@media (max-width: 860px) {
  .reflect .sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; align-content: center; }
  .reflect-stage { max-height: 52svh; justify-self: center; }
}

/* ---------- 4 collection ---------- */
/* each card is a third of the row, whether 2 or 3 cards show; a short row is centred (no stretching to half width) */
.cards { --gap: clamp(28px, 2.4vw, 36px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.card { display: flex; flex-direction: column; flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: min(100%, 340px); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-media .tag { position: absolute; left: 14px; top: 14px; z-index: 1; }
/* gallery: slides stack and crossfade; arrows show on hover (mouse) and always on touch screens */
.card-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.card-media .slide.is-on { opacity: 1; }
.g-arrow {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(11, 11, 12, .62); border: 1px solid var(--line); color: var(--ink);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 300 28px/1 var(--text); padding: 0 0 3px;
  transition: opacity .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.g-prev { left: 12px; }
.g-next { right: 12px; }
.g-arrow:hover { background: var(--ink); color: var(--bg); }
.g-arrow:focus-visible, .dot:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .g-arrow { opacity: 0; }
  .card:hover .g-arrow, .g-arrow:focus-visible { opacity: 1; }
}
/* dots sit on a dark pill so they read on the light photos and the dark close-up alike */
.dots {
  position: absolute; left: 50%; bottom: 12px; z-index: 2; display: flex; transform: translateX(-50%);
  padding: 0 6px; background: rgba(11, 11, 12, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dot { width: 30px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot::before { content: ""; width: 16px; height: 2px; background: rgba(244, 244, 244, .35); transition: background .3s var(--ease), width .3s var(--ease); }
.dot[aria-current="true"]::before { width: 24px; background: var(--ink); }
.card-soon {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: var(--mute-2); font-size: 14px; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(244, 244, 244, .05), transparent 60%), var(--bg-2);
}
.card-soon .chip { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); }
.card-body { padding-top: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { font: 800 clamp(20px, 1.8vw, 26px)/1.05 var(--display); font-stretch: 125%; letter-spacing: -.01em; }
.card-line { color: var(--mute); font-size: 15px; flex: 1; } /* takes the slack so colour, swatches and price line up across cards */
.card-variant { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.card-variant strong { font: 600 12px/1.4 var(--text); letter-spacing: .2em; }
.card-variant span { font-size: 13px; color: var(--mute-2); }
.swatches { display: flex; gap: 14px; margin: 12px 0 0; border: 0; padding: 0; min-width: 0; }
.swatches legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span {
  display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .3s var(--ease);
}
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--silver); outline-offset: 5px; }
.card-foot {
  margin-top: 22px; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid var(--line);
}
.card-price { font-size: 14px; color: var(--mute-2); }
.want {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
  background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px;
  font-size: 13px; font-weight: 500; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.want::before {
  content: ""; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 20.3s-6.6-4.1-8.9-8.2C1.4 9 3 5.2 6.6 5.2c2.2 0 3.8 1.3 5.4 3.2 1.6-1.9 3.2-3.2 5.4-3.2 3.6 0 5.2 3.8 3.5 6.9-2.3 4.1-8.9 8.2-8.9 8.2z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 20.3s-6.6-4.1-8.9-8.2C1.4 9 3 5.2 6.6 5.2c2.2 0 3.8 1.3 5.4 3.2 1.6-1.9 3.2-3.2 5.4-3.2 3.6 0 5.2 3.8 3.5 6.9-2.3 4.1-8.9 8.2-8.9 8.2z%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.want:hover { border-color: var(--ink); }
.want[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.want[aria-pressed="true"]::before {
  background: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 20.3s-6.6-4.1-8.9-8.2C1.4 9 3 5.2 6.6 5.2c2.2 0 3.8 1.3 5.4 3.2 1.6-1.9 3.2-3.2 5.4-3.2 3.6 0 5.2 3.8 3.5 6.9-2.3 4.1-8.9 8.2-8.9 8.2z%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 20.3s-6.6-4.1-8.9-8.2C1.4 9 3 5.2 6.6 5.2c2.2 0 3.8 1.3 5.4 3.2 1.6-1.9 3.2-3.2 5.4-3.2 3.6 0 5.2 3.8 3.5 6.9-2.3 4.1-8.9 8.2-8.9 8.2z%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

/* ---------- 5 technology (light) ---------- */
.tech .display-s { display: flex; flex-direction: column; gap: 12px; }
.en-head { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; line-height: .98; font-size: clamp(30px, 4.6vw, 64px); }
.sub-head { font: 400 clamp(17px, 1.5vw, 20px)/1.5 var(--text); letter-spacing: 0; text-transform: none; color: var(--light-mute); }
html[lang="en"] .sub-head { display: none; } /* same words as .en-head in English */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 2vw, 28px) clamp(16px, 2vw, 28px); }
.fact-media { position: relative; aspect-ratio: 1 / 1; background: var(--light-well); overflow: hidden; margin-bottom: 20px; }
.fact-media img { width: 100%; height: 100%; object-fit: cover; }
.fact-media .tag { position: absolute; left: 10px; bottom: 10px; }
.fact-key { font-size: 10.5px; font-weight: 700; letter-spacing: .26em; color: var(--light-mute-2); margin-bottom: 10px; }
.fact h3 { font-size: 19px; font-weight: 500; line-height: 1.4; margin-bottom: 8px; }
.fact p:not(.fact-key) { font-size: 15px; color: var(--light-mute); }
.spec {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 6vw, 80px) 0 0;
  border-top: 1px solid var(--light-line);
}
.spec div { padding: 22px 24px 0 0; }
.spec div + div { padding-left: 24px; border-left: 1px solid var(--light-line); }
.spec dt { font-size: 13px; color: var(--light-mute); margin-bottom: 6px; }
.spec dd { font-size: 17px; font-weight: 500; color: var(--light-ink); }
@media (max-width: 1080px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec div, .spec div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--light-line); }
}

/* ---------- 6 story ---------- */
.story { --p: 1; position: relative; height: 100svh; }
html.motion .story { height: 150vh; }
.story .sticky {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--header-h) var(--gutter) 0; max-width: var(--max); margin: 0 auto;
}
.story-text {
  font: 700 clamp(30px, 5.4vw, 84px)/1.12 var(--text); letter-spacing: -.02em;
  max-width: 17em; color: var(--silver);
}
html[lang="th"] .story-text { font-family: "Kanit", sans-serif; font-weight: 800; line-height: 1.32; font-size: clamp(34px, 5.8vw, 92px); max-width: 15em; }
.story-text .w { opacity: var(--o, 1); }
/* the "fire" word: accent colour, no glow. With motion it stays silver until the fill reaches it (.lit from app.js) */
.story-text .w.last { color: var(--accent); transition: color .4s var(--ease); }
html.motion .story-text .w.last:not(.lit) { color: inherit; }

/* ---------- 7 founder ---------- */
.founder-quote { margin-top: 40px; border-left: 2px solid var(--line-strong); padding-left: clamp(20px, 3vw, 40px); }
.founder-quote p { font-size: clamp(20px, 2vw, 28px); line-height: 1.6; color: var(--ink); font-weight: 300; }
.founder-quote footer { margin-top: 20px; font-size: 14px; color: var(--mute-2); }

/* ---------- 8 faq ---------- */
.qa-list { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: 0; padding: 26px 0; cursor: pointer; text-align: left;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 400; transition: color .3s var(--ease);
}
.qa-q:hover { color: var(--silver); }
.qa-q i { position: relative; flex: none; width: 16px; height: 16px; transition: transform .55s var(--ease); }
.qa-q i::before, .qa-q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.qa-q i::after { transform: rotate(90deg); }
.qa-q[aria-expanded="true"] i { transform: rotate(45deg); }
.qa-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 0 26px; color: var(--mute); max-width: 44em; }
/* Answers start open without JS; JS collapses them and toggles .open */
html.js .qa-a { grid-template-rows: 0fr; }
html.js .qa.open .qa-a { grid-template-rows: 1fr; }

/* ---------- 9 join (light) ---------- */
/* v2 "LEAVE A TRAIL" layout: one big title, then offer + form left, launch state bottom-right */
.join-display {
  font-size: clamp(44px, 8.6vw, 132px); font-weight: 900; line-height: .9; letter-spacing: 0;
  color: var(--light-ink); margin: 0 0 clamp(32px, 4vw, 56px);
}
.join-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.join-main { flex: 1 1 360px; max-width: 560px; display: flex; flex-direction: column; gap: 22px; }
.join-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; font-weight: 500; color: var(--light-ink); }
.signup { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.email-form { flex: 1 1 260px; }
.field { display: flex; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--light-ink); }
.field input {
  flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0; font: 400 16px/1.4 var(--text); color: var(--light-ink);
}
.field input::placeholder { color: var(--light-mute); }
.field input:focus { outline: none; }
.field:focus-within { box-shadow: 0 1px 0 0 var(--light-ink); }
.cta {
  flex: none; cursor: pointer; border: 0; background: none; min-height: 44px; padding: 0 4px;
  font: 700 11px/1 var(--display); font-stretch: 125%; letter-spacing: .24em; text-transform: uppercase;
  color: var(--light-ink); transition: color .3s var(--ease);
}
.cta::after { content: " →"; color: var(--accent); }
html[lang="th"] .cta { font: 800 15px/1 "Kanit", sans-serif; letter-spacing: .025em; }
.cta:hover { color: var(--accent); }
.cta:focus-visible { outline: 2px solid var(--light-ink); outline-offset: 2px; }
.cta:disabled { opacity: .6; cursor: progress; }
.form-status { min-height: 1.75em; margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--light-ink); }
.form-status.error { color: #a1261b; }
.form-note { font-size: 13px; color: var(--light-mute); }
.form-note + .form-note { margin-top: 4px; }
.line-btn {
  display: inline-flex; justify-content: center; padding: 15px 24px; border-radius: 999px; text-decoration: none;
  background: var(--light-ink); color: var(--light-bg); font-weight: 600;
}
.or { font-size: 13px; color: var(--light-mute); }
.closed { font-size: 18px; color: var(--light-mute-2); }
.countdown-plain .cd-u b { font-size: clamp(32px, 4vw, 56px); font-weight: 800; }
.countdown-plain .cd-u small { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; margin-top: 8px; }
.countdown-plain .cd-soon-en { font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; letter-spacing: .12em; line-height: 1.05; }
.light .cd-u b, .light .cd-soon-en { color: var(--light-ink); }
.light .cd-sec b { color: var(--accent); }
.light .cd-u small, .light .cd-label, .light .cd-soon-loc { color: var(--light-mute); }

/* ---------- footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 36px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-brand { font-size: clamp(36px, 6vw, 88px); font-weight: 900; display: flex; flex-direction: column; gap: 14px; }
.foot-brand span { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--mute-2); line-height: 1.4; }
.social { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.social-label { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--mute-2); margin-right: 8px; }
.social a { font: 600 11px/1 var(--text); letter-spacing: .2em; text-decoration: none; color: var(--mute); }
.social a:hover { color: var(--accent); }
/* icon links: 20px glyph, 40px tap area (negative margin keeps the glyphs 22px apart) */
.social a.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -10px; transition: color .2s; }
.social a.social-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 6px; }
.social a.social-icon svg { width: 24px; height: 24px; display: block; }
.social-soon { font-size: 14px; color: var(--mute-2); }
.foot-links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.foot-links a { color: var(--mute-2); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--accent); }
.foot-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.foot-bottom {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--mute-3);
}

@media (prefers-reduced-motion: reduce) {
  .card-media img, .qa-a, .qa-q i { transition: none; }
}

/* ---------- prose page (/privacy) ---------- */
.prose-page { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8.5vw, 120px); }
.prose-page .prose { max-width: calc(70ch + 2 * var(--gutter)); color: var(--mute); }
.prose h1 { color: var(--ink); margin-bottom: 22px; }
.prose h2 {
  color: var(--ink); font: 800 clamp(18px, 1.8vw, 22px)/1.3 var(--display); font-stretch: 125%;
  letter-spacing: .02em; text-transform: uppercase; margin: clamp(40px, 5vw, 56px) 0 14px;
}
html[lang="th"] .prose h2 { font-family: "Kanit", "Archivo", sans-serif; font-stretch: normal; letter-spacing: .01em; text-transform: none; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--mute-2); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--accent); }
.prose a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.prose .prose-meta { font-size: 13px; color: var(--mute-2); }
.prose .prose-meta + .prose-meta { margin-top: 4px; }
