/* atouchmoment.com — soft cinematic / type-forward */

:root {
  --cream: #fff4ec;
  --cream-2: #fbe6d4;
  --ink: #1f1108;
  --ink-2: #5a3a2c;
  --accent: #ff7a59;
  --accent-2: #ffd9b8;
  --accent-ink: #1f1108;
  --rule: rgba(31, 17, 8, 0.12);
  --maxw: 1320px;
  --gutter: 56px;

  --f-display: "Fraunces", "IBM Plex Serif", "Noto Serif Thai", serif;
  --f-sans: "Inter", "IBM Plex Sans Thai", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --f-thai: "IBM Plex Sans Thai", "Noto Sans Thai", "Inter", system-ui, sans-serif;
  --f-thai-display: "IBM Plex Sans Thai", "Noto Serif Thai", "Fraunces", serif;
}

/* Switch display + sans when Thai is active */
[lang="th"], [lang="th"] body, .atm-lang-th {
  --f-sans: "IBM Plex Sans Thai", "Noto Sans Thai", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream); color: var(--ink); }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Suppress transitions during palette swap (prevents stuck `var(--accent)` colors) */
html.theme-swapping,
html.theme-swapping *,
html.theme-swapping *::before,
html.theme-swapping *::after {
  transition: none !important;
  animation-duration: 0s !important;
}

/* ============ TOP BAR ============ */
.atm-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(255,244,236,0.92), rgba(255,244,236,0.6) 60%, rgba(255,244,236,0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.atm-top__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.atm-top__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent), color-mix(in oklab, var(--accent) 60%, var(--ink)));
  box-shadow: 0 0 14px color-mix(in oklab, var(--accent) 60%, transparent);
}
.atm-top__nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.atm-top__nav a { position: relative; padding: 6px 2px; transition: color .18s; }
.atm-top__nav a:hover { color: var(--ink); }
.atm-top__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--accent); transition: right .25s ease; }
.atm-top__nav a:hover::after { right: 0; }
.atm-top__actions { display: flex; align-items: center; gap: 12px; }
.atm-seg { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 100px; font-size: 12px; letter-spacing: 0.04em; }
.atm-seg button { background: none; border: 0; padding: 4px 6px; color: var(--ink-2); border-radius: 100px; transition: all .18s; }
.atm-seg button.is-active { color: var(--accent-ink); background: var(--accent); }
.atm-seg--vp button { font-size: 14px; line-height: 1; }
.atm-seg--lang span { color: var(--rule); }

/* ============ MOBILE CHROME ============ */
.atm-mobile { padding: 92px 24px 60px; display: grid; place-items: start center; min-height: 100vh; background: radial-gradient(ellipse at 50% 0%, color-mix(in oklab, var(--accent-2) 70%, transparent), transparent 60%), var(--cream); }
.atm-mobile__bezel {
  width: 412px; height: 880px;
  border-radius: 56px;
  background: #15101a;
  padding: 14px;
  box-shadow:
    0 0 0 1.5px #2a2236,
    0 40px 80px -20px rgba(0,0,0,0.55),
    0 14px 28px -10px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.atm-mobile__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 120px; height: 32px; background: #15101a; border-radius: 100px; z-index: 4; }
.atm-mobile__status { position: absolute; top: 26px; left: 30px; right: 30px; display: flex; justify-content: space-between; color: #efe8f7; font-size: 14px; font-weight: 600; z-index: 3; letter-spacing: -0.01em; }
.atm-mobile__status-right { display: flex; gap: 6px; font-size: 12px; }
.atm-mobile__nav { position: absolute; top: 62px; left: 14px; right: 14px; height: 44px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: color-mix(in oklab, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-radius: 44px 44px 0 0; z-index: 3; border-bottom: 1px solid var(--rule); }
.atm-mobile__brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.atm-seg--mob { padding: 2px 8px; font-size: 11px; }
.atm-mobile__viewport {
  position: absolute; top: 106px; left: 14px; right: 14px; bottom: 14px;
  border-radius: 0 0 42px 42px;
  background: var(--cream);
  overflow: hidden auto;
  scroll-behavior: smooth;
}
.atm-mobile__home { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 5px; background: var(--cream); opacity: 0.9; z-index: 5; }

/* mobile body adjustments */
.atm-root--mobile { --maxw: 100%; --gutter: 20px; }
.atm-root--mobile .atm-section { padding: 64px 20px; }
.atm-root--mobile .atm-section__h2 { font-size: clamp(28px, 8vw, 38px); }
.atm-root--mobile .atm-hero { min-height: 720px; padding: 80px 20px 60px; }
.atm-root--mobile .atm-hero__h1 { font-size: clamp(48px, 14vw, 68px); }

/* ============ ROOT / SECTIONS ============ */
.atm-root { padding-top: 0; }
.atm-root--desktop { padding-top: 0; }
.atm-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--gutter);
  position: relative;
}
.atm-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 32px;
}
.atm-section__h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 56px;
  color: var(--ink);
  text-wrap: balance;
}
.atm-lang-th .atm-section__h2 { font-family: var(--f-thai-display); font-weight: 500; line-height: 1.1; }
.atm-section__h2 span { display: block; }
.atm-lead { font-size: 20px; line-height: 1.45; color: var(--ink); }

