/* Siam Workforce. One idea runs through every page: routes out of Bangkok.
   Indigo night sky for the big statements, marigold for the routes, jade for "verified". */

@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-thai-thai-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-thai-thai-600-normal.woff2") format("woff2"); }

:root {
  --paper: #f4f6fb;
  --card: #ffffff;
  --ink: #111a35;
  --muted: #56607d;
  --line: #dde2ee;
  --indigo: #24357a;
  --band: #141d48;
  --band-2: #1b2759;
  --band-ink: #f2f4fb;
  --band-muted: #a9b3db;
  --band-line: #2c3a74;
  --marigold: #df9524;
  --marigold-ink: #1d1404;
  --marigold-soft: #f8e8cc;
  --jade: #23836b;
  --jade-soft: #dcefe8;
  --bar-muted: #c6cddf;
  --dot: #34437f;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "IBM Plex Sans", "IBM Plex Sans Thai", "Helvetica Neue", Arial, sans-serif;
  --thai: "IBM Plex Sans Thai", "IBM Plex Sans", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(17, 26, 53, .05), 0 8px 24px -12px rgba(17, 26, 53, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a0f22; --card: #111836; --ink: #e8ebf6; --muted: #9aa3c4; --line: #232c52;
    --indigo: #a5b4f4; --band: #0e1538; --band-2: #141d48; --band-ink: #eef1fb; --band-muted: #9aa6d6; --band-line: #27346b;
    --marigold: #f0ae45; --marigold-ink: #1d1404; --marigold-soft: #3a2d15; --jade: #5cc6a6; --jade-soft: #12302a;
    --bar-muted: #39426e; --dot: #2c3a74;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a0f22; --card: #111836; --ink: #e8ebf6; --muted: #9aa3c4; --line: #232c52;
  --indigo: #a5b4f4; --band: #0e1538; --band-2: #141d48; --band-ink: #eef1fb; --band-muted: #9aa6d6; --band-line: #27346b;
  --marigold: #f0ae45; --marigold-ink: #1d1404; --marigold-soft: #3a2d15; --jade: #5cc6a6; --jade-soft: #12302a;
  --bar-muted: #39426e; --dot: #2c3a74;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--text); overflow-x: hidden; }
body[lang="th"], [lang="th"] { font-family: var(--thai); }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
[lang="th"] h1, [lang="th"] h2, [lang="th"] h3 { font-family: var(--thai); line-height: 1.35; letter-spacing: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--marigold); color: var(--marigold-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.section { padding-top: clamp(64px, 9vw, 112px); }
.section.tight { padding-top: clamp(44px, 6vw, 72px); }
.band.section { padding-block: clamp(64px, 9vw, 112px); margin-top: clamp(64px, 9vw, 112px); }
.band.section + .section { padding-top: clamp(64px, 9vw, 112px); }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--marigold); border-radius: 2px; }
.h1 { font-size: clamp(38px, 6.2vw, 76px); font-weight: 800; }
.h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; }
.h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 64ch; line-height: 1.55; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 860px; }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 32px; }
.mark { color: var(--marigold); }
.eyebrow:lang(th), .crumbs:lang(th), .tag:lang(th) { font-family: var(--thai); letter-spacing: .02em; text-transform: none; font-size: 13.5px; }
.num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 15.5px/1 var(--text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--marigold); color: var(--marigold-ink); }
.btn-primary:hover { background: #ecaa45; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--band); color: var(--band-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--indigo); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* top bar + header */
.topbar { background: var(--band); color: var(--band-muted); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--band-ink); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-left { display: flex; gap: 18px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar .tb-dot { width: 7px; height: 7px; border-radius: 50%; background: #3fcf9c; box-shadow: 0 0 0 3px rgba(63, 207, 156, .2); display: inline-block; margin-right: 8px; vertical-align: 1px; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo b { display: block; font: 800 18px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.logo small { display: block; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { padding: 9px 11px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav a:hover { background: var(--card); }
.nav a[aria-current="page"] { color: var(--indigo); background: var(--card); box-shadow: inset 0 -2px 0 var(--marigold); }
.header-cta { flex: none; }
.nav .nav-cta { display: none; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* hero (dark) */
.hero { position: relative; background: var(--band); color: var(--band-ink); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(to bottom, transparent, var(--band)); z-index: -1; }
.hero .wrap { position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.hero .eyebrow { color: var(--band-muted); }
.hero h1 { color: var(--band-ink); max-width: 12ch; }
.hero .lead { color: var(--band-muted); margin-top: 22px; }
.hero .btn-row { margin-top: 34px; }
.hero .btn-ghost { color: var(--band-ink); border-color: var(--band-line); }
.hero .btn-ghost:hover { border-color: var(--band-ink); }

.hero-map { position: relative; margin: 0 calc(-1 * max(24px, (100vw - 1152px) / 2)) 0 0; }
.hero-map .map { display: block; width: 100%; height: auto; }
.hero-map figcaption { margin: 6px 0 0 4%; font: 500 11.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); }
.ticker { display: flex; align-items: center; gap: 18px; margin-top: clamp(40px, 6vw, 64px); border-block: 1px solid var(--band-line); padding-block: 4px; }
.ticker-label { flex: none; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ticker-label .pulse { display: inline-flex; align-items: center; gap: 8px; color: #7ce0bb; }
.ticker-label .pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fcf9c; animation: pulse 2s infinite; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-set { display: flex; gap: 40px; padding-right: 40px; }
.tk { white-space: nowrap; font-size: 14.5px; color: var(--band-ink); padding-block: 12px; display: inline-flex; align-items: baseline; gap: 8px; }
.tk b { font: 500 13px/1 var(--mono); color: var(--marigold); letter-spacing: .06em; margin-right: 2px; }
.tk i { font-style: normal; color: var(--band-muted); }
.tk em { font-style: normal; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--band-ink); background: rgba(255,255,255,.07); border: 1px solid var(--band-line); padding: 5px 7px; border-radius: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--band-line); }
.stat { padding: 26px 24px 4px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--band-line); }
.stat .num { font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--band-ink); display: block; }
.stat .num sup { font-size: .45em; color: var(--marigold); vertical-align: .9em; margin-left: 2px; }
.stat p { font-size: 14.5px; color: var(--band-muted); margin-top: 10px; max-width: 24ch; }

/* map */
.map .dots { fill: none; stroke: var(--dot); stroke-width: 2.6; stroke-linecap: round; }
.map .arc { fill: none; stroke: var(--marigold); stroke-width: 1.3; stroke-linecap: round; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.3,.6,.2,1) forwards; }
.map .pin { fill: var(--marigold); }
.map .ring { fill: none; stroke: var(--marigold); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; opacity: 0; }
.map .hub { fill: var(--band-ink); }
.map .hub-ring { fill: none; stroke: var(--band-ink); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.map .lbl { font: 500 11px var(--mono); fill: var(--band-muted); letter-spacing: .06em; }
.map .lbl.hub-l { fill: var(--band-ink); font-weight: 500; font-size: 13px; }

/* page hero (light) */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero .h1 { font-size: clamp(36px, 5.4vw, 66px); max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero .crumbs { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.page-hero .crumbs a { text-decoration: none; color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero .route-deco { position: absolute; right: -60px; top: -20px; width: 520px; opacity: .55; pointer-events: none; z-index: -1; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; align-items: baseline; gap: 10px; }
.hero-facts .num { font-size: 28px; color: var(--indigo); }
.hero-facts span { color: var(--muted); font-size: 14.5px; }

/* cards + grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.card h3 { font-size: 21px; font-weight: 700; }
.card p { color: var(--muted); margin-top: 10px; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--marigold-soft); color: var(--marigold); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; }
.card.feature { border-color: var(--marigold); box-shadow: 0 0 0 1px var(--marigold), var(--shadow); }

.door { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.door:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(17,26,53,.05), 0 18px 40px -18px rgba(17,26,53,.35); }
.door .tag { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.door h3 { margin-top: 14px; font-size: 26px; }
.door p { flex: 1; }
.door .go { margin-top: 22px; }
.door .big { position: absolute; right: -6px; bottom: -22px; font: 800 120px/1 var(--display); color: var(--line); opacity: .7; pointer-events: none; letter-spacing: -.04em; }
.door > *:not(.big) { position: relative; }

.ticks { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--jade-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2323836b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.crosses { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.crosses li { position: relative; padding-left: 32px; }
.crosses li::before { content: "×"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--muted); font: 700 15px/20px var(--text); text-align: center; }

/* flagship split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }
.split .h2 { margin-top: 2px; }
.split .lead { margin-top: 18px; }
.split .btn-row, .split .link-arrow { margin-top: 28px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.kpis div { border-top: 2px solid var(--ink); padding-top: 12px; }
.kpis .num { font-size: 34px; display: block; line-height: 1; }
.kpis span { font-size: 13.5px; color: var(--muted); display: block; margin-top: 8px; }

/* candidate file sample */
.file { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.file-head { background: var(--band); color: var(--band-ink); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.file-head b { font: 700 18px/1.2 var(--display); }
.file-head span { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.file-stamp { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--marigold); border: 1.5px solid var(--marigold); border-radius: 6px; padding: 6px 8px; transform: rotate(-4deg); white-space: nowrap; }
.file-rows { list-style: none; }
.file-rows li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 24px; border-top: 1px solid var(--line); }
.file-rows li:first-child { border-top: 0; }
.file-rows .n { font: 500 12px/1 var(--mono); color: var(--muted); }
.file-rows b { display: block; font-weight: 600; font-size: 15px; }
.file-rows small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; line-height: 1.4; }
.file-rows .ok { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--jade); background: var(--jade-soft); padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.file-foot { padding: 14px 24px; background: var(--paper); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 0 20px 0 0; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line); font: 500 14px/1 var(--mono); color: var(--indigo); position: relative; z-index: 1; margin-bottom: 20px; }
.steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; border-top: 1.5px dashed var(--bar-muted); }
.steps li:last-child::after { display: none; }
.steps li.hl::before { background: var(--marigold); border-color: var(--marigold); color: var(--marigold-ink); }
.steps h3 { font-size: 18px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.steps .who { display: inline-block; margin-top: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; border-radius: 5px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.steps .who.lic { background: var(--jade-soft); border-color: transparent; color: var(--jade); }

/* departures board */
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.board-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 72px minmax(0, 1.4fr) 92px; gap: 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); }
.board-row:first-child { border-top: 0; }
.board-head { background: var(--paper); font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-block: 12px; }
.board .code { font: 500 18px/1 var(--mono); color: var(--indigo); letter-spacing: .05em; }
.board .ctry { font-weight: 600; }
.board .cnt { font: 800 24px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.board .what { color: var(--muted); font-size: 14.5px; }
.board .st { justify-self: end; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--jade); background: var(--jade-soft); padding: 6px 8px; border-radius: 6px; }
.board-head .what, .board-head .cnt { font: inherit; color: inherit; }
.board-foot { padding: 14px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; background: var(--paper); }

/* band (dark section) */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; isolation: isolate; }
.band .eyebrow { color: var(--band-muted); }
.band .lead, .band p { color: var(--band-muted); }
.band .h2 { color: var(--band-ink); }
.band .card { background: var(--band-2); border-color: var(--band-line); box-shadow: none; }
.band .card h3 { color: var(--band-ink); }
.band .card p { color: var(--band-muted); }
.band .card .ic { background: rgba(240, 174, 69, .12); }
.band .link-arrow { color: var(--marigold); }
.band .route-deco { position: absolute; z-index: -1; right: -80px; bottom: -40px; width: 560px; opacity: .3; }

.law { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.law-points { display: grid; gap: 14px; }
.law-point { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: 14px; background: var(--band-2); border: 1px solid var(--band-line); }
.law-point .k { font: 500 13px/44px var(--mono); text-align: center; border-radius: 50%; width: 44px; height: 44px; background: rgba(92, 198, 166, .14); color: #7ce0bb; }
.law-point b { color: var(--band-ink); font-size: 17px; display: block; font-weight: 600; }
.law-point p { margin-top: 4px; font-size: 14.5px; }

/* sectors */
.sector { display: flex; flex-direction: column; }
.sector .req { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.sector .req b { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--marigold); }
.sector .roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.chip { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }

/* registry */
.reg-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 400 16px/1.4 var(--text); }
.input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 18%, transparent); }
textarea.input { min-height: 120px; resize: vertical; }
.reg-search { flex: 1 1 320px; position: relative; }
.reg-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.reg-search .input { padding-left: 42px; }
.reg-count { font: 500 13px/1 var(--mono); color: var(--muted); margin-left: auto; }
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; box-shadow: var(--shadow); }
.reg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.reg-table th { text-align: left; font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); padding: 13px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 1; }
.reg-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.reg-table tr:first-child td { border-top: 0; }
.reg-table .lic { font: 500 13.5px/1.3 var(--mono); color: var(--indigo); white-space: nowrap; }
.reg-table .nm b { display: block; font-weight: 600; }
.reg-table .nm span { display: block; color: var(--muted); font-family: var(--thai); font-size: 13.5px; margin-top: 2px; }
.reg-table .addr { display: block; color: var(--muted); font-family: var(--thai); font-size: 12.5px; margin-top: 6px; line-height: 1.45; }
.reg-table .ph { white-space: nowrap; font-variant-numeric: tabular-nums; }
.reg-table .src { font: 500 11px/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; }
.reg-table .flag { color: var(--marigold); font-weight: 700; }
.reg-empty { padding: 32px; text-align: center; color: var(--muted); display: none; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.notice { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--marigold-soft); color: var(--ink); font-size: 14.5px; }
.notice svg { width: 22px; height: 22px; color: var(--marigold); margin-top: 1px; }
.notice.info { background: var(--jade-soft); }
.notice.info svg { color: var(--jade); }

