:root {
  color-scheme: dark;
  --power-black: #0d0f0e;
  --forge: #191d1b;
  --forge-2: #222824;
  --pure: #f4f7f5;
  --titanium: #aeb8b4;
  --muted: #77827d;
  --teal: #24d1c1;
  --moss: #5e9d4d;
  --amber: #f09a32;
  --purple: #881a8a;
  --line: rgba(244, 247, 245, 0.14);
  --line-strong: rgba(244, 247, 245, 0.28);
  --surface: rgba(25, 29, 27, 0.92);
  --max: 1240px;
  font-family: Inter, "Noto Sans Thai", system-ui, sans-serif;
}

html:has(#theme-light:checked) {
  color-scheme: light;
  --power-black: #f2f5f3;
  --forge: #ffffff;
  --forge-2: #e8eeeb;
  --pure: #111512;
  --titanium: #46514b;
  --muted: #66716b;
  --line: rgba(13, 15, 14, 0.14);
  --line-strong: rgba(13, 15, 14, 0.28);
  --surface: rgba(255, 255, 255, 0.94);
}

@media (prefers-color-scheme: light) {
  html:has(#theme-system:checked) {
    color-scheme: light;
    --power-black: #f2f5f3;
    --forge: #ffffff;
    --forge-2: #e8eeeb;
    --pure: #111512;
    --titanium: #46514b;
    --muted: #66716b;
    --line: rgba(13, 15, 14, 0.14);
    --line-strong: rgba(13, 15, 14, 0.28);
    --surface: rgba(255, 255, 255, 0.94);
  }
}

.t-th {
  display: none;
}

html:has(#lang-th:checked) {
  font-family: Inter, "Noto Sans Thai", system-ui, sans-serif;
}

html:has(#lang-th:checked) .t-en {
  display: none;
}

html:has(#lang-th:checked) .t-th {
  display: unset;
}

html:has(#lang-en:checked) .control-button:has(#lang-en),
html:has(#lang-th:checked) .control-button:has(#lang-th),
html:has(#theme-system:checked) .control-button:has(#theme-system),
html:has(#theme-light:checked) .control-button:has(#theme-light),
html:has(#theme-dark:checked) .control-button:has(#theme-dark) {
  border-color: var(--teal);
  color: var(--teal);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--power-black);
  color: var(--pure);
  font-family: Inter, "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 78%);
  content: "";
  opacity: 0.16;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--teal);
  color: #07110f;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: none;
}

.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;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--power-black) 90%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0;
  color: var(--pure);
  text-decoration: none;
}

.brand-lockup {
  display: block;
  height: 64px;
  width: auto;
}

.brand-small .brand-lockup {
  height: 48px;
}

.dyno-lockup {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-bottom: 8px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--titanium);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover {
  color: var(--pure);
}

.controls {
  display: flex;
  justify-self: end;
  gap: 8px;
}

.control-button,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--pure);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
}

.pm-switch {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.control-button:hover {
  border-color: var(--line-strong);
  background: var(--forge);
}

.theme-choice {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100svh - 76px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 24px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 7.4vw, 7.3rem);
  font-weight: 900;
  letter-spacing: -0.068em;
  line-height: 0.91;
}

.hero-lead {
  max-width: 680px;
  margin: 34px 0 0;
  color: var(--titanium);
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #07110f;
}

.button-secondary:hover {
  border-color: var(--teal);
}

.hero-instrument {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.instrument-head,
.range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.instrument-head {
  border-bottom: 1px solid var(--line);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--titanium);
}

.live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
}

.trace {
  height: 210px;
  padding: 15px 0 4px;
}

.trace svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trace-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.trace-line {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-width: 3;
}

.range-scale {
  padding-top: 0;
}

.instrument-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.instrument-stats div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.instrument-stats div:last-child {
  border: 0;
}

.instrument-stats dt {
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 800;
}