/* ============ HERO ============ */
.atm-hero {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 80px;
  width: 100%;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.atm-hero__mesh {
  position: absolute; inset: -20% -10% -10% -10%;
  z-index: 0; pointer-events: none;
  overflow: hidden;
}
.atm-mesh { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.85; }
.atm-mesh--a { width: 720px; height: 720px; top: -10%; left: -8%; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: 0.55; animation: float-a 18s ease-in-out infinite; }
.atm-mesh--b { width: 600px; height: 600px; top: 30%; right: -10%; background: radial-gradient(circle, var(--accent-2) 0%, transparent 65%); opacity: 0.75; animation: float-b 22s ease-in-out infinite; }
.atm-mesh--c { width: 540px; height: 540px; bottom: -20%; left: 30%; background: radial-gradient(circle, color-mix(in oklab, var(--accent) 55%, var(--cream)) 0%, transparent 65%); opacity: 0.45; animation: float-c 26s ease-in-out infinite; }
.atm-grain {
  position: absolute; inset: 0;
  background-image: url("grain.svg");
  opacity: 0.18;
  mix-blend-mode: multiply;
}
[data-theme="night"] .atm-grain,
[data-theme="twilight"] .atm-grain { mix-blend-mode: screen; opacity: 0.12; }

/* ============ TWILIGHT — purple/violet polish ============ */
[data-theme="twilight"] {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 70%),
    var(--cream);
}
[data-theme="twilight"] body { background: transparent; }
[data-theme="twilight"] .atm-hero__mesh::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 80%);
}
[data-theme="twilight"] .atm-mesh--a,
[data-theme="twilight"] .atm-mesh--b,
[data-theme="twilight"] .atm-mesh--c { opacity: 0.5; filter: blur(100px); }
[data-theme="twilight"] .atm-mesh--a { background: radial-gradient(circle, #7c3aed 0%, transparent 65%); }
[data-theme="twilight"] .atm-mesh--b { background: radial-gradient(circle, #d946ef 0%, transparent 65%); opacity: 0.35; }
[data-theme="twilight"] .atm-mesh--c { background: radial-gradient(circle, #4c1d95 0%, transparent 65%); }
[data-theme="twilight"] .atm-hero__h1 { font-weight: 420; }
[data-theme="twilight"] .atm-hero__line3 em {
  background: linear-gradient(90deg, #c084fc, #f0abfc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="twilight"] .atm-btn--primary { background: var(--ink); color: var(--cream); }
[data-theme="twilight"] .atm-btn--primary:hover { background: linear-gradient(135deg, #c084fc, #d946ef); color: #fff; }
[data-theme="twilight"] .atm-btn--ghost { border-color: rgba(255,255,255,0.18); color: var(--ink); }
[data-theme="twilight"] .atm-btn--ghost:hover { border-color: var(--accent); background: rgba(192,132,252,0.08); }
[data-theme="twilight"] .atm-top { background: linear-gradient(to bottom, rgba(13,8,20,0.92), rgba(13,8,20,0.6) 60%, rgba(13,8,20,0)); }
[data-theme="twilight"] .atm-product-card__chip {
  background: rgba(192,132,252,0.12);
  color: var(--ink);
  border: 1px solid rgba(192,132,252,0.35);
  backdrop-filter: blur(8px);
}
[data-theme="twilight"] .atm-product-card__line { color: #d946ef; }
[data-theme="twilight"] .atm-tab.is-active { background: linear-gradient(135deg, #6d28d9, #c084fc); border-color: transparent; color: #fff; }
[data-theme="twilight"] .atm-tab.is-active .atm-tab__n { color: rgba(255,255,255,0.7); }
[data-theme="twilight"] .atm-pillar { border-top-color: rgba(255,255,255,0.18); }
[data-theme="twilight"] .atm-partner:hover { background: rgba(192,132,252,0.08); }
[data-theme="twilight"] .atm-index-card:hover { background: rgba(192,132,252,0.08); }
[data-theme="twilight"] .atm-also__item:hover { background: rgba(192,132,252,0.06); }
[data-theme="twilight"] .atm-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(192,132,252,0.07) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, rgba(124,58,237,0.12), rgba(13,8,20,0.4)),
    var(--cream-2) !important;
  border-color: rgba(192,132,252,0.18);
}
[data-theme="twilight"] .atm-placeholder__label { color: rgba(239,232,247,0.5) !important; }
[data-theme="twilight"] .atm-footer__big {
  background: linear-gradient(90deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ NEBULA — FusionAI-style deep purple void ============ */
[data-theme="nebula"] {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(124,58,237,0.32), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(192,132,252,0.14), transparent 70%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(109,40,217,0.22), transparent 70%),
    var(--cream);
  background-attachment: fixed;
}
[data-theme="nebula"] body { background: transparent; }

/* Subtle perspective grid baked into the page background */
[data-theme="nebula"]::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(192,132,252,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,132,252,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

/* Top bar — glassy pill */
[data-theme="nebula"] .atm-top {
  background: linear-gradient(to bottom, rgba(8,5,15,0.82), rgba(8,5,15,0.4) 60%, rgba(8,5,15,0));
  border-bottom: 1px solid rgba(192,132,252,0.06);
}
[data-theme="nebula"] .atm-top__brand { color: #f5eefa; font-weight: 600; letter-spacing: -0.005em; }
[data-theme="nebula"] .atm-top__dot {
  width: 18px; height: 18px;
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  box-shadow: 0 0 20px rgba(192,132,252,0.6), inset 0 -2px 6px rgba(0,0,0,0.4);
}
[data-theme="nebula"] .atm-top__nav a { color: rgba(245,238,250,0.7); }
[data-theme="nebula"] .atm-top__nav a:hover { color: #fff; }
[data-theme="nebula"] .atm-seg {
  background: rgba(255,255,255,0.04);
  border-color: rgba(192,132,252,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 12px;
}
[data-theme="nebula"] .atm-seg button { color: rgba(245,238,250,0.75); }
[data-theme="nebula"] .atm-seg button.is-active {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  color: #fff;
  box-shadow: 0 0 16px rgba(192,132,252,0.45);
}
[data-theme="nebula"] .atm-seg--lang span { color: rgba(192,132,252,0.3); }

/* Hero — bigger orbs, ground arc, gradient inline pill */
[data-theme="nebula"] .atm-hero__mesh { inset: -10% -15% -10% -15%; }
[data-theme="nebula"] .atm-mesh--a,
[data-theme="nebula"] .atm-mesh--b,
[data-theme="nebula"] .atm-mesh--c { filter: blur(70px); }
[data-theme="nebula"] .atm-mesh--a {
  width: 200px; height: 200px;
  top: 18%; left: 12%;
  background: radial-gradient(circle, #c084fc 0%, transparent 60%);
  opacity: 0.8;
}
[data-theme="nebula"] .atm-mesh--b {
  width: 240px; height: 240px;
  top: 38%; right: 14%;
  background: radial-gradient(circle, #a855f7 0%, transparent 60%);
  opacity: 0.7;
}
[data-theme="nebula"] .atm-mesh--c {
  width: 180px; height: 180px;
  bottom: 18%; left: 28%;
  background: radial-gradient(circle, #d946ef 0%, transparent 60%);
  opacity: 0.5;
}
[data-theme="nebula"] .atm-hero {
  position: relative;
}
/* Ground arc — the curved horizon */
[data-theme="nebula"] .atm-hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -40%;
  width: 200%; aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 35% at 50% 0%, rgba(192,132,252,0.18), transparent 60%);
  border-top: 1px solid rgba(192,132,252,0.22);
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 38%, #000 62%, transparent 82%);
  mask-image: linear-gradient(90deg, transparent 18%, #000 38%, #000 62%, transparent 82%);
  pointer-events: none;
  z-index: 1;
}
[data-theme="nebula"] .atm-grain { mix-blend-mode: screen; opacity: 0.06; }
[data-theme="nebula"] .atm-hero__h1 {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #f5eefa;
  text-wrap: balance;
}
/* Thai script needs much more vertical room for stacked vowels + tone marks */
[data-theme="nebula"].atm-lang-th .atm-hero__h1,
[data-theme="nebula"] .atm-lang-th .atm-hero__h1 {
  font-size: clamp(40px, 6vw, 104px);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
[data-theme="nebula"] .atm-hero__h1 span { display: block; }
[data-theme="nebula"] .atm-hero__line2 { padding-left: 0; }
[data-theme="nebula"] .atm-hero__line3 { padding-left: 0; line-height: 1.5; }
[data-theme="nebula"] .atm-hero__line3 em {
  font-style: normal;
  display: inline;
  vertical-align: baseline;
  padding: 0.04em 0.34em 0.1em;
  border-radius: 0.42em;
  background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 32px rgba(192,132,252,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
[data-theme="nebula"] .atm-hero__sub { color: rgba(245,238,250,0.6); }

/* Buttons */
[data-theme="nebula"] .atm-btn--primary {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  color: #fff;
  border: 1px solid rgba(192,132,252,0.4);
  box-shadow: 0 8px 32px rgba(192,132,252,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
[data-theme="nebula"] .atm-btn--primary:hover {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(192,132,252,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
[data-theme="nebula"] .atm-btn--ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(192,132,252,0.22);
  color: #f5eefa;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="nebula"] .atm-btn--ghost:hover {
  border-color: rgba(192,132,252,0.5);
  background: rgba(192,132,252,0.08);
}

/* Marquee */
[data-theme="nebula"] .atm-hero__marquee {
  border-color: rgba(192,132,252,0.15);
  color: rgba(245,238,250,0.35);
}
[data-theme="nebula"] .atm-marquee__row em {
  font-style: italic;
  color: #c084fc;
}

/* Sections — keep ink readable, soften rules */
[data-theme="nebula"] {
  --rule: rgba(192,132,252,0.14) !important;
}
[data-theme="nebula"] .atm-eyebrow { color: rgba(192,132,252,0.7); }
[data-theme="nebula"] .atm-section__h2 { color: #f5eefa; font-weight: 400; }
[data-theme="nebula"] .atm-about__body p { color: rgba(245,238,250,0.65); }
[data-theme="nebula"] .atm-about__body p.atm-lead { color: #f5eefa; }
[data-theme="nebula"] .atm-stat__n { color: #f5eefa; }
[data-theme="nebula"] .atm-stat__l { color: rgba(192,132,252,0.6); }

/* Believe pillars */
[data-theme="nebula"] .atm-pillar { border-top-color: rgba(192,132,252,0.4); }
[data-theme="nebula"] .atm-pillar__n {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="nebula"] .atm-pillar__t { color: #f5eefa; }
[data-theme="nebula"] .atm-pillar__b { color: rgba(245,238,250,0.6); }
[data-theme="nebula"] .atm-pillar__rule { background: linear-gradient(90deg, #c084fc, #d946ef); }

/* Products */
[data-theme="nebula"] .atm-products__intro,
[data-theme="nebula"] .atm-product-card__b,
[data-theme="nebula"] .atm-products__intro { color: rgba(245,238,250,0.65); }
[data-theme="nebula"] .atm-product-card__name { color: #f5eefa; }
[data-theme="nebula"] .atm-product-card__n {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="nebula"] .atm-product-card__line { color: #d946ef; }
[data-theme="nebula"] .atm-product-card__kicker { color: rgba(245,238,250,0.55); }
[data-theme="nebula"] .atm-product-card__use { color: rgba(245,238,250,0.55); }
[data-theme="nebula"] .atm-product-card__use span {
  border-color: rgba(192,132,252,0.25);
  color: #f5eefa;
  background: rgba(192,132,252,0.08);
}
[data-theme="nebula"] .atm-product-card__chip {
  background: rgba(8,5,15,0.5);
  color: #f5eefa;
  border: 1px solid rgba(192,132,252,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Product tabs */
[data-theme="nebula"] .atm-products__tabs {
  border-color: rgba(192,132,252,0.14);
}
[data-theme="nebula"] .atm-tab { color: rgba(245,238,250,0.6); }
[data-theme="nebula"] .atm-tab:hover { color: #f5eefa; border-color: rgba(192,132,252,0.3); }
[data-theme="nebula"] .atm-tab.is-active {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 24px rgba(192,132,252,0.35);
}
[data-theme="nebula"] .atm-tab.is-active .atm-tab__n { color: rgba(255,255,255,0.75); }

/* Index / also cards */
[data-theme="nebula"] .atm-index-card__name,
[data-theme="nebula"] .atm-also__name { color: #f5eefa; }
[data-theme="nebula"] .atm-index-card__k,
[data-theme="nebula"] .atm-also__b { color: rgba(245,238,250,0.55); }
[data-theme="nebula"] .atm-index-card__n,
[data-theme="nebula"] .atm-also__n {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="nebula"] .atm-index-card:hover {
  background: rgba(192,132,252,0.06);
  box-shadow: inset 0 0 0 1px rgba(192,132,252,0.18);
}
[data-theme="nebula"] .atm-also__item:hover {
  background: rgba(192,132,252,0.05);
}
[data-theme="nebula"] .atm-also__t { color: #f5eefa; }
[data-theme="nebula"] .atm-also__note { color: rgba(245,238,250,0.5); border-color: rgba(192,132,252,0.2); }

/* Approach */
[data-theme="nebula"] .atm-approach__t { color: #f5eefa; }
[data-theme="nebula"] .atm-approach__b { color: rgba(245,238,250,0.6); }
[data-theme="nebula"] .atm-approach__n {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Partners */
[data-theme="nebula"] .atm-partners__sub { color: rgba(245,238,250,0.6); }
[data-theme="nebula"] .atm-partner {
  color: rgba(245,238,250,0.55);
  background: rgba(255,255,255,0.015);
}
[data-theme="nebula"] .atm-partner:hover {
  background: rgba(192,132,252,0.08);
  color: #f5eefa;
  box-shadow: inset 0 0 0 1px rgba(192,132,252,0.2);
}
[data-theme="nebula"] .atm-partner__mark {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="nebula"] .atm-partners__cta { color: #f5eefa; }
[data-theme="nebula"] .atm-link { color: #c084fc; border-color: rgba(192,132,252,0.4); }
[data-theme="nebula"] .atm-link:hover { color: #f0abfc; }

/* News */
[data-theme="nebula"] .atm-news__sub { color: rgba(245,238,250,0.6); }
[data-theme="nebula"] .atm-news__t { color: rgba(245,238,250,0.85); }
[data-theme="nebula"] .atm-news__date {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Contact */
[data-theme="nebula"] .atm-contact__body { color: rgba(245,238,250,0.65); }
[data-theme="nebula"] .atm-contact__k { color: rgba(192,132,252,0.6); }
[data-theme="nebula"] .atm-contact__v { color: #f5eefa; }
[data-theme="nebula"] .atm-social { color: rgba(245,238,250,0.6); }
[data-theme="nebula"] .atm-social:hover { color: #c084fc; }
[data-theme="nebula"] .atm-contact__mail { border-color: rgba(192,132,252,0.18); }
[data-theme="nebula"] .atm-contact__mail-addr { color: #f5eefa; }
[data-theme="nebula"] .atm-contact__mail:hover .atm-contact__mail-addr {
  background: linear-gradient(90deg, #c084fc, #d946ef);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Footer */
[data-theme="nebula"] .atm-footer__mark { color: #f5eefa; }
[data-theme="nebula"] .atm-footer__tag,
[data-theme="nebula"] .atm-footer__links a,
[data-theme="nebula"] .atm-footer__legal { color: rgba(245,238,250,0.55); }
[data-theme="nebula"] .atm-footer__links a:hover { color: #c084fc; }
[data-theme="nebula"] .atm-footer__big {
  background: linear-gradient(90deg, #c084fc, #d946ef, #a855f7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Placeholders — glass tiles with violet glow */
[data-theme="nebula"] .atm-placeholder {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(192,132,252,0.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(8,5,15,0.6) !important;
  border: 1px solid rgba(192,132,252,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px -30px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}
[data-theme="nebula"] .atm-placeholder__label { color: rgba(245,238,250,0.4) !important; }

/* Tweak swatch border in nebula */
[data-theme="nebula"] .atm-tweak-sw { border-color: rgba(192,132,252,0.2); color: #f5eefa; }
[data-theme="nebula"] .atm-tweak-sw:hover { border-color: rgba(192,132,252,0.5); }
[data-theme="nebula"] .atm-tweak-sw.is-active { background: rgba(192,132,252,0.12); }

/* Mobile chrome backdrop in nebula */
[data-theme="nebula"] .atm-mobile {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.35), transparent 60%),
    transparent;
}
[data-theme="nebula"] .atm-mobile__bezel {
  background: #0a0612;
  box-shadow:
    0 0 0 1.5px rgba(192,132,252,0.2),
    0 40px 80px -20px rgba(124,58,237,0.4),
    0 14px 28px -10px rgba(0,0,0,0.6);
}
[data-theme="nebula"] .atm-mobile__notch { background: #0a0612; }
[data-theme="nebula"] .atm-mobile__nav { background: rgba(8,5,15,0.85); border-bottom-color: rgba(192,132,252,0.15); }

@keyframes float-a { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.05); } }
@keyframes float-b { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px, 40px) scale(1.08); } }
@keyframes float-c { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, -40px) scale(1.04); } }

.atm-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.atm-hero__inner > * { max-width: 1100px; }
.atm-hero__h1 {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: clamp(60px, 11vw, 188px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  color: var(--ink);
}
.atm-lang-th .atm-hero__h1 { font-family: var(--f-thai-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
.atm-hero__h1 span { display: block; }
.atm-hero__line2 { padding-left: 0.15em; }
.atm-hero__line3 { padding-left: 0.32em; }
.atm-hero__line3 em { font-style: italic; color: var(--accent); font-weight: 380; }
.atm-lang-th .atm-hero__line3 em { font-style: normal; }
.atm-hero__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 0 44px;
}
.atm-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.atm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: all .22s cubic-bezier(.2,.7,.2,1);
  border: 1px solid transparent;
  white-space: nowrap;
}
.atm-btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.atm-btn--primary:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.atm-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.atm-btn--ghost:hover { border-color: var(--ink); background: color-mix(in oklab, var(--cream) 50%, var(--accent-2)); }
.atm-btn--full { width: 100%; justify-content: center; }
.atm-btn.is-sent { background: color-mix(in oklab, var(--accent) 80%, var(--ink)); color: var(--cream); }

/* Marquee strip at bottom of hero */
.atm-hero__marquee {
  position: relative; z-index: 1;
  margin-top: 80px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 32px);
  color: color-mix(in oklab, var(--ink) 25%, transparent);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.atm-marquee__track { display: inline-flex; animation: marquee 60s linear infinite; }
.atm-marquee__row { padding-right: 1em; }
.atm-marquee__row em { font-style: italic; color: color-mix(in oklab, var(--accent) 55%, var(--ink)); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ============ REVEAL ============ */
.atm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.atm-reveal.is-in { opacity: 1; transform: none; }

/* ============ PLACEHOLDER ============ */
.atm-placeholder {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--rule);
}
.atm-placeholder__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.atm-placeholder--img { background: #0a0612 !important; padding: 0; }
.atm-placeholder__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ ABOUT ============ */
.atm-about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; }
.atm-root--mobile .atm-about__grid { grid-template-columns: 1fr; gap: 36px; }
.atm-about__body p { margin: 0 0 22px; max-width: 56ch; color: var(--ink-2); font-size: 17px; }
.atm-about__body p.atm-lead { color: var(--ink); font-family: var(--f-display); font-style: italic; font-size: 28px; line-height: 1.25; max-width: 18ch; margin-bottom: 32px; letter-spacing: -0.015em; }
.atm-lang-th .atm-about__body p.atm-lead { font-family: var(--f-thai-display); font-style: normal; font-weight: 500; line-height: 1.35; max-width: 24ch; }
.atm-about__visual { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.atm-about__visual .atm-placeholder { min-height: 360px; }
.atm-about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 18px 0 0; border-top: 1px solid var(--rule); }
.atm-stat { display: flex; flex-direction: column; gap: 6px; }
.atm-stat__n { font-family: var(--f-display); font-size: 36px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.atm-stat__l { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

/* ============ BELIEVE ============ */
.atm-believe__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 12px; }
.atm-root--mobile .atm-believe__grid { grid-template-columns: 1fr; gap: 28px; }
.atm-pillar { position: relative; padding: 32px 0 28px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; transition: padding .35s ease; }
.atm-pillar:hover { padding-top: 36px; }
.atm-pillar__n { font-family: var(--f-display); font-style: italic; font-size: 24px; color: var(--accent); }
.atm-pillar__t { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.atm-lang-th .atm-pillar__t { font-family: var(--f-thai-display); font-weight: 600; line-height: 1.25; }
.atm-pillar__b { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.atm-pillar__rule { position: absolute; left: 0; top: 0; height: 1px; background: var(--accent); width: 0; transition: width .5s ease; }
.atm-pillar:hover .atm-pillar__rule { width: 100%; }

/* ============ PRODUCTS ============ */
.atm-products__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.atm-root--mobile .atm-products__head { grid-template-columns: 1fr; gap: 24px; }
.atm-products__head .atm-section__h2 { margin: 0; }
.atm-products__intro { font-size: 17px; color: var(--ink-2); max-width: 48ch; margin: 0; }

/* ============ PRODUCTS — scroll-driven flow ============ */
.atm-products__flow { display: flex; flex-direction: column; gap: 132px; margin-top: 8px; }
.atm-root--mobile .atm-products__flow { gap: 88px; }

.atm-prod-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.atm-prod-panel.is-hero { grid-template-columns: 1.05fr 1fr; }
.atm-prod-panel.is-flip .atm-prod-panel__visual { order: 2; }
.atm-prod-panel.is-flip .atm-prod-panel__body { order: 1; }

.atm-prod-panel__visual {
  position: relative;
  opacity: 0; transform: translateX(-44px) scale(0.985);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.atm-prod-panel.is-flip .atm-prod-panel__visual { transform: translateX(44px) scale(0.985); }
.atm-prod-panel.is-in .atm-prod-panel__visual { opacity: 1; transform: none; }
.atm-prod-panel__visual .atm-placeholder { min-height: 520px; border-radius: 22px; }
.atm-root--mobile .atm-prod-panel__visual .atm-placeholder { min-height: 320px; }

/* Pointer-driven 3D tilt + cursor-tracking glow (interactive) */
.atm-prod-panel__visual { perspective: 1100px; }
.atm-prod-panel__visual .atm-placeholder {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.atm-prod-panel__visual:hover .atm-placeholder { --sc: 1.015; box-shadow: 0 40px 90px -34px rgba(124,58,237,0.55); }
.atm-prod-panel__visual::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  background: radial-gradient(circle 340px at var(--gx, 50%) var(--gy, 50%), rgba(192,132,252,0.30), transparent 62%);
  opacity: 0; transition: opacity .35s ease; mix-blend-mode: screen; z-index: 3;
}
.atm-prod-panel__visual:hover::after { opacity: 1; }
@media (hover: none) {
  .atm-prod-panel__visual .atm-placeholder { transform: none !important; }
  .atm-prod-panel__visual::after { display: none; }
}

.atm-prod-panel__body {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1) .14s, transform 1s cubic-bezier(.2,.7,.2,1) .14s;
  will-change: opacity, transform;
}
.atm-prod-panel.is-in .atm-prod-panel__body { opacity: 1; transform: none; }

.atm-root--mobile .atm-prod-panel,
.atm-root--mobile .atm-prod-panel.is-hero { grid-template-columns: 1fr; gap: 28px; }
.atm-root--mobile .atm-prod-panel.is-flip .atm-prod-panel__visual { order: 1; }
.atm-root--mobile .atm-prod-panel.is-flip .atm-prod-panel__body { order: 2; }

@media (prefers-reduced-motion: reduce) {
  .atm-prod-panel__visual, .atm-prod-panel__body { opacity: 1 !important; transform: none !important; transition: none; }
}
.atm-product-card__chip {
  position: absolute; top: 18px; left: 18px;
  padding: 8px 14px; border-radius: 100px;
  background: var(--cream); color: var(--ink);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  border: 1px solid var(--rule);
}

.atm-product-card__body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.atm-product-card__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.atm-product-card__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 4.5vw, 72px); line-height: 0.98; letter-spacing: -0.03em;
  margin: 0; color: var(--ink);
}
.atm-lang-th .atm-product-card__name { font-family: var(--f-thai-display); font-weight: 600; line-height: 1.15; }
.atm-product-card__kicker { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2); margin: -4px 0 4px; }
.atm-product-card__line { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--accent); margin: 0; }
.atm-product-card__b { font-size: 17px; color: var(--ink-2); max-width: 50ch; margin: 4px 0; line-height: 1.55; }
.atm-product-card__use { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.03em; margin: 8px 0 16px; }
.atm-product-card__use span { display: inline-block; padding: 3px 8px; border: 1px solid var(--rule); border-radius: 100px; margin-right: 8px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; color: var(--ink); }

.atm-products__index { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 80px; border-top: 1px solid var(--rule); }
.atm-root--mobile .atm-products__index { grid-template-columns: repeat(2, 1fr); }
.atm-index-card {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; text-align: left;
  padding: 24px 16px; background: transparent; border: 0;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  transition: all .25s; color: var(--ink);
}
.atm-products__index .atm-index-card:nth-child(5n) { border-right: 0; }
.atm-index-card:hover { background: color-mix(in oklab, var(--cream) 50%, var(--accent-2) 50%); padding-top: 18px; padding-bottom: 30px; }
.atm-index-card__n { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.atm-index-card__name { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.015em; line-height: 1.1; }
.atm-lang-th .atm-index-card__name { font-family: var(--f-thai-display); font-weight: 500; }
.atm-index-card__k { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.04em; }

/* ============ ALSO / supporting services ============ */
.atm-also { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.atm-root--mobile .atm-also { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
.atm-also__head { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.atm-also__head .atm-eyebrow { margin: 0; }
.atm-also__t {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0; color: var(--ink); max-width: 14ch;
}
.atm-lang-th .atm-also__t { font-family: var(--f-thai-display); font-style: normal; font-weight: 500; line-height: 1.25; }
.atm-also__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.atm-also__item {
  display: grid; grid-template-columns: 48px 1fr 1.4fr; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  transition: padding-left .25s ease, background .25s ease;
}
.atm-also__item:hover { padding-left: 16px; background: color-mix(in oklab, var(--cream) 88%, var(--accent-2)); }
.atm-also__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); }
.atm-also__name { font-family: var(--f-display); font-size: 22px; letter-spacing: -0.015em; color: var(--ink); }
.atm-lang-th .atm-also__name { font-family: var(--f-thai-display); font-weight: 500; }
.atm-also__b { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.atm-root--mobile .atm-also__item { grid-template-columns: 36px 1fr; row-gap: 6px; }
.atm-root--mobile .atm-also__b { grid-column: 2 / -1; }
.atm-also__note {
  grid-column: 2; margin: 24px 0 0; padding-top: 16px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-2); border-top: 1px dashed var(--rule);
}
.atm-root--mobile .atm-also__note { grid-column: 1; }

/* ============ APPROACH ============ */
.atm-approach__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.atm-root--mobile .atm-approach__grid { grid-template-columns: 1fr; gap: 36px; }
.atm-approach__col { display: flex; flex-direction: column; gap: 14px; padding-right: 12px; }
.atm-approach__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); }
.atm-approach__t { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.atm-lang-th .atm-approach__t { font-family: var(--f-thai-display); font-style: normal; font-weight: 500; line-height: 1.25; }
.atm-approach__b { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 36ch; }

/* ============ PARTNERS ============ */
.atm-partners__row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.atm-root--mobile .atm-partners__row { grid-template-columns: 1fr; gap: 16px; }
.atm-partners__h2 { margin: 0; font-size: clamp(36px, 5.5vw, 76px); }
.atm-partners__sub { font-size: 17px; color: var(--ink-2); max-width: 40ch; margin: 0; }
.atm-partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.atm-root--mobile .atm-partners__grid { grid-template-columns: repeat(2, 1fr); }
.atm-partner {
  position: relative;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  transition: all .25s;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.06em;
}
.atm-partner__mark { font-family: var(--f-display); font-style: italic; font-size: 36px; color: var(--accent); margin-right: 6px; }
.atm-partner:hover { background: color-mix(in oklab, var(--cream) 60%, var(--accent-2) 40%); color: var(--ink); }
.atm-partners__cta { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--ink); flex-wrap: wrap; gap: 16px; }
.atm-lang-th .atm-partners__cta { font-family: var(--f-thai-display); font-style: normal; font-weight: 500; }
.atm-link { color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; font-family: var(--f-sans); font-style: normal; font-size: 15px; }
.atm-link:hover { color: var(--ink); }

/* ============ NEWS ============ */
.atm-news__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.atm-root--mobile .atm-news__head { grid-template-columns: 1fr; gap: 16px; }
.atm-news__head .atm-section__h2 { margin: 0; }
.atm-news__sub { font-size: 17px; color: var(--ink-2); max-width: 40ch; margin: 0; }
.atm-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.atm-root--mobile .atm-news__grid { grid-template-columns: 1fr; }
.atm-news__card { display: flex; flex-direction: column; gap: 14px; transition: transform .3s ease; cursor: pointer; }
.atm-news__card:hover { transform: translateY(-4px); }
.atm-news__card .atm-placeholder { min-height: 240px; }
.atm-news__date { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.atm-news__t { font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0; color: var(--ink-2); letter-spacing: -0.01em; }
.atm-lang-th .atm-news__t { font-family: var(--f-thai-display); font-weight: 500; }

/* ============ CONTACT ============ */
.atm-contact__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.atm-root--mobile .atm-contact__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
.atm-contact__h2 { margin: 0; }
.atm-contact__body { font-size: 18px; color: var(--ink-2); max-width: 36ch; margin: 0 0 10px; line-height: 1.5; }

/* Big mailto CTA */
.atm-contact__mail {
  display: flex; align-items: baseline; gap: 14px 28px; flex-wrap: wrap;
  padding: 44px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.atm-contact__mail-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.atm-contact__mail-addr {
  font-family: var(--f-display); font-style: italic; font-weight: 350;
  font-size: clamp(21px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); transition: color .25s;
  overflow-wrap: anywhere;
}
.atm-contact__mail-arrow {
  margin-left: auto;
  font-size: clamp(20px, 2.6vw, 34px); line-height: 1;
  color: var(--accent);
  transition: transform .25s ease;
}
.atm-contact__mail:hover .atm-contact__mail-addr { color: var(--accent); }
.atm-contact__mail:hover .atm-contact__mail-arrow { transform: translate(5px, -5px); }
.atm-root--mobile .atm-contact__mail { padding: 28px 0; }

/* Company info strip */
.atm-contact__info { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 48px; padding-top: 40px; }
.atm-root--mobile .atm-contact__info { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
.atm-contact__cell { display: flex; flex-direction: column; gap: 12px; }
.atm-contact__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.atm-contact__v { color: var(--ink); font-size: 15px; line-height: 1.65; max-width: 36ch; }
.atm-contact__v--strong { font-weight: 500; }
.atm-contact__socials { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.atm-social { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); transition: color .2s, transform .2s; }
.atm-social:hover { color: var(--accent); transform: translateX(3px); }

/* ============ FOOTER ============ */
.atm-footer { padding: 80px var(--gutter) 32px; max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--rule); }
.atm-footer__top { display: flex; justify-content: space-between; align-items: start; gap: 40px; flex-wrap: wrap; margin-bottom: 60px; }
.atm-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.atm-footer__mark { font-family: var(--f-display); font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }
.atm-footer__tag { font-family: var(--f-display); font-style: italic; font-size: 16px; color: var(--ink-2); }
.atm-lang-th .atm-footer__tag { font-family: var(--f-thai-display); font-style: normal; }
.atm-footer__links { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.atm-footer__links a { font-size: 13px; color: var(--ink-2); transition: color .2s; }
.atm-footer__links a:hover { color: var(--accent); }
.atm-footer__bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.atm-footer__legal { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-2); }
.atm-footer__big {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(48px, 8vw, 132px); line-height: 0.9; letter-spacing: -0.03em;
  color: color-mix(in oklab, var(--accent) 75%, var(--ink) 5%);
}
.atm-lang-th .atm-footer__big { font-family: var(--f-thai-display); font-style: normal; font-weight: 500; }

/* ============ TWEAK SWATCHES ============ */
.atm-tweak-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.atm-tweak-sw { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 10px; background: transparent; color: var(--ink); transition: all .18s; }
.atm-tweak-sw:hover { border-color: var(--ink-2); }
.atm-tweak-sw.is-active { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }
.atm-tweak-sw__swatch { width: 28px; height: 28px; border-radius: 8px; border: 1px solid; flex-shrink: 0; }
.atm-tweak-sw__name { font-size: 13px; font-weight: 500; }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  :root { --gutter: 28px; }
  .atm-top__nav { display: none; }
  .atm-about__grid { grid-template-columns: 1fr; gap: 36px; }
  .atm-believe__grid { grid-template-columns: 1fr; }
  .atm-products__head { grid-template-columns: 1fr; }
  .atm-product-card, .atm-product-card.is-hero { grid-template-columns: 1fr; gap: 24px; }
  .atm-products__index { grid-template-columns: repeat(2, 1fr); }
  .atm-products__index .atm-index-card:nth-child(5n) { border-right: 1px solid var(--rule); }
  .atm-products__index .atm-index-card:nth-child(4n) { border-right: 1px solid var(--rule); }
  .atm-products__index .atm-index-card:nth-child(2n) { border-right: 0; }
  .atm-approach__grid { grid-template-columns: 1fr; gap: 32px; }
  .atm-partners__row, .atm-news__head, .atm-contact__head { grid-template-columns: 1fr; gap: 24px; }
  .atm-contact__info { grid-template-columns: 1fr; gap: 28px; }
  .atm-contact__mail { padding: 28px 0; }
  .atm-partners__grid { grid-template-columns: repeat(2, 1fr); }
  .atm-news__grid { grid-template-columns: 1fr; }
  .atm-mobile__bezel { width: min(390px, 90vw); height: min(820px, 80vh); }
}