/* destinations */
.region { margin-top: 56px; }
.region:first-of-type { margin-top: 0; }
.region-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; }
.region-head h2 { font-size: clamp(24px, 3vw, 32px); }
.region-head span { font: 500 12.5px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.country { display: flex; flex-direction: column; scroll-margin-top: 96px; }
.country-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.country-top .code { font: 500 14px/1 var(--mono); color: var(--indigo); letter-spacing: .06em; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.country h3 { margin-top: 14px; font-size: 22px; }
.country .asks { font-size: 14px; color: var(--ink); margin-top: 8px; }
.country .asks b { font-weight: 600; }
.country ul.facts { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.country ul.facts li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.country ul.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }
.country .req-n { font: 800 26px/1 var(--display); color: var(--ink); }
.country .req-n small { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }
.mini-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini b { font-weight: 600; font-size: 15px; }
.mini span { font: 500 12px/1 var(--mono); color: var(--indigo); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--marigold); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 72ch; }

/* forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 14.5px/1 var(--text); padding: 11px 18px; border-radius: 999px; cursor: pointer; min-height: 42px; }
.seg button[aria-selected="true"] { background: var(--band); color: var(--band-ink); }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.form-ok { display: none; margin-top: 16px; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-line { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.contact-line .ic { margin: 0; }
.contact-line b { display: block; font-size: 16px; }
.contact-line span { color: var(--muted); font-size: 14px; }

/* CTA band */
.cta { background: var(--marigold); color: var(--marigold-ink); border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; color: var(--marigold-ink); }
.cta p { margin-top: 12px; font-size: 17px; color: #4a3610; max-width: 52ch; }
.cta .btn-dark { background: #141d48; color: #f2f4fb; }
.cta .btn-ghost { color: var(--marigold-ink); }
.cta svg.deco { position: absolute; right: -40px; top: -30px; width: 360px; opacity: .25; z-index: -1; }

/* footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 72px 32px; margin-top: clamp(64px, 9vw, 112px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .logo { color: var(--band-ink); }
.site-footer .logo small { color: var(--band-muted); }
.site-footer h4 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--band-ink); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--band-muted); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--band-ink); }
.foot-about { font-size: 14.5px; margin-top: 18px; max-width: 42ch; line-height: 1.6; }
.foot-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--band-line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.foot-legal p { max-width: 80ch; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 207, 156, .5); } 50% { box-shadow: 0 0 0 6px rgba(63, 207, 156, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .map .arc { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1440px) {
  .logo small { display: none; }
}
@media (max-width: 1100px) {
  .nav a { padding: 9px 8px; font-size: 14.5px; }
  .header-cta .btn { padding-inline: 16px; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav .nav-cta { display: block; margin-top: 10px; text-align: center; background: var(--marigold); color: var(--marigold-ink); font-weight: 600; border-radius: 999px; }
  .hero-grid, .split, .split.contact-grid, .law, .sec-head.split { grid-template-columns: minmax(0, 1fr); }
  .hero-map { margin: 8px -16px 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .steps li::before { grid-row: span 3; margin: 0; }
  .steps li::after { top: 52px; bottom: 0; left: 26px; right: auto; border-top: 0; border-left: 1.5px dashed var(--bar-muted); }
  .steps .who { justify-self: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--band-line); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .board-row { grid-template-columns: 64px minmax(0, 1fr) 52px; }
  .board-row .what { grid-column: 2 / -1; margin-top: -6px; }
  .board-row .st { display: none; }
  .board-head .what { display: none; }
  .reg-table th { top: 72px; }
}
@media (max-width: 680px) {
  .wrap { padding-inline: 16px; }
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .topbar .tb-right .hide-s { display: none; }
  .grid-2, .grid-3, .grid-4, .kpis, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .kpis .num { font-size: 28px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }
  .live-list { height: 260px; }
  .file-rows li { grid-template-columns: 26px minmax(0, 1fr); }
  .file-rows .ok { grid-column: 2; justify-self: start; }
  .file-head { flex-direction: column; align-items: flex-start; }
  .reg-table thead { display: none; }
  .reg-table, .reg-table tbody, .reg-table tr, .reg-table td { display: block; width: 100%; }
  .reg-table tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  .reg-table tr:first-child { border-top: 0; }
  .reg-table td { padding: 2px 0; border: 0; }
  .reg-table td.ph::before { content: "Tel. "; color: var(--muted); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .mini-list { grid-template-columns: minmax(0, 1fr); }
  .region-head { flex-direction: column; gap: 6px; }
  .page-hero .route-deco { width: 360px; right: -140px; opacity: .35; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .seg { display: flex; }
  .seg button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { overflow-x: auto; }
}
@media (max-width: 680px) {
  .ticker { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 12px; }
  .ticker-viewport { width: 100%; }
}