.instrument-stats dd {
  margin: 6px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.platform-band {
  border-block: 1px solid var(--line);
  background: var(--forge);
}

.platform-band > p,
.platform-band ul {
  max-width: var(--max);
  margin-inline: auto;
}

.platform-band > p {
  margin-block: 0;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.platform-band ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 24px;
  list-style: none;
}

.platform-band li {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 90px;
  border-right: 1px solid var(--line);
}

.platform-band li + li {
  padding-left: 24px;
}

.platform-band li:last-child {
  border-right: 0;
}

.platform-band li span {
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 800;
}

.platform-band li strong {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -44px;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.method-copy > p:last-child,
.local p,
.craft > p {
  margin: 0;
  color: var(--titanium);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.capability {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--forge) 62%, transparent);
}

.capability-featured {
  grid-column: span 2;
}

.capability-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cap-number {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
}

.status {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--titanium);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-available {
  border-color: color-mix(in srgb, var(--moss) 55%, transparent);
  color: var(--moss);
}

.status-coming,
.status-pilot {
  border-color: color-mix(in srgb, var(--amber) 55%, transparent);
  color: var(--amber);
}

.capability h3 {
  margin: 76px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.capability p {
  max-width: 48ch;
  margin: 0;
  color: var(--titanium);
  font-size: 0.9rem;
}

.capability ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 25px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  list-style: none;
}

.method {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 120px;
}

.method-copy > p:last-child {
  margin-top: 28px;
}

.method-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.method-steps > li > span {
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 800;
}

.method-steps h3 {
  margin: 0 0 7px;
  font-size: 1.25rem;
}

.method-steps p {
  margin: 0;
  color: var(--titanium);
  font-size: 0.88rem;
}

.local {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
  border-block: 1px solid var(--line);
}

.local-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--forge);
}

.local-mark svg {
  width: 72%;
  fill: none;
  stroke: var(--moss);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.local h2 {
  max-width: 650px;
}

.local p {
  max-width: 660px;
  margin-top: 28px;
}

.local .thai-theme {
  color: var(--moss);
  font-family: "Noto Sans Thai", Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.craft {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  min-height: 480px;
}

.craft::before {
  grid-column: 1 / -1;
  width: 110px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber) 0 28%, var(--titanium) 28% 52%, var(--moss) 52%);
  content: "";
}

.dyno-hire {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: stretch;
  border-block: 1px solid var(--line-strong);
}

.dyno-copy h2 {
  max-width: 720px;
}

.dyno-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--titanium);
}

.dyno-points {
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.dyno-points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--pure);
  font-size: 0.92rem;
}

.dyno-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.dyno-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--forge);
}

.dyno-card-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dyno-card-line {
  margin: 18px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.dyno-card-line.accent {
  color: var(--amber);
}

.dyno-card-note {
  margin: 28px 0 0;
  color: var(--titanium);
  font-size: 0.88rem;
}

.dyno-card-thai {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--moss);
  font-family: "Noto Sans Thai", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.contact {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 92px 24px 110px;
  border-top: 1px solid var(--line-strong);
}

.contact h2 {
  max-width: 760px;
}

.contact > p:not(.eyebrow) {
  max-width: 660px;
  margin: 26px 0 44px;
  color: var(--titanium);
}

.dyno-copy .button {
  margin-right: 10px;
  margin-bottom: 10px;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 850px;
  padding: 22px 0;
  border-bottom: 1px solid var(--teal);
  color: var(--teal);
  font-size: clamp(1.25rem, 3.7vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.contact-link-phone {
  margin-top: 8px;
  font-size: clamp(1.1rem, 3vw, 2.4rem);
}

.contact-link svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.brand-small {
  align-self: start;
  font-size: 0.7rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--power-black);
  }

  html:has(#nav-open:checked) .primary-nav {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .controls {
    grid-column: 2;
    grid-row: 1;
    margin-right: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-instrument {
    max-width: 700px;
  }

  .platform-band ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-band li:nth-child(2) {
    border-right: 0;
  }

  .platform-band li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .method,
  .local,
  .craft,
  .dyno-hire {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    margin-bottom: -44px;
  }

  .method-copy {
    position: static;
  }

  .local-mark {
    max-width: 420px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding-inline: 16px;
  }

  .brand-lockup {
    height: 46px;
  }

  .controls {
    margin-right: 8px;
  }

  .control-button {
    min-width: 36px;
    height: 36px;
    padding-inline: 8px;
  }

  .theme-choice {
    display: none;
  }

  .primary-nav {
    top: 68px;
  }

  .hero {
    gap: 48px;
    padding: 68px 16px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .trace {
    height: 160px;
  }

  .range-scale {
    gap: 12px;
    overflow: hidden;
  }

  .instrument-stats div {
    padding: 14px 10px;
  }

  .platform-band ul {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .platform-band li,
  .platform-band li:nth-child(2) {
    min-height: 68px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .section {
    padding: 90px 16px;
  }

  .section-heading {
    gap: 26px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-featured {
    grid-column: auto;
  }

  .capability {
    min-height: 290px;
    padding: 24px;
  }

  .capability h3 {
    margin-top: 58px;
  }

  .method,
  .local,
  .craft {
    gap: 46px;
  }

  .contact {
    margin-top: 0;
    padding: 88px 16px;
  }

  .contact-link {
    font-size: 1.08rem;
  }

  .contact-link svg {
    width: 25px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .site-footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
